admins-components 5.9.10 → 5.9.11
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/admins-components.cjs +48 -48
- package/dist/admins-components.js +590 -583
- package/dist/src/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var $6t = Object.defineProperty;
|
|
2
2
|
var J6t = (l, f, _) => f in l ? $6t(l, f, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : l[f] = _;
|
|
3
|
-
var
|
|
3
|
+
var Lg = (l, f, _) => J6t(l, typeof f != "symbol" ? f + "" : f, _);
|
|
4
4
|
import { defineComponent as hd, createElementBlock as Qi, openBlock as zn, createElementVNode as hn, toDisplayString as Iu, resolveComponent as s1, Fragment as af, renderList as Cf, createVNode as C0, createBlock as ku, createCommentVNode as oc, watch as ts, ref as Br, onMounted as tu, onUnmounted as AC, normalizeClass as n1, unref as kxe, normalizeStyle as WU, createTextVNode as VU, shallowRef as h3, shallowReadonly as z6t, toRef as q6t, readonly as jTe, customRef as U6t, toValue as jw, getCurrentScope as W6t, onScopeDispose as V6t, nextTick as Fc, isRef as CWe, computed as Ze, reactive as Ine, isVNode as tqe, resolveDynamicComponent as nT, mergeProps as rqe, withDirectives as EWe, vModelCheckbox as H6t, watchEffect as G6t, vModelSelect as Y6t, markRaw as E3, h as v3, toRefs as Aa, getCurrentInstance as vb, onBeforeUnmount as xA, inject as sf, onBeforeMount as v7, provide as I2, onUpdated as wWe, onBeforeUpdate as DWe, createSlots as DA, withCtx as mv, renderSlot as AA } from "vue";
|
|
5
5
|
const X6t = ["checked", "id"], Q6t = ["for"], LU = /* @__PURE__ */ hd({
|
|
6
6
|
__name: "CheckBox",
|
|
@@ -952,16 +952,16 @@ function BAt(l, f) {
|
|
|
952
952
|
const OWe = (l) => /(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/.test(l);
|
|
953
953
|
class Exe {
|
|
954
954
|
constructor(f, _, g) {
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
955
|
+
Lg(this, "title");
|
|
956
|
+
Lg(this, "message");
|
|
957
|
+
Lg(this, "errorCode");
|
|
958
958
|
this.title = f, this.message = _, this.errorCode = g;
|
|
959
959
|
}
|
|
960
960
|
}
|
|
961
961
|
var Lw = /* @__PURE__ */ ((l) => (l[l.GET = 0] = "GET", l[l.GET_TEXT = 1] = "GET_TEXT", l[l.POST = 2] = "POST", l[l.POST_TEXT = 3] = "POST_TEXT", l[l.PUT = 4] = "PUT", l[l.PUT_TEXT = 5] = "PUT_TEXT", l[l.PATCH = 6] = "PATCH", l[l.DELETE = 7] = "DELETE", l))(Lw || {});
|
|
962
962
|
class p3 {
|
|
963
963
|
constructor(f, _, g, T, D = "application/json", N) {
|
|
964
|
-
|
|
964
|
+
Lg(this, "fetchMethode");
|
|
965
965
|
this.relativeUrl = _, this.method = g, this.fetchMethode = RAt({
|
|
966
966
|
baseUrl: f,
|
|
967
967
|
fetchOptions: {
|
|
@@ -1132,15 +1132,15 @@ function zAt(l) {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
class qAt {
|
|
1134
1134
|
constructor(f) {
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1135
|
+
Lg(this, "baseUrl");
|
|
1136
|
+
Lg(this, "searchPosts");
|
|
1137
|
+
Lg(this, "partnersDetailsByIds");
|
|
1138
|
+
Lg(this, "whoAmI");
|
|
1139
|
+
Lg(this, "getPostsConfig");
|
|
1140
|
+
Lg(this, "getImagesConfig");
|
|
1141
|
+
Lg(this, "getPresenceConfig");
|
|
1142
|
+
Lg(this, "sites");
|
|
1143
|
+
Lg(this, "getMeta");
|
|
1144
1144
|
this.articleEditorBackendUrl = f, this.baseUrl = this.articleEditorBackendUrl, this.getMeta = d3(
|
|
1145
1145
|
new p3(
|
|
1146
1146
|
this.baseUrl,
|
|
@@ -1831,19 +1831,25 @@ const eir = () => {
|
|
|
1831
1831
|
};
|
|
1832
1832
|
class tir {
|
|
1833
1833
|
constructor(f, _, g) {
|
|
1834
|
-
|
|
1834
|
+
Lg(this, "type");
|
|
1835
1835
|
this.key = f, this.placeholder = _, this.filtered = g, this.type = "text";
|
|
1836
1836
|
}
|
|
1837
1837
|
}
|
|
1838
1838
|
class rir {
|
|
1839
1839
|
constructor(f, _, g, T, D, N, B) {
|
|
1840
|
-
|
|
1840
|
+
Lg(this, "type");
|
|
1841
1841
|
this.key = f, this.label = _, this.options = g, this.filterevent = T, this.onfiltered = D, this.filtered = N, this.selected = B, this.type = "dropdown";
|
|
1842
1842
|
}
|
|
1843
1843
|
}
|
|
1844
1844
|
class nir {
|
|
1845
|
+
constructor(f, _, g, T, D, N, B) {
|
|
1846
|
+
Lg(this, "type");
|
|
1847
|
+
this.key = f, this.label = _, this.options = g, this.filterevent = T, this.onfiltered = D, this.filtered = N, this.selectedIds = B, this.type = "dropdowncheckbox";
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
class iir {
|
|
1845
1851
|
constructor(f, _, g, T, D) {
|
|
1846
|
-
|
|
1852
|
+
Lg(this, "type");
|
|
1847
1853
|
this.key = f, this.label = _, this.filtered = g, this.defFrom = T, this.defTil = D, this.type = "date";
|
|
1848
1854
|
}
|
|
1849
1855
|
}
|
|
@@ -2465,15 +2471,15 @@ const KSe = Br({}), LWe = /* @__PURE__ */ hd({
|
|
|
2465
2471
|
}
|
|
2466
2472
|
}), bC = class bC {
|
|
2467
2473
|
};
|
|
2468
|
-
|
|
2474
|
+
Lg(bC, "getId", (f, _) => `${f}_${_}`), Lg(bC, "saveOptions", (f, _, g, T) => {
|
|
2469
2475
|
localStorage.setItem(
|
|
2470
2476
|
bC.getId(f, _),
|
|
2471
2477
|
JSON.stringify({ ttlcos: T, ttlc: { compact: g.compact } })
|
|
2472
2478
|
), window.location.reload();
|
|
2473
|
-
}),
|
|
2479
|
+
}), Lg(bC, "cleanOptions", (f, _) => {
|
|
2474
2480
|
for (let g = 0; g < localStorage.length; g++)
|
|
2475
2481
|
localStorage.key(g).includes(f) && localStorage.key(g) != bC.getId(f, _) && localStorage.removeItem(localStorage.key(g));
|
|
2476
|
-
}),
|
|
2482
|
+
}), Lg(bC, "loadOptions", (f, _, g, T, D) => {
|
|
2477
2483
|
bC.cleanOptions(f, _);
|
|
2478
2484
|
const N = bC.getId(f, _);
|
|
2479
2485
|
if (localStorage.getItem(N))
|
|
@@ -4806,22 +4812,22 @@ uh.getAdapter = uVe.getAdapter;
|
|
|
4806
4812
|
uh.HttpStatusCode = WTe;
|
|
4807
4813
|
uh.default = uh;
|
|
4808
4814
|
const {
|
|
4809
|
-
Axios:
|
|
4810
|
-
AxiosError:
|
|
4811
|
-
CanceledError:
|
|
4812
|
-
isCancel:
|
|
4813
|
-
CancelToken:
|
|
4814
|
-
VERSION:
|
|
4815
|
-
all:
|
|
4816
|
-
Cancel:
|
|
4817
|
-
isAxiosError:
|
|
4818
|
-
spread:
|
|
4819
|
-
toFormData:
|
|
4820
|
-
AxiosHeaders:
|
|
4821
|
-
HttpStatusCode:
|
|
4822
|
-
formToJSON:
|
|
4823
|
-
getAdapter:
|
|
4824
|
-
mergeConfig:
|
|
4815
|
+
Axios: oir,
|
|
4816
|
+
AxiosError: cir,
|
|
4817
|
+
CanceledError: lir,
|
|
4818
|
+
isCancel: uir,
|
|
4819
|
+
CancelToken: fir,
|
|
4820
|
+
VERSION: _ir,
|
|
4821
|
+
all: pir,
|
|
4822
|
+
Cancel: dir,
|
|
4823
|
+
isAxiosError: mir,
|
|
4824
|
+
spread: gir,
|
|
4825
|
+
toFormData: hir,
|
|
4826
|
+
AxiosHeaders: vir,
|
|
4827
|
+
HttpStatusCode: yir,
|
|
4828
|
+
formToJSON: bir,
|
|
4829
|
+
getAdapter: Sir,
|
|
4830
|
+
mergeConfig: Tir
|
|
4825
4831
|
} = uh;
|
|
4826
4832
|
//! moment.js
|
|
4827
4833
|
//! version : 2.30.1
|
|
@@ -9476,7 +9482,7 @@ var bGt = function(f, _) {
|
|
|
9476
9482
|
updateModel: Rs
|
|
9477
9483
|
} = yGt(f, _, {
|
|
9478
9484
|
$this: a_
|
|
9479
|
-
}),
|
|
9485
|
+
}), Bg, gs = Br({}), Ss = Br(null), Vf = Br(null), Gt = Br(!0), Xt = Br(!0), un = Br({}), ni = Br(!1), ja = Br(!1), va = Br(null), Qo = Br(null), zi = Br({}), Qc = Br(!1), Za = Br(_U(W_, "FormMessages")), Zo = Br(_U(W_, "FormErrors")), kl = Br(_U(W_, "FormLanguages")), pm = Br(_U(W_, "FormTabs")), ga = Br(_U(W_, "FormSteps")), ru = Ze(() => a_), Pc = Ze(() => a_.$vueform), Bh = Ze(() => Pc.value), Sb = Ze(() => Co.value.locale || Pc.value.i18n.locale), $h = Ze(() => a_.$vueform.services), Co = Ze(() => {
|
|
9480
9486
|
var Yi = {
|
|
9481
9487
|
schema: Tb.value,
|
|
9482
9488
|
tabs: tn.value,
|
|
@@ -9846,7 +9852,7 @@ var bGt = function(f, _) {
|
|
|
9846
9852
|
};
|
|
9847
9853
|
})(), cT = () => {
|
|
9848
9854
|
Gt.value = !1;
|
|
9849
|
-
},
|
|
9855
|
+
}, $g = () => {
|
|
9850
9856
|
Gt.value = !0;
|
|
9851
9857
|
}, wp = () => {
|
|
9852
9858
|
Xt.value = !0;
|
|
@@ -9856,7 +9862,7 @@ var bGt = function(f, _) {
|
|
|
9856
9862
|
Qo.value = Yi, jl("language", Yi);
|
|
9857
9863
|
}, O3 = () => {
|
|
9858
9864
|
oT();
|
|
9859
|
-
}, lf = (Yi) => oie(Yi), F3 = (Yi, ps) =>
|
|
9865
|
+
}, lf = (Yi) => oie(Yi), F3 = (Yi, ps) => Bg.resolve(Yi, Ep.value, ps), jA = (Yi, ps) => {
|
|
9860
9866
|
if (ps === void 0 && (ps = gs.value), DU(ps) || !Yi)
|
|
9861
9867
|
return null;
|
|
9862
9868
|
var fc = String(Yi).match(/^[^.]+\./);
|
|
@@ -9872,7 +9878,7 @@ var bGt = function(f, _) {
|
|
|
9872
9878
|
}, Ha = () => {
|
|
9873
9879
|
un.value = new $h.value.messageBag(pi);
|
|
9874
9880
|
}, LC = () => {
|
|
9875
|
-
|
|
9881
|
+
Bg = new $h.value.expression(Bh.value.config.expression, Bh, ru);
|
|
9876
9882
|
};
|
|
9877
9883
|
return I2("form$", ru), I2("theme", hc), I2("Size", cc), I2("Views", fl), I2("translations", cf), I2("config$", Bh), Ha(), LC(), sg(Co.value.language), v7(() => {
|
|
9878
9884
|
zi.value = a_.vueform || {}, ui(Nr, (Yi) => {
|
|
@@ -9961,7 +9967,7 @@ var bGt = function(f, _) {
|
|
|
9961
9967
|
send: ic,
|
|
9962
9968
|
cancel: c1,
|
|
9963
9969
|
disableValidation: cT,
|
|
9964
|
-
enableValidation:
|
|
9970
|
+
enableValidation: $g,
|
|
9965
9971
|
enableConditions: wp,
|
|
9966
9972
|
disableConditions: j2,
|
|
9967
9973
|
setLanguage: sg,
|
|
@@ -9978,7 +9984,7 @@ var bGt = function(f, _) {
|
|
|
9978
9984
|
languagesRegistered: kl,
|
|
9979
9985
|
tabsRegistered: pm,
|
|
9980
9986
|
stepsRegistered: ga,
|
|
9981
|
-
expression:
|
|
9987
|
+
expression: Bg
|
|
9982
9988
|
};
|
|
9983
9989
|
}, R_ = function(f, _, g) {
|
|
9984
9990
|
var T = _.name, D = g.form$, N = g.el$, B = g.component$ || g.el$, W = g.theme, K = g.Templates, L = g.View, ce = Ze(() => new Yie({
|
|
@@ -10078,7 +10084,7 @@ var bGt = function(f, _) {
|
|
|
10078
10084
|
cancel: Xc,
|
|
10079
10085
|
disableValidation: sy,
|
|
10080
10086
|
enableValidation: Rs,
|
|
10081
|
-
enableConditions:
|
|
10087
|
+
enableConditions: Bg,
|
|
10082
10088
|
disableConditions: gs,
|
|
10083
10089
|
setLanguage: Ss,
|
|
10084
10090
|
handleSubmit: Vf,
|
|
@@ -10171,7 +10177,7 @@ var bGt = function(f, _) {
|
|
|
10171
10177
|
cancel: Xc,
|
|
10172
10178
|
disableValidation: sy,
|
|
10173
10179
|
enableValidation: Rs,
|
|
10174
|
-
enableConditions:
|
|
10180
|
+
enableConditions: Bg,
|
|
10175
10181
|
disableConditions: gs,
|
|
10176
10182
|
setLanguage: Ss,
|
|
10177
10183
|
handleSubmit: Vf,
|
|
@@ -13542,7 +13548,7 @@ function MYe() {
|
|
|
13542
13548
|
const jl = nf({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ay = "http://www.w3.org/1998/Math/MathML", $u = "http://www.w3.org/2000/svg", yd = "http://www.w3.org/1999/xhtml";
|
|
13543
13549
|
let _u = yd, Vp = !1, Xc = null;
|
|
13544
13550
|
const sy = nf({}, [ay, $u, yd], gTe);
|
|
13545
|
-
let Rs = nf({}, ["mi", "mo", "mn", "ms", "mtext"]),
|
|
13551
|
+
let Rs = nf({}, ["mi", "mo", "mn", "ms", "mtext"]), Bg = nf({}, ["annotation-xml"]);
|
|
13546
13552
|
const gs = nf({}, ["title", "style", "font", "a", "script"]);
|
|
13547
13553
|
let Ss = null;
|
|
13548
13554
|
const Vf = ["application/xhtml+xml", "text/html"], Gt = "text/html";
|
|
@@ -13553,7 +13559,7 @@ function MYe() {
|
|
|
13553
13559
|
let tn = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
13554
13560
|
if (!(un && un === tn)) {
|
|
13555
13561
|
if ((!tn || typeof tn != "object") && (tn = {}), tn = mA(tn), Ss = // eslint-disable-next-line unicorn/prefer-includes
|
|
13556
|
-
Vf.indexOf(tn.PARSER_MEDIA_TYPE) === -1 ? Gt : tn.PARSER_MEDIA_TYPE, Xt = Ss === "application/xhtml+xml" ? gTe : $ne, Li = yC(tn, "ALLOWED_TAGS") ? nf({}, tn.ALLOWED_TAGS, Xt) : da, os = yC(tn, "ALLOWED_ATTR") ? nf({}, tn.ALLOWED_ATTR, Xt) : Bn, Xc = yC(tn, "ALLOWED_NAMESPACES") ? nf({}, tn.ALLOWED_NAMESPACES, gTe) : sy, Mf = yC(tn, "ADD_URI_SAFE_ATTR") ? nf(mA(jl), tn.ADD_URI_SAFE_ATTR, Xt) : jl, a_ = yC(tn, "ADD_DATA_URI_TAGS") ? nf(mA(si), tn.ADD_DATA_URI_TAGS, Xt) : si, Nr = yC(tn, "FORBID_CONTENTS") ? nf({}, tn.FORBID_CONTENTS, Xt) : W_, bi = yC(tn, "FORBID_TAGS") ? nf({}, tn.FORBID_TAGS, Xt) : mA({}), Ri = yC(tn, "FORBID_ATTR") ? nf({}, tn.FORBID_ATTR, Xt) : mA({}), Wp = yC(tn, "USE_PROFILES") ? tn.USE_PROFILES : !1, Qa = tn.ALLOW_ARIA_ATTR !== !1, Ac = tn.ALLOW_DATA_ATTR !== !1, Ws = tn.ALLOW_UNKNOWN_PROTOCOLS || !1, vt = tn.ALLOW_SELF_CLOSE_IN_ATTR !== !1, kc = tn.SAFE_FOR_TEMPLATES || !1, Tn = tn.SAFE_FOR_XML !== !1, Ks = tn.WHOLE_DOCUMENT || !1, Da = tn.RETURN_DOM || !1, ca = tn.RETURN_DOM_FRAGMENT || !1, Ls = tn.RETURN_TRUSTED_TYPE || !1, Cs = tn.FORCE_BODY || !1, _s = tn.SANITIZE_DOM !== !1, Ds = tn.SANITIZE_NAMED_PROPS || !1, ul = tn.KEEP_CONTENT !== !1, zd = tn.IN_PLACE || !1, Vi = tn.ALLOWED_URI_REGEXP || OYe, _u = tn.NAMESPACE || yd, Rs = tn.MATHML_TEXT_INTEGRATION_POINTS || Rs,
|
|
13562
|
+
Vf.indexOf(tn.PARSER_MEDIA_TYPE) === -1 ? Gt : tn.PARSER_MEDIA_TYPE, Xt = Ss === "application/xhtml+xml" ? gTe : $ne, Li = yC(tn, "ALLOWED_TAGS") ? nf({}, tn.ALLOWED_TAGS, Xt) : da, os = yC(tn, "ALLOWED_ATTR") ? nf({}, tn.ALLOWED_ATTR, Xt) : Bn, Xc = yC(tn, "ALLOWED_NAMESPACES") ? nf({}, tn.ALLOWED_NAMESPACES, gTe) : sy, Mf = yC(tn, "ADD_URI_SAFE_ATTR") ? nf(mA(jl), tn.ADD_URI_SAFE_ATTR, Xt) : jl, a_ = yC(tn, "ADD_DATA_URI_TAGS") ? nf(mA(si), tn.ADD_DATA_URI_TAGS, Xt) : si, Nr = yC(tn, "FORBID_CONTENTS") ? nf({}, tn.FORBID_CONTENTS, Xt) : W_, bi = yC(tn, "FORBID_TAGS") ? nf({}, tn.FORBID_TAGS, Xt) : mA({}), Ri = yC(tn, "FORBID_ATTR") ? nf({}, tn.FORBID_ATTR, Xt) : mA({}), Wp = yC(tn, "USE_PROFILES") ? tn.USE_PROFILES : !1, Qa = tn.ALLOW_ARIA_ATTR !== !1, Ac = tn.ALLOW_DATA_ATTR !== !1, Ws = tn.ALLOW_UNKNOWN_PROTOCOLS || !1, vt = tn.ALLOW_SELF_CLOSE_IN_ATTR !== !1, kc = tn.SAFE_FOR_TEMPLATES || !1, Tn = tn.SAFE_FOR_XML !== !1, Ks = tn.WHOLE_DOCUMENT || !1, Da = tn.RETURN_DOM || !1, ca = tn.RETURN_DOM_FRAGMENT || !1, Ls = tn.RETURN_TRUSTED_TYPE || !1, Cs = tn.FORCE_BODY || !1, _s = tn.SANITIZE_DOM !== !1, Ds = tn.SANITIZE_NAMED_PROPS || !1, ul = tn.KEEP_CONTENT !== !1, zd = tn.IN_PLACE || !1, Vi = tn.ALLOWED_URI_REGEXP || OYe, _u = tn.NAMESPACE || yd, Rs = tn.MATHML_TEXT_INTEGRATION_POINTS || Rs, Bg = tn.HTML_INTEGRATION_POINTS || Bg, mi = tn.CUSTOM_ELEMENT_HANDLING || {}, tn.CUSTOM_ELEMENT_HANDLING && ja(tn.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (mi.tagNameCheck = tn.CUSTOM_ELEMENT_HANDLING.tagNameCheck), tn.CUSTOM_ELEMENT_HANDLING && ja(tn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (mi.attributeNameCheck = tn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), tn.CUSTOM_ELEMENT_HANDLING && typeof tn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (mi.allowCustomizedBuiltInElements = tn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), kc && (Ac = !1), ca && (Da = !0), Wp && (Li = nf({}, VUe), os = [], Wp.html === !0 && (nf(Li, WUe), nf(os, HUe)), Wp.svg === !0 && (nf(Li, hTe), nf(os, bTe), nf(os, kne)), Wp.svgFilters === !0 && (nf(Li, vTe), nf(os, bTe), nf(os, kne)), Wp.mathMl === !0 && (nf(Li, yTe), nf(os, GUe), nf(os, kne))), tn.ADD_TAGS && (Li === da && (Li = mA(Li)), nf(Li, tn.ADD_TAGS, Xt)), tn.ADD_ATTR && (os === Bn && (os = mA(os)), nf(os, tn.ADD_ATTR, Xt)), tn.ADD_URI_SAFE_ATTR && nf(Mf, tn.ADD_URI_SAFE_ATTR, Xt), tn.FORBID_CONTENTS && (Nr === W_ && (Nr = mA(Nr)), nf(Nr, tn.FORBID_CONTENTS, Xt)), ul && (Li["#text"] = !0), Ks && nf(Li, ["html", "head", "body"]), Li.table && (nf(Li, ["tbody"]), delete bi.tbody), tn.TRUSTED_TYPES_POLICY) {
|
|
13557
13563
|
if (typeof tn.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
13558
13564
|
throw vU('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
13559
13565
|
if (typeof tn.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -13570,7 +13576,7 @@ function MYe() {
|
|
|
13570
13576
|
tagName: "template"
|
|
13571
13577
|
});
|
|
13572
13578
|
const _i = $ne(tn.tagName), qc = $ne(Fa.tagName);
|
|
13573
|
-
return Xc[tn.namespaceURI] ? tn.namespaceURI === $u ? Fa.namespaceURI === yd ? _i === "svg" : Fa.namespaceURI === ay ? _i === "svg" && (qc === "annotation-xml" || Rs[qc]) : !!Qo[_i] : tn.namespaceURI === ay ? Fa.namespaceURI === yd ? _i === "math" : Fa.namespaceURI === $u ? _i === "math" &&
|
|
13579
|
+
return Xc[tn.namespaceURI] ? tn.namespaceURI === $u ? Fa.namespaceURI === yd ? _i === "svg" : Fa.namespaceURI === ay ? _i === "svg" && (qc === "annotation-xml" || Rs[qc]) : !!Qo[_i] : tn.namespaceURI === ay ? Fa.namespaceURI === yd ? _i === "math" : Fa.namespaceURI === $u ? _i === "math" && Bg[qc] : !!zi[_i] : tn.namespaceURI === yd ? Fa.namespaceURI === $u && !Bg[qc] || Fa.namespaceURI === ay && !Rs[qc] ? !1 : !zi[_i] && (gs[_i] || !Qo[_i]) : !!(Ss === "application/xhtml+xml" && Xc[tn.namespaceURI]) : !1;
|
|
13574
13580
|
}, Za = function(tn) {
|
|
13575
13581
|
gU(f.removed, {
|
|
13576
13582
|
element: tn
|
|
@@ -14103,19 +14109,19 @@ function BYe(l, f, _) {
|
|
|
14103
14109
|
BYe.prototype.toString = function() {
|
|
14104
14110
|
return this.type + ": " + this.value;
|
|
14105
14111
|
};
|
|
14106
|
-
function
|
|
14112
|
+
function jg(l, f) {
|
|
14107
14113
|
this.pos = 0, this.current = null, this.unaryOps = l.unaryOps, this.binaryOps = l.binaryOps, this.ternaryOps = l.ternaryOps, this.consts = l.consts, this.expression = f, this.savedPosition = 0, this.savedCurrent = null, this.options = l.options, this.parser = l;
|
|
14108
14114
|
}
|
|
14109
|
-
|
|
14115
|
+
jg.prototype.newToken = function(l, f, _) {
|
|
14110
14116
|
return new BYe(l, f, _ ?? this.pos);
|
|
14111
14117
|
};
|
|
14112
|
-
|
|
14118
|
+
jg.prototype.save = function() {
|
|
14113
14119
|
this.savedPosition = this.pos, this.savedCurrent = this.current;
|
|
14114
14120
|
};
|
|
14115
|
-
|
|
14121
|
+
jg.prototype.restore = function() {
|
|
14116
14122
|
this.pos = this.savedPosition, this.current = this.savedCurrent;
|
|
14117
14123
|
};
|
|
14118
|
-
|
|
14124
|
+
jg.prototype.next = function() {
|
|
14119
14125
|
if (this.pos >= this.expression.length)
|
|
14120
14126
|
return this.newToken(zU, "EOF");
|
|
14121
14127
|
if (this.isWhitespace() || this.isComment())
|
|
@@ -14124,7 +14130,7 @@ Rg.prototype.next = function() {
|
|
|
14124
14130
|
return this.current;
|
|
14125
14131
|
this.parseError('Unknown character "' + this.expression.charAt(this.pos) + '"');
|
|
14126
14132
|
};
|
|
14127
|
-
|
|
14133
|
+
jg.prototype.isString = function() {
|
|
14128
14134
|
var l = !1, f = this.pos, _ = this.expression.charAt(f);
|
|
14129
14135
|
if (_ === "'" || _ === '"')
|
|
14130
14136
|
for (var g = this.expression.indexOf(_, f + 1); g >= 0 && this.pos < this.expression.length; ) {
|
|
@@ -14137,23 +14143,23 @@ Rg.prototype.isString = function() {
|
|
|
14137
14143
|
}
|
|
14138
14144
|
return l;
|
|
14139
14145
|
};
|
|
14140
|
-
|
|
14146
|
+
jg.prototype.isParen = function() {
|
|
14141
14147
|
var l = this.expression.charAt(this.pos);
|
|
14142
14148
|
return l === "(" || l === ")" ? (this.current = this.newToken(EA, l), this.pos++, !0) : !1;
|
|
14143
14149
|
};
|
|
14144
|
-
|
|
14150
|
+
jg.prototype.isBracket = function() {
|
|
14145
14151
|
var l = this.expression.charAt(this.pos);
|
|
14146
14152
|
return (l === "[" || l === "]") && this.isOperatorEnabled("[") ? (this.current = this.newToken(gL, l), this.pos++, !0) : !1;
|
|
14147
14153
|
};
|
|
14148
|
-
|
|
14154
|
+
jg.prototype.isComma = function() {
|
|
14149
14155
|
var l = this.expression.charAt(this.pos);
|
|
14150
14156
|
return l === "," ? (this.current = this.newToken(tae, ","), this.pos++, !0) : !1;
|
|
14151
14157
|
};
|
|
14152
|
-
|
|
14158
|
+
jg.prototype.isSemicolon = function() {
|
|
14153
14159
|
var l = this.expression.charAt(this.pos);
|
|
14154
14160
|
return l === ";" ? (this.current = this.newToken(kke, ";"), this.pos++, !0) : !1;
|
|
14155
14161
|
};
|
|
14156
|
-
|
|
14162
|
+
jg.prototype.isConst = function() {
|
|
14157
14163
|
for (var l = this.pos, f = l; f < this.expression.length; f++) {
|
|
14158
14164
|
var _ = this.expression.charAt(f);
|
|
14159
14165
|
if (_.toUpperCase() === _.toLowerCase() && (f === this.pos || _ !== "_" && _ !== "." && (_ < "0" || _ > "9")))
|
|
@@ -14166,7 +14172,7 @@ Rg.prototype.isConst = function() {
|
|
|
14166
14172
|
}
|
|
14167
14173
|
return !1;
|
|
14168
14174
|
};
|
|
14169
|
-
|
|
14175
|
+
jg.prototype.isNamedOp = function() {
|
|
14170
14176
|
for (var l = this.pos, f = l; f < this.expression.length; f++) {
|
|
14171
14177
|
var _ = this.expression.charAt(f);
|
|
14172
14178
|
if (_.toUpperCase() === _.toLowerCase() && (f === this.pos || _ !== "_" && (_ < "0" || _ > "9")))
|
|
@@ -14179,7 +14185,7 @@ Rg.prototype.isNamedOp = function() {
|
|
|
14179
14185
|
}
|
|
14180
14186
|
return !1;
|
|
14181
14187
|
};
|
|
14182
|
-
|
|
14188
|
+
jg.prototype.isName = function() {
|
|
14183
14189
|
for (var l = this.pos, f = l, _ = !1; f < this.expression.length; f++) {
|
|
14184
14190
|
var g = this.expression.charAt(f);
|
|
14185
14191
|
if (g.toUpperCase() === g.toLowerCase()) {
|
|
@@ -14197,14 +14203,14 @@ Rg.prototype.isName = function() {
|
|
|
14197
14203
|
}
|
|
14198
14204
|
return !1;
|
|
14199
14205
|
};
|
|
14200
|
-
|
|
14206
|
+
jg.prototype.isWhitespace = function() {
|
|
14201
14207
|
for (var l = !1, f = this.expression.charAt(this.pos); (f === " " || f === " " || f === `
|
|
14202
14208
|
` || f === "\r") && (l = !0, this.pos++, !(this.pos >= this.expression.length)); )
|
|
14203
14209
|
f = this.expression.charAt(this.pos);
|
|
14204
14210
|
return l;
|
|
14205
14211
|
};
|
|
14206
14212
|
var cZt = /^[0-9a-f]{4}$/i;
|
|
14207
|
-
|
|
14213
|
+
jg.prototype.unescape = function(l) {
|
|
14208
14214
|
var f = l.indexOf("\\");
|
|
14209
14215
|
if (f < 0)
|
|
14210
14216
|
return l;
|
|
@@ -14252,11 +14258,11 @@ Rg.prototype.unescape = function(l) {
|
|
|
14252
14258
|
}
|
|
14253
14259
|
return _;
|
|
14254
14260
|
};
|
|
14255
|
-
|
|
14261
|
+
jg.prototype.isComment = function() {
|
|
14256
14262
|
var l = this.expression.charAt(this.pos);
|
|
14257
14263
|
return l === "/" && this.expression.charAt(this.pos + 1) === "*" ? (this.pos = this.expression.indexOf("*/", this.pos) + 2, this.pos === 1 && (this.pos = this.expression.length), !0) : !1;
|
|
14258
14264
|
};
|
|
14259
|
-
|
|
14265
|
+
jg.prototype.isRadixInteger = function() {
|
|
14260
14266
|
var l = this.pos;
|
|
14261
14267
|
if (l >= this.expression.length - 2 || this.expression.charAt(l) !== "0")
|
|
14262
14268
|
return !1;
|
|
@@ -14277,7 +14283,7 @@ Rg.prototype.isRadixInteger = function() {
|
|
|
14277
14283
|
}
|
|
14278
14284
|
return g && (this.current = this.newToken(eae, parseInt(this.expression.substring(T, l), f)), this.pos = l), g;
|
|
14279
14285
|
};
|
|
14280
|
-
|
|
14286
|
+
jg.prototype.isNumber = function() {
|
|
14281
14287
|
for (var l = !1, f = this.pos, _ = f, g = f, T = !1, D = !1, N; f < this.expression.length && (N = this.expression.charAt(f), N >= "0" && N <= "9" || !T && N === "."); )
|
|
14282
14288
|
N === "." ? T = !0 : D = !0, f++, l = D;
|
|
14283
14289
|
if (l && (g = f), N === "e" || N === "E") {
|
|
@@ -14295,7 +14301,7 @@ Rg.prototype.isNumber = function() {
|
|
|
14295
14301
|
}
|
|
14296
14302
|
return l ? (this.current = this.newToken(eae, parseFloat(this.expression.substring(_, f))), this.pos = f) : this.pos = g, l;
|
|
14297
14303
|
};
|
|
14298
|
-
|
|
14304
|
+
jg.prototype.isOperator = function() {
|
|
14299
14305
|
var l = this.pos, f = this.expression.charAt(this.pos);
|
|
14300
14306
|
if (f === "+" || f === "-" || f === "*" || f === "/" || f === "%" || f === "^" || f === "?" || f === ":" || f === ".")
|
|
14301
14307
|
this.current = this.newToken(jd, f);
|
|
@@ -14318,10 +14324,10 @@ Rg.prototype.isOperator = function() {
|
|
|
14318
14324
|
return !1;
|
|
14319
14325
|
return this.pos++, this.isOperatorEnabled(this.current.value) ? !0 : (this.pos = l, !1);
|
|
14320
14326
|
};
|
|
14321
|
-
|
|
14327
|
+
jg.prototype.isOperatorEnabled = function(l) {
|
|
14322
14328
|
return this.parser.isOperatorEnabled(l);
|
|
14323
14329
|
};
|
|
14324
|
-
|
|
14330
|
+
jg.prototype.getCoordinates = function() {
|
|
14325
14331
|
var l = 0, f, _ = -1;
|
|
14326
14332
|
do
|
|
14327
14333
|
l++, f = this.pos - _, _ = this.expression.indexOf(`
|
|
@@ -14332,7 +14338,7 @@ Rg.prototype.getCoordinates = function() {
|
|
|
14332
14338
|
column: f
|
|
14333
14339
|
};
|
|
14334
14340
|
};
|
|
14335
|
-
|
|
14341
|
+
jg.prototype.parseError = function(l) {
|
|
14336
14342
|
var f = this.getCoordinates();
|
|
14337
14343
|
throw new Error("parse error [" + f.line + ":" + f.column + "]: " + l);
|
|
14338
14344
|
};
|
|
@@ -14813,7 +14819,7 @@ function w7(l) {
|
|
|
14813
14819
|
w7.prototype.parse = function(l) {
|
|
14814
14820
|
var f = [], _ = new fm(
|
|
14815
14821
|
this,
|
|
14816
|
-
new
|
|
14822
|
+
new jg(this, l),
|
|
14817
14823
|
{ allowMemberAccess: this.options.allowMemberAccess }
|
|
14818
14824
|
);
|
|
14819
14825
|
return _.parseExpression(f), _.expect(zU, "EOF"), new jx(f, this);
|
|
@@ -18356,7 +18362,7 @@ function $Kt(l, f) {
|
|
|
18356
18362
|
return _.daysContainer !== void 0 ? Gt.className.indexOf("hidden") === -1 && Gt.className.indexOf("flatpickr-disabled") === -1 && _.daysContainer.contains(Gt) : !1;
|
|
18357
18363
|
}
|
|
18358
18364
|
function Ws(Gt) {
|
|
18359
|
-
var Xt = Gt.target === _._input, un = _._input.value.trimEnd() !==
|
|
18365
|
+
var Xt = Gt.target === _._input, un = _._input.value.trimEnd() !== Bg();
|
|
18360
18366
|
Xt && un && !(Gt.relatedTarget && mi(Gt.relatedTarget)) && _.setDate(_._input.value, !0, Gt.target === _.altInput ? _.config.altFormat : _.config.dateFormat);
|
|
18361
18367
|
}
|
|
18362
18368
|
function vt(Gt) {
|
|
@@ -18775,7 +18781,7 @@ function $Kt(l, f) {
|
|
|
18775
18781
|
un.setMonth(_.currentMonth + Xt), _.config.showMonths > 1 || _.config.monthSelectorType === "static" ? _.monthElements[Xt].textContent = uie(un.getMonth(), _.config.shorthandCurrentMonth, _.l10n) + " " : _.monthsDropdownContainer.value = un.getMonth().toString(), Gt.value = un.getFullYear().toString();
|
|
18776
18782
|
}), _._hidePrevMonthArrow = _.config.minDate !== void 0 && (_.currentYear === _.config.minDate.getFullYear() ? _.currentMonth <= _.config.minDate.getMonth() : _.currentYear < _.config.minDate.getFullYear()), _._hideNextMonthArrow = _.config.maxDate !== void 0 && (_.currentYear === _.config.maxDate.getFullYear() ? _.currentMonth + 1 > _.config.maxDate.getMonth() : _.currentYear > _.config.maxDate.getFullYear()));
|
|
18777
18783
|
}
|
|
18778
|
-
function
|
|
18784
|
+
function Bg(Gt) {
|
|
18779
18785
|
var Xt = Gt || (_.config.altInput ? _.config.altFormat : _.config.dateFormat);
|
|
18780
18786
|
return _.selectedDates.map(function(un) {
|
|
18781
18787
|
return _.formatDate(un, Xt);
|
|
@@ -18784,7 +18790,7 @@ function $Kt(l, f) {
|
|
|
18784
18790
|
}).join(_.config.mode !== "range" ? _.config.conjunction : _.l10n.rangeSeparator);
|
|
18785
18791
|
}
|
|
18786
18792
|
function gs(Gt) {
|
|
18787
|
-
Gt === void 0 && (Gt = !0), _.mobileInput !== void 0 && _.mobileFormatStr && (_.mobileInput.value = _.latestSelectedDateObj !== void 0 ? _.formatDate(_.latestSelectedDateObj, _.mobileFormatStr) : ""), _.input.value =
|
|
18793
|
+
Gt === void 0 && (Gt = !0), _.mobileInput !== void 0 && _.mobileFormatStr && (_.mobileInput.value = _.latestSelectedDateObj !== void 0 ? _.formatDate(_.latestSelectedDateObj, _.mobileFormatStr) : ""), _.input.value = Bg(_.config.dateFormat), _.altInput !== void 0 && (_.altInput.value = Bg(_.config.altFormat)), Gt !== !1 && _u("onValueUpdate");
|
|
18788
18794
|
}
|
|
18789
18795
|
function Ss(Gt) {
|
|
18790
18796
|
var Xt = KS(Gt), un = _.prevMonthNav.contains(Xt), ni = _.nextMonthNav.contains(Xt);
|
|
@@ -25067,7 +25073,7 @@ var Ztr = ["evt"], A2 = function(f, _) {
|
|
|
25067
25073
|
var g = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, T = g.evt, D = qtr(g, Ztr);
|
|
25068
25074
|
vW.pluginEvent.bind(xl)(f, _, qw({
|
|
25069
25075
|
dragEl: Js,
|
|
25070
|
-
parentEl:
|
|
25076
|
+
parentEl: Rg,
|
|
25071
25077
|
ghostEl: Yl,
|
|
25072
25078
|
rootEl: Om,
|
|
25073
25079
|
nextEl: l7,
|
|
@@ -25111,7 +25117,7 @@ function gb(l) {
|
|
|
25111
25117
|
newDraggableIndex: b3
|
|
25112
25118
|
}, l));
|
|
25113
25119
|
}
|
|
25114
|
-
var Js,
|
|
25120
|
+
var Js, Rg, Yl, Om, l7, Une, tg, S3, iL, rT, OU, b3, Dne, ry, KM = !1, _ie = !1, pie = [], s7, vC, PTe, NTe, vWe, yWe, xU, YM, FU, MU = !1, Ane = !1, Wne, e1, ITe = [], pxe = !1, die = [], fae = typeof document < "u", Pne = Gke, bWe = hW || LA ? "cssFloat" : "float", Ktr = fae && !tQe && !Gke && "draggable" in document.createElement("div"), lQe = (function() {
|
|
25115
25121
|
if (fae) {
|
|
25116
25122
|
if (LA)
|
|
25117
25123
|
return !1;
|
|
@@ -25294,7 +25300,7 @@ xl.prototype = /** @lends Sortable.prototype */
|
|
|
25294
25300
|
var T = this, D = T.el, N = T.options, B = D.ownerDocument, W;
|
|
25295
25301
|
if (g && !Js && g.parentNode === D) {
|
|
25296
25302
|
var K = Oh(g);
|
|
25297
|
-
if (Om = D, Js = g,
|
|
25303
|
+
if (Om = D, Js = g, Rg = Js.parentNode, l7 = Js.nextSibling, Une = g, Dne = N.group, xl.dragged = Js, s7 = {
|
|
25298
25304
|
target: Js,
|
|
25299
25305
|
clientX: (_ || f).clientX,
|
|
25300
25306
|
clientY: (_ || f).clientY
|
|
@@ -25474,22 +25480,22 @@ xl.prototype = /** @lends Sortable.prototype */
|
|
|
25474
25480
|
if (f.preventDefault !== void 0 && f.cancelable && f.preventDefault(), g = SC(g, B.draggable, _, !0), Ke("dragOver"), xl.eventCanceled) return Ye;
|
|
25475
25481
|
if (Js.contains(f.target) || g.animated && g.animatingX && g.animatingY || je._ignoreWhileAnimating === g)
|
|
25476
25482
|
return it(!1);
|
|
25477
|
-
if (_ie = !1, K && !B.disabled && (L ? ce || (N =
|
|
25483
|
+
if (_ie = !1, K && !B.disabled && (L ? ce || (N = Rg !== Om) : ry === this || (this.lastPutMode = Dne.checkPull(this, K, Js, f)) && W.checkPut(this, K, Js, f))) {
|
|
25478
25484
|
if (fe = this._getDirection(f, g) === "vertical", T = Oh(Js), Ke("dragOverValid"), xl.eventCanceled) return Ye;
|
|
25479
25485
|
if (N)
|
|
25480
|
-
return
|
|
25486
|
+
return Rg = Om, dt(), this._hideClone(), Ke("revert"), xl.eventCanceled || (l7 ? Om.insertBefore(Js, l7) : Om.appendChild(Js)), it(!0);
|
|
25481
25487
|
var rt = Yke(_, B.draggable);
|
|
25482
25488
|
if (!rt || srr(f, fe, this) && !rt.animated) {
|
|
25483
25489
|
if (rt === Js)
|
|
25484
25490
|
return it(!1);
|
|
25485
25491
|
if (rt && _ === f.target && (g = rt), g && (D = Oh(g)), Nne(Om, _, Js, T, g, D, f, !!g) !== !1)
|
|
25486
|
-
return dt(), rt && rt.nextSibling ? _.insertBefore(Js, rt.nextSibling) : _.appendChild(Js),
|
|
25492
|
+
return dt(), rt && rt.nextSibling ? _.insertBefore(Js, rt.nextSibling) : _.appendChild(Js), Rg = _, _t(), it(!0);
|
|
25487
25493
|
} else if (rt && arr(f, fe, this)) {
|
|
25488
25494
|
var St = vL(_, 0, B, !0);
|
|
25489
25495
|
if (St === Js)
|
|
25490
25496
|
return it(!1);
|
|
25491
25497
|
if (g = St, D = Oh(g), Nne(Om, _, Js, T, g, D, f, !1) !== !1)
|
|
25492
|
-
return dt(), _.insertBefore(Js, St),
|
|
25498
|
+
return dt(), _.insertBefore(Js, St), Rg = _, _t(), it(!0);
|
|
25493
25499
|
} else if (g.parentNode === _) {
|
|
25494
25500
|
D = Oh(g);
|
|
25495
25501
|
var gr = 0, $t, Kt = Js.parentNode !== _, Bt = !err(Js.animated && Js.toRect || T, g.animated && g.toRect || D, fe), Zr = fe ? "top" : "left", ln = gWe(g, "top", "top") || gWe(Js, "top", "top"), or = ln ? ln.scrollTop : void 0;
|
|
@@ -25498,7 +25504,7 @@ xl.prototype = /** @lends Sortable.prototype */
|
|
|
25498
25504
|
if (gr !== 0) {
|
|
25499
25505
|
var oi = Mx(Js);
|
|
25500
25506
|
do
|
|
25501
|
-
oi -= gr, Ii =
|
|
25507
|
+
oi -= gr, Ii = Rg.children[oi];
|
|
25502
25508
|
while (Ii && (Tl(Ii, "display") === "none" || Ii === Yl));
|
|
25503
25509
|
}
|
|
25504
25510
|
if (gr === 0 || Ii === g)
|
|
@@ -25508,7 +25514,7 @@ xl.prototype = /** @lends Sortable.prototype */
|
|
|
25508
25514
|
ei = gr === 1;
|
|
25509
25515
|
var yn = Nne(Om, _, Js, T, g, D, f, ei);
|
|
25510
25516
|
if (yn !== !1)
|
|
25511
|
-
return (yn === 1 || yn === -1) && (ei = yn === 1), pxe = !0, setTimeout(irr, 30), dt(), ei && !Dt ? _.appendChild(Js) : g.parentNode.insertBefore(Js, ei ? Dt : g), ln && sQe(ln, 0, or - ln.scrollTop),
|
|
25517
|
+
return (yn === 1 || yn === -1) && (ei = yn === 1), pxe = !0, setTimeout(irr, 30), dt(), ei && !Dt ? _.appendChild(Js) : g.parentNode.insertBefore(Js, ei ? Dt : g), ln && sQe(ln, 0, or - ln.scrollTop), Rg = Js.parentNode, $t !== void 0 && !Ane && (Wne = Math.abs($t - Oh(g)[Zr])), _t(), it(!0);
|
|
25512
25518
|
}
|
|
25513
25519
|
if (_.contains(Js))
|
|
25514
25520
|
return it(!1);
|
|
@@ -25527,58 +25533,58 @@ xl.prototype = /** @lends Sortable.prototype */
|
|
|
25527
25533
|
var _ = this.el, g = this.options;
|
|
25528
25534
|
if (rT = Mx(Js), b3 = Mx(Js, g.draggable), A2("drop", this, {
|
|
25529
25535
|
evt: f
|
|
25530
|
-
}),
|
|
25536
|
+
}), Rg = Js && Js.parentNode, rT = Mx(Js), b3 = Mx(Js, g.draggable), xl.eventCanceled) {
|
|
25531
25537
|
this._nulling();
|
|
25532
25538
|
return;
|
|
25533
25539
|
}
|
|
25534
|
-
KM = !1, Ane = !1, MU = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), dxe(this.cloneId), dxe(this._dragStartId), this.nativeDraggable && (kf(document, "drop", this), kf(_, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), NU && Tl(document.body, "user-select", ""), Tl(Js, "transform", ""), f && (xU && (f.cancelable && f.preventDefault(), !g.dropBubble && f.stopPropagation()), Yl && Yl.parentNode && Yl.parentNode.removeChild(Yl), (Om ===
|
|
25540
|
+
KM = !1, Ane = !1, MU = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), dxe(this.cloneId), dxe(this._dragStartId), this.nativeDraggable && (kf(document, "drop", this), kf(_, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), NU && Tl(document.body, "user-select", ""), Tl(Js, "transform", ""), f && (xU && (f.cancelable && f.preventDefault(), !g.dropBubble && f.stopPropagation()), Yl && Yl.parentNode && Yl.parentNode.removeChild(Yl), (Om === Rg || ry && ry.lastPutMode !== "clone") && tg && tg.parentNode && tg.parentNode.removeChild(tg), Js && (this.nativeDraggable && kf(Js, "dragend", this), OTe(Js), Js.style["will-change"] = "", xU && !KM && tT(Js, ry ? ry.options.ghostClass : this.options.ghostClass, !1), tT(Js, this.options.chosenClass, !1), gb({
|
|
25535
25541
|
sortable: this,
|
|
25536
25542
|
name: "unchoose",
|
|
25537
|
-
toEl:
|
|
25543
|
+
toEl: Rg,
|
|
25538
25544
|
newIndex: null,
|
|
25539
25545
|
newDraggableIndex: null,
|
|
25540
25546
|
originalEvent: f
|
|
25541
|
-
}), Om !==
|
|
25542
|
-
rootEl:
|
|
25547
|
+
}), Om !== Rg ? (rT >= 0 && (gb({
|
|
25548
|
+
rootEl: Rg,
|
|
25543
25549
|
name: "add",
|
|
25544
|
-
toEl:
|
|
25550
|
+
toEl: Rg,
|
|
25545
25551
|
fromEl: Om,
|
|
25546
25552
|
originalEvent: f
|
|
25547
25553
|
}), gb({
|
|
25548
25554
|
sortable: this,
|
|
25549
25555
|
name: "remove",
|
|
25550
|
-
toEl:
|
|
25556
|
+
toEl: Rg,
|
|
25551
25557
|
originalEvent: f
|
|
25552
25558
|
}), gb({
|
|
25553
|
-
rootEl:
|
|
25559
|
+
rootEl: Rg,
|
|
25554
25560
|
name: "sort",
|
|
25555
|
-
toEl:
|
|
25561
|
+
toEl: Rg,
|
|
25556
25562
|
fromEl: Om,
|
|
25557
25563
|
originalEvent: f
|
|
25558
25564
|
}), gb({
|
|
25559
25565
|
sortable: this,
|
|
25560
25566
|
name: "sort",
|
|
25561
|
-
toEl:
|
|
25567
|
+
toEl: Rg,
|
|
25562
25568
|
originalEvent: f
|
|
25563
25569
|
})), ry && ry.save()) : rT !== iL && rT >= 0 && (gb({
|
|
25564
25570
|
sortable: this,
|
|
25565
25571
|
name: "update",
|
|
25566
|
-
toEl:
|
|
25572
|
+
toEl: Rg,
|
|
25567
25573
|
originalEvent: f
|
|
25568
25574
|
}), gb({
|
|
25569
25575
|
sortable: this,
|
|
25570
25576
|
name: "sort",
|
|
25571
|
-
toEl:
|
|
25577
|
+
toEl: Rg,
|
|
25572
25578
|
originalEvent: f
|
|
25573
25579
|
})), xl.active && ((rT == null || rT === -1) && (rT = iL, b3 = OU), gb({
|
|
25574
25580
|
sortable: this,
|
|
25575
25581
|
name: "end",
|
|
25576
|
-
toEl:
|
|
25582
|
+
toEl: Rg,
|
|
25577
25583
|
originalEvent: f
|
|
25578
25584
|
}), this.save()))), this._nulling();
|
|
25579
25585
|
},
|
|
25580
25586
|
_nulling: function() {
|
|
25581
|
-
A2("nulling", this), Om = Js =
|
|
25587
|
+
A2("nulling", this), Om = Js = Rg = Yl = l7 = tg = Une = S3 = s7 = vC = xU = rT = b3 = iL = OU = YM = FU = ry = Dne = xl.dragged = xl.ghost = xl.clone = xl.active = null, die.forEach(function(f) {
|
|
25582
25588
|
f.checked = !0;
|
|
25583
25589
|
}), die.length = PTe = NTe = 0;
|
|
25584
25590
|
},
|
|
@@ -30758,7 +30764,7 @@ function Drr(l, f, _) {
|
|
|
30758
30764
|
break;
|
|
30759
30765
|
}
|
|
30760
30766
|
return Ga;
|
|
30761
|
-
}, []).join(", ")), si = Ze(() => da.value !== "upload" && fe.value), Mf = Ze(() => !ul.value && da.value === "type"), jl = Ze(() => (!Ri.value && da.value === "type" || !Tn.value && da.value === "draw") && je.value !== !1), ay = Ze(() => da.value === "upload"), $u = Ze(() => da.value === "upload" && !Ws.value), yd = Ze(() => da.value === "upload" && Ws.value), _u = Ze(() => da.value === "draw"), Vp = Ze(() => da.value === "draw" && (Yc.value.length || Tn.value) && !Ks.value && dt.value), Xc = Ze(() => (da.value === "upload" && Ws.value || da.value === "type" || da.value === "draw") && !Ks.value && T.value.length > 1 && !Ls.value), sy = Ze(() => !Ks.value && D.value.length > 1), Rs = Ze(() => da.value === "type" && W_.value.length > 1),
|
|
30767
|
+
}, []).join(", ")), si = Ze(() => da.value !== "upload" && fe.value), Mf = Ze(() => !ul.value && da.value === "type"), jl = Ze(() => (!Ri.value && da.value === "type" || !Tn.value && da.value === "draw") && je.value !== !1), ay = Ze(() => da.value === "upload"), $u = Ze(() => da.value === "upload" && !Ws.value), yd = Ze(() => da.value === "upload" && Ws.value), _u = Ze(() => da.value === "draw"), Vp = Ze(() => da.value === "draw" && (Yc.value.length || Tn.value) && !Ks.value && dt.value), Xc = Ze(() => (da.value === "upload" && Ws.value || da.value === "type" || da.value === "draw") && !Ks.value && T.value.length > 1 && !Ls.value), sy = Ze(() => !Ks.value && D.value.length > 1), Rs = Ze(() => da.value === "type" && W_.value.length > 1), Bg = Ze(() => (da.value === "type" && Ri.value || da.value === "upload" && Ws.value || da.value === "draw" && Tn.value || ul.value) && !Bt.value && !K.value && !Ks.value && ee.value), gs = Ze(() => Bt.value || K.value ? void 0 : 0), Ss = Ze(() => $t.value.$vueform.sanitize(ln.value || $t.value.translations.vueform.elements.signature.placeholder)), Vf = Ze(() => "Drop an image here or"), Gt = Ze(() => "Select image"), Xt = Ze(() => $t.value.translations.vueform.elements.signature.imgAlt), un = Ze(() => $t.value.translations.vueform.elements.signature.imgTitle), ni = Ze(() => $t.value.translations.vueform.elements.signature.font), ja = Ze(() => $t.value.translations.vueform.elements.signature.undo), va = Ze(() => $t.value.translations.vueform.elements.signature.redo), Qo = Ze(() => ({
|
|
30762
30768
|
"aria-label": $t.value.translations.vueform.elements.signature.modeSelectorAriaLabel
|
|
30763
30769
|
})), zi = Ze(() => ({
|
|
30764
30770
|
"aria-label": $t.value.translations.vueform.elements.signature.fontSelectorAriaLabel
|
|
@@ -30810,11 +30816,11 @@ function Drr(l, f, _) {
|
|
|
30810
30816
|
}
|
|
30811
30817
|
var ag = xb - fp + 1, oT = kb - Hf + 1, ic = document.createElement("canvas"), c1 = ic.getContext("2d");
|
|
30812
30818
|
ic.width = ag, ic.height = oT, c1.putImageData(cf, -fp, -Hf);
|
|
30813
|
-
var l1 = document.createElement("canvas"), cT = l1.getContext("2d"),
|
|
30814
|
-
l1.width =
|
|
30819
|
+
var l1 = document.createElement("canvas"), cT = l1.getContext("2d"), $g = _t.value, wp = rt.value;
|
|
30820
|
+
l1.width = $g, l1.height = wp;
|
|
30815
30821
|
var j2 = ag, sg = oT;
|
|
30816
|
-
(j2 >
|
|
30817
|
-
var O3 = Math.floor((
|
|
30822
|
+
(j2 > $g || sg > wp) && (j2 / sg > $g / wp ? (j2 = $g, sg = Math.floor($g / ag * oT)) : (sg = wp, j2 = Math.floor(wp / oT * ag)));
|
|
30823
|
+
var O3 = Math.floor(($g - j2) / 2), lf = Math.floor((wp - sg) / 2);
|
|
30818
30824
|
cT.drawImage(ic, 0, 0, ag, oT, O3, lf, j2, sg), l1.toBlob(function(F3) {
|
|
30819
30825
|
Zr.value = F3, Ga(), l1.remove();
|
|
30820
30826
|
}, "image/png");
|
|
@@ -30849,10 +30855,10 @@ function Drr(l, f, _) {
|
|
|
30849
30855
|
ig.putImageData(fp, 0, 0);
|
|
30850
30856
|
var ic = yn.value, c1 = ic.getContext("2d");
|
|
30851
30857
|
c1.clearRect(0, 0, ic.width, ic.height);
|
|
30852
|
-
var l1 = _t.value, cT = rt.value,
|
|
30853
|
-
wp > cT && (wp = cT,
|
|
30854
|
-
var j2 = (l1 -
|
|
30855
|
-
c1.drawImage(cf, 0, 0, vo.width, vo.height, j2, sg,
|
|
30858
|
+
var l1 = _t.value, cT = rt.value, $g = l1, wp = $g / (vo.width / vo.height);
|
|
30859
|
+
wp > cT && (wp = cT, $g = wp * (vo.width / vo.height));
|
|
30860
|
+
var j2 = (l1 - $g) / 2, sg = (cT - wp) / 2;
|
|
30861
|
+
c1.drawImage(cf, 0, 0, vo.width, vo.height, j2, sg, $g, wp), ic.toBlob(function(O3) {
|
|
30856
30862
|
Zr.value = O3, Ws.value = !0, vt.value = !1, cf.remove();
|
|
30857
30863
|
}, "image/png");
|
|
30858
30864
|
}, vo.src = fl.target.result;
|
|
@@ -31090,7 +31096,7 @@ function Drr(l, f, _) {
|
|
|
31090
31096
|
showColors: Xc,
|
|
31091
31097
|
showModes: sy,
|
|
31092
31098
|
showFonts: Rs,
|
|
31093
|
-
showClear:
|
|
31099
|
+
showClear: Bg,
|
|
31094
31100
|
tabindex: gs,
|
|
31095
31101
|
placeholderText: Ss,
|
|
31096
31102
|
dndText: Vf,
|
|
@@ -33012,7 +33018,7 @@ JYe(void 0, Hn({}, Mrr), Hn({}, SQt), {
|
|
|
33012
33018
|
moment: To
|
|
33013
33019
|
});
|
|
33014
33020
|
let Rw;
|
|
33015
|
-
function
|
|
33021
|
+
function xir(l) {
|
|
33016
33022
|
return Rw = l, Rw;
|
|
33017
33023
|
}
|
|
33018
33024
|
const Rrr = RA({
|
|
@@ -33160,13 +33166,13 @@ function Vrr(l, f, _, g, T, D) {
|
|
|
33160
33166
|
}))
|
|
33161
33167
|
]), 1024);
|
|
33162
33168
|
}
|
|
33163
|
-
const
|
|
33169
|
+
const kir = /* @__PURE__ */ PC(Rrr, [["render", Vrr]]);
|
|
33164
33170
|
let Gne;
|
|
33165
|
-
function
|
|
33171
|
+
function Cir(l) {
|
|
33166
33172
|
Gne = l;
|
|
33167
33173
|
}
|
|
33168
33174
|
let yA;
|
|
33169
|
-
function
|
|
33175
|
+
function Eir(l) {
|
|
33170
33176
|
return yA = l, l;
|
|
33171
33177
|
}
|
|
33172
33178
|
const Hrr = RA({
|
|
@@ -33352,7 +33358,7 @@ function unr(l, f, _, g, T, D) {
|
|
|
33352
33358
|
}))
|
|
33353
33359
|
]), 1024);
|
|
33354
33360
|
}
|
|
33355
|
-
const
|
|
33361
|
+
const wir = /* @__PURE__ */ PC(Hrr, [["render", unr]]), fnr = RA({
|
|
33356
33362
|
name: "ImagePickerElement",
|
|
33357
33363
|
components: { ImagePickerComponent: GU },
|
|
33358
33364
|
setup(l, f) {
|
|
@@ -33403,7 +33409,7 @@ function _nr(l, f, _, g, T, D) {
|
|
|
33403
33409
|
}))
|
|
33404
33410
|
]), 1024);
|
|
33405
33411
|
}
|
|
33406
|
-
const
|
|
33412
|
+
const Dir = /* @__PURE__ */ PC(fnr, [["render", _nr]]), pnr = RA({
|
|
33407
33413
|
name: "ImagePickerDetailsElement",
|
|
33408
33414
|
components: { ImagePickerComponent: GU },
|
|
33409
33415
|
setup(l, f) {
|
|
@@ -33455,9 +33461,9 @@ function dnr(l, f, _, g, T, D) {
|
|
|
33455
33461
|
}))
|
|
33456
33462
|
]), 1024);
|
|
33457
33463
|
}
|
|
33458
|
-
const
|
|
33464
|
+
const Air = /* @__PURE__ */ PC(pnr, [["render", dnr]]);
|
|
33459
33465
|
let hxe;
|
|
33460
|
-
function
|
|
33466
|
+
function Pir(l) {
|
|
33461
33467
|
return hxe = l, hxe;
|
|
33462
33468
|
}
|
|
33463
33469
|
const mnr = RA({
|
|
@@ -33501,9 +33507,9 @@ function gnr(l, f, _, g, T, D) {
|
|
|
33501
33507
|
}))
|
|
33502
33508
|
]), 1024);
|
|
33503
33509
|
}
|
|
33504
|
-
const
|
|
33510
|
+
const Nir = /* @__PURE__ */ PC(mnr, [["render", gnr]]);
|
|
33505
33511
|
let vxe;
|
|
33506
|
-
function
|
|
33512
|
+
function Iir(l) {
|
|
33507
33513
|
return vxe = l, vxe;
|
|
33508
33514
|
}
|
|
33509
33515
|
const hnr = RA({
|
|
@@ -33546,7 +33552,7 @@ function vnr(l, f, _, g, T, D) {
|
|
|
33546
33552
|
}))
|
|
33547
33553
|
]), 1024);
|
|
33548
33554
|
}
|
|
33549
|
-
const
|
|
33555
|
+
const Oir = /* @__PURE__ */ PC(hnr, [["render", vnr]]), ynr = RA({
|
|
33550
33556
|
name: "DateTimePickerElement",
|
|
33551
33557
|
setup(l, f) {
|
|
33552
33558
|
vb().appContext && !vb().appContext.components.DateTimePicker && (vb().appContext.components.DateTimePicker = Zne);
|
|
@@ -33589,9 +33595,9 @@ function bnr(l, f, _, g, T, D) {
|
|
|
33589
33595
|
}))
|
|
33590
33596
|
]), 1024);
|
|
33591
33597
|
}
|
|
33592
|
-
const
|
|
33598
|
+
const Fir = /* @__PURE__ */ PC(ynr, [["render", bnr]]);
|
|
33593
33599
|
let vie;
|
|
33594
|
-
function
|
|
33600
|
+
function Mir(l) {
|
|
33595
33601
|
return vie = l, vie;
|
|
33596
33602
|
}
|
|
33597
33603
|
var TWe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -33817,7 +33823,7 @@ function knr() {
|
|
|
33817
33823
|
addRelatedInfo: () => co,
|
|
33818
33824
|
addSyntheticLeadingComment: () => mk,
|
|
33819
33825
|
addSyntheticTrailingComment: () => eI,
|
|
33820
|
-
addToSeen: () =>
|
|
33826
|
+
addToSeen: () => Hg,
|
|
33821
33827
|
advancedAsyncSuperHelper: () => oB,
|
|
33822
33828
|
affectsDeclarationPathOptionDeclarations: () => xfe,
|
|
33823
33829
|
affectsEmitOptionDeclarations: () => Tfe,
|
|
@@ -33859,7 +33865,7 @@ function knr() {
|
|
|
33859
33865
|
canHaveIllegalTypeParameters: () => tfe,
|
|
33860
33866
|
canHaveJSDoc: () => zO,
|
|
33861
33867
|
canHaveLocals: () => kv,
|
|
33862
|
-
canHaveModifiers: () =>
|
|
33868
|
+
canHaveModifiers: () => Zg,
|
|
33863
33869
|
canHaveModuleSpecifier: () => Ece,
|
|
33864
33870
|
canHaveSymbol: () => Vh,
|
|
33865
33871
|
canIncludeBindAndCheckDiagnostics: () => WN,
|
|
@@ -34121,7 +34127,7 @@ function knr() {
|
|
|
34121
34127
|
emptyArray: () => L,
|
|
34122
34128
|
emptyFileSystemEntries: () => sG,
|
|
34123
34129
|
emptyMap: () => ce,
|
|
34124
|
-
emptyOptions: () =>
|
|
34130
|
+
emptyOptions: () => Kg,
|
|
34125
34131
|
endsWith: () => ic,
|
|
34126
34132
|
ensurePathIsNonModuleName: () => $C,
|
|
34127
34133
|
ensureScriptKind: () => jj,
|
|
@@ -34186,7 +34192,7 @@ function knr() {
|
|
|
34186
34192
|
first: () => Rs,
|
|
34187
34193
|
firstDefined: () => Ye,
|
|
34188
34194
|
firstDefinedIterator: () => Ke,
|
|
34189
|
-
firstIterator: () =>
|
|
34195
|
+
firstIterator: () => Bg,
|
|
34190
34196
|
firstOrOnly: () => FZ,
|
|
34191
34197
|
firstOrUndefined: () => Xc,
|
|
34192
34198
|
firstOrUndefinedIterator: () => sy,
|
|
@@ -34407,7 +34413,7 @@ function knr() {
|
|
|
34407
34413
|
getInternalEmitFlags: () => mh,
|
|
34408
34414
|
getInvokedExpression: () => qR,
|
|
34409
34415
|
getIsFileExcluded: () => Lme,
|
|
34410
|
-
getIsolatedModules: () =>
|
|
34416
|
+
getIsolatedModules: () => Gg,
|
|
34411
34417
|
getJSDocAugmentsTag: () => soe,
|
|
34412
34418
|
getJSDocClassTag: () => aV,
|
|
34413
34419
|
getJSDocCommentRanges: () => VV,
|
|
@@ -34458,7 +34464,7 @@ function knr() {
|
|
|
34458
34464
|
getLineAndCharacterOfPosition: () => oo,
|
|
34459
34465
|
getLineInfo: () => rX,
|
|
34460
34466
|
getLineOfLocalPosition: () => AN,
|
|
34461
|
-
getLineStartPositionForPosition: () =>
|
|
34467
|
+
getLineStartPositionForPosition: () => eh,
|
|
34462
34468
|
getLineStarts: () => oy,
|
|
34463
34469
|
getLinesBetweenPositionAndNextNonWhitespaceCharacter: () => ule,
|
|
34464
34470
|
getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter: () => lle,
|
|
@@ -35086,10 +35092,10 @@ function knr() {
|
|
|
35086
35092
|
isJSDocSeeTag: () => iwe,
|
|
35087
35093
|
isJSDocSignature: () => zb,
|
|
35088
35094
|
isJSDocTag: () => QA,
|
|
35089
|
-
isJSDocTemplateTag: () =>
|
|
35095
|
+
isJSDocTemplateTag: () => Qg,
|
|
35090
35096
|
isJSDocThisTag: () => WG,
|
|
35091
35097
|
isJSDocThrowsTag: () => swe,
|
|
35092
|
-
isJSDocTypeAlias: () =>
|
|
35098
|
+
isJSDocTypeAlias: () => Wg,
|
|
35093
35099
|
isJSDocTypeAssertion: () => kk,
|
|
35094
35100
|
isJSDocTypeExpression: () => OT,
|
|
35095
35101
|
isJSDocTypeLiteral: () => yE,
|
|
@@ -35215,7 +35221,7 @@ function knr() {
|
|
|
35215
35221
|
isObjectLiteralElement: () => xV,
|
|
35216
35222
|
isObjectLiteralElementLike: () => p1,
|
|
35217
35223
|
isObjectLiteralExpression: () => Oo,
|
|
35218
|
-
isObjectLiteralMethod: () =>
|
|
35224
|
+
isObjectLiteralMethod: () => Ug,
|
|
35219
35225
|
isObjectLiteralOrClassExpressionMethodOrAccessor: () => RR,
|
|
35220
35226
|
isObjectTypeDeclaration: () => xD,
|
|
35221
35227
|
isOmittedExpression: () => hf,
|
|
@@ -35283,7 +35289,7 @@ function knr() {
|
|
|
35283
35289
|
isRequireVariableStatement: () => NO,
|
|
35284
35290
|
isRestParameter: () => Cv,
|
|
35285
35291
|
isRestTypeNode: () => pB,
|
|
35286
|
-
isReturnStatement: () =>
|
|
35292
|
+
isReturnStatement: () => Yg,
|
|
35287
35293
|
isReturnStatementWithFixablePromiseHandler: () => UJ,
|
|
35288
35294
|
isRightSideOfAccessExpression: () => FH,
|
|
35289
35295
|
isRightSideOfInstanceofExpression: () => tle,
|
|
@@ -35375,7 +35381,7 @@ function knr() {
|
|
|
35375
35381
|
isTryStatement: () => gE,
|
|
35376
35382
|
isTupleTypeNode: () => JD,
|
|
35377
35383
|
isTypeAlias: () => JO,
|
|
35378
|
-
isTypeAliasDeclaration: () =>
|
|
35384
|
+
isTypeAliasDeclaration: () => Xg,
|
|
35379
35385
|
isTypeAssertionExpression: () => dB,
|
|
35380
35386
|
isTypeDeclaration: () => AD,
|
|
35381
35387
|
isTypeElement: () => Vx,
|
|
@@ -35495,7 +35501,7 @@ function knr() {
|
|
|
35495
35501
|
nodeHasName: () => Z7,
|
|
35496
35502
|
nodeIsDecorated: () => s4,
|
|
35497
35503
|
nodeIsMissing: () => Ul,
|
|
35498
|
-
nodeIsPresent: () =>
|
|
35504
|
+
nodeIsPresent: () => qg,
|
|
35499
35505
|
nodeIsSynthesized: () => Jc,
|
|
35500
35506
|
nodeModuleNameResolver: () => r_e,
|
|
35501
35507
|
nodeModulesPathPart: () => Ay,
|
|
@@ -35525,7 +35531,7 @@ function knr() {
|
|
|
35525
35531
|
optionsForWatch: () => KD,
|
|
35526
35532
|
optionsHaveChanges: () => ZA,
|
|
35527
35533
|
or: () => Ec,
|
|
35528
|
-
orderedRemoveItem: () =>
|
|
35534
|
+
orderedRemoveItem: () => $g,
|
|
35529
35535
|
orderedRemoveItemAt: () => wp,
|
|
35530
35536
|
packageIdToPackageName: () => CR,
|
|
35531
35537
|
packageIdToString: () => mT,
|
|
@@ -35722,7 +35728,7 @@ function knr() {
|
|
|
35722
35728
|
startsWithUseStrict: () => Zue,
|
|
35723
35729
|
stringContainsAt: () => Ime,
|
|
35724
35730
|
stringToToken: () => JC,
|
|
35725
|
-
stripQuotes: () =>
|
|
35731
|
+
stripQuotes: () => Vg,
|
|
35726
35732
|
supportedDeclarationExtensions: () => Jj,
|
|
35727
35733
|
supportedJSExtensionsFlat: () => T4,
|
|
35728
35734
|
supportedLocaleDirectories: () => eoe,
|
|
@@ -36356,7 +36362,7 @@ function knr() {
|
|
|
36356
36362
|
function Rs(e) {
|
|
36357
36363
|
return O.assert(e.length !== 0), e[0];
|
|
36358
36364
|
}
|
|
36359
|
-
function
|
|
36365
|
+
function Bg(e) {
|
|
36360
36366
|
for (const t of e)
|
|
36361
36367
|
return t;
|
|
36362
36368
|
O.fail("iterator is empty");
|
|
@@ -36843,7 +36849,7 @@ function knr() {
|
|
|
36843
36849
|
}
|
|
36844
36850
|
return t === e.length ? e : e.slice(0, t);
|
|
36845
36851
|
}
|
|
36846
|
-
function
|
|
36852
|
+
function $g(e, t) {
|
|
36847
36853
|
for (let n = 0; n < e.length; n++)
|
|
36848
36854
|
if (e[n] === t)
|
|
36849
36855
|
return wp(e, n), !0;
|
|
@@ -37886,9 +37892,9 @@ ${It.join(`
|
|
|
37886
37892
|
if (!t) return;
|
|
37887
37893
|
const [, n, i = "*", a = "*", o, c] = t;
|
|
37888
37894
|
return { version: new Uh(
|
|
37889
|
-
|
|
37890
|
-
|
|
37891
|
-
|
|
37895
|
+
Jg(n) ? 0 : parseInt(n, 10),
|
|
37896
|
+
Jg(n) || Jg(i) ? 0 : parseInt(i, 10),
|
|
37897
|
+
Jg(n) || Jg(i) || Jg(a) ? 0 : parseInt(a, 10),
|
|
37892
37898
|
o,
|
|
37893
37899
|
c
|
|
37894
37900
|
), major: n, minor: i, patch: a };
|
|
@@ -37897,22 +37903,22 @@ ${It.join(`
|
|
|
37897
37903
|
const i = gae(e);
|
|
37898
37904
|
if (!i) return !1;
|
|
37899
37905
|
const a = gae(t);
|
|
37900
|
-
return a ? (
|
|
37901
|
-
|
|
37906
|
+
return a ? (Jg(i.major) || n.push(Sv(">=", i.version)), Jg(a.major) || n.push(
|
|
37907
|
+
Jg(a.minor) ? Sv("<", a.version.increment("major")) : Jg(a.patch) ? Sv("<", a.version.increment("minor")) : Sv("<=", a.version)
|
|
37902
37908
|
), !0) : !1;
|
|
37903
37909
|
}
|
|
37904
37910
|
function _Ze(e, t, n) {
|
|
37905
37911
|
const i = gae(t);
|
|
37906
37912
|
if (!i) return !1;
|
|
37907
37913
|
const { version: a, major: o, minor: c, patch: d } = i;
|
|
37908
|
-
if (
|
|
37914
|
+
if (Jg(o))
|
|
37909
37915
|
(e === "<" || e === ">") && n.push(Sv("<", Uh.zero));
|
|
37910
37916
|
else switch (e) {
|
|
37911
37917
|
case "~":
|
|
37912
37918
|
n.push(Sv(">=", a)), n.push(Sv(
|
|
37913
37919
|
"<",
|
|
37914
37920
|
a.increment(
|
|
37915
|
-
|
|
37921
|
+
Jg(c) ? "major" : "minor"
|
|
37916
37922
|
)
|
|
37917
37923
|
));
|
|
37918
37924
|
break;
|
|
@@ -37920,32 +37926,32 @@ ${It.join(`
|
|
|
37920
37926
|
n.push(Sv(">=", a)), n.push(Sv(
|
|
37921
37927
|
"<",
|
|
37922
37928
|
a.increment(
|
|
37923
|
-
a.major > 0 ||
|
|
37929
|
+
a.major > 0 || Jg(c) ? "major" : a.minor > 0 || Jg(d) ? "minor" : "patch"
|
|
37924
37930
|
)
|
|
37925
37931
|
));
|
|
37926
37932
|
break;
|
|
37927
37933
|
case "<":
|
|
37928
37934
|
case ">=":
|
|
37929
37935
|
n.push(
|
|
37930
|
-
|
|
37936
|
+
Jg(c) || Jg(d) ? Sv(e, a.with({ prerelease: "0" })) : Sv(e, a)
|
|
37931
37937
|
);
|
|
37932
37938
|
break;
|
|
37933
37939
|
case "<=":
|
|
37934
37940
|
case ">":
|
|
37935
37941
|
n.push(
|
|
37936
|
-
|
|
37942
|
+
Jg(c) ? Sv(e === "<=" ? "<" : ">=", a.increment("major").with({ prerelease: "0" })) : Jg(d) ? Sv(e === "<=" ? "<" : ">=", a.increment("minor").with({ prerelease: "0" })) : Sv(e, a)
|
|
37937
37943
|
);
|
|
37938
37944
|
break;
|
|
37939
37945
|
case "=":
|
|
37940
37946
|
case void 0:
|
|
37941
|
-
|
|
37947
|
+
Jg(c) || Jg(d) ? (n.push(Sv(">=", a.with({ prerelease: "0" }))), n.push(Sv("<", a.increment(Jg(c) ? "major" : "minor").with({ prerelease: "0" })))) : n.push(Sv("=", a));
|
|
37942
37948
|
break;
|
|
37943
37949
|
default:
|
|
37944
37950
|
return !1;
|
|
37945
37951
|
}
|
|
37946
37952
|
return !0;
|
|
37947
37953
|
}
|
|
37948
|
-
function
|
|
37954
|
+
function Jg(e) {
|
|
37949
37955
|
return e === "*" || e === "x" || e === "X";
|
|
37950
37956
|
}
|
|
37951
37957
|
function Sv(e, t) {
|
|
@@ -38864,7 +38870,7 @@ ${It.join(`
|
|
|
38864
38870
|
}), {
|
|
38865
38871
|
close: () => {
|
|
38866
38872
|
const p = e.get(c);
|
|
38867
|
-
p && (
|
|
38873
|
+
p && (!$g(p.callbacks, i) || p.callbacks.length || (e.delete(c), Sg(p)));
|
|
38868
38874
|
}
|
|
38869
38875
|
};
|
|
38870
38876
|
}
|
|
@@ -44880,7 +44886,7 @@ ${It.join(`
|
|
|
44880
44886
|
}
|
|
44881
44887
|
function BCe(e, t) {
|
|
44882
44888
|
const n = e.name.escapedText;
|
|
44883
|
-
return iR(e.parent, t).filter((i) =>
|
|
44889
|
+
return iR(e.parent, t).filter((i) => Qg(i) && i.typeParameters.some((a) => a.name.escapedText === n));
|
|
44884
44890
|
}
|
|
44885
44891
|
function noe(e) {
|
|
44886
44892
|
return BCe(
|
|
@@ -44897,22 +44903,22 @@ ${It.join(`
|
|
|
44897
44903
|
);
|
|
44898
44904
|
}
|
|
44899
44905
|
function aoe(e) {
|
|
44900
|
-
return !!
|
|
44906
|
+
return !!zg(e, $m);
|
|
44901
44907
|
}
|
|
44902
44908
|
function soe(e) {
|
|
44903
|
-
return
|
|
44909
|
+
return zg(e, GD);
|
|
44904
44910
|
}
|
|
44905
44911
|
function ooe(e) {
|
|
44906
44912
|
return aR(e, kB);
|
|
44907
44913
|
}
|
|
44908
44914
|
function aV(e) {
|
|
44909
|
-
return
|
|
44915
|
+
return zg(e, que);
|
|
44910
44916
|
}
|
|
44911
44917
|
function $Ce(e) {
|
|
44912
|
-
return
|
|
44918
|
+
return zg(e, $G);
|
|
44913
44919
|
}
|
|
44914
44920
|
function coe(e) {
|
|
44915
|
-
return
|
|
44921
|
+
return zg(
|
|
44916
44922
|
e,
|
|
44917
44923
|
$G,
|
|
44918
44924
|
/*noCache*/
|
|
@@ -44920,10 +44926,10 @@ ${It.join(`
|
|
|
44920
44926
|
);
|
|
44921
44927
|
}
|
|
44922
44928
|
function JCe(e) {
|
|
44923
|
-
return
|
|
44929
|
+
return zg(e, JG);
|
|
44924
44930
|
}
|
|
44925
44931
|
function loe(e) {
|
|
44926
|
-
return
|
|
44932
|
+
return zg(
|
|
44927
44933
|
e,
|
|
44928
44934
|
JG,
|
|
44929
44935
|
/*noCache*/
|
|
@@ -44931,10 +44937,10 @@ ${It.join(`
|
|
|
44931
44937
|
);
|
|
44932
44938
|
}
|
|
44933
44939
|
function zCe(e) {
|
|
44934
|
-
return
|
|
44940
|
+
return zg(e, zG);
|
|
44935
44941
|
}
|
|
44936
44942
|
function uoe(e) {
|
|
44937
|
-
return
|
|
44943
|
+
return zg(
|
|
44938
44944
|
e,
|
|
44939
44945
|
zG,
|
|
44940
44946
|
/*noCache*/
|
|
@@ -44942,10 +44948,10 @@ ${It.join(`
|
|
|
44942
44948
|
);
|
|
44943
44949
|
}
|
|
44944
44950
|
function qCe(e) {
|
|
44945
|
-
return
|
|
44951
|
+
return zg(e, qG);
|
|
44946
44952
|
}
|
|
44947
44953
|
function foe(e) {
|
|
44948
|
-
return
|
|
44954
|
+
return zg(
|
|
44949
44955
|
e,
|
|
44950
44956
|
qG,
|
|
44951
44957
|
/*noCache*/
|
|
@@ -44953,7 +44959,7 @@ ${It.join(`
|
|
|
44953
44959
|
);
|
|
44954
44960
|
}
|
|
44955
44961
|
function _oe(e) {
|
|
44956
|
-
return
|
|
44962
|
+
return zg(
|
|
44957
44963
|
e,
|
|
44958
44964
|
TB,
|
|
44959
44965
|
/*noCache*/
|
|
@@ -44961,10 +44967,10 @@ ${It.join(`
|
|
|
44961
44967
|
);
|
|
44962
44968
|
}
|
|
44963
44969
|
function sV(e) {
|
|
44964
|
-
return
|
|
44970
|
+
return zg(e, UG);
|
|
44965
44971
|
}
|
|
44966
44972
|
function poe(e) {
|
|
44967
|
-
return
|
|
44973
|
+
return zg(
|
|
44968
44974
|
e,
|
|
44969
44975
|
UG,
|
|
44970
44976
|
/*noCache*/
|
|
@@ -44972,27 +44978,27 @@ ${It.join(`
|
|
|
44972
44978
|
);
|
|
44973
44979
|
}
|
|
44974
44980
|
function oV(e) {
|
|
44975
|
-
return
|
|
44981
|
+
return zg(e, RF);
|
|
44976
44982
|
}
|
|
44977
44983
|
function nR(e) {
|
|
44978
|
-
return
|
|
44984
|
+
return zg(e, WG);
|
|
44979
44985
|
}
|
|
44980
44986
|
function doe(e) {
|
|
44981
|
-
return
|
|
44987
|
+
return zg(e, xB);
|
|
44982
44988
|
}
|
|
44983
44989
|
function UCe(e) {
|
|
44984
|
-
return
|
|
44990
|
+
return zg(e, Qg);
|
|
44985
44991
|
}
|
|
44986
44992
|
function cV(e) {
|
|
44987
|
-
return
|
|
44993
|
+
return zg(e, CB);
|
|
44988
44994
|
}
|
|
44989
44995
|
function pT(e) {
|
|
44990
|
-
const t =
|
|
44996
|
+
const t = zg(e, pI);
|
|
44991
44997
|
if (t && t.typeExpression && t.typeExpression.type)
|
|
44992
44998
|
return t;
|
|
44993
44999
|
}
|
|
44994
45000
|
function q2(e) {
|
|
44995
|
-
let t =
|
|
45001
|
+
let t = zg(e, pI);
|
|
44996
45002
|
return !t && Ba(e) && (t = St(WA(e), (n) => !!n.typeExpression)), t && t.typeExpression && t.typeExpression.type;
|
|
44997
45003
|
}
|
|
44998
45004
|
function K7(e) {
|
|
@@ -45027,7 +45033,7 @@ ${It.join(`
|
|
|
45027
45033
|
!1
|
|
45028
45034
|
);
|
|
45029
45035
|
}
|
|
45030
|
-
function
|
|
45036
|
+
function zg(e, t, n) {
|
|
45031
45037
|
return St(iR(e, n), t);
|
|
45032
45038
|
}
|
|
45033
45039
|
function aR(e, t) {
|
|
@@ -45048,15 +45054,15 @@ ${It.join(`
|
|
|
45048
45054
|
if (L4(e.parent)) {
|
|
45049
45055
|
const t = u4(e.parent);
|
|
45050
45056
|
if (t && ee(t.tags))
|
|
45051
|
-
return pn(t.tags, (n) =>
|
|
45057
|
+
return pn(t.tags, (n) => Qg(n) ? n.typeParameters : void 0);
|
|
45052
45058
|
}
|
|
45053
45059
|
return L;
|
|
45054
45060
|
}
|
|
45055
|
-
if (
|
|
45061
|
+
if (Wg(e))
|
|
45056
45062
|
return O.assert(
|
|
45057
45063
|
e.parent.kind === 320
|
|
45058
45064
|
/* JSDoc */
|
|
45059
|
-
), pn(e.parent.tags, (t) =>
|
|
45065
|
+
), pn(e.parent.tags, (t) => Qg(t) ? t.typeParameters : void 0);
|
|
45060
45066
|
if (e.typeParameters || tfe(e) && e.typeParameters)
|
|
45061
45067
|
return e.typeParameters;
|
|
45062
45068
|
if (Wn(e)) {
|
|
@@ -45070,7 +45076,7 @@ ${It.join(`
|
|
|
45070
45076
|
return L;
|
|
45071
45077
|
}
|
|
45072
45078
|
function VA(e) {
|
|
45073
|
-
return e.constraint ? e.constraint :
|
|
45079
|
+
return e.constraint ? e.constraint : Qg(e.parent) && e === e.parent.typeParameters[0] ? e.parent.constraint : void 0;
|
|
45074
45080
|
}
|
|
45075
45081
|
function fy(e) {
|
|
45076
45082
|
return e.kind === 80 || e.kind === 81;
|
|
@@ -46175,7 +46181,7 @@ ${It.join(`
|
|
|
46175
46181
|
function Ul(e) {
|
|
46176
46182
|
return e === void 0 ? !0 : e.pos === e.end && e.pos >= 0 && e.kind !== 1;
|
|
46177
46183
|
}
|
|
46178
|
-
function
|
|
46184
|
+
function qg(e) {
|
|
46179
46185
|
return !Ul(e);
|
|
46180
46186
|
}
|
|
46181
46187
|
function zoe(e, t) {
|
|
@@ -46269,11 +46275,11 @@ ${It.join(`
|
|
|
46269
46275
|
);
|
|
46270
46276
|
}
|
|
46271
46277
|
function IV(e, t) {
|
|
46272
|
-
const n = !Ul(e) &&
|
|
46278
|
+
const n = !Ul(e) && Zg(e) ? gr(e.modifiers, gf) : void 0;
|
|
46273
46279
|
return n ? Io((t || nn(e)).text, n.end) : Z2(e, t);
|
|
46274
46280
|
}
|
|
46275
46281
|
function Uoe(e, t) {
|
|
46276
|
-
const n = !Ul(e) &&
|
|
46282
|
+
const n = !Ul(e) && Zg(e) && e.modifiers ? Ss(e.modifiers) : void 0;
|
|
46277
46283
|
return n ? Io((t || nn(e)).text, n.end) : Z2(e, t);
|
|
46278
46284
|
}
|
|
46279
46285
|
function Yx(e, t, n = !1) {
|
|
@@ -46956,7 +46962,7 @@ ${It.join(`
|
|
|
46956
46962
|
default:
|
|
46957
46963
|
return !1;
|
|
46958
46964
|
}
|
|
46959
|
-
return e.isDeclarationFile ? !1 : !!(P_(t, "alwaysStrict") || Zue(e.statements) || Zu(e) ||
|
|
46965
|
+
return e.isDeclarationFile ? !1 : !!(P_(t, "alwaysStrict") || Zue(e.statements) || Zu(e) || Gg(t));
|
|
46960
46966
|
}
|
|
46961
46967
|
function $V(e) {
|
|
46962
46968
|
return !!(e.flags & 33554432) || Ui(
|
|
@@ -47567,7 +47573,7 @@ ${It.join(`
|
|
|
47567
47573
|
function Zx(e) {
|
|
47568
47574
|
return e && e.kind === 241 && Os(e.parent);
|
|
47569
47575
|
}
|
|
47570
|
-
function
|
|
47576
|
+
function Ug(e) {
|
|
47571
47577
|
return e && e.kind === 174 && e.parent.kind === 210;
|
|
47572
47578
|
}
|
|
47573
47579
|
function RR(e) {
|
|
@@ -48387,11 +48393,11 @@ ${It.join(`
|
|
|
48387
48393
|
const t = M4(e) ? Xc(e.parameters) : void 0, n = pi(t && t.name, et);
|
|
48388
48394
|
return !!n && n.escapedText === "new";
|
|
48389
48395
|
}
|
|
48390
|
-
function
|
|
48396
|
+
function Wg(e) {
|
|
48391
48397
|
return e.kind === 346 || e.kind === 338 || e.kind === 340;
|
|
48392
48398
|
}
|
|
48393
48399
|
function JO(e) {
|
|
48394
|
-
return
|
|
48400
|
+
return Wg(e) || Xg(e);
|
|
48395
48401
|
}
|
|
48396
48402
|
function TKe(e) {
|
|
48397
48403
|
return Rf(e) && Qn(e.expression) && e.expression.operatorToken.kind === 64 ? FO(e.expression) : void 0;
|
|
@@ -48563,7 +48569,7 @@ ${It.join(`
|
|
|
48563
48569
|
}
|
|
48564
48570
|
function KR(e) {
|
|
48565
48571
|
if (t0(e.parent) && e.parent.tags) {
|
|
48566
|
-
const t = St(e.parent.tags,
|
|
48572
|
+
const t = St(e.parent.tags, Wg);
|
|
48567
48573
|
if (t)
|
|
48568
48574
|
return t;
|
|
48569
48575
|
}
|
|
@@ -49381,7 +49387,7 @@ ${It.join(`
|
|
|
49381
49387
|
const n = t === 39 ? OKe : IKe;
|
|
49382
49388
|
return e.replace(n, LKe);
|
|
49383
49389
|
}
|
|
49384
|
-
function
|
|
49390
|
+
function Vg(e) {
|
|
49385
49391
|
const t = e.length;
|
|
49386
49392
|
return t >= 2 && e.charCodeAt(0) === e.charCodeAt(t - 1) && RKe(e.charCodeAt(0)) ? e.substring(1, t - 1) : e;
|
|
49387
49393
|
}
|
|
@@ -49684,7 +49690,7 @@ ${It.join(`
|
|
|
49684
49690
|
return H3(e, t);
|
|
49685
49691
|
}
|
|
49686
49692
|
function yy(e) {
|
|
49687
|
-
return St(e.members, (t) => Fl(t) &&
|
|
49693
|
+
return St(e.members, (t) => Fl(t) && qg(t.body));
|
|
49688
49694
|
}
|
|
49689
49695
|
function PN(e) {
|
|
49690
49696
|
if (e && e.parameters.length > 0) {
|
|
@@ -49740,7 +49746,7 @@ ${It.join(`
|
|
|
49740
49746
|
};
|
|
49741
49747
|
}
|
|
49742
49748
|
function zu(e) {
|
|
49743
|
-
if (!Wn(e) && hu(e) ||
|
|
49749
|
+
if (!Wn(e) && hu(e) || Xg(e)) return;
|
|
49744
49750
|
const t = e.type;
|
|
49745
49751
|
return t || !Wn(e) ? t : nN(e) ? e.typeExpression && e.typeExpression.type : q2(e);
|
|
49746
49752
|
}
|
|
@@ -49754,7 +49760,7 @@ ${It.join(`
|
|
|
49754
49760
|
return pn(dT(e), (t) => jKe(t) ? t.typeParameters : void 0);
|
|
49755
49761
|
}
|
|
49756
49762
|
function jKe(e) {
|
|
49757
|
-
return
|
|
49763
|
+
return Qg(e) && !(e.parent.kind === 320 && (e.parent.tags.some(Wg) || e.parent.tags.some(L4)));
|
|
49758
49764
|
}
|
|
49759
49765
|
function wH(e) {
|
|
49760
49766
|
const t = PN(e);
|
|
@@ -49956,7 +49962,7 @@ ${It.join(`
|
|
|
49956
49962
|
return PH(e) | UKe(e);
|
|
49957
49963
|
}
|
|
49958
49964
|
function PH(e) {
|
|
49959
|
-
let t =
|
|
49965
|
+
let t = Zg(e) ? j0(e.modifiers) : 0;
|
|
49960
49966
|
return (e.flags & 8 || e.kind === 80 && e.flags & 4096) && (t |= 32), t;
|
|
49961
49967
|
}
|
|
49962
49968
|
function j0(e) {
|
|
@@ -50234,13 +50240,13 @@ ${It.join(`
|
|
|
50234
50240
|
return pg(t, e.end);
|
|
50235
50241
|
}
|
|
50236
50242
|
function y1(e) {
|
|
50237
|
-
const t =
|
|
50243
|
+
const t = Zg(e) ? gr(e.modifiers, gf) : void 0;
|
|
50238
50244
|
return t && !Xh(t.end) ? xT(e, t.end) : e;
|
|
50239
50245
|
}
|
|
50240
50246
|
function B0(e) {
|
|
50241
50247
|
if (vs(e) || iu(e))
|
|
50242
50248
|
return xT(e, e.name.pos);
|
|
50243
|
-
const t =
|
|
50249
|
+
const t = Zg(e) ? gs(e.modifiers) : void 0;
|
|
50244
50250
|
return t && !Xh(t.end) ? xT(e, t.end) : y1(e);
|
|
50245
50251
|
}
|
|
50246
50252
|
function RH(e, t) {
|
|
@@ -50482,16 +50488,16 @@ ${It.join(`
|
|
|
50482
50488
|
function qH(e) {
|
|
50483
50489
|
let t;
|
|
50484
50490
|
return As(e, (n) => {
|
|
50485
|
-
|
|
50491
|
+
qg(n) && (t = n);
|
|
50486
50492
|
}, (n) => {
|
|
50487
50493
|
for (let i = n.length - 1; i >= 0; i--)
|
|
50488
|
-
if (
|
|
50494
|
+
if (qg(n[i])) {
|
|
50489
50495
|
t = n[i];
|
|
50490
50496
|
break;
|
|
50491
50497
|
}
|
|
50492
50498
|
}), t;
|
|
50493
50499
|
}
|
|
50494
|
-
function
|
|
50500
|
+
function Hg(e, t) {
|
|
50495
50501
|
return e.has(t) ? !1 : (e.add(t), !0);
|
|
50496
50502
|
}
|
|
50497
50503
|
function xD(e) {
|
|
@@ -50991,7 +50997,7 @@ ${It.join(`
|
|
|
50991
50997
|
dependencies: ["strict"],
|
|
50992
50998
|
computeValue: (e) => P_(e, "useUnknownInCatchVariables")
|
|
50993
50999
|
}
|
|
50994
|
-
}, BN = __, ble = __.allowImportingTsExtensions.computeValue, Bo = __.target.computeValue, gp = __.module.computeValue, Y_ = __.moduleResolution.computeValue, Sle = __.moduleDetection.computeValue,
|
|
51000
|
+
}, BN = __, ble = __.allowImportingTsExtensions.computeValue, Bo = __.target.computeValue, gp = __.module.computeValue, Y_ = __.moduleResolution.computeValue, Sle = __.moduleDetection.computeValue, Gg = __.isolatedModules.computeValue, Ty = __.esModuleInterop.computeValue, wD = __.allowSyntheticDefaultImports.computeValue, fF = __.resolvePackageJsonExports.computeValue, _F = __.resolvePackageJsonImports.computeValue, fk = __.resolveJsonModule.computeValue, kd = __.declaration.computeValue, aS = __.preserveConstEnums.computeValue, _k = __.incremental.computeValue, Aj = __.declarationMap.computeValue, sS = __.allowJs.computeValue, pF = __.useDefineForClassFields.computeValue;
|
|
50995
51001
|
function dF(e) {
|
|
50996
51002
|
return e >= 5 && e <= 99;
|
|
50997
51003
|
}
|
|
@@ -52212,7 +52218,7 @@ ${It.join(`
|
|
|
52212
52218
|
function kF(e) {
|
|
52213
52219
|
const t = e.members;
|
|
52214
52220
|
for (const n of t)
|
|
52215
|
-
if (n.kind === 176 &&
|
|
52221
|
+
if (n.kind === 176 && qg(n.body))
|
|
52216
52222
|
return n;
|
|
52217
52223
|
}
|
|
52218
52224
|
function yG({
|
|
@@ -52282,7 +52288,7 @@ ${It.join(`
|
|
|
52282
52288
|
re & 2623475
|
|
52283
52289
|
/* ModuleMember */
|
|
52284
52290
|
)))
|
|
52285
|
-
if (Pa(H) && H.commonJsModuleIndicator && !((Q = ve.declarations) != null && Q.some(
|
|
52291
|
+
if (Pa(H) && H.commonJsModuleIndicator && !((Q = ve.declarations) != null && Q.some(Wg)))
|
|
52286
52292
|
ve = void 0;
|
|
52287
52293
|
else
|
|
52288
52294
|
break e;
|
|
@@ -52294,7 +52300,7 @@ ${It.join(`
|
|
|
52294
52300
|
re & 8
|
|
52295
52301
|
/* EnumMember */
|
|
52296
52302
|
)) {
|
|
52297
|
-
se &&
|
|
52303
|
+
se && Gg(e) && !(H.flags & 33554432) && nn(H) !== nn(ve.valueDeclaration) && i(
|
|
52298
52304
|
me,
|
|
52299
52305
|
h.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,
|
|
52300
52306
|
Ma(Se),
|
|
@@ -52431,7 +52437,7 @@ ${It.join(`
|
|
|
52431
52437
|
Te && Te === H.propertyName && H.parent.parent.moduleSpecifier && (H = H.parent.parent.parent);
|
|
52432
52438
|
break;
|
|
52433
52439
|
}
|
|
52434
|
-
q(H, Te) && (Re = H), Te = H, H =
|
|
52440
|
+
q(H, Te) && (Re = H), Te = H, H = Qg(H) ? KR(H) || H.parent : ($m(H) || xB(H)) && yT(H) || H.parent;
|
|
52435
52441
|
}
|
|
52436
52442
|
if (te && ve && (!Re || ve !== Re.symbol) && (ve.isReferenced |= re), !ve) {
|
|
52437
52443
|
if (Te && (O.assertNode(Te, Pa), Te.commonJsModuleIndicator && Se === "exports" && re & Te.symbol.flags))
|
|
@@ -52505,8 +52511,8 @@ ${It.join(`
|
|
|
52505
52511
|
function z(H, Z) {
|
|
52506
52512
|
if (H.declarations) {
|
|
52507
52513
|
for (const re of H.declarations)
|
|
52508
|
-
if (re.kind === 168 && (
|
|
52509
|
-
return !(
|
|
52514
|
+
if (re.kind === 168 && (Qg(re.parent) ? rk(re.parent) : re.parent) === Z)
|
|
52515
|
+
return !(Qg(re.parent) && St(re.parent.parent.tags, Wg));
|
|
52510
52516
|
}
|
|
52511
52517
|
return !1;
|
|
52512
52518
|
}
|
|
@@ -53340,7 +53346,7 @@ ${It.join(`
|
|
|
53340
53346
|
createTemplateHead: ac,
|
|
53341
53347
|
createTemplateMiddle: Sl,
|
|
53342
53348
|
createTemplateTail: wd,
|
|
53343
|
-
createNoSubstitutionTemplateLiteral:
|
|
53349
|
+
createNoSubstitutionTemplateLiteral: rh,
|
|
53344
53350
|
createTemplateLiteralLikeNode: mc,
|
|
53345
53351
|
createYieldExpression: K0,
|
|
53346
53352
|
updateYieldExpression: Iy,
|
|
@@ -53355,7 +53361,7 @@ ${It.join(`
|
|
|
53355
53361
|
updateAsExpression: O1,
|
|
53356
53362
|
createNonNullExpression: F1,
|
|
53357
53363
|
updateNonNullExpression: M1,
|
|
53358
|
-
createSatisfiesExpression:
|
|
53364
|
+
createSatisfiesExpression: nh,
|
|
53359
53365
|
updateSatisfiesExpression: My,
|
|
53360
53366
|
createNonNullChain: Xb,
|
|
53361
53367
|
updateNonNullChain: Cg,
|
|
@@ -53419,7 +53425,7 @@ ${It.join(`
|
|
|
53419
53425
|
createModuleBlock: c0,
|
|
53420
53426
|
updateModuleBlock: Gm,
|
|
53421
53427
|
createCaseBlock: Ry,
|
|
53422
|
-
updateCaseBlock:
|
|
53428
|
+
updateCaseBlock: ah,
|
|
53423
53429
|
createNamespaceExportDeclaration: n2,
|
|
53424
53430
|
updateNamespaceExportDeclaration: nt,
|
|
53425
53431
|
createImportEqualsDeclaration: rv,
|
|
@@ -55177,7 +55183,7 @@ ${It.join(`
|
|
|
55177
55183
|
function wd(k, R, Y) {
|
|
55178
55184
|
return k = ta(16, k, R, Y), mc(18, k, R, Y);
|
|
55179
55185
|
}
|
|
55180
|
-
function
|
|
55186
|
+
function rh(k, R, Y) {
|
|
55181
55187
|
return k = ta(16, k, R, Y), ws(15, k, R, Y);
|
|
55182
55188
|
}
|
|
55183
55189
|
function K0(k, R) {
|
|
@@ -55255,7 +55261,7 @@ ${It.join(`
|
|
|
55255
55261
|
function M1(k, R) {
|
|
55256
55262
|
return cR(k) ? Cg(k, R) : k.expression !== R ? Gn(F1(R), k) : k;
|
|
55257
55263
|
}
|
|
55258
|
-
function
|
|
55264
|
+
function nh(k, R) {
|
|
55259
55265
|
const Y = z(
|
|
55260
55266
|
238
|
|
55261
55267
|
/* SatisfiesExpression */
|
|
@@ -55263,7 +55269,7 @@ ${It.join(`
|
|
|
55263
55269
|
return Y.expression = k, Y.type = R, Y.transformFlags |= ii(Y.expression) | ii(Y.type) | 1, Y;
|
|
55264
55270
|
}
|
|
55265
55271
|
function My(k, R, Y) {
|
|
55266
|
-
return k.expression !== R || k.type !== Y ? Gn(
|
|
55272
|
+
return k.expression !== R || k.type !== Y ? Gn(nh(R, Y), k) : k;
|
|
55267
55273
|
}
|
|
55268
55274
|
function Xb(k) {
|
|
55269
55275
|
const R = z(
|
|
@@ -55534,9 +55540,9 @@ ${It.join(`
|
|
|
55534
55540
|
return ns.typeArguments = void 0, ns.jsDoc = void 0, ns.locals = void 0, ns.nextContainer = void 0, ns.endFlowNode = void 0, ns.returnFlowNode = void 0, ns;
|
|
55535
55541
|
}
|
|
55536
55542
|
function tv(k, R, Y, be, at, vr, Zn, ns) {
|
|
55537
|
-
return k.modifiers !== R || k.asteriskToken !== Y || k.name !== be || k.typeParameters !== at || k.parameters !== vr || k.type !== Zn || k.body !== ns ?
|
|
55543
|
+
return k.modifiers !== R || k.asteriskToken !== Y || k.name !== be || k.typeParameters !== at || k.parameters !== vr || k.type !== Zn || k.body !== ns ? ih(J1(R, Y, be, at, vr, Zn, ns), k) : k;
|
|
55538
55544
|
}
|
|
55539
|
-
function
|
|
55545
|
+
function ih(k, R) {
|
|
55540
55546
|
return k !== R && k.modifiers === R.modifiers && (k.modifiers = R.modifiers), Z(k, R);
|
|
55541
55547
|
}
|
|
55542
55548
|
function nm(k, R, Y, be, at) {
|
|
@@ -55606,7 +55612,7 @@ ${It.join(`
|
|
|
55606
55612
|
);
|
|
55607
55613
|
return R.clauses = q(k), R.transformFlags |= Ko(R.clauses), R.locals = void 0, R.nextContainer = void 0, R;
|
|
55608
55614
|
}
|
|
55609
|
-
function
|
|
55615
|
+
function ah(k, R) {
|
|
55610
55616
|
return k.clauses !== R ? Gn(Ry(R), k) : k;
|
|
55611
55617
|
}
|
|
55612
55618
|
function n2(k) {
|
|
@@ -56829,7 +56835,7 @@ ${It.join(`
|
|
|
56829
56835
|
}
|
|
56830
56836
|
function Wv(k, R) {
|
|
56831
56837
|
let Y;
|
|
56832
|
-
return typeof R == "number" ? Y = Wt(R) : Y = R, gl(k) ? Cn(k, Y, k.name, k.constraint, k.default) : Ba(k) ? Ji(k, Y, k.dotDotDotToken, k.name, k.questionToken, k.type, k.initializer) : w4(k) ? Nn(k, Y, k.typeParameters, k.parameters, k.type) : rd(k) ? Hi(k, Y, k.name, k.questionToken, k.type) : vs(k) ? tt(k, Y, k.name, k.questionToken ?? k.exclamationToken, k.type, k.initializer) : z0(k) ? Ir(k, Y, k.name, k.questionToken, k.typeParameters, k.parameters, k.type) : iu(k) ? Oi(k, Y, k.asteriskToken, k.name, k.questionToken, k.typeParameters, k.parameters, k.type, k.body) : Fl(k) ? Ps(k, Y, k.parameters, k.body) : vg(k) ? de(k, Y, k.name, k.parameters, k.type, k.body) : Cd(k) ? Ge(k, Y, k.name, k.parameters, k.body) : uS(k) ? ct(k, Y, k.parameters, k.type) : el(k) ? Vm(k, Y, k.asteriskToken, k.name, k.typeParameters, k.parameters, k.type, k.body) : il(k) ? Ny(k, Y, k.typeParameters, k.parameters, k.type, k.equalsGreaterThanToken, k.body) : Uu(k) ? kh(k, Y, k.name, k.typeParameters, k.heritageClauses, k.members) : au(k) ? xS(k, Y, k.declarationList) : hu(k) ? tv(k, Y, k.asteriskToken, k.name, k.typeParameters, k.parameters, k.type, k.body) : Wu(k) ? Bp(k, Y, k.name, k.typeParameters, k.heritageClauses, k.members) : d_(k) ? ix(k, Y, k.name, k.typeParameters, k.heritageClauses, k.members) :
|
|
56838
|
+
return typeof R == "number" ? Y = Wt(R) : Y = R, gl(k) ? Cn(k, Y, k.name, k.constraint, k.default) : Ba(k) ? Ji(k, Y, k.dotDotDotToken, k.name, k.questionToken, k.type, k.initializer) : w4(k) ? Nn(k, Y, k.typeParameters, k.parameters, k.type) : rd(k) ? Hi(k, Y, k.name, k.questionToken, k.type) : vs(k) ? tt(k, Y, k.name, k.questionToken ?? k.exclamationToken, k.type, k.initializer) : z0(k) ? Ir(k, Y, k.name, k.questionToken, k.typeParameters, k.parameters, k.type) : iu(k) ? Oi(k, Y, k.asteriskToken, k.name, k.questionToken, k.typeParameters, k.parameters, k.type, k.body) : Fl(k) ? Ps(k, Y, k.parameters, k.body) : vg(k) ? de(k, Y, k.name, k.parameters, k.type, k.body) : Cd(k) ? Ge(k, Y, k.name, k.parameters, k.body) : uS(k) ? ct(k, Y, k.parameters, k.type) : el(k) ? Vm(k, Y, k.asteriskToken, k.name, k.typeParameters, k.parameters, k.type, k.body) : il(k) ? Ny(k, Y, k.typeParameters, k.parameters, k.type, k.equalsGreaterThanToken, k.body) : Uu(k) ? kh(k, Y, k.name, k.typeParameters, k.heritageClauses, k.members) : au(k) ? xS(k, Y, k.declarationList) : hu(k) ? tv(k, Y, k.asteriskToken, k.name, k.typeParameters, k.parameters, k.type, k.body) : Wu(k) ? Bp(k, Y, k.name, k.typeParameters, k.heritageClauses, k.members) : d_(k) ? ix(k, Y, k.name, k.typeParameters, k.heritageClauses, k.members) : Xg(k) ? z1(k, Y, k.name, k.typeParameters, k.type) : bk(k) ? o0(k, Y, k.name, k.members) : Mu(k) ? np(k, Y, k.name, k.body) : vf(k) ? i2(k, Y, k.isTypeOnly, k.name, k.moduleReference) : Dl(k) ? a2(k, Y, k.importClause, k.moduleSpecifier, k.attributes) : hl(k) ? ES(k, Y, k.expression) : Cu(k) ? Wk(k, Y, k.isTypeOnly, k.exportClause, k.moduleSpecifier, k.attributes) : O.assertNever(k);
|
|
56833
56839
|
}
|
|
56834
56840
|
function yx(k, R) {
|
|
56835
56841
|
return Ba(k) ? Ji(k, R, k.dotDotDotToken, k.name, k.questionToken, k.type, k.initializer) : vs(k) ? tt(k, R, k.name, k.questionToken ?? k.exclamationToken, k.type, k.initializer) : iu(k) ? Oi(k, R, k.asteriskToken, k.name, k.questionToken, k.typeParameters, k.parameters, k.type, k.body) : vg(k) ? de(k, R, k.name, k.parameters, k.type, k.body) : Cd(k) ? Ge(k, R, k.name, k.parameters, k.body) : Uu(k) ? kh(k, R, k.name, k.typeParameters, k.heritageClauses, k.members) : Wu(k) ? Bp(k, R, k.name, k.typeParameters, k.heritageClauses, k.members) : O.assertNever(k);
|
|
@@ -57226,7 +57232,7 @@ ${It.join(`
|
|
|
57226
57232
|
function qEe(e, t) {
|
|
57227
57233
|
var n;
|
|
57228
57234
|
const i = (n = e.emitNode) == null ? void 0 : n.helpers;
|
|
57229
|
-
return i ?
|
|
57235
|
+
return i ? $g(i, t) : !1;
|
|
57230
57236
|
}
|
|
57231
57237
|
function kG(e) {
|
|
57232
57238
|
var t;
|
|
@@ -58666,7 +58672,7 @@ ${It.join(`
|
|
|
58666
58672
|
function XEe(e) {
|
|
58667
58673
|
return e.kind === 252;
|
|
58668
58674
|
}
|
|
58669
|
-
function
|
|
58675
|
+
function Yg(e) {
|
|
58670
58676
|
return e.kind === 253;
|
|
58671
58677
|
}
|
|
58672
58678
|
function Oue(e) {
|
|
@@ -58702,7 +58708,7 @@ ${It.join(`
|
|
|
58702
58708
|
function d_(e) {
|
|
58703
58709
|
return e.kind === 264;
|
|
58704
58710
|
}
|
|
58705
|
-
function
|
|
58711
|
+
function Xg(e) {
|
|
58706
58712
|
return e.kind === 265;
|
|
58707
58713
|
}
|
|
58708
58714
|
function bk(e) {
|
|
@@ -58951,7 +58957,7 @@ ${It.join(`
|
|
|
58951
58957
|
function pI(e) {
|
|
58952
58958
|
return e.kind === 344;
|
|
58953
58959
|
}
|
|
58954
|
-
function
|
|
58960
|
+
function Qg(e) {
|
|
58955
58961
|
return e.kind === 345;
|
|
58956
58962
|
}
|
|
58957
58963
|
function bE(e) {
|
|
@@ -59910,7 +59916,7 @@ ${It.join(`
|
|
|
59910
59916
|
function Pt(e, t) {
|
|
59911
59917
|
return t ? Qh(e, t.pos, t.end) : e;
|
|
59912
59918
|
}
|
|
59913
|
-
function
|
|
59919
|
+
function Zg(e) {
|
|
59914
59920
|
const t = e.kind;
|
|
59915
59921
|
return t === 168 || t === 169 || t === 171 || t === 172 || t === 173 || t === 174 || t === 176 || t === 177 || t === 178 || t === 181 || t === 185 || t === 218 || t === 219 || t === 231 || t === 243 || t === 262 || t === 263 || t === 264 || t === 265 || t === 266 || t === 267 || t === 271 || t === 272 || t === 277 || t === 278;
|
|
59916
59922
|
}
|
|
@@ -59946,7 +59952,7 @@ ${It.join(`
|
|
|
59946
59952
|
return fe(e.statements, qtt) || Utt(e);
|
|
59947
59953
|
}
|
|
59948
59954
|
function qtt(e) {
|
|
59949
|
-
return
|
|
59955
|
+
return Zg(e) && Wtt(
|
|
59950
59956
|
e,
|
|
59951
59957
|
95
|
|
59952
59958
|
/* ExportKeyword */
|
|
@@ -62010,7 +62016,7 @@ ${It.join(`
|
|
|
62010
62016
|
return !1;
|
|
62011
62017
|
}
|
|
62012
62018
|
}
|
|
62013
|
-
function
|
|
62019
|
+
function rh(ie) {
|
|
62014
62020
|
return Ae(), Sr(b.createTypePredicateNode(
|
|
62015
62021
|
/*assertsModifier*/
|
|
62016
62022
|
void 0,
|
|
@@ -62168,7 +62174,7 @@ ${It.join(`
|
|
|
62168
62174
|
function M1() {
|
|
62169
62175
|
return Xr() || oe() === 23 || oe() === 19;
|
|
62170
62176
|
}
|
|
62171
|
-
function
|
|
62177
|
+
function nh(ie) {
|
|
62172
62178
|
return Xb(ie);
|
|
62173
62179
|
}
|
|
62174
62180
|
function My(ie) {
|
|
@@ -62246,7 +62252,7 @@ ${It.join(`
|
|
|
62246
62252
|
function Zb(ie, Oe) {
|
|
62247
62253
|
const ft = bt(), Ut = er();
|
|
62248
62254
|
Oi(!!(ie & 1)), Ea(!!(ie & 2));
|
|
62249
|
-
const hr = ie & 32 ? sd(17, kh) : sd(16, () => Oe ?
|
|
62255
|
+
const hr = ie & 32 ? sd(17, kh) : sd(16, () => Oe ? nh(Ut) : My(Ut));
|
|
62250
62256
|
return Oi(ft), Ea(Ut), hr;
|
|
62251
62257
|
}
|
|
62252
62258
|
function cd(ie) {
|
|
@@ -62307,7 +62313,7 @@ ${It.join(`
|
|
|
62307
62313
|
function t2(ie, Oe, ft) {
|
|
62308
62314
|
const Ut = le(
|
|
62309
62315
|
16,
|
|
62310
|
-
() =>
|
|
62316
|
+
() => nh(
|
|
62311
62317
|
/*inOuterAwaitContext*/
|
|
62312
62318
|
!1
|
|
62313
62319
|
),
|
|
@@ -62679,7 +62685,7 @@ ${It.join(`
|
|
|
62679
62685
|
return Gu();
|
|
62680
62686
|
case 110: {
|
|
62681
62687
|
const ie = K0();
|
|
62682
|
-
return oe() === 142 && !t.hasPrecedingLineBreak() ?
|
|
62688
|
+
return oe() === 142 && !t.hasPrecedingLineBreak() ? rh(ie) : ie;
|
|
62683
62689
|
}
|
|
62684
62690
|
case 114:
|
|
62685
62691
|
return br(ex) ? jv() : km();
|
|
@@ -62868,7 +62874,7 @@ ${It.join(`
|
|
|
62868
62874
|
function tv() {
|
|
62869
62875
|
return oe() === 30 || oe() === 21 && br(nm) ? !0 : oe() === 105 || oe() === 128 && br(J1);
|
|
62870
62876
|
}
|
|
62871
|
-
function
|
|
62877
|
+
function ih() {
|
|
62872
62878
|
if (H2(oe()) && Di(
|
|
62873
62879
|
/*allowDecorators*/
|
|
62874
62880
|
!1
|
|
@@ -62881,7 +62887,7 @@ ${It.join(`
|
|
|
62881
62887
|
return !1;
|
|
62882
62888
|
}
|
|
62883
62889
|
function nm() {
|
|
62884
|
-
return Ae(), !!(oe() === 22 || oe() === 26 ||
|
|
62890
|
+
return Ae(), !!(oe() === 22 || oe() === 26 || ih() && (oe() === 59 || oe() === 28 || oe() === 58 || oe() === 64 || oe() === 22 && (Ae(), oe() === 39)));
|
|
62885
62891
|
}
|
|
62886
62892
|
function Bp() {
|
|
62887
62893
|
const ie = U(), Oe = Jr() && Mr(im), ft = Bf();
|
|
@@ -63047,7 +63053,7 @@ ${It.join(`
|
|
|
63047
63053
|
function Ry() {
|
|
63048
63054
|
return oe() === 127 ? bt() ? !0 : br(Ml) : !1;
|
|
63049
63055
|
}
|
|
63050
|
-
function
|
|
63056
|
+
function ah() {
|
|
63051
63057
|
return Ae(), !t.hasPrecedingLineBreak() && Jr();
|
|
63052
63058
|
}
|
|
63053
63059
|
function n2() {
|
|
@@ -63289,7 +63295,7 @@ ${It.join(`
|
|
|
63289
63295
|
59
|
|
63290
63296
|
/* ColonToken */
|
|
63291
63297
|
),
|
|
63292
|
-
|
|
63298
|
+
qg(hr) ? Gm(ft) : Ic(
|
|
63293
63299
|
80,
|
|
63294
63300
|
/*reportAtCurrentPosition*/
|
|
63295
63301
|
!1,
|
|
@@ -64509,7 +64515,7 @@ ${It.join(`
|
|
|
64509
64515
|
// could be legal, it would add complexity for very little gain.
|
|
64510
64516
|
case 120:
|
|
64511
64517
|
case 156:
|
|
64512
|
-
return
|
|
64518
|
+
return ah();
|
|
64513
64519
|
case 144:
|
|
64514
64520
|
case 145:
|
|
64515
64521
|
return RP();
|
|
@@ -69105,7 +69111,7 @@ ${It.join(`
|
|
|
69105
69111
|
return i(e);
|
|
69106
69112
|
function i(a) {
|
|
69107
69113
|
var o;
|
|
69108
|
-
return
|
|
69114
|
+
return Hg(n, a) ? vt((o = BN[a]) == null ? void 0 : o.dependencies, (c) => t.has(c) || i(c)) : !1;
|
|
69109
69115
|
}
|
|
69110
69116
|
}
|
|
69111
69117
|
function zB(e) {
|
|
@@ -72226,10 +72232,10 @@ ${It.join(`
|
|
|
72226
72232
|
l_(Ht) && _c(Ht.name, Ht);
|
|
72227
72233
|
let Sl = ac.flags & 2 ? h.Cannot_redeclare_block_scoped_variable_0 : h.Duplicate_identifier_0, wd = !0;
|
|
72228
72234
|
(ac.flags & 384 || _n & 384) && (Sl = h.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations, wd = !1);
|
|
72229
|
-
let
|
|
72230
|
-
ee(ac.declarations) && (ws || ac.declarations && ac.declarations.length && Ht.kind === 277 && !Ht.isExportEquals) && (Sl = h.A_module_cannot_have_multiple_default_exports, wd = !1,
|
|
72235
|
+
let rh = !1;
|
|
72236
|
+
ee(ac.declarations) && (ws || ac.declarations && ac.declarations.length && Ht.kind === 277 && !Ht.isExportEquals) && (Sl = h.A_module_cannot_have_multiple_default_exports, wd = !1, rh = !0);
|
|
72231
72237
|
const K0 = [];
|
|
72232
|
-
|
|
72238
|
+
Xg(Ht) && Ul(Ht.type) && Ui(
|
|
72233
72239
|
Ht,
|
|
72234
72240
|
32
|
|
72235
72241
|
/* Export */
|
|
@@ -72238,8 +72244,8 @@ ${It.join(`
|
|
|
72238
72244
|
fe(ac.declarations, (Fy, kg) => {
|
|
72239
72245
|
const kh = hs(Fy) || Fy, cl = wd ? Te(kh, Sl, Se(Fy)) : Te(kh, Sl);
|
|
72240
72246
|
e.bindDiagnostics.push(
|
|
72241
|
-
|
|
72242
|
-
),
|
|
72247
|
+
rh ? co(cl, Te(Iy, kg === 0 ? h.Another_export_default_is_here : h.and_here)) : cl
|
|
72248
|
+
), rh && K0.push(Te(kh, h.The_first_export_default_is_here));
|
|
72243
72249
|
});
|
|
72244
72250
|
const Oy = wd ? Te(Iy, Sl, Se(Ht)) : Te(Iy, Sl);
|
|
72245
72251
|
e.bindDiagnostics.push(co(Oy, ...K0)), ac = De(0, mc);
|
|
@@ -72259,7 +72265,7 @@ ${It.join(`
|
|
|
72259
72265
|
We,
|
|
72260
72266
|
Ht
|
|
72261
72267
|
));
|
|
72262
|
-
if (
|
|
72268
|
+
if (Wg(G) && O.assert(Wn(G)), !pp(G) && (_n || a.flags & 128)) {
|
|
72263
72269
|
if (!kv(a) || !a.locals || Ui(
|
|
72264
72270
|
G,
|
|
72265
72271
|
2048
|
|
@@ -72286,7 +72292,7 @@ ${It.join(`
|
|
|
72286
72292
|
);
|
|
72287
72293
|
}
|
|
72288
72294
|
function wt(G) {
|
|
72289
|
-
if (G.parent && Mu(G) && (G = G.parent), !
|
|
72295
|
+
if (G.parent && Mu(G) && (G = G.parent), !Wg(G)) return !1;
|
|
72290
72296
|
if (!RF(G) && G.fullName) return !0;
|
|
72291
72297
|
const We = hs(G);
|
|
72292
72298
|
return We ? !!(aF(We.parent) && Vm(We.parent) || Af(We.parent) && _T(We.parent) & 32) : !1;
|
|
@@ -72294,18 +72300,18 @@ ${It.join(`
|
|
|
72294
72300
|
function Xe(G, We) {
|
|
72295
72301
|
const Ht = a, _n = o, ta = c;
|
|
72296
72302
|
if (We & 1 ? (G.kind !== 219 && (o = a), a = c = G, We & 32 && (a.locals = fo(), br(a))) : We & 2 && (c = G, We & 32 && (c.locals = void 0)), We & 4) {
|
|
72297
|
-
const Fs = S, xs = E, ws = w, mc = I, ac = $, Sl = z, wd = H,
|
|
72303
|
+
const Fs = S, xs = E, ws = w, mc = I, ac = $, Sl = z, wd = H, rh = We & 16 && !Ui(
|
|
72298
72304
|
G,
|
|
72299
72305
|
1024
|
|
72300
72306
|
/* Async */
|
|
72301
72307
|
) && !G.asteriskToken && !!Kx(G) || G.kind === 175;
|
|
72302
|
-
|
|
72308
|
+
rh || (S = Ov(
|
|
72303
72309
|
2,
|
|
72304
72310
|
/*node*/
|
|
72305
72311
|
void 0,
|
|
72306
72312
|
/*antecedent*/
|
|
72307
72313
|
void 0
|
|
72308
|
-
), We & 144 && (S.node = G)), I =
|
|
72314
|
+
), We & 144 && (S.node = G)), I = rh || G.kind === 176 || Wn(G) && (G.kind === 262 || G.kind === 218) ? tr() : void 0, $ = void 0, E = void 0, w = void 0, z = void 0, H = !1, He(G), G.flags &= -5633, !(S.flags & 1) && We & 8 && qg(G.body) && (G.flags |= 512, H && (G.flags |= 1024), G.endFlowNode = S), G.kind === 307 && (G.flags |= re, G.endFlowNode = S), I && (Ji(I, S), S = Sn(I), (G.kind === 176 || G.kind === 175 || Wn(G) && (G.kind === 262 || G.kind === 218)) && (G.returnFlowNode = S)), rh || (S = Fs), E = xs, w = ws, I = mc, $ = ac, z = Sl, H = wd;
|
|
72309
72315
|
} else We & 64 ? (y = !1, He(G), O.assertNotNode(G, et), G.flags = y ? G.flags | 256 : G.flags & -257) : He(G);
|
|
72310
72316
|
a = Ht, o = _n, c = ta;
|
|
72311
72317
|
}
|
|
@@ -73293,7 +73299,7 @@ ${It.join(`
|
|
|
73293
73299
|
case 80:
|
|
73294
73300
|
if (G.flags & 4096) {
|
|
73295
73301
|
let xs = G.parent;
|
|
73296
|
-
for (; xs && !
|
|
73302
|
+
for (; xs && !Wg(xs); )
|
|
73297
73303
|
xs = xs.parent;
|
|
73298
73304
|
uo(
|
|
73299
73305
|
xs,
|
|
@@ -73420,7 +73426,7 @@ ${It.join(`
|
|
|
73420
73426
|
return pr(
|
|
73421
73427
|
G,
|
|
73422
73428
|
8192 | (G.questionToken ? 16777216 : 0),
|
|
73423
|
-
|
|
73429
|
+
Ug(G) ? 0 : 103359
|
|
73424
73430
|
/* MethodExcludes */
|
|
73425
73431
|
);
|
|
73426
73432
|
case 262:
|
|
@@ -74100,7 +74106,7 @@ ${It.join(`
|
|
|
74100
74106
|
return We && We.parent;
|
|
74101
74107
|
}
|
|
74102
74108
|
function Pn(G) {
|
|
74103
|
-
if (
|
|
74109
|
+
if (Qg(G.parent)) {
|
|
74104
74110
|
const We = KR(G.parent);
|
|
74105
74111
|
We ? (O.assertNode(We, kv), We.locals ?? (We.locals = fo()), $e(
|
|
74106
74112
|
We.locals,
|
|
@@ -75367,7 +75373,7 @@ ${It.join(`
|
|
|
75367
75373
|
assignable: nm.size,
|
|
75368
75374
|
identity: im.size,
|
|
75369
75375
|
subtype: tv.size,
|
|
75370
|
-
strictSubtype:
|
|
75376
|
+
strictSubtype: ih.size
|
|
75371
75377
|
}),
|
|
75372
75378
|
isUndefinedSymbol: (r) => r === Be,
|
|
75373
75379
|
isArgumentsSymbol: (r) => r === ge,
|
|
@@ -76027,7 +76033,7 @@ ${It.join(`
|
|
|
76027
76033
|
mustHaveANextMethodDiagnostic: h.An_iterator_must_have_a_next_method,
|
|
76028
76034
|
mustBeAMethodDiagnostic: h.The_0_property_of_an_iterator_must_be_a_method,
|
|
76029
76035
|
mustHaveAValueDiagnostic: h.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property
|
|
76030
|
-
}, bu, Pl = /* @__PURE__ */ new Map(), Zl = /* @__PURE__ */ new Map(), Sh, Sf, ad, yp, Ve, cr, Mn, wa, Hs, jc, _l, ef, cu, zl, ol, tf, Tg, Rp, Sm, Vm, xg, Ny, Th, jp, Tm, sd, xh, xm, Rv, le, xt, _r, pr, an, Pn, hi, ia, G, We, Ht, _n, ta, Fs, xs, ws, mc, ac, Sl, wd,
|
|
76036
|
+
}, bu, Pl = /* @__PURE__ */ new Map(), Zl = /* @__PURE__ */ new Map(), Sh, Sf, ad, yp, Ve, cr, Mn, wa, Hs, jc, _l, ef, cu, zl, ol, tf, Tg, Rp, Sm, Vm, xg, Ny, Th, jp, Tm, sd, xh, xm, Rv, le, xt, _r, pr, an, Pn, hi, ia, G, We, Ht, _n, ta, Fs, xs, ws, mc, ac, Sl, wd, rh, K0, Iy, Oy, Fy, kg, kh, cl, km, I1, od, O1, F1 = /* @__PURE__ */ new Map(), M1 = 0, nh = 0, My = 0, Xb = !1, Cg = 0, Qb, Zb, cd, Kb = [], e2 = [], Ly = [], L1 = 0, t2 = [], xS = [], Qe = [], pt = 0, Vt = _d(""), Or = Ph(0), rn = tq({ negative: !1, base10Value: "0" }), wn = [], on = [], Xn = [], ra = 0, ai = !1, za = 0, Wi = 10, wo = [], Ru = [], rp = [], Cm = [], Hm = [], ld = [], bp = [], KT = [], ex = [], jv = [], k6 = [], R1 = [], ev = [], j1 = [], B1 = [], $1 = [], tx = [], zk = [], qk = [], rx = 0, Xo = ZO(), Uk = ZO(), C6 = zr(), nx, J1, tv = /* @__PURE__ */ new Map(), ih = /* @__PURE__ */ new Map(), nm = /* @__PURE__ */ new Map(), Bp = /* @__PURE__ */ new Map(), im = /* @__PURE__ */ new Map(), ix = /* @__PURE__ */ new Map(), Bf = [
|
|
76031
76037
|
[".mts", ".mjs"],
|
|
76032
76038
|
[".ts", ".js"],
|
|
76033
76039
|
[".cts", ".cjs"],
|
|
@@ -76102,7 +76108,7 @@ ${It.join(`
|
|
|
76102
76108
|
const m = r ? $n(r, s, ...u) : Ol(s, ...u), v = Xo.lookup(m);
|
|
76103
76109
|
return v || (Xo.add(m), m);
|
|
76104
76110
|
}
|
|
76105
|
-
function
|
|
76111
|
+
function ah(r, s, u, ...m) {
|
|
76106
76112
|
const v = nt(s, u, ...m);
|
|
76107
76113
|
return v.skippedOn = r, v;
|
|
76108
76114
|
}
|
|
@@ -76748,7 +76754,7 @@ ${It.join(`
|
|
|
76748
76754
|
if (!(m.flags & 33554432) && !$y(m, s)) {
|
|
76749
76755
|
let v;
|
|
76750
76756
|
const x = Vc(hs(m));
|
|
76751
|
-
r.flags & 2 ? v = nt(s, h.Block_scoped_variable_0_used_before_its_declaration, x) : r.flags & 32 ? v = nt(s, h.Class_0_used_before_its_declaration, x) : r.flags & 256 ? v = nt(s, h.Enum_0_used_before_its_declaration, x) : (O.assert(!!(r.flags & 128)),
|
|
76757
|
+
r.flags & 2 ? v = nt(s, h.Block_scoped_variable_0_used_before_its_declaration, x) : r.flags & 32 ? v = nt(s, h.Class_0_used_before_its_declaration, x) : r.flags & 256 ? v = nt(s, h.Enum_0_used_before_its_declaration, x) : (O.assert(!!(r.flags & 128)), Gg(z) && (v = nt(s, h.Enum_0_used_before_its_declaration, x))), v && co(v, $n(m, h._0_is_declared_here, x));
|
|
76752
76758
|
}
|
|
76753
76759
|
}
|
|
76754
76760
|
function nv(r, s, u) {
|
|
@@ -77499,7 +77505,7 @@ ${It.join(`
|
|
|
77499
77505
|
}
|
|
77500
77506
|
}
|
|
77501
77507
|
function lx(r) {
|
|
77502
|
-
if ($r(r, (v) => XA(v) || v.flags & 16777216 ?
|
|
77508
|
+
if ($r(r, (v) => XA(v) || v.flags & 16777216 ? Wg(v) : "quit"))
|
|
77503
77509
|
return;
|
|
77504
77510
|
const u = rk(r);
|
|
77505
77511
|
if (u && Rf(u) && RO(u.expression)) {
|
|
@@ -77512,7 +77518,7 @@ ${It.join(`
|
|
|
77512
77518
|
if (v)
|
|
77513
77519
|
return HE(v);
|
|
77514
77520
|
}
|
|
77515
|
-
if (u && (
|
|
77521
|
+
if (u && (Ug(u) || Vu(u)) && Qn(u.parent.parent) && gu(u.parent.parent) === 6) {
|
|
77516
77522
|
const v = ti(u.parent.parent.left);
|
|
77517
77523
|
if (v)
|
|
77518
77524
|
return HE(v);
|
|
@@ -79993,7 +79999,7 @@ ${It.join(`
|
|
|
79993
79999
|
);
|
|
79994
80000
|
}
|
|
79995
80001
|
function Bs(Me, ye, Yt) {
|
|
79996
|
-
const ar = li(Me), Wr = jn(Me), gn = Px(ye, ar, Wr, Me), En = !(ye.flags & 8192) && Yt && ar &&
|
|
80002
|
+
const ar = li(Me), Wr = jn(Me), gn = Px(ye, ar, Wr, Me), En = !(ye.flags & 8192) && Yt && ar && Zg(ar) ? Dt(Ux(ar), j.cloneNode) : void 0, ha = ar && Cv(ar) || Wl(Me) & 32768 ? j.createToken(
|
|
79997
80003
|
26
|
|
79998
80004
|
/* DotDotDotToken */
|
|
79999
80005
|
) : void 0, $s = Ms(Me, ar, ye), Uo = ar && Y9(ar) || Wl(Me) & 16384 ? j.createToken(
|
|
@@ -80377,7 +80383,7 @@ ${It.join(`
|
|
|
80377
80383
|
as === 91 && ($s = $s.substring(1, $s.length - 1), as = $s.charCodeAt(0));
|
|
80378
80384
|
let Uo;
|
|
80379
80385
|
if (IO(as) && !(ha.flags & 8) ? Uo = j.createStringLiteral(
|
|
80380
|
-
|
|
80386
|
+
Vg($s).replace(/\\./g, (ao) => ao.substring(1)),
|
|
80381
80387
|
as === 39
|
|
80382
80388
|
/* singleQuote */
|
|
80383
80389
|
) : "" + +$s === $s && (Uo = j.createNumericLiteral(+$s)), !Uo) {
|
|
@@ -80860,18 +80866,18 @@ ${It.join(`
|
|
|
80860
80866
|
if (oa)
|
|
80861
80867
|
Z8(Qt) && (r_ = !1, ap = !1);
|
|
80862
80868
|
else {
|
|
80863
|
-
const k_ = jn(Qt),
|
|
80869
|
+
const k_ = jn(Qt), oh = ey(Qt, rl);
|
|
80864
80870
|
if (k_.symbol && k_.symbol !== Qt && k_.symbol.flags & 16 && vt(k_.symbol.declarations, oS) && (($i = k_.symbol.members) != null && $i.size || (Dc = k_.symbol.exports) != null && Dc.size))
|
|
80865
80871
|
ye.remappedSymbolReferences || (ye.remappedSymbolReferences = /* @__PURE__ */ new Map()), ye.remappedSymbolReferences.set(xo(k_.symbol), Qt), Bi(k_.symbol, Ei, oa, na), ye.remappedSymbolReferences.delete(xo(k_.symbol));
|
|
80866
80872
|
else if (!(Qt.flags & 16) && UM(k_, Qt))
|
|
80867
|
-
T0(k_, Qt,
|
|
80873
|
+
T0(k_, Qt, oh, Rl);
|
|
80868
80874
|
else {
|
|
80869
|
-
const Ix = Qt.flags & 2 ? tA(Qt) ? 2 : 1 : (go = Qt.parent) != null && go.valueDeclaration && Pa((Qs = Qt.parent) == null ? void 0 : Qs.valueDeclaration) ? 2 : void 0, Zy = ap || !(Qt.flags & 4) ?
|
|
80875
|
+
const Ix = Qt.flags & 2 ? tA(Qt) ? 2 : 1 : (go = Qt.parent) != null && go.valueDeclaration && Pa((Qs = Qt.parent) == null ? void 0 : Qs.valueDeclaration) ? 2 : void 0, Zy = ap || !(Qt.flags & 4) ? oh : aU(oh, Qt);
|
|
80870
80876
|
let ty = Qt.declarations && St(Qt.declarations, (hC) => Zi(hC));
|
|
80871
80877
|
ty && Yf(ty.parent) && ty.parent.declarations.length === 1 && (ty = ty.parent.parent);
|
|
80872
80878
|
const pb = (Us = Qt.declarations) == null ? void 0 : Us.find(gi);
|
|
80873
80879
|
if (pb && Qn(pb.parent) && et(pb.parent.right) && ((Tc = k_.symbol) != null && Tc.valueDeclaration) && Pa(k_.symbol.valueDeclaration)) {
|
|
80874
|
-
const hC =
|
|
80880
|
+
const hC = oh === pb.parent.right.escapedText ? void 0 : pb.parent.right;
|
|
80875
80881
|
Fi(
|
|
80876
80882
|
j.createExportDeclaration(
|
|
80877
80883
|
/*modifiers*/
|
|
@@ -80882,7 +80888,7 @@ ${It.join(`
|
|
|
80882
80888
|
/*isTypeOnly*/
|
|
80883
80889
|
!1,
|
|
80884
80890
|
hC,
|
|
80885
|
-
|
|
80891
|
+
oh
|
|
80886
80892
|
)])
|
|
80887
80893
|
),
|
|
80888
80894
|
0
|
|
@@ -80916,7 +80922,7 @@ ${It.join(`
|
|
|
80916
80922
|
),
|
|
80917
80923
|
ty
|
|
80918
80924
|
);
|
|
80919
|
-
Fi(hC, Zy !==
|
|
80925
|
+
Fi(hC, Zy !== oh ? Rl & -33 : Rl), Zy !== oh && !Ei && (Fi(
|
|
80920
80926
|
j.createExportDeclaration(
|
|
80921
80927
|
/*modifiers*/
|
|
80922
80928
|
void 0,
|
|
@@ -80926,7 +80932,7 @@ ${It.join(`
|
|
|
80926
80932
|
/*isTypeOnly*/
|
|
80927
80933
|
!1,
|
|
80928
80934
|
Zy,
|
|
80929
|
-
|
|
80935
|
+
oh
|
|
80930
80936
|
)])
|
|
80931
80937
|
),
|
|
80932
80938
|
0
|
|
@@ -80937,8 +80943,8 @@ ${It.join(`
|
|
|
80937
80943
|
}
|
|
80938
80944
|
if (Qt.flags & 384 && Nu(Qt, rl, Rl), Qt.flags & 32 && (Qt.flags & 4 && Qt.valueDeclaration && Qn(Qt.valueDeclaration.parent) && Uu(Qt.valueDeclaration.parent.right) ? Nx(Qt, ey(Qt, rl), Rl) : w2(Qt, ey(Qt, rl), Rl)), (Qt.flags & 1536 && (!zf || nc(Qt)) || Im) && No(Qt, rl, Rl), Qt.flags & 64 && !(Qt.flags & 32) && es(Qt, rl, Rl), Qt.flags & 2097152 && Nx(Qt, ey(Qt, rl), Rl), Qt.flags & 4 && Qt.escapedName === "export=" && Z8(Qt), Qt.flags & 8388608 && Qt.declarations)
|
|
80939
80945
|
for (const k_ of Qt.declarations) {
|
|
80940
|
-
const
|
|
80941
|
-
|
|
80946
|
+
const oh = $p(k_, k_.moduleSpecifier);
|
|
80947
|
+
oh && Fi(
|
|
80942
80948
|
j.createExportDeclaration(
|
|
80943
80949
|
/*modifiers*/
|
|
80944
80950
|
void 0,
|
|
@@ -80946,7 +80952,7 @@ ${It.join(`
|
|
|
80946
80952
|
k_.isTypeOnly,
|
|
80947
80953
|
/*exportClause*/
|
|
80948
80954
|
void 0,
|
|
80949
|
-
j.createStringLiteral(vn(
|
|
80955
|
+
j.createStringLiteral(vn(oh, ye))
|
|
80950
80956
|
),
|
|
80951
80957
|
0
|
|
80952
80958
|
/* None */
|
|
@@ -80989,16 +80995,16 @@ ${It.join(`
|
|
|
80989
80995
|
return Pa(Qt) && (Hd(Qt) || fg(Qt)) || pp(Qt) && !wv(Qt);
|
|
80990
80996
|
}
|
|
80991
80997
|
function Fi(Qt, Ei) {
|
|
80992
|
-
if (
|
|
80998
|
+
if (Zg(Qt)) {
|
|
80993
80999
|
let oa = 0;
|
|
80994
|
-
const na = ye.enclosingDeclaration && (
|
|
81000
|
+
const na = ye.enclosingDeclaration && (Wg(ye.enclosingDeclaration) ? nn(ye.enclosingDeclaration) : ye.enclosingDeclaration);
|
|
80995
81001
|
Ei & 32 && na && (qa(na) || Mu(na)) && SF(Qt) && (oa |= 32), Uo && !(oa & 32) && (!na || !(na.flags & 33554432)) && (bk(Qt) || au(Qt) || hu(Qt) || Wu(Qt) || Mu(Qt)) && (oa |= 128), Ei & 2048 && (Wu(Qt) || d_(Qt) || hu(Qt)) && (oa |= 2048), oa && (Qt = j.replaceModifiers(Qt, oa | mp(Qt)));
|
|
80996
81002
|
}
|
|
80997
81003
|
En.push(Qt);
|
|
80998
81004
|
}
|
|
80999
81005
|
function Ci(Qt, Ei, oa) {
|
|
81000
81006
|
var na;
|
|
81001
|
-
const $i = gLe(Qt), Dc = Ra(Qt).typeParameters, go = Dt(Dc, (ap) => Mi(ap, ye)), Qs = (na = Qt.declarations) == null ? void 0 : na.find(
|
|
81007
|
+
const $i = gLe(Qt), Dc = Ra(Qt).typeParameters, go = Dt(Dc, (ap) => Mi(ap, ye)), Qs = (na = Qt.declarations) == null ? void 0 : na.find(Wg), Us = eO(Qs ? Qs.comment || Qs.parent.comment : void 0), Tc = A(ye);
|
|
81002
81008
|
ye.flags |= 8388608;
|
|
81003
81009
|
const rl = ye.enclosingDeclaration;
|
|
81004
81010
|
ye.enclosingDeclaration = Qs;
|
|
@@ -81087,7 +81093,7 @@ ${It.join(`
|
|
|
81087
81093
|
), (rl) => {
|
|
81088
81094
|
var qp, ap;
|
|
81089
81095
|
const r_ = Ma(rl.escapedName), Rl = ey(rl, r_), zf = rl.declarations && Dd(rl);
|
|
81090
|
-
if (Qs && (zf ? Qs !== nn(zf) : !vt(rl.declarations, (
|
|
81096
|
+
if (Qs && (zf ? Qs !== nn(zf) : !vt(rl.declarations, (oh) => nn(oh) === Qs))) {
|
|
81091
81097
|
(ap = (qp = ye.tracker) == null ? void 0 : qp.reportNonlocalAugmentation) == null || ap.call(qp, Qs, Qt, rl);
|
|
81092
81098
|
return;
|
|
81093
81099
|
}
|
|
@@ -81257,7 +81263,7 @@ ${It.join(`
|
|
|
81257
81263
|
const Qs = JS(Qt), Us = Dt(Qs, (dv) => Mi(dv, ye)), Tc = sm(Ag(Qt)), rl = Tf(Tc), qp = Dc && f4(Dc), ap = qp && x0(qp) || Bn(Gc(Tc), j6t), r_ = jn(Qt), Rl = !!(($i = r_.symbol) != null && $i.valueDeclaration) && Xi(r_.symbol.valueDeclaration), zf = Rl ? Po(r_) : st, Im = [
|
|
81258
81264
|
...ee(rl) ? [j.createHeritageClause(96, Dt(rl, (dv) => R6t(dv, zf, Ei)))] : [],
|
|
81259
81265
|
...ee(ap) ? [j.createHeritageClause(119, ap)] : []
|
|
81260
|
-
], k_ = Swt(Tc, rl, Sc(Tc)),
|
|
81266
|
+
], k_ = Swt(Tc, rl, Sc(Tc)), oh = or(k_, (dv) => {
|
|
81261
81267
|
const K8 = dv.valueDeclaration;
|
|
81262
81268
|
return !!K8 && !(l_(K8) && La(K8.name));
|
|
81263
81269
|
}), Zy = vt(k_, (dv) => {
|
|
@@ -81273,7 +81279,7 @@ ${It.join(`
|
|
|
81273
81279
|
void 0,
|
|
81274
81280
|
/*initializer*/
|
|
81275
81281
|
void 0
|
|
81276
|
-
)] : L, ty = pn(
|
|
81282
|
+
)] : L, ty = pn(oh, (dv) => ar(
|
|
81277
81283
|
dv,
|
|
81278
81284
|
/*isStatic*/
|
|
81279
81285
|
!1,
|
|
@@ -81700,7 +81706,7 @@ ${It.join(`
|
|
|
81700
81706
|
return [];
|
|
81701
81707
|
const zf = r_ & -1025 | (Dc ? 256 : 0), Im = Au($i, ye), k_ = (Qs = $i.declarations) == null ? void 0 : Qs.find(Ec(vs, G2, Zi, rd, Qn, gi));
|
|
81702
81708
|
if ($i.flags & 98304 && oa) {
|
|
81703
|
-
const
|
|
81709
|
+
const oh = [];
|
|
81704
81710
|
if ($i.flags & 65536) {
|
|
81705
81711
|
const Ix = $i.declarations && fe($i.declarations, (pb) => {
|
|
81706
81712
|
if (pb.kind === 178)
|
|
@@ -81714,7 +81720,7 @@ ${It.join(`
|
|
|
81714
81720
|
});
|
|
81715
81721
|
O.assert(!!Ix);
|
|
81716
81722
|
const Zy = Mc(Ix) ? Km(Ix).parameters[0] : void 0, ty = (Us = $i.declarations) == null ? void 0 : Us.find(_y);
|
|
81717
|
-
|
|
81723
|
+
oh.push(u(
|
|
81718
81724
|
ye,
|
|
81719
81725
|
j.createSetAccessorDeclaration(
|
|
81720
81726
|
j.createModifiersFromModifierFlags(zf),
|
|
@@ -81737,7 +81743,7 @@ ${It.join(`
|
|
|
81737
81743
|
}
|
|
81738
81744
|
if ($i.flags & 32768) {
|
|
81739
81745
|
const Ix = r_ & 2, Zy = (Tc = $i.declarations) == null ? void 0 : Tc.find(wb);
|
|
81740
|
-
|
|
81746
|
+
oh.push(u(
|
|
81741
81747
|
ye,
|
|
81742
81748
|
j.createGetAccessorDeclaration(
|
|
81743
81749
|
j.createModifiersFromModifierFlags(zf),
|
|
@@ -81750,7 +81756,7 @@ ${It.join(`
|
|
|
81750
81756
|
Zy ?? k_
|
|
81751
81757
|
));
|
|
81752
81758
|
}
|
|
81753
|
-
return
|
|
81759
|
+
return oh;
|
|
81754
81760
|
} else if ($i.flags & 98311)
|
|
81755
81761
|
return u(
|
|
81756
81762
|
ye,
|
|
@@ -81770,8 +81776,8 @@ ${It.join(`
|
|
|
81770
81776
|
((qp = $i.declarations) == null ? void 0 : qp.find(Ec(vs, Zi))) || k_
|
|
81771
81777
|
);
|
|
81772
81778
|
if ($i.flags & 8208) {
|
|
81773
|
-
const
|
|
81774
|
-
|
|
81779
|
+
const oh = jn($i), Ix = Gs(
|
|
81780
|
+
oh,
|
|
81775
81781
|
0
|
|
81776
81782
|
/* Call */
|
|
81777
81783
|
);
|
|
@@ -81986,7 +81992,7 @@ ${It.join(`
|
|
|
81986
81992
|
const oa = A(ye);
|
|
81987
81993
|
ye.flags |= 16777216;
|
|
81988
81994
|
const na = zy(Qt, ye);
|
|
81989
|
-
oa(), Ei = na.length > 0 && IO(na.charCodeAt(0)) ?
|
|
81995
|
+
oa(), Ei = na.length > 0 && IO(na.charCodeAt(0)) ? Vg(na) : na;
|
|
81990
81996
|
}
|
|
81991
81997
|
return Ei === "default" ? Ei = "_default" : Ei === "export=" && (Ei = "_exports"), Ei = bd(Ei, H) && !hD(Ei) ? Ei : "_" + Ei.replace(/[^a-z0-9]/gi, "_"), Ei;
|
|
81992
81998
|
}
|
|
@@ -82036,7 +82042,7 @@ ${It.join(`
|
|
|
82036
82042
|
function J6(r) {
|
|
82037
82043
|
if (r.symbol && r.symbol.flags & 2048 && r.symbol.declarations) {
|
|
82038
82044
|
const s = UO(r.symbol.declarations[0].parent);
|
|
82039
|
-
if (
|
|
82045
|
+
if (Xg(s))
|
|
82040
82046
|
return ti(s);
|
|
82041
82047
|
}
|
|
82042
82048
|
}
|
|
@@ -82947,7 +82953,7 @@ ${It.join(`
|
|
|
82947
82953
|
u = p0(Vv(s) || eu(s.expression), s);
|
|
82948
82954
|
else if (Qn(s) || Wn(s) && (eo(s) || (gi(s) || QR(s)) && Qn(s.parent)))
|
|
82949
82955
|
u = q6(r);
|
|
82950
|
-
else if (gi(s) || Kc(s) || et(s) || lc(s) || td(s) || Wu(s) || hu(s) || iu(s) && !
|
|
82956
|
+
else if (gi(s) || Kc(s) || et(s) || lc(s) || td(s) || Wu(s) || hu(s) || iu(s) && !Ug(s) || z0(s) || Pa(s)) {
|
|
82951
82957
|
if (r.flags & 9136)
|
|
82952
82958
|
return qP(r);
|
|
82953
82959
|
u = Qn(s.parent) ? q6(r) : Vv(s) || st;
|
|
@@ -82961,7 +82967,7 @@ ${It.join(`
|
|
|
82961
82967
|
0
|
|
82962
82968
|
/* Normal */
|
|
82963
82969
|
);
|
|
82964
|
-
else if (
|
|
82970
|
+
else if (Ug(s))
|
|
82965
82971
|
u = Vv(s) || yJe(
|
|
82966
82972
|
s,
|
|
82967
82973
|
0
|
|
@@ -83240,7 +83246,7 @@ ${It.join(`
|
|
|
83240
83246
|
case 200:
|
|
83241
83247
|
case 194: {
|
|
83242
83248
|
const v = U6(r, s);
|
|
83243
|
-
if ((u === 218 || u === 219 ||
|
|
83249
|
+
if ((u === 218 || u === 219 || Ug(r)) && eg(r)) {
|
|
83244
83250
|
const J = Xc(Gs(
|
|
83245
83251
|
jn(ti(r)),
|
|
83246
83252
|
0
|
|
@@ -83262,7 +83268,7 @@ ${It.join(`
|
|
|
83262
83268
|
break;
|
|
83263
83269
|
case 320: {
|
|
83264
83270
|
const v = U6(r, s);
|
|
83265
|
-
return r.tags ? Bz(v, pn(r.tags, (x) =>
|
|
83271
|
+
return r.tags ? Bz(v, pn(r.tags, (x) => Qg(x) ? x.typeParameters : void 0)) : v;
|
|
83266
83272
|
}
|
|
83267
83273
|
}
|
|
83268
83274
|
}
|
|
@@ -83502,7 +83508,7 @@ ${It.join(`
|
|
|
83502
83508
|
const m = r.flags & 32 ? 1 : 2, v = G2e(r, r.valueDeclaration && okt(r.valueDeclaration));
|
|
83503
83509
|
v && (r = v, s = v.links);
|
|
83504
83510
|
const x = u.declaredType = s.declaredType = Ft(m, r), A = lw(r), J = JS(r);
|
|
83505
|
-
(A || J || m === 1 || !q9(r)) && (x.objectFlags |= 4, x.typeParameters = Tn(A, J), x.outerTypeParameters = A, x.localTypeParameters = J, x.instantiations = /* @__PURE__ */ new Map(), x.instantiations.set(
|
|
83511
|
+
(A || J || m === 1 || !q9(r)) && (x.objectFlags |= 4, x.typeParameters = Tn(A, J), x.outerTypeParameters = A, x.localTypeParameters = J, x.instantiations = /* @__PURE__ */ new Map(), x.instantiations.set(sh(x.typeParameters), x), x.target = x, x.resolvedTypeArguments = x.typeParameters, x.thisType = Di(r), x.thisType.isThisType = !0, x.thisType.constraint = x);
|
|
83506
83512
|
}
|
|
83507
83513
|
return s.declaredType;
|
|
83508
83514
|
}
|
|
@@ -83516,11 +83522,11 @@ ${It.join(`
|
|
|
83516
83522
|
/* DeclaredType */
|
|
83517
83523
|
))
|
|
83518
83524
|
return ct;
|
|
83519
|
-
const m = O.checkDefined((s = r.declarations) == null ? void 0 : s.find(JO), "Type alias symbol with no valid declaration found"), v =
|
|
83525
|
+
const m = O.checkDefined((s = r.declarations) == null ? void 0 : s.find(JO), "Type alias symbol with no valid declaration found"), v = Wg(m) ? m.typeExpression : m.type;
|
|
83520
83526
|
let x = v ? Oa(v) : ct;
|
|
83521
83527
|
if (qv()) {
|
|
83522
83528
|
const A = JS(r);
|
|
83523
|
-
A && (u.typeParameters = A, u.instantiations = /* @__PURE__ */ new Map(), u.instantiations.set(
|
|
83529
|
+
A && (u.typeParameters = A, u.instantiations = /* @__PURE__ */ new Map(), u.instantiations.set(sh(A), x)), x === Jn && r.escapedName === "BuiltinIteratorReturn" && (x = Z1e());
|
|
83524
83530
|
} else
|
|
83525
83531
|
x = ct, m.kind === 340 ? nt(m.typeExpression.type, h.Type_alias_0_circularly_references_itself, Xa(r)) : nt(l_(m) && m.name || m, h.Type_alias_0_circularly_references_itself, Xa(r));
|
|
83526
83532
|
u.declaredType ?? (u.declaredType = x);
|
|
@@ -85273,7 +85279,7 @@ ${It.join(`
|
|
|
85273
85279
|
}
|
|
85274
85280
|
}
|
|
85275
85281
|
s.push(
|
|
85276
|
-
!oS(m) && !
|
|
85282
|
+
!oS(m) && !Ug(m) && I8(m) || Km(m)
|
|
85277
85283
|
);
|
|
85278
85284
|
}
|
|
85279
85285
|
}
|
|
@@ -85419,7 +85425,7 @@ ${It.join(`
|
|
|
85419
85425
|
return v;
|
|
85420
85426
|
}
|
|
85421
85427
|
function z1e(r, s) {
|
|
85422
|
-
const u = r.instantiations || (r.instantiations = /* @__PURE__ */ new Map()), m =
|
|
85428
|
+
const u = r.instantiations || (r.instantiations = /* @__PURE__ */ new Map()), m = sh(s);
|
|
85423
85429
|
let v = u.get(m);
|
|
85424
85430
|
return v || u.set(m, v = Ste(r, s)), v;
|
|
85425
85431
|
}
|
|
@@ -85605,10 +85611,10 @@ ${It.join(`
|
|
|
85605
85611
|
r.symbol,
|
|
85606
85612
|
168
|
|
85607
85613
|
/* TypeParameter */
|
|
85608
|
-
), u =
|
|
85614
|
+
), u = Qg(s.parent) ? KR(s.parent) : s.parent;
|
|
85609
85615
|
return u && Qm(u);
|
|
85610
85616
|
}
|
|
85611
|
-
function
|
|
85617
|
+
function sh(r) {
|
|
85612
85618
|
let s = "";
|
|
85613
85619
|
if (r) {
|
|
85614
85620
|
const u = r.length;
|
|
@@ -85624,7 +85630,7 @@ ${It.join(`
|
|
|
85624
85630
|
return s;
|
|
85625
85631
|
}
|
|
85626
85632
|
function H6(r, s) {
|
|
85627
|
-
return r ? `@${xo(r)}` + (s ? `:${
|
|
85633
|
+
return r ? `@${xo(r)}` + (s ? `:${sh(s)}` : "") : "";
|
|
85628
85634
|
}
|
|
85629
85635
|
function Hz(r, s) {
|
|
85630
85636
|
let u = 0;
|
|
@@ -85636,7 +85642,7 @@ ${It.join(`
|
|
|
85636
85642
|
return vt(s) && r === Ja ? Ie : eb(r, s);
|
|
85637
85643
|
}
|
|
85638
85644
|
function eb(r, s) {
|
|
85639
|
-
const u =
|
|
85645
|
+
const u = sh(s);
|
|
85640
85646
|
let m = r.instantiations.get(u);
|
|
85641
85647
|
return m || (m = Ft(4, r.symbol), r.instantiations.set(u, m), m.objectFlags |= s ? Hz(s) : 0, m.target = r, m.resolvedTypeArguments = s), m;
|
|
85642
85648
|
}
|
|
@@ -85708,7 +85714,7 @@ ${It.join(`
|
|
|
85708
85714
|
if (X !== void 0 && s && s.length === 1)
|
|
85709
85715
|
return X === 4 ? U1e(s[0]) : Y6(r, s[0]);
|
|
85710
85716
|
}
|
|
85711
|
-
const x = Ra(r), A = x.typeParameters, J =
|
|
85717
|
+
const x = Ra(r), A = x.typeParameters, J = sh(s) + H6(u, m);
|
|
85712
85718
|
let V = x.instantiations.get(J);
|
|
85713
85719
|
return V || x.instantiations.set(J, V = lje(v, Od(A, y2(s, A, Xv(A), Wn(r.valueDeclaration))), u, m)), V;
|
|
85714
85720
|
}
|
|
@@ -85997,7 +86003,7 @@ ${It.join(`
|
|
|
85997
86003
|
function Nte(r, s, u) {
|
|
85998
86004
|
const m = KP(r, 788968, u ? h.Cannot_find_global_type_0 : void 0);
|
|
85999
86005
|
if (m && (ll(m), ee(Ra(m).typeParameters) !== s)) {
|
|
86000
|
-
const v = m.declarations && St(m.declarations,
|
|
86006
|
+
const v = m.declarations && St(m.declarations, Xg);
|
|
86001
86007
|
nt(v, h.Global_type_0_must_have_1_type_parameter_s, nu(m), s);
|
|
86002
86008
|
return;
|
|
86003
86009
|
}
|
|
@@ -86279,12 +86285,12 @@ ${It.join(`
|
|
|
86279
86285
|
) || ut), wd === ut ? void 0 : wd;
|
|
86280
86286
|
}
|
|
86281
86287
|
function K1e(r) {
|
|
86282
|
-
return
|
|
86288
|
+
return rh || (rh = Nte(
|
|
86283
86289
|
"Awaited",
|
|
86284
86290
|
/*arity*/
|
|
86285
86291
|
1,
|
|
86286
86292
|
r
|
|
86287
|
-
) || (r ? ut : void 0)),
|
|
86293
|
+
) || (r ? ut : void 0)), rh === ut ? void 0 : rh;
|
|
86288
86294
|
}
|
|
86289
86295
|
function I1t() {
|
|
86290
86296
|
return K0 || (K0 = Kl(
|
|
@@ -86535,7 +86541,7 @@ ${It.join(`
|
|
|
86535
86541
|
12
|
|
86536
86542
|
/* Reference */
|
|
86537
86543
|
);
|
|
86538
|
-
return ue.typeParameters = x, ue.outerTypeParameters = void 0, ue.localTypeParameters = x, ue.instantiations = /* @__PURE__ */ new Map(), ue.instantiations.set(
|
|
86544
|
+
return ue.typeParameters = x, ue.outerTypeParameters = void 0, ue.localTypeParameters = x, ue.instantiations = /* @__PURE__ */ new Map(), ue.instantiations.set(sh(ue.typeParameters), ue), ue.target = ue, ue.resolvedTypeArguments = ue.typeParameters, ue.thisType = Di(), ue.thisType.isThisType = !0, ue.thisType.constraint = ue, ue.declaredProperties = A, ue.declaredCallSignatures = L, ue.declaredConstructSignatures = L, ue.declaredIndexInfos = L, ue.elementFlags = r, ue.minLength = v, ue.fixedLength = V, ue.hasRestElement = !!(J & 12), ue.combinedFlags = J, ue.readonly = s, ue.labeledElementDeclarations = u, ue;
|
|
86539
86545
|
}
|
|
86540
86546
|
function rbe(r, s) {
|
|
86541
86547
|
return r.objectFlags & 8 ? nbe(r, s) : eb(r, s);
|
|
@@ -86656,7 +86662,7 @@ ${It.join(`
|
|
|
86656
86662
|
var u;
|
|
86657
86663
|
if (r.length < 2)
|
|
86658
86664
|
return r;
|
|
86659
|
-
const m =
|
|
86665
|
+
const m = sh(r), v = ko.get(m);
|
|
86660
86666
|
if (v)
|
|
86661
86667
|
return v;
|
|
86662
86668
|
const x = s && vt(r, (X) => !!(X.flags & 524288) && !fd(X) && wbe(g0(X))), A = r.length;
|
|
@@ -86666,7 +86672,7 @@ ${It.join(`
|
|
|
86666
86672
|
const X = r[J];
|
|
86667
86673
|
if (x || X.flags & 469499904) {
|
|
86668
86674
|
if (X.flags & 262144 && Yv(X).flags & 1048576) {
|
|
86669
|
-
lv(X, Gi(Dt(r, (we) => we === X ? Dr : we)),
|
|
86675
|
+
lv(X, Gi(Dt(r, (we) => we === X ? Dr : we)), ih) && wp(r, J);
|
|
86670
86676
|
continue;
|
|
86671
86677
|
}
|
|
86672
86678
|
const ue = X.flags & 61603840 ? St(Sc(X), (we) => h0(jn(we))) : void 0, Le = ue && kp(jn(ue));
|
|
@@ -86681,7 +86687,7 @@ ${It.join(`
|
|
|
86681
86687
|
if (yt && h0(yt) && kp(yt) !== Le)
|
|
86682
86688
|
continue;
|
|
86683
86689
|
}
|
|
86684
|
-
if (lv(X, we,
|
|
86690
|
+
if (lv(X, we, ih) && (!(vi(UP(X)) & 1) || !(vi(UP(we)) & 1) || xx(X, we))) {
|
|
86685
86691
|
wp(r, J);
|
|
86686
86692
|
break;
|
|
86687
86693
|
}
|
|
@@ -86830,7 +86836,7 @@ ${It.join(`
|
|
|
86830
86836
|
return Dr;
|
|
86831
86837
|
if (r.length === 1)
|
|
86832
86838
|
return r[0];
|
|
86833
|
-
const A = (v ? v.flags & 1048576 ? `|${
|
|
86839
|
+
const A = (v ? v.flags & 1048576 ? `|${sh(v.types)}` : v.flags & 2097152 ? `&${sh(v.types)}` : `#${v.type.id}|${sh(r)}` : sh(r)) + H6(u, m);
|
|
86834
86840
|
let J = Hi.get(A);
|
|
86835
86841
|
return J || (J = wg(
|
|
86836
86842
|
1048576
|
|
@@ -86971,7 +86977,7 @@ ${It.join(`
|
|
|
86971
86977
|
}
|
|
86972
86978
|
}
|
|
86973
86979
|
}
|
|
86974
|
-
const V =
|
|
86980
|
+
const V = sh(A) + (s & 2 ? "*" : H6(u, m));
|
|
86975
86981
|
let X = pa.get(V);
|
|
86976
86982
|
if (!X) {
|
|
86977
86983
|
if (x & 1048576)
|
|
@@ -87082,7 +87088,7 @@ ${It.join(`
|
|
|
87082
87088
|
} else
|
|
87083
87089
|
Cw(zz(m), J);
|
|
87084
87090
|
const A = s & 2 ? ju(Gi(x), (V) => !(V.flags & 5)) : Gi(x);
|
|
87085
|
-
if (A.flags & 1048576 && m.flags & 1048576 &&
|
|
87091
|
+
if (A.flags & 1048576 && m.flags & 1048576 && sh(A.types) === sh(m.types))
|
|
87086
87092
|
return m;
|
|
87087
87093
|
return A;
|
|
87088
87094
|
function J(V) {
|
|
@@ -87200,7 +87206,7 @@ ${It.join(`
|
|
|
87200
87206
|
if (m.length === 1 && gw(m[0]))
|
|
87201
87207
|
return m[0];
|
|
87202
87208
|
}
|
|
87203
|
-
const A = `${
|
|
87209
|
+
const A = `${sh(m)}|${Dt(v, (X) => X.length).join(",")}|${v.join("")}`;
|
|
87204
87210
|
let J = Si.get(A);
|
|
87205
87211
|
return J || Si.set(A, J = bbt(v, m)), J;
|
|
87206
87212
|
function V(X, ue) {
|
|
@@ -87765,7 +87771,7 @@ ${It.join(`
|
|
|
87765
87771
|
void 0,
|
|
87766
87772
|
/*forConstraint*/
|
|
87767
87773
|
!1
|
|
87768
|
-
), A && (J.instantiations = /* @__PURE__ */ new Map(), J.instantiations.set(
|
|
87774
|
+
), A && (J.instantiations = /* @__PURE__ */ new Map(), J.instantiations.set(sh(A), s.resolvedType));
|
|
87769
87775
|
}
|
|
87770
87776
|
return s.resolvedType;
|
|
87771
87777
|
}
|
|
@@ -88292,8 +88298,8 @@ ${It.join(`
|
|
|
88292
88298
|
J = (A.objectFlags & 8388612 || A.symbol.flags & 8192 || A.symbol.flags & 2048) && !A.aliasTypeArguments ? or(J, (ue) => vt(X, (Le) => iq(ue, Le))) : J, x.outerTypeParameters = J;
|
|
88293
88299
|
}
|
|
88294
88300
|
if (J.length) {
|
|
88295
|
-
const V = lC(r.mapper, s), X = Dt(J, (Rt) => S2(Rt, V)), ue = u || r.aliasSymbol, Le = u ? m : Gy(r.aliasTypeArguments, s), we = (r.objectFlags & 134217728 ? "S" : "") +
|
|
88296
|
-
A.instantiations || (A.instantiations = /* @__PURE__ */ new Map(), A.instantiations.set(
|
|
88301
|
+
const V = lC(r.mapper, s), X = Dt(J, (Rt) => S2(Rt, V)), ue = u || r.aliasSymbol, Le = u ? m : Gy(r.aliasTypeArguments, s), we = (r.objectFlags & 134217728 ? "S" : "") + sh(X) + H6(ue, Le);
|
|
88302
|
+
A.instantiations || (A.instantiations = /* @__PURE__ */ new Map(), A.instantiations.set(sh(J) + H6(A.aliasSymbol, A.aliasTypeArguments), A));
|
|
88297
88303
|
let yt = A.instantiations.get(we);
|
|
88298
88304
|
if (!yt) {
|
|
88299
88305
|
if (r.objectFlags & 134217728)
|
|
@@ -88435,7 +88441,7 @@ ${It.join(`
|
|
|
88435
88441
|
function xbe(r, s, u, m, v) {
|
|
88436
88442
|
const x = r.root;
|
|
88437
88443
|
if (x.outerTypeParameters) {
|
|
88438
|
-
const A = Dt(x.outerTypeParameters, (X) => S2(X, s)), J = (u ? "C" : "") +
|
|
88444
|
+
const A = Dt(x.outerTypeParameters, (X) => S2(X, s)), J = (u ? "C" : "") + sh(A) + H6(m, v);
|
|
88439
88445
|
let V = x.instantiations.get(J);
|
|
88440
88446
|
if (!V) {
|
|
88441
88447
|
const X = Od(x.outerTypeParameters, A), ue = x.checkType, Le = x.isDistributive ? Ah(S2(ue, X)) : void 0;
|
|
@@ -88547,7 +88553,7 @@ ${It.join(`
|
|
|
88547
88553
|
return Vy(r.keyType, Wa(r.type, s), r.isReadonly, r.declaration);
|
|
88548
88554
|
}
|
|
88549
88555
|
function eg(r) {
|
|
88550
|
-
switch (O.assert(r.kind !== 174 ||
|
|
88556
|
+
switch (O.assert(r.kind !== 174 || Ug(r)), r.kind) {
|
|
88551
88557
|
case 218:
|
|
88552
88558
|
case 219:
|
|
88553
88559
|
case 174:
|
|
@@ -88585,7 +88591,7 @@ ${It.join(`
|
|
|
88585
88591
|
return r.typeParameters || bm(r) || !r.body ? !1 : r.body.kind !== 241 ? eg(r.body) : !!eS(r.body, (s) => !!s.expression && eg(s.expression));
|
|
88586
88592
|
}
|
|
88587
88593
|
function Jte(r) {
|
|
88588
|
-
return (oS(r) ||
|
|
88594
|
+
return (oS(r) || Ug(r)) && uje(r);
|
|
88589
88595
|
}
|
|
88590
88596
|
function fje(r) {
|
|
88591
88597
|
if (r.flags & 524288) {
|
|
@@ -88614,7 +88620,7 @@ ${It.join(`
|
|
|
88614
88620
|
return lv(r, s, tv);
|
|
88615
88621
|
}
|
|
88616
88622
|
function aq(r, s) {
|
|
88617
|
-
return lv(r, s,
|
|
88623
|
+
return lv(r, s, ih);
|
|
88618
88624
|
}
|
|
88619
88625
|
function no(r, s) {
|
|
88620
88626
|
return lv(r, s, nm);
|
|
@@ -89302,7 +89308,7 @@ ${It.join(`
|
|
|
89302
89308
|
}
|
|
89303
89309
|
function oM(r, s, u, m) {
|
|
89304
89310
|
const v = r.flags, x = s.flags;
|
|
89305
|
-
return x & 1 || v & 131072 || r === Mt || x & 2 && !(u ===
|
|
89311
|
+
return x & 1 || v & 131072 || r === Mt || x & 2 && !(u === ih && v & 1) ? !0 : x & 131072 ? !1 : !!(v & 402653316 && x & 4 || v & 128 && v & 1024 && x & 128 && !(x & 1024) && r.value === s.value || v & 296 && x & 8 || v & 256 && v & 1024 && x & 256 && !(x & 1024) && r.value === s.value || v & 2112 && x & 64 || v & 528 && x & 16 || v & 12288 && x & 4096 || v & 32 && x & 32 && r.symbol.escapedName === s.symbol.escapedName && Dbe(r.symbol, s.symbol, m) || v & 1024 && x & 1024 && (v & 1048576 && x & 1048576 && Dbe(r.symbol, s.symbol, m) || v & 2944 && x & 2944 && r.value === s.value && Dbe(r.symbol, s.symbol, m)) || v & 32768 && (!_e && !(x & 3145728) || x & 49152) || v & 65536 && (!_e && !(x & 3145728) || x & 65536) || v & 524288 && x & 67108864 && !(u === ih && Zv(r) && !(vi(r) & 8192)) || (u === nm || u === Bp) && (v & 1 || v & 8 && (x & 32 || x & 256 && x & 1024) || v & 256 && !(v & 1024) && (x & 32 || x & 256 && x & 1024 && r.value === s.value) || u2t(s)));
|
|
89306
89312
|
}
|
|
89307
89313
|
function lv(r, s, u) {
|
|
89308
89314
|
if (oC(r) && (r = r.regularType), oC(s) && (s = s.regularType), r === s)
|
|
@@ -89806,7 +89812,7 @@ ${It.join(`
|
|
|
89806
89812
|
if (Et.flags & 1048576) {
|
|
89807
89813
|
if (Hy(kr, ot))
|
|
89808
89814
|
return -1;
|
|
89809
|
-
if (u !== Bp && vi(Et) & 32768 && !(ot.flags & 1024) && (ot.flags & 2688 || (u === tv || u ===
|
|
89815
|
+
if (u !== Bp && vi(Et) & 32768 && !(ot.flags & 1024) && (ot.flags & 2688 || (u === tv || u === ih) && ot.flags & 256)) {
|
|
89810
89816
|
const Lr = ot === ot.regularType ? ot.freshType : ot.regularType, kn = ot.flags & 128 ? Ae : ot.flags & 256 ? At : ot.flags & 2048 ? xr : void 0;
|
|
89811
89817
|
return kn && Hy(kr, kn) || Lr && Hy(kr, Lr) ? -1 : 0;
|
|
89812
89818
|
}
|
|
@@ -90483,7 +90489,7 @@ ${It.join(`
|
|
|
90483
90489
|
if (es && (li(kr), sr = Ln(es, Et, 1, yr)))
|
|
90484
90490
|
return sr;
|
|
90485
90491
|
} else {
|
|
90486
|
-
if (u !== tv && u !==
|
|
90492
|
+
if (u !== tv && u !== ih && Myt(Et) && ib(ot))
|
|
90487
90493
|
return -1;
|
|
90488
90494
|
if (fd(Et))
|
|
90489
90495
|
return fd(ot) && (sr = ir(ot, Et, yr)) ? sr : 0;
|
|
@@ -90508,7 +90514,7 @@ ${It.join(`
|
|
|
90508
90514
|
const es = Yv(ot);
|
|
90509
90515
|
if (es !== ot)
|
|
90510
90516
|
return Ln(es, Et, 1, yr);
|
|
90511
|
-
} else if ((u === tv || u ===
|
|
90517
|
+
} else if ((u === tv || u === ih) && ib(Et) && vi(Et) & 8192 && !ib(ot))
|
|
90512
90518
|
return 0;
|
|
90513
90519
|
}
|
|
90514
90520
|
if (Bi & 2621440 && aa & 524288) {
|
|
@@ -90691,7 +90697,7 @@ ${It.join(`
|
|
|
90691
90697
|
return sr && ms(h.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2, Xa(jt), In(K6(yr) || ot), In(K6(jt) || Et)), 0;
|
|
90692
90698
|
} else if (Bi & 4)
|
|
90693
90699
|
return sr && ms(h.Property_0_is_protected_in_type_1_but_public_in_type_2, Xa(jt), In(ot), In(Et)), 0;
|
|
90694
|
-
if (u ===
|
|
90700
|
+
if (u === ih && S0(yr) && !S0(jt))
|
|
90695
90701
|
return 0;
|
|
90696
90702
|
const qa = On(yr, jt, kr, sr, Lr);
|
|
90697
90703
|
return qa ? !kn && yr.flags & 16777216 && jt.flags & 106500 && !(jt.flags & 16777216) ? (sr && ms(h.Property_0_is_optional_in_type_1_but_required_in_type_2, Xa(jt), In(ot), In(Et)), 0) : qa : (sr && Ms(h.Types_of_property_0_are_incompatible, Xa(jt)), 0);
|
|
@@ -90788,7 +90794,7 @@ ${It.join(`
|
|
|
90788
90794
|
if (Et.target.combinedFlags & 12)
|
|
90789
90795
|
return 0;
|
|
90790
90796
|
}
|
|
90791
|
-
const kn = (u === tv || u ===
|
|
90797
|
+
const kn = (u === tv || u === ih) && !x2(ot) && !Xte(ot) && !qo(ot), Bi = Ybe(
|
|
90792
90798
|
ot,
|
|
90793
90799
|
Et,
|
|
90794
90800
|
kn,
|
|
@@ -90944,7 +90950,7 @@ ${It.join(`
|
|
|
90944
90950
|
return ot.parameters.length === 0 && Et.parameters.length === 0 ? (yr, jt) => Ms(h.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1, In(yr), In(jt)) : (yr, jt) => Ms(h.Construct_signature_return_types_0_and_1_are_incompatible, In(yr), In(jt));
|
|
90945
90951
|
}
|
|
90946
90952
|
function Ki(ot, Et, yr, jt, kr, sr) {
|
|
90947
|
-
const Lr = u === tv ? 16 : u ===
|
|
90953
|
+
const Lr = u === tv ? 16 : u === ih ? 24 : 0;
|
|
90948
90954
|
return Ebe(yr ? Z9(ot) : ot, yr ? Z9(Et) : Et, Lr, jt, ms, sr, kn, uo);
|
|
90949
90955
|
function kn(Bi, aa, qa) {
|
|
90950
90956
|
return Ln(
|
|
@@ -91034,7 +91040,7 @@ ${It.join(`
|
|
|
91034
91040
|
const sr = O_(Et), Lr = vt(sr, (Bi) => Bi.keyType === Ae);
|
|
91035
91041
|
let kn = -1;
|
|
91036
91042
|
for (const Bi of sr) {
|
|
91037
|
-
const aa = u !==
|
|
91043
|
+
const aa = u !== ih && !yr && Lr && Bi.type.flags & 1 ? -1 : fd(ot) && Lr ? Ln(K1(ot), Bi.type, 3, jt) : ao(ot, Bi, jt, kr);
|
|
91038
91044
|
if (!aa)
|
|
91039
91045
|
return 0;
|
|
91040
91046
|
kn &= aa;
|
|
@@ -91043,7 +91049,7 @@ ${It.join(`
|
|
|
91043
91049
|
}
|
|
91044
91050
|
function ao(ot, Et, yr, jt) {
|
|
91045
91051
|
const kr = G9(ot, Et.keyType);
|
|
91046
|
-
return kr ? as(kr, Et, yr, jt) : !(jt & 1) && (u !==
|
|
91052
|
+
return kr ? as(kr, Et, yr, jt) : !(jt & 1) && (u !== ih || vi(ot) & 8192) && rre(ot) ? $s(ot, Et, yr, jt) : (yr && ms(h.Index_signature_for_type_0_is_missing_in_type_1, In(Et.keyType), In(ot)), 0);
|
|
91047
91053
|
}
|
|
91048
91054
|
function Mo(ot, Et) {
|
|
91049
91055
|
const yr = O_(ot), jt = O_(Et);
|
|
@@ -92832,7 +92838,7 @@ ${It.join(`
|
|
|
92832
92838
|
) || ut), s.resolvedSymbol;
|
|
92833
92839
|
}
|
|
92834
92840
|
function t2e(r) {
|
|
92835
|
-
return !!(r.flags & 33554432 || $r(r, (s) => d_(s) ||
|
|
92841
|
+
return !!(r.flags & 33554432 || $r(r, (s) => d_(s) || Xg(s) || Ip(s)));
|
|
92836
92842
|
}
|
|
92837
92843
|
function mq(r, s, u, m) {
|
|
92838
92844
|
switch (r.kind) {
|
|
@@ -93938,7 +93944,7 @@ ${It.join(`
|
|
|
93938
93944
|
const fi = dn.get(On);
|
|
93939
93945
|
if (fi)
|
|
93940
93946
|
return fi;
|
|
93941
|
-
for (let Wr = M1; Wr <
|
|
93947
|
+
for (let Wr = M1; Wr < nh; Wr++)
|
|
93942
93948
|
if (Hm[Wr] === ir && ld[Wr] === On && bp[Wr].length)
|
|
93943
93949
|
return i3(
|
|
93944
93950
|
Kn(
|
|
@@ -93956,9 +93962,9 @@ ${It.join(`
|
|
|
93956
93962
|
if (!Yt)
|
|
93957
93963
|
gn = Yt = we(Wr);
|
|
93958
93964
|
else {
|
|
93959
|
-
Hm[
|
|
93965
|
+
Hm[nh] = ir, ld[nh] = On, bp[nh] = Me, nh++;
|
|
93960
93966
|
const Ki = cd;
|
|
93961
|
-
cd = void 0, gn = we(Wr), cd = Ki,
|
|
93967
|
+
cd = void 0, gn = we(Wr), cd = Ki, nh--;
|
|
93962
93968
|
const ha = dn.get(On);
|
|
93963
93969
|
if (ha)
|
|
93964
93970
|
return ha;
|
|
@@ -93985,7 +93991,7 @@ ${It.join(`
|
|
|
93985
93991
|
return dn !== s && dn.flags & s.flags & 1048576 && ul(dn.types, s.types) ? s : dn;
|
|
93986
93992
|
}
|
|
93987
93993
|
function Mi(ir) {
|
|
93988
|
-
if (Vs(r) || oS(r) ||
|
|
93994
|
+
if (Vs(r) || oS(r) || Ug(r)) {
|
|
93989
93995
|
if (et(ir)) {
|
|
93990
93996
|
const dn = ip(ir).valueDeclaration;
|
|
93991
93997
|
if (dn && (Jo(dn) || Ba(dn)) && r === dn.parent && !dn.initializer && !dn.dotDotDotToken)
|
|
@@ -94391,7 +94397,7 @@ ${It.join(`
|
|
|
94391
94397
|
// the constituent based on its type facts. We use the strict subtype relation because it treats `object`
|
|
94392
94398
|
// as a subtype of `{}`, and we need the type facts check because function types are subtypes of `object`,
|
|
94393
94399
|
// but are classified as "function" according to `typeof`.
|
|
94394
|
-
lv(On, Vr,
|
|
94400
|
+
lv(On, Vr, ih) ? v0(On, dn) ? On : Dr : (
|
|
94395
94401
|
// We next check if the consituent is a supertype of the implied type. If so, we substitute the implied
|
|
94396
94402
|
// type. This handles top types like `unknown` and `{}`, and supertypes like `{ toString(): string }`.
|
|
94397
94403
|
uC(Vr, On) ? Vr : (
|
|
@@ -94902,7 +94908,7 @@ ${It.join(`
|
|
|
94902
94908
|
const v = ip(m);
|
|
94903
94909
|
if (!v || v === ut)
|
|
94904
94910
|
return;
|
|
94905
|
-
if (
|
|
94911
|
+
if (Gg(z) || aS(z) && SBe(r)) {
|
|
94906
94912
|
kq(v, r);
|
|
94907
94913
|
return;
|
|
94908
94914
|
}
|
|
@@ -95041,7 +95047,7 @@ ${It.join(`
|
|
|
95041
95047
|
r,
|
|
95042
95048
|
/*excludeTypeOnlyMeanings*/
|
|
95043
95049
|
!0
|
|
95044
|
-
) & 1160127 && (
|
|
95050
|
+
) & 1160127 && (Gg(z) || aS(z) && SBe(s) || !jM(ud(u))) && gre(r);
|
|
95045
95051
|
}
|
|
95046
95052
|
}
|
|
95047
95053
|
function gre(r) {
|
|
@@ -95079,7 +95085,7 @@ ${It.join(`
|
|
|
95079
95085
|
if (v && v.flags & 2097152) {
|
|
95080
95086
|
if (Ue && X1(v) && !jM(Yu(v)) && !u0(v))
|
|
95081
95087
|
gre(v);
|
|
95082
|
-
else if (s &&
|
|
95088
|
+
else if (s && Gg(z) && gp(z) >= 5 && !X1(v) && !vt(v.declarations, Eb)) {
|
|
95083
95089
|
const x = nt(r, h.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled), A = St(v.declarations || L, wS);
|
|
95084
95090
|
A && co(x, $n(A, h._0_was_imported_here, xi(u)));
|
|
95085
95091
|
}
|
|
@@ -95945,7 +95951,7 @@ ${It.join(`
|
|
|
95945
95951
|
}
|
|
95946
95952
|
}
|
|
95947
95953
|
const s = js(r.left, nl);
|
|
95948
|
-
if (!
|
|
95954
|
+
if (!Ug(dp(
|
|
95949
95955
|
s.expression,
|
|
95950
95956
|
/*includeArrowFunctions*/
|
|
95951
95957
|
!1,
|
|
@@ -96040,7 +96046,7 @@ ${It.join(`
|
|
|
96040
96046
|
return (m = R1e(j1e(r), u || _d(Ma(s)))) == null ? void 0 : m.type;
|
|
96041
96047
|
}
|
|
96042
96048
|
function UBe(r, s) {
|
|
96043
|
-
if (O.assert(
|
|
96049
|
+
if (O.assert(Ug(r)), !(r.flags & 67108864))
|
|
96044
96050
|
return x2e(r, s);
|
|
96045
96051
|
}
|
|
96046
96052
|
function x2e(r, s) {
|
|
@@ -96217,7 +96223,7 @@ ${It.join(`
|
|
|
96217
96223
|
);
|
|
96218
96224
|
}
|
|
96219
96225
|
function Dx(r, s) {
|
|
96220
|
-
const u =
|
|
96226
|
+
const u = Ug(r) ? UBe(r, s) : zp(r, s), m = bre(u, r, s);
|
|
96221
96227
|
if (m && !(s && s & 2 && m.flags & 8650752)) {
|
|
96222
96228
|
const v = Nl(
|
|
96223
96229
|
m,
|
|
@@ -96538,10 +96544,10 @@ ${It.join(`
|
|
|
96538
96544
|
return s.parameters.length && ok(s.parameters[0]) && u--, !Kv(r) && Md(r) < u;
|
|
96539
96545
|
}
|
|
96540
96546
|
function E2e(r) {
|
|
96541
|
-
return oS(r) ||
|
|
96547
|
+
return oS(r) || Ug(r) ? yM(r) : void 0;
|
|
96542
96548
|
}
|
|
96543
96549
|
function yM(r) {
|
|
96544
|
-
O.assert(r.kind !== 174 ||
|
|
96550
|
+
O.assert(r.kind !== 174 || Ug(r));
|
|
96545
96551
|
const s = I8(r);
|
|
96546
96552
|
if (s)
|
|
96547
96553
|
return s;
|
|
@@ -96810,7 +96816,7 @@ ${It.join(`
|
|
|
96810
96816
|
for (const wr of r.properties) {
|
|
96811
96817
|
let Kn = ti(wr);
|
|
96812
96818
|
const Mi = wr.name && wr.name.kind === 167 ? Nh(wr.name) : void 0;
|
|
96813
|
-
if (wr.kind === 303 || wr.kind === 304 ||
|
|
96819
|
+
if (wr.kind === 303 || wr.kind === 304 || Ug(wr)) {
|
|
96814
96820
|
let sa = wr.kind === 303 ? vJe(wr, s) : (
|
|
96815
96821
|
// avoid resolving the left side of the ShorthandPropertyAssignment outside of the destructuring
|
|
96816
96822
|
// for error recovery purposes. For example, if a user wrote `{ a = 100 }` instead of `{ a: 100 }`.
|
|
@@ -97781,7 +97787,7 @@ ${It.join(`
|
|
|
97781
97787
|
}
|
|
97782
97788
|
function xxt(r) {
|
|
97783
97789
|
const s = Eg(r), m = OV().get(s);
|
|
97784
|
-
return m &&
|
|
97790
|
+
return m && Bg(m.keys());
|
|
97785
97791
|
}
|
|
97786
97792
|
function kxt(r, s) {
|
|
97787
97793
|
const u = xp(s).symbol;
|
|
@@ -98484,7 +98490,7 @@ ${It.join(`
|
|
|
98484
98490
|
if (u >= 0) {
|
|
98485
98491
|
const m = s.slice(0, u);
|
|
98486
98492
|
for (let v = u; v < s.length; v++) {
|
|
98487
|
-
const x = s[v], A = x.kind === 230 && (
|
|
98493
|
+
const x = s[v], A = x.kind === 230 && (nh ? is(x.expression) : eu(x.expression));
|
|
98488
98494
|
A && qo(A) ? fe(aC(A), (J, V) => {
|
|
98489
98495
|
var X;
|
|
98490
98496
|
const ue = A.target.elementFlags[V], Le = xM(x, ue & 4 ? F_(J) : J, !!(ue & 12), (X = A.target.labeledElementDeclarations) == null ? void 0 : X[V]);
|
|
@@ -98767,7 +98773,7 @@ ${It.join(`
|
|
|
98767
98773
|
return Jt;
|
|
98768
98774
|
function Kn(sa, li) {
|
|
98769
98775
|
var Bs, Ms;
|
|
98770
|
-
const dl = we, ms = yt, If = Rt, ql = ((Ms = (Bs = sa.declaration) == null ? void 0 : Bs.symbol) == null ? void 0 : Ms.declarations) || L, Yr = ql.length > 1 ? St(ql, (vn) => Mc(vn) &&
|
|
98776
|
+
const dl = we, ms = yt, If = Rt, ql = ((Ms = (Bs = sa.declaration) == null ? void 0 : Bs.symbol) == null ? void 0 : Ms.declarations) || L, Yr = ql.length > 1 ? St(ql, (vn) => Mc(vn) && qg(vn.body)) : void 0;
|
|
98771
98777
|
if (Yr) {
|
|
98772
98778
|
const vn = Km(Yr), ba = !vn.typeParameters;
|
|
98773
98779
|
Mi([vn], nm, ba) && co(li, $n(Yr, h.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible));
|
|
@@ -99457,7 +99463,7 @@ ${It.join(`
|
|
|
99457
99463
|
u || 0
|
|
99458
99464
|
/* Normal */
|
|
99459
99465
|
);
|
|
99460
|
-
return ra = x, A !== Ni && (m.resolvedSignature !== Ni && (A = m.resolvedSignature), m.resolvedSignature = M1 ===
|
|
99466
|
+
return ra = x, A !== Ni && (m.resolvedSignature !== Ni && (A = m.resolvedSignature), m.resolvedSignature = M1 === nh ? A : v), A;
|
|
99461
99467
|
}
|
|
99462
99468
|
function _v(r) {
|
|
99463
99469
|
var s;
|
|
@@ -100721,7 +100727,7 @@ ${It.join(`
|
|
|
100721
100727
|
}
|
|
100722
100728
|
}
|
|
100723
100729
|
function cJe(r, s) {
|
|
100724
|
-
if (O.assert(r.kind !== 174 ||
|
|
100730
|
+
if (O.assert(r.kind !== 174 || Ug(r)), sA(r), el(r) && Y8(r, r.name), s && s & 4 && eg(r)) {
|
|
100725
100731
|
if (!bm(r) && !Vj(r)) {
|
|
100726
100732
|
const m = yM(r);
|
|
100727
100733
|
if (m && YS(gc(m))) {
|
|
@@ -100788,7 +100794,7 @@ ${It.join(`
|
|
|
100788
100794
|
}
|
|
100789
100795
|
}
|
|
100790
100796
|
function qkt(r) {
|
|
100791
|
-
O.assert(r.kind !== 174 ||
|
|
100797
|
+
O.assert(r.kind !== 174 || Ug(r));
|
|
100792
100798
|
const s = Fu(r), u = YP(r);
|
|
100793
100799
|
if (sSe(r, u), r.body)
|
|
100794
100800
|
if (bm(r) || gc(Km(r)), r.body.kind === 241)
|
|
@@ -101965,7 +101971,7 @@ ${It.join(`
|
|
|
101965
101971
|
const u = ci(r);
|
|
101966
101972
|
if (!u.resolvedType) {
|
|
101967
101973
|
const m = M1, v = cd;
|
|
101968
|
-
M1 =
|
|
101974
|
+
M1 = nh, cd = void 0, u.resolvedType = is(r, s), cd = v, M1 = m;
|
|
101969
101975
|
}
|
|
101970
101976
|
return u.resolvedType;
|
|
101971
101977
|
}
|
|
@@ -102495,11 +102501,11 @@ ${It.join(`
|
|
|
102495
102501
|
}
|
|
102496
102502
|
function kCt(r) {
|
|
102497
102503
|
var s, u;
|
|
102498
|
-
if (d_(r.parent) || Xi(r.parent) ||
|
|
102504
|
+
if (d_(r.parent) || Xi(r.parent) || Xg(r.parent)) {
|
|
102499
102505
|
const m = Kk(ti(r)), v = Obe(m) & 24576;
|
|
102500
102506
|
if (v) {
|
|
102501
102507
|
const x = ti(r.parent);
|
|
102502
|
-
if (
|
|
102508
|
+
if (Xg(r.parent) && !(vi(ll(x)) & 48))
|
|
102503
102509
|
nt(r, h.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);
|
|
102504
102510
|
else if (v === 8192 || v === 16384) {
|
|
102505
102511
|
(s = qn) == null || s.push(qn.Phase.CheckTypes, "checkTypeParameterDeferred", { parent: Jf(ll(x)), id: Jf(m) });
|
|
@@ -102516,7 +102522,7 @@ ${It.join(`
|
|
|
102516
102522
|
r,
|
|
102517
102523
|
31
|
|
102518
102524
|
/* ParameterPropertyModifier */
|
|
102519
|
-
) && (s.kind === 176 &&
|
|
102525
|
+
) && (s.kind === 176 && qg(s.body) || nt(r, h.A_parameter_property_is_only_allowed_in_a_constructor_implementation), s.kind === 176 && et(r.name) && r.name.escapedText === "constructor" && nt(r.name, h.constructor_cannot_be_used_as_a_parameter_property_name)), !r.initializer && PD(r) && Vs(r.name) && s.body && nt(r, h.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature), r.name && et(r.name) && (r.name.escapedText === "this" || r.name.escapedText === "new") && (s.parameters.indexOf(r) !== 0 && nt(r, h.A_0_parameter_must_be_the_first_parameter, r.name.escapedText), (s.kind === 176 || s.kind === 180 || s.kind === 185) && nt(r, h.A_constructor_cannot_have_a_this_parameter), s.kind === 219 && nt(r, h.An_arrow_function_cannot_have_a_this_parameter), (s.kind === 177 || s.kind === 178) && nt(r, h.get_and_set_accessors_cannot_declare_this_parameters)), r.dotDotDotToken && !Vs(r.name) && !no(Ah(jn(r.symbol)), Tg) && nt(r, h.A_rest_parameter_must_be_of_an_array_type);
|
|
102520
102526
|
}
|
|
102521
102527
|
function CCt(r) {
|
|
102522
102528
|
const s = ECt(r);
|
|
@@ -102824,7 +102830,7 @@ ${It.join(`
|
|
|
102824
102830
|
function AJe(r) {
|
|
102825
102831
|
et(r.name) && xi(r.name) === "constructor" && Xi(r.parent) && nt(r.name, h.Class_constructor_may_not_be_an_accessor), n(s), Fo(r.body), Ure(r);
|
|
102826
102832
|
function s() {
|
|
102827
|
-
if (!une(r) && !l6t(r) && fne(r.name), Gq(r), DM(r), r.kind === 177 && !(r.flags & 33554432) &&
|
|
102833
|
+
if (!une(r) && !l6t(r) && fne(r.name), Gq(r), DM(r), r.kind === 177 && !(r.flags & 33554432) && qg(r.body) && r.flags & 512 && (r.flags & 1024 || nt(r.name, h.A_get_accessor_must_return_a_value)), r.name.kind === 167 && Nh(r.name), HP(r)) {
|
|
102828
102834
|
const m = ti(r), v = bl(
|
|
102829
102835
|
m,
|
|
102830
102836
|
177
|
|
@@ -103107,7 +103113,7 @@ ${It.join(`
|
|
|
103107
103113
|
}
|
|
103108
103114
|
return;
|
|
103109
103115
|
}
|
|
103110
|
-
if (
|
|
103116
|
+
if (qg(Kn.body)) {
|
|
103111
103117
|
nt(sa, h.Function_implementation_name_must_be_0, Vc(jr.name));
|
|
103112
103118
|
return;
|
|
103113
103119
|
}
|
|
@@ -103128,7 +103134,7 @@ ${It.join(`
|
|
|
103128
103134
|
Dn.push(wr);
|
|
103129
103135
|
const sa = AM(wr, v);
|
|
103130
103136
|
x |= sa, A &= sa, J = J || dD(wr), V = V && dD(wr);
|
|
103131
|
-
const li =
|
|
103137
|
+
const li = qg(wr.body);
|
|
103132
103138
|
li && ue ? Rt ? Fr = !0 : Rr = !0 : (we == null ? void 0 : we.parent) === wr.parent && we.end !== wr.pos && Jt(we), li ? ue || (ue = wr) : X = !0, we = wr, Mi || (Le = wr);
|
|
103133
103139
|
}
|
|
103134
103140
|
Wn(jr) && Os(jr) && jr.jsDoc && (X = ee(iH(jr)) > 0);
|
|
@@ -103777,7 +103783,7 @@ ${It.join(`
|
|
|
103777
103783
|
x && x.typeExpression && !C2e(Oa(x.typeExpression), r) && nt(x.typeExpression.type, h.The_type_of_a_function_declaration_must_match_the_function_s_signature);
|
|
103778
103784
|
}
|
|
103779
103785
|
function v() {
|
|
103780
|
-
bm(r) || (Ul(m) && !Hq(r) && Ex(r, st), u & 1 &&
|
|
103786
|
+
bm(r) || (Ul(m) && !Hq(r) && Ex(r, st), u & 1 && qg(m) && gc(Km(r)));
|
|
103781
103787
|
}
|
|
103782
103788
|
}
|
|
103783
103789
|
function XS(r) {
|
|
@@ -103881,7 +103887,7 @@ ${It.join(`
|
|
|
103881
103887
|
const A = xi(x.name), { parent: J } = x;
|
|
103882
103888
|
if (J.kind !== 195 && J.typeParameters.every(SSe)) {
|
|
103883
103889
|
if (Ri(v, J)) {
|
|
103884
|
-
const V = nn(J), X =
|
|
103890
|
+
const V = nn(J), X = Qg(J) ? lG(J) : uG(V, J.typeParameters), Le = J.typeParameters.length === 1 ? [h._0_is_declared_but_its_value_is_never_read, A] : [h.All_type_parameters_are_unused];
|
|
103885
103891
|
s(x, 1, df(V, X.pos, X.end - X.pos, ...Le));
|
|
103886
103892
|
}
|
|
103887
103893
|
} else
|
|
@@ -103993,7 +103999,7 @@ ${It.join(`
|
|
|
103993
103999
|
}
|
|
103994
104000
|
function CEt(r) {
|
|
103995
104001
|
H >= 2 || !kV(r) || r.flags & 33554432 || Ul(r.body) || fe(r.parameters, (s) => {
|
|
103996
|
-
s.name && !Vs(s.name) && s.name.escapedText === ge.escapedName &&
|
|
104002
|
+
s.name && !Vs(s.name) && s.name.escapedText === ge.escapedName && ah("noEmit", s, h.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters);
|
|
103997
104003
|
});
|
|
103998
104004
|
}
|
|
103999
104005
|
function MM(r, s, u) {
|
|
@@ -104012,20 +104018,20 @@ ${It.join(`
|
|
|
104012
104018
|
if (e.getEmitModuleFormatOfFile(nn(r)) >= 5 || !s || !MM(r, s, "require") && !MM(r, s, "exports") || Mu(r) && C1(r) !== 1)
|
|
104013
104019
|
return;
|
|
104014
104020
|
const u = Zk(r);
|
|
104015
|
-
u.kind === 307 && Hd(u) &&
|
|
104021
|
+
u.kind === 307 && Hd(u) && ah("noEmit", s, h.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module, Vc(s), Vc(s));
|
|
104016
104022
|
}
|
|
104017
104023
|
function AEt(r, s) {
|
|
104018
104024
|
if (!s || H >= 4 || !MM(r, s, "Promise") || Mu(r) && C1(r) !== 1)
|
|
104019
104025
|
return;
|
|
104020
104026
|
const u = Zk(r);
|
|
104021
|
-
u.kind === 307 && Hd(u) && u.flags & 4096 &&
|
|
104027
|
+
u.kind === 307 && Hd(u) && u.flags & 4096 && ah("noEmit", s, h.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions, Vc(s), Vc(s));
|
|
104022
104028
|
}
|
|
104023
104029
|
function PEt(r, s) {
|
|
104024
104030
|
H <= 8 && (MM(r, s, "WeakMap") || MM(r, s, "WeakSet")) && j1.push(r);
|
|
104025
104031
|
}
|
|
104026
104032
|
function NEt(r) {
|
|
104027
104033
|
const s = Hh(r);
|
|
104028
|
-
cA(s) & 1048576 && (O.assert(l_(r) && et(r.name) && typeof r.name.escapedText == "string", "The target of a WeakMap/WeakSet collision check should be an identifier"),
|
|
104034
|
+
cA(s) & 1048576 && (O.assert(l_(r) && et(r.name) && typeof r.name.escapedText == "string", "The target of a WeakMap/WeakSet collision check should be an identifier"), ah("noEmit", r, h.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel, r.name.escapedText));
|
|
104029
104035
|
}
|
|
104030
104036
|
function IEt(r, s) {
|
|
104031
104037
|
s && H >= 2 && H <= 8 && MM(r, s, "Reflect") && B1.push(r);
|
|
@@ -104044,7 +104050,7 @@ ${It.join(`
|
|
|
104044
104050
|
const u = Hh(r);
|
|
104045
104051
|
u && cA(u) & 2097152 && (s = !0);
|
|
104046
104052
|
}
|
|
104047
|
-
s && (O.assert(l_(r) && et(r.name), "The target of a Reflect collision check should be an identifier"),
|
|
104053
|
+
s && (O.assert(l_(r) && et(r.name), "The target of a Reflect collision check should be an identifier"), ah("noEmit", r, h.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers, Vc(r.name), "Reflect"));
|
|
104048
104054
|
}
|
|
104049
104055
|
function Y8(r, s) {
|
|
104050
104056
|
s && (DEt(r, s), AEt(r, s), PEt(r, s), IEt(r, s), Xi(r) ? (X8(s, h.Class_name_cannot_be_0), r.flags & 33554432 || lwt(s)) : bk(r) && X8(s, h.Enum_name_cannot_be_0));
|
|
@@ -104521,7 +104527,7 @@ ${It.join(`
|
|
|
104521
104527
|
}
|
|
104522
104528
|
function Ax(r = Dr, s = Dr, u = Ie) {
|
|
104523
104529
|
if (r.flags & 67359327 && s.flags & 180227 && u.flags & 180227) {
|
|
104524
|
-
const m =
|
|
104530
|
+
const m = sh([r, s, u]);
|
|
104525
104531
|
let v = us.get(m);
|
|
104526
104532
|
return v || (v = { yieldType: r, returnType: s, nextType: u }, us.set(m, v)), v;
|
|
104527
104533
|
}
|
|
@@ -105687,7 +105693,7 @@ ${It.join(`
|
|
|
105687
105693
|
/*value*/
|
|
105688
105694
|
void 0
|
|
105689
105695
|
);
|
|
105690
|
-
if (
|
|
105696
|
+
if (Gg(z) && (u != null && u.initializer)) {
|
|
105691
105697
|
const m = Nw(u);
|
|
105692
105698
|
typeof m.value == "number" && !m.resolvedOtherFiles || nt(
|
|
105693
105699
|
r.name,
|
|
@@ -105701,7 +105707,7 @@ ${It.join(`
|
|
|
105701
105707
|
return m.value !== void 0 ? s && typeof m.value == "number" && !isFinite(m.value) ? nt(
|
|
105702
105708
|
u,
|
|
105703
105709
|
isNaN(m.value) ? h.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN : h.const_enum_member_initializer_was_evaluated_to_a_non_finite_value
|
|
105704
|
-
) :
|
|
105710
|
+
) : Gg(z) && typeof m.value == "string" && !m.isSyntacticallyString && nt(
|
|
105705
105711
|
u,
|
|
105706
105712
|
h._0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled,
|
|
105707
105713
|
`${xi(r.parent.name)}.${uD(r.name)}`
|
|
@@ -105833,7 +105839,7 @@ ${It.join(`
|
|
|
105833
105839
|
const s = r.declarations;
|
|
105834
105840
|
if (s) {
|
|
105835
105841
|
for (const u of s)
|
|
105836
|
-
if ((u.kind === 263 || u.kind === 262 &&
|
|
105842
|
+
if ((u.kind === 263 || u.kind === 262 && qg(u.body)) && !(u.flags & 33554432))
|
|
105837
105843
|
return u;
|
|
105838
105844
|
}
|
|
105839
105845
|
}
|
|
@@ -105859,7 +105865,7 @@ ${It.join(`
|
|
|
105859
105865
|
PM(r);
|
|
105860
105866
|
const V = ti(r);
|
|
105861
105867
|
if (V.flags & 512 && !x && QY(r, aS(z))) {
|
|
105862
|
-
if (
|
|
105868
|
+
if (Gg(z) && !nn(r).externalModuleIndicator && nt(r.name, h.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement, qe), ((u = V.declarations) == null ? void 0 : u.length) > 1) {
|
|
105863
105869
|
const X = Owt(V);
|
|
105864
105870
|
X && (nn(r) !== nn(X) ? nt(r.name, h.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged) : r.pos < X.pos && nt(r.name, h.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged));
|
|
105865
105871
|
const ue = bl(
|
|
@@ -106013,7 +106019,7 @@ ${It.join(`
|
|
|
106013
106019
|
Xa(x),
|
|
106014
106020
|
qe
|
|
106015
106021
|
);
|
|
106016
|
-
if (
|
|
106022
|
+
if (Gg(z) && !Eb(r) && !(r.flags & 33554432)) {
|
|
106017
106023
|
const X = u0(x), ue = !(J & 111551);
|
|
106018
106024
|
if (ue || X)
|
|
106019
106025
|
switch (r.kind) {
|
|
@@ -106261,7 +106267,7 @@ ${It.join(`
|
|
|
106261
106267
|
x,
|
|
106262
106268
|
r.isExportEquals ? h.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type : h.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,
|
|
106263
106269
|
xi(x)
|
|
106264
|
-
), !v && !(r.flags & 33554432) &&
|
|
106270
|
+
), !v && !(r.flags & 33554432) && Gg(z) && !(A.flags & 111551)) {
|
|
106265
106271
|
const V = Ad(
|
|
106266
106272
|
A,
|
|
106267
106273
|
/*excludeTypeOnlyMeanings*/
|
|
@@ -106813,7 +106819,7 @@ ${It.join(`
|
|
|
106813
106819
|
return u;
|
|
106814
106820
|
}
|
|
106815
106821
|
function iDt(r) {
|
|
106816
|
-
return !!$r(r, (s) => Fl(s) &&
|
|
106822
|
+
return !!$r(r, (s) => Fl(s) && qg(s.body) || vs(s) ? !0 : Xi(s) || Mc(s) ? "quit" : !1);
|
|
106817
106823
|
}
|
|
106818
106824
|
function LSe(r, s) {
|
|
106819
106825
|
return !!kze(r, (u) => u === s);
|
|
@@ -107507,7 +107513,7 @@ ${It.join(`
|
|
|
107507
107513
|
return s ? !!As(r, (u) => Oze(u, s)) : !1;
|
|
107508
107514
|
}
|
|
107509
107515
|
function Fze(r) {
|
|
107510
|
-
if (
|
|
107516
|
+
if (qg(r.body)) {
|
|
107511
107517
|
if (wb(r) || _y(r)) return !1;
|
|
107512
107518
|
const s = ti(r), u = nC(s);
|
|
107513
107519
|
return u.length > 1 || // If there is single signature for the symbol, it is overload if that signature isn't coming from the node
|
|
@@ -108284,7 +108290,7 @@ ${It.join(`
|
|
|
108284
108290
|
if (jm(yt.firstAccessor) && r === yt.secondAccessor)
|
|
108285
108291
|
return t_(r, h.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name);
|
|
108286
108292
|
}
|
|
108287
|
-
} else return r.kind === 174 && !
|
|
108293
|
+
} else return r.kind === 174 && !qg(r.body) ? t_(r, h.A_decorator_can_only_decorate_a_method_implementation_not_an_overload) : t_(r, h.Decorators_are_not_valid_here);
|
|
108288
108294
|
if (X & -34849)
|
|
108289
108295
|
return Hr(we, h.Decorators_are_not_valid_here);
|
|
108290
108296
|
if (Le && X & 98303) {
|
|
@@ -108312,7 +108318,7 @@ ${It.join(`
|
|
|
108312
108318
|
87
|
|
108313
108319
|
/* ConstKeyword */
|
|
108314
108320
|
));
|
|
108315
|
-
const Jt =
|
|
108321
|
+
const Jt = Qg(r.parent) && bT(r.parent) || r.parent;
|
|
108316
108322
|
if (r.kind === 168 && !(Mc(Jt) || Xi(Jt) || Pv(Jt) || w4(Jt) || BD(Jt) || OF(Jt) || z0(Jt)))
|
|
108317
108323
|
return Hr(we, h._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class, yo(we.kind));
|
|
108318
108324
|
break;
|
|
@@ -108494,8 +108500,8 @@ ${It.join(`
|
|
|
108494
108500
|
break;
|
|
108495
108501
|
case 103:
|
|
108496
108502
|
case 147: {
|
|
108497
|
-
const Jt = we.kind === 103 ? 8192 : 16384, Rr = we.kind === 103 ? "in" : "out", Fr =
|
|
108498
|
-
if (r.kind !== 168 || Fr && !(d_(Fr) || Xi(Fr) ||
|
|
108503
|
+
const Jt = we.kind === 103 ? 8192 : 16384, Rr = we.kind === 103 ? "in" : "out", Fr = Qg(r.parent) && (bT(r.parent) || St((s = u4(r.parent)) == null ? void 0 : s.tags, bE)) || r.parent;
|
|
108504
|
+
if (r.kind !== 168 || Fr && !(d_(Fr) || Xi(Fr) || Xg(Fr) || bE(Fr)))
|
|
108499
108505
|
return Hr(we, h._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias, Rr);
|
|
108500
108506
|
if (X & Jt)
|
|
108501
108507
|
return Hr(we, h._0_modifier_already_seen, Rr);
|
|
@@ -108789,7 +108795,7 @@ ${It.join(`
|
|
|
108789
108795
|
continue;
|
|
108790
108796
|
}
|
|
108791
108797
|
const v = m.name;
|
|
108792
|
-
if (v.kind === 167 && fne(v), m.kind === 304 && !s && m.objectAssignmentInitializer && Hr(m.equalsToken, h.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern), v.kind === 81 && Hr(v, h.Private_identifiers_are_not_allowed_outside_class_bodies),
|
|
108798
|
+
if (v.kind === 167 && fne(v), m.kind === 304 && !s && m.objectAssignmentInitializer && Hr(m.equalsToken, h.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern), v.kind === 81 && Hr(v, h.Private_identifiers_are_not_allowed_outside_class_bodies), Zg(m) && m.modifiers)
|
|
108793
108799
|
for (const A of m.modifiers)
|
|
108794
108800
|
Ao(A) && (A.kind !== 134 || m.kind !== 174) && Hr(A, h._0_modifier_cannot_be_used_here, Il(A));
|
|
108795
108801
|
else if (rfe(m) && m.modifiers)
|
|
@@ -109247,7 +109253,7 @@ ${It.join(`
|
|
|
109247
109253
|
}
|
|
109248
109254
|
function y6t(r, s, u, ...m) {
|
|
109249
109255
|
const v = nn(s);
|
|
109250
|
-
return QS(v) ? !1 : (
|
|
109256
|
+
return QS(v) ? !1 : (ah(r, s, u, ...m), !0);
|
|
109251
109257
|
}
|
|
109252
109258
|
function Hr(r, s, ...u) {
|
|
109253
109259
|
const m = nn(r);
|
|
@@ -113697,7 +113703,7 @@ ${It.join(`
|
|
|
113697
113703
|
return Pe;
|
|
113698
113704
|
}
|
|
113699
113705
|
function Zf(Pe) {
|
|
113700
|
-
if (!
|
|
113706
|
+
if (!Gg(p))
|
|
113701
113707
|
return gi(Pe) || Kc(Pe) ? d.getConstantValue(Pe) : void 0;
|
|
113702
113708
|
}
|
|
113703
113709
|
function sl(Pe) {
|
|
@@ -115488,7 +115494,7 @@ ${It.join(`
|
|
|
115488
115494
|
}
|
|
115489
115495
|
}
|
|
115490
115496
|
function E(_e, Q) {
|
|
115491
|
-
const he = Xi(_e) ? yy(_e) : Os(_e) &&
|
|
115497
|
+
const he = Xi(_e) ? yy(_e) : Os(_e) && qg(_e.body) ? _e : void 0, me = [];
|
|
115492
115498
|
if (he) {
|
|
115493
115499
|
const ve = w(he, Q), Te = ve.length;
|
|
115494
115500
|
for (let Re = 0; Re < Te; Re++) {
|
|
@@ -121373,7 +121379,7 @@ ${It.join(`
|
|
|
121373
121379
|
return (w & 8192) !== 0 && le.kind === 253 && !le.expression;
|
|
121374
121380
|
}
|
|
121375
121381
|
function re(le) {
|
|
121376
|
-
return le.transformFlags & 4194304 && (
|
|
121382
|
+
return le.transformFlags & 4194304 && (Yg(le) || PT(le) || Oue(le) || lI(le) || uI(le) || O4(le) || fI(le) || gE(le) || xk(le) || _S(le) || Y2(
|
|
121377
121383
|
le,
|
|
121378
121384
|
/*lookInLabeledStatements*/
|
|
121379
121385
|
!1
|
|
@@ -122017,7 +122023,7 @@ ${It.join(`
|
|
|
122017
122023
|
const _r = !(xt.transformFlags & 16384) && !(w & 65536) && !(w & 131072);
|
|
122018
122024
|
for (let pr = le.statements.length - 1; pr > 0; pr--) {
|
|
122019
122025
|
const an = le.statements[pr];
|
|
122020
|
-
if (
|
|
122026
|
+
if (Yg(an) && an.expression && lr(an.expression)) {
|
|
122021
122027
|
const Pn = le.statements[pr - 1];
|
|
122022
122028
|
let hi;
|
|
122023
122029
|
if (Rf(Pn) && Ta(vu(Pn.expression)))
|
|
@@ -124040,12 +124046,12 @@ ${It.join(`
|
|
|
124040
124046
|
)
|
|
124041
124047
|
);
|
|
124042
124048
|
}
|
|
124043
|
-
for (; !
|
|
124049
|
+
for (; !Yg(Vp(Fs, ws)); )
|
|
124044
124050
|
ws--;
|
|
124045
124051
|
si(mc, Fs, xs, ws), ws < -1 && si(mc, Fs, ws + 1);
|
|
124046
|
-
const ac = pi(Vp(Fs, ws),
|
|
124052
|
+
const ac = pi(Vp(Fs, ws), Yg);
|
|
124047
124053
|
for (const Sl of hi)
|
|
124048
|
-
|
|
124054
|
+
Yg(Sl) && (ac != null && ac.expression) && !et(ac.expression) ? mc.push(ac) : mc.push(Sl);
|
|
124049
124055
|
return si(
|
|
124050
124056
|
mc,
|
|
124051
124057
|
Pn,
|
|
@@ -128718,7 +128724,7 @@ ${It.join(`
|
|
|
128718
128724
|
function I(Q) {
|
|
128719
128725
|
if (Q.isDeclarationFile)
|
|
128720
128726
|
return Q;
|
|
128721
|
-
if (Zu(Q) ||
|
|
128727
|
+
if (Zu(Q) || Gg(o)) {
|
|
128722
128728
|
E = Q, w = void 0, o.rewriteRelativeImportExtensions && (E.flags & 4194304 || Wn(Q)) && tB(
|
|
128723
128729
|
Q,
|
|
128724
128730
|
/*includeTypeSpaceImports*/
|
|
@@ -128977,7 +128983,7 @@ ${It.join(`
|
|
|
128977
128983
|
return di(Re, Q), [Te, Re];
|
|
128978
128984
|
}
|
|
128979
128985
|
function te(Q, he, me) {
|
|
128980
|
-
Pa(he) ? ((Zu(he) ||
|
|
128986
|
+
Pa(he) ? ((Zu(he) || Gg(o)) && o.importHelpers && (S = /* @__PURE__ */ new Map()), E = he, d(Q, he, me), E = void 0, S = void 0) : d(Q, he, me);
|
|
128981
128987
|
}
|
|
128982
128988
|
function Ce(Q, he) {
|
|
128983
128989
|
return he = p(Q, he), he.id && y.has(he.id) ? he : et(he) && Ho(he) & 8192 ? _e(he) : he;
|
|
@@ -129035,7 +129041,7 @@ ${It.join(`
|
|
|
129035
129041
|
}
|
|
129036
129042
|
}
|
|
129037
129043
|
function f5(e) {
|
|
129038
|
-
return Zi(e) || vs(e) || rd(e) || Jo(e) || _y(e) || wb(e) || OF(e) || BD(e) || iu(e) || z0(e) || hu(e) || Ba(e) || gl(e) || T1(e) || vf(e) ||
|
|
129044
|
+
return Zi(e) || vs(e) || rd(e) || Jo(e) || _y(e) || wb(e) || OF(e) || BD(e) || iu(e) || z0(e) || hu(e) || Ba(e) || gl(e) || T1(e) || vf(e) || Xg(e) || Fl(e) || uS(e) || gi(e) || Kc(e) || Qn(e) || Wg(e);
|
|
129039
129045
|
}
|
|
129040
129046
|
function spe(e) {
|
|
129041
129047
|
if (_y(e) || wb(e))
|
|
@@ -129071,7 +129077,7 @@ ${It.join(`
|
|
|
129071
129077
|
e.parent,
|
|
129072
129078
|
2
|
|
129073
129079
|
/* Private */
|
|
129074
|
-
) ? n : o : gl(e) ? d : T1(e) ? p : vf(e) ? y :
|
|
129080
|
+
) ? n : o : gl(e) ? d : T1(e) ? p : vf(e) ? y : Xg(e) || Wg(e) ? b : O.assertNever(e, `Attempted to set a declaration diagnostic context for unhandled node kind: ${O.formatSyntaxKind(e.kind)}`);
|
|
129075
129081
|
function t(S) {
|
|
129076
129082
|
if (e.kind === 260 || e.kind === 208)
|
|
129077
129083
|
return S.errorModuleName ? S.accessibility === 2 ? h.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : h.Exported_variable_0_has_or_is_using_name_1_from_private_module_2 : h.Exported_variable_0_has_or_is_using_private_name_1;
|
|
@@ -129217,8 +129223,8 @@ ${It.join(`
|
|
|
129217
129223
|
function b(S) {
|
|
129218
129224
|
return {
|
|
129219
129225
|
diagnosticMessage: S.errorModuleName ? h.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2 : h.Exported_type_alias_0_has_or_is_using_private_name_1,
|
|
129220
|
-
errorNode:
|
|
129221
|
-
typeName:
|
|
129226
|
+
errorNode: Wg(e) ? O.checkDefined(e.typeExpression) : e.type,
|
|
129227
|
+
typeName: Wg(e) ? hs(e) : e.name
|
|
129222
129228
|
};
|
|
129223
129229
|
}
|
|
129224
129230
|
}
|
|
@@ -129296,7 +129302,7 @@ ${It.join(`
|
|
|
129296
129302
|
function a(M) {
|
|
129297
129303
|
const $ = $r(M, (q) => hl(q) || Ca(q) || Zi(q) || vs(q) || Ba(q));
|
|
129298
129304
|
if ($)
|
|
129299
|
-
return hl($) ? $ :
|
|
129305
|
+
return hl($) ? $ : Yg($) ? $r($, (q) => Mc(q) && !Fl(q)) : Ca($) ? void 0 : $;
|
|
129300
129306
|
}
|
|
129301
129307
|
function o(M) {
|
|
129302
129308
|
const { getAccessor: $, setAccessor: q } = lk(M.symbol.declarations, M), z = (_y(M) ? M.parameters[0] : M) ?? M, H = $n(z, n[M.kind]);
|
|
@@ -129782,7 +129788,7 @@ ${It.join(`
|
|
|
129782
129788
|
) ? void 0 : mn(ut, Hi, gl);
|
|
129783
129789
|
}
|
|
129784
129790
|
function tr(de) {
|
|
129785
|
-
return Pa(de) ||
|
|
129791
|
+
return Pa(de) || Xg(de) || Mu(de) || Wu(de) || d_(de) || Os(de) || uS(de) || mE(de);
|
|
129786
129792
|
}
|
|
129787
129793
|
function Er(de, ut) {
|
|
129788
129794
|
const pe = re.isEntityNameVisible(de, ut);
|
|
@@ -130217,7 +130223,7 @@ ${It.join(`
|
|
|
130217
130223
|
de,
|
|
130218
130224
|
2048
|
|
130219
130225
|
/* Default */
|
|
130220
|
-
) || !
|
|
130226
|
+
) || !Zg(de))
|
|
130221
130227
|
return de;
|
|
130222
130228
|
const ut = E.createModifiersFromModifierFlags(mp(de) & 131039);
|
|
130223
130229
|
return E.replaceModifiers(de, ut);
|
|
@@ -130237,7 +130243,7 @@ ${It.join(`
|
|
|
130237
130243
|
}
|
|
130238
130244
|
function Ir(de) {
|
|
130239
130245
|
if (y)
|
|
130240
|
-
for (;
|
|
130246
|
+
for (; $g(y, de); ) ;
|
|
130241
130247
|
if (qs(de)) return;
|
|
130242
130248
|
switch (de.kind) {
|
|
130243
130249
|
case 271:
|
|
@@ -131833,7 +131839,7 @@ ${It.join(`
|
|
|
131833
131839
|
case 258:
|
|
131834
131840
|
return wd(xe);
|
|
131835
131841
|
case 259:
|
|
131836
|
-
return
|
|
131842
|
+
return rh(xe);
|
|
131837
131843
|
// Declarations
|
|
131838
131844
|
case 260:
|
|
131839
131845
|
return K0(xe);
|
|
@@ -131989,7 +131995,7 @@ ${It.join(`
|
|
|
131989
131995
|
case 344:
|
|
131990
131996
|
case 349:
|
|
131991
131997
|
case 350:
|
|
131992
|
-
return
|
|
131998
|
+
return ih(xe);
|
|
131993
131999
|
case 345:
|
|
131994
132000
|
return Bf(xe);
|
|
131995
132001
|
case 346:
|
|
@@ -132623,7 +132629,7 @@ ${It.join(`
|
|
|
132623
132629
|
We(26, P.pos, ri, P), ht(P.expression, Cn.parenthesizeExpressionForDisallowedComma);
|
|
132624
132630
|
}
|
|
132625
132631
|
function Tg(P) {
|
|
132626
|
-
zv(P.name),
|
|
132632
|
+
zv(P.name), nh(P);
|
|
132627
132633
|
}
|
|
132628
132634
|
function Rp(P) {
|
|
132629
132635
|
ht(P.expression, Cn.parenthesizeLeftSideOfAccess), By(P, P.typeArguments);
|
|
@@ -132877,7 +132883,7 @@ ${It.join(`
|
|
|
132877
132883
|
function wd(P) {
|
|
132878
132884
|
We(113, P.pos, bs, P), Yn(), Kr(P.tryBlock), P.catchClause && (Xm(P, P.tryBlock, P.catchClause), Kr(P.catchClause)), P.finallyBlock && (Xm(P, P.catchClause || P.tryBlock, P.finallyBlock), We(98, (P.catchClause || P.tryBlock).end, bs, P), Yn(), Kr(P.finallyBlock));
|
|
132879
132885
|
}
|
|
132880
|
-
function
|
|
132886
|
+
function rh(P) {
|
|
132881
132887
|
Dd(89, P.pos, bs), Sp();
|
|
132882
132888
|
}
|
|
132883
132889
|
function K0(P) {
|
|
@@ -132975,9 +132981,9 @@ ${It.join(`
|
|
|
132975
132981
|
);
|
|
132976
132982
|
}
|
|
132977
132983
|
function M1(P) {
|
|
132978
|
-
|
|
132984
|
+
nh(P);
|
|
132979
132985
|
}
|
|
132980
|
-
function
|
|
132986
|
+
function nh(P) {
|
|
132981
132987
|
am(
|
|
132982
132988
|
P,
|
|
132983
132989
|
P.modifiers,
|
|
@@ -133316,20 +133322,20 @@ ${It.join(`
|
|
|
133316
133322
|
/* JSDocComment */
|
|
133317
133323
|
)), Yn(), ze("*/");
|
|
133318
133324
|
}
|
|
133319
|
-
function
|
|
133320
|
-
Ry(P.tagName), n2(P.typeExpression),
|
|
133325
|
+
function ih(P) {
|
|
133326
|
+
Ry(P.tagName), n2(P.typeExpression), ah(P.comment);
|
|
133321
133327
|
}
|
|
133322
133328
|
function nm(P) {
|
|
133323
|
-
Ry(P.tagName), Kr(P.name),
|
|
133329
|
+
Ry(P.tagName), Kr(P.name), ah(P.comment);
|
|
133324
133330
|
}
|
|
133325
133331
|
function Bp(P) {
|
|
133326
|
-
Ry(P.tagName), Yn(), P.importClause && (Kr(P.importClause), Yn(), We(161, P.importClause.end, bs, P), Yn()), ht(P.moduleSpecifier), P.attributes && V1(P.attributes),
|
|
133332
|
+
Ry(P.tagName), Yn(), P.importClause && (Kr(P.importClause), Yn(), We(161, P.importClause.end, bs, P), Yn()), ht(P.moduleSpecifier), P.attributes && V1(P.attributes), ah(P.comment);
|
|
133327
133333
|
}
|
|
133328
133334
|
function im(P) {
|
|
133329
133335
|
Yn(), ri("{"), Kr(P.name), ri("}");
|
|
133330
133336
|
}
|
|
133331
133337
|
function ix(P) {
|
|
133332
|
-
Ry(P.tagName), Yn(), ri("{"), Kr(P.class), ri("}"),
|
|
133338
|
+
Ry(P.tagName), Yn(), ri("{"), Kr(P.class), ri("}"), ah(P.comment);
|
|
133333
133339
|
}
|
|
133334
133340
|
function Bf(P) {
|
|
133335
133341
|
Ry(P.tagName), n2(P.constraint), Yn(), Hc(
|
|
@@ -133337,19 +133343,19 @@ ${It.join(`
|
|
|
133337
133343
|
P.typeParameters,
|
|
133338
133344
|
528
|
|
133339
133345
|
/* CommaListElements */
|
|
133340
|
-
),
|
|
133346
|
+
), ah(P.comment);
|
|
133341
133347
|
}
|
|
133342
133348
|
function z1(P) {
|
|
133343
|
-
Ry(P.tagName), P.typeExpression && (P.typeExpression.kind === 309 ? n2(P.typeExpression) : (Yn(), ri("{"), ze("Object"), P.typeExpression.isArrayType && (ri("["), ri("]")), ri("}"))), P.fullName && (Yn(), Kr(P.fullName)),
|
|
133349
|
+
Ry(P.tagName), P.typeExpression && (P.typeExpression.kind === 309 ? n2(P.typeExpression) : (Yn(), ri("{"), ze("Object"), P.typeExpression.isArrayType && (ri("["), ri("]")), ri("}"))), P.fullName && (Yn(), Kr(P.fullName)), ah(P.comment), P.typeExpression && P.typeExpression.kind === 322 && np(P.typeExpression);
|
|
133344
133350
|
}
|
|
133345
133351
|
function r2(P) {
|
|
133346
|
-
Ry(P.tagName), P.name && (Yn(), Kr(P.name)),
|
|
133352
|
+
Ry(P.tagName), P.name && (Yn(), Kr(P.name)), ah(P.comment), c0(P.typeExpression);
|
|
133347
133353
|
}
|
|
133348
133354
|
function o0(P) {
|
|
133349
|
-
|
|
133355
|
+
ah(P.comment), c0(P.typeExpression);
|
|
133350
133356
|
}
|
|
133351
133357
|
function ax(P) {
|
|
133352
|
-
Ry(P.tagName),
|
|
133358
|
+
Ry(P.tagName), ah(P.comment);
|
|
133353
133359
|
}
|
|
133354
133360
|
function np(P) {
|
|
133355
133361
|
Hc(
|
|
@@ -133373,12 +133379,12 @@ ${It.join(`
|
|
|
133373
133379
|
), P.type && (Tp(), Yn(), ri("*"), Yn(), Kr(P.type));
|
|
133374
133380
|
}
|
|
133375
133381
|
function Gm(P) {
|
|
133376
|
-
Ry(P.tagName), n2(P.typeExpression), Yn(), P.isBracketed && ri("["), Kr(P.name), P.isBracketed && ri("]"),
|
|
133382
|
+
Ry(P.tagName), n2(P.typeExpression), Yn(), P.isBracketed && ri("["), Kr(P.name), P.isBracketed && ri("]"), ah(P.comment);
|
|
133377
133383
|
}
|
|
133378
133384
|
function Ry(P) {
|
|
133379
133385
|
ri("@"), Kr(P);
|
|
133380
133386
|
}
|
|
133381
|
-
function
|
|
133387
|
+
function ah(P) {
|
|
133382
133388
|
const xe = eO(P);
|
|
133383
133389
|
xe && (Yn(), ze(xe));
|
|
133384
133390
|
}
|
|
@@ -136795,7 +136801,7 @@ ${It.join(`
|
|
|
136795
136801
|
return;
|
|
136796
136802
|
const pt = Ap(Qe), Vt = Zu(Qe);
|
|
136797
136803
|
let Or, rn, wn;
|
|
136798
|
-
if (pt || !Qe.isDeclarationFile && (
|
|
136804
|
+
if (pt || !Qe.isDeclarationFile && (Gg(se) || Zu(Qe))) {
|
|
136799
136805
|
se.importHelpers && (Or = [Ve(X2, Qe)]);
|
|
136800
136806
|
const Xn = Fj(mF(se, Qe), se);
|
|
136801
136807
|
Xn && (Or || (Or = [])).push(Ve(Xn, Qe));
|
|
@@ -137291,7 +137297,7 @@ ${It.join(`
|
|
|
137291
137297
|
function Ht() {
|
|
137292
137298
|
se.strictPropertyInitialization && !P_(se, "strictNullChecks") && cl(h.Option_0_cannot_be_specified_without_specifying_option_1, "strictPropertyInitialization", "strictNullChecks"), se.exactOptionalPropertyTypes && !P_(se, "strictNullChecks") && cl(h.Option_0_cannot_be_specified_without_specifying_option_1, "exactOptionalPropertyTypes", "strictNullChecks"), (se.isolatedModules || se.verbatimModuleSyntax) && se.outFile && cl(h.Option_0_cannot_be_specified_with_option_1, "outFile", se.verbatimModuleSyntax ? "verbatimModuleSyntax" : "isolatedModules"), se.isolatedDeclarations && (sS(se) && cl(h.Option_0_cannot_be_specified_with_option_1, "allowJs", "isolatedDeclarations"), kd(se) || cl(h.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "isolatedDeclarations", "declaration", "composite")), se.inlineSourceMap && (se.sourceMap && cl(h.Option_0_cannot_be_specified_with_option_1, "sourceMap", "inlineSourceMap"), se.mapRoot && cl(h.Option_0_cannot_be_specified_with_option_1, "mapRoot", "inlineSourceMap")), se.composite && (se.declaration === !1 && cl(h.Composite_projects_may_not_disable_declaration_emit, "declaration"), se.incremental === !1 && cl(h.Composite_projects_may_not_disable_incremental_compilation, "declaration"));
|
|
137293
137299
|
const Qe = se.outFile;
|
|
137294
|
-
if (!se.tsBuildInfoFile && se.incremental && !Qe && !se.configFilePath && Hi.add(Ol(h.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)), Fs(),
|
|
137300
|
+
if (!se.tsBuildInfoFile && se.incremental && !Qe && !se.configFilePath && Hi.add(Ol(h.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)), Fs(), rh(), se.composite) {
|
|
137295
137301
|
const on = new Set(re.map(Jr));
|
|
137296
137302
|
for (const Xn of Te)
|
|
137297
137303
|
ak(Xn, Ee) && !on.has(Xn.path) && ac(
|
|
@@ -137574,7 +137580,7 @@ ${It.join(`
|
|
|
137574
137580
|
Vt
|
|
137575
137581
|
);
|
|
137576
137582
|
}
|
|
137577
|
-
function
|
|
137583
|
+
function rh() {
|
|
137578
137584
|
const Qe = se.suppressOutputPathCheck ? void 0 : JT(se);
|
|
137579
137585
|
A$(
|
|
137580
137586
|
Ce,
|
|
@@ -137602,7 +137608,7 @@ ${It.join(`
|
|
|
137602
137608
|
function Iy(Qe, pt, Vt, ...Or) {
|
|
137603
137609
|
let rn = !0;
|
|
137604
137610
|
Fy((wn) => {
|
|
137605
|
-
Oo(wn.initializer) &&
|
|
137611
|
+
Oo(wn.initializer) && nh(
|
|
137606
137612
|
wn.initializer,
|
|
137607
137613
|
Qe,
|
|
137608
137614
|
pt,
|
|
@@ -137655,7 +137661,7 @@ ${It.join(`
|
|
|
137655
137661
|
}
|
|
137656
137662
|
function od(Qe, pt, Vt, Or, ...rn) {
|
|
137657
137663
|
const wn = F1();
|
|
137658
|
-
(!wn || !
|
|
137664
|
+
(!wn || !nh(wn, Qe, pt, Vt, Or, ...rn)) && O1(Or, ...rn);
|
|
137659
137665
|
}
|
|
137660
137666
|
function O1(Qe, ...pt) {
|
|
137661
137667
|
const Vt = M1();
|
|
@@ -137675,7 +137681,7 @@ ${It.join(`
|
|
|
137675
137681
|
Cc
|
|
137676
137682
|
) || !1), Oi || void 0;
|
|
137677
137683
|
}
|
|
137678
|
-
function
|
|
137684
|
+
function nh(Qe, pt, Vt, Or, rn, ...wn) {
|
|
137679
137685
|
let on = !1;
|
|
137680
137686
|
return a4(Qe, Vt, (Xn) => {
|
|
137681
137687
|
"messageText" in rn ? Hi.add(gy(se.configFile, pt ? Xn.name : Xn.initializer, rn)) : Hi.add(ug(se.configFile, pt ? Xn.name : Xn.initializer, rn, ...wn)), on = !0;
|
|
@@ -138223,7 +138229,7 @@ ${It.join(`
|
|
|
138223
138229
|
if (re(he))
|
|
138224
138230
|
return se(_e, Q, he);
|
|
138225
138231
|
const Te = Q.getCompilerOptions();
|
|
138226
|
-
if (Te && (
|
|
138232
|
+
if (Te && (Gg(Te) || Te.outFile))
|
|
138227
138233
|
return [he];
|
|
138228
138234
|
const Re = /* @__PURE__ */ new Map();
|
|
138229
138235
|
Re.set(he.resolvedPath, he);
|
|
@@ -138554,7 +138560,7 @@ ${It.join(`
|
|
|
138554
138560
|
function aat(e, t, n, i) {
|
|
138555
138561
|
var a, o;
|
|
138556
138562
|
if (!e.referencedMap || !e.changedFilesSet.has(t.resolvedPath) || !hAe(e, t.resolvedPath)) return;
|
|
138557
|
-
if (
|
|
138563
|
+
if (Gg(e.compilerOptions)) {
|
|
138558
138564
|
const p = /* @__PURE__ */ new Map();
|
|
138559
138565
|
p.set(t.resolvedPath, !0);
|
|
138560
138566
|
const y = i0.getReferencedByPaths(e, t.resolvedPath);
|
|
@@ -144640,7 +144646,7 @@ ${It.join(`
|
|
|
144640
144646
|
}
|
|
144641
144647
|
e.fromString = n;
|
|
144642
144648
|
})(tJ || (tJ = {}));
|
|
144643
|
-
var Dde = /* @__PURE__ */ ((e) => (e[e.Dependencies = 1] = "Dependencies", e[e.DevDependencies = 2] = "DevDependencies", e[e.PeerDependencies = 4] = "PeerDependencies", e[e.OptionalDependencies = 8] = "OptionalDependencies", e[e.All = 15] = "All", e))(Dde || {}), Ade = /* @__PURE__ */ ((e) => (e[e.Off = 0] = "Off", e[e.On = 1] = "On", e[e.Auto = 2] = "Auto", e))(Ade || {}), Pde = /* @__PURE__ */ ((e) => (e[e.Semantic = 0] = "Semantic", e[e.PartialSemantic = 1] = "PartialSemantic", e[e.Syntactic = 2] = "Syntactic", e))(Pde || {}),
|
|
144649
|
+
var Dde = /* @__PURE__ */ ((e) => (e[e.Dependencies = 1] = "Dependencies", e[e.DevDependencies = 2] = "DevDependencies", e[e.PeerDependencies = 4] = "PeerDependencies", e[e.OptionalDependencies = 8] = "OptionalDependencies", e[e.All = 15] = "All", e))(Dde || {}), Ade = /* @__PURE__ */ ((e) => (e[e.Off = 0] = "Off", e[e.On = 1] = "On", e[e.Auto = 2] = "Auto", e))(Ade || {}), Pde = /* @__PURE__ */ ((e) => (e[e.Semantic = 0] = "Semantic", e[e.PartialSemantic = 1] = "PartialSemantic", e[e.Syntactic = 2] = "Syntactic", e))(Pde || {}), Kg = {}, Nde = /* @__PURE__ */ ((e) => (e.Original = "original", e.TwentyTwenty = "2020", e))(Nde || {}), FQ = /* @__PURE__ */ ((e) => (e.All = "All", e.SortAndCombine = "SortAndCombine", e.RemoveUnused = "RemoveUnused", e))(FQ || {}), MQ = /* @__PURE__ */ ((e) => (e[e.Invoked = 1] = "Invoked", e[e.TriggerCharacter = 2] = "TriggerCharacter", e[e.TriggerForIncompleteCompletions = 3] = "TriggerForIncompleteCompletions", e))(MQ || {}), Ide = /* @__PURE__ */ ((e) => (e.Type = "Type", e.Parameter = "Parameter", e.Enum = "Enum", e))(Ide || {}), Ode = /* @__PURE__ */ ((e) => (e.none = "none", e.definition = "definition", e.reference = "reference", e.writtenReference = "writtenReference", e))(Ode || {}), Fde = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Block = 1] = "Block", e[e.Smart = 2] = "Smart", e))(Fde || {}), LQ = /* @__PURE__ */ ((e) => (e.Ignore = "ignore", e.Insert = "insert", e.Remove = "remove", e))(LQ || {});
|
|
144644
144650
|
function rJ(e) {
|
|
144645
144651
|
return {
|
|
144646
144652
|
indentSize: 4,
|
|
@@ -144724,7 +144730,7 @@ ${It.join(`
|
|
|
144724
144730
|
function PE(e) {
|
|
144725
144731
|
e = XQ(e);
|
|
144726
144732
|
const t = e.parent;
|
|
144727
|
-
return e.kind === 307 ? 1 : hl(t) || X_(t) || x1(t) || hp(t) || vh(t) || vf(t) && e === t.name ? 7 : aJ(e) ? Qat(e) : Dv(e) ? iJ(t) : Dp(e) && $r(e, Ec(_I, aD, FT)) ? 7 : tst(e) ? 2 : Zat(e) ? 4 : gl(t) ? (O.assert(
|
|
144733
|
+
return e.kind === 307 ? 1 : hl(t) || X_(t) || x1(t) || hp(t) || vh(t) || vf(t) && e === t.name ? 7 : aJ(e) ? Qat(e) : Dv(e) ? iJ(t) : Dp(e) && $r(e, Ec(_I, aD, FT)) ? 7 : tst(e) ? 2 : Zat(e) ? 4 : gl(t) ? (O.assert(Qg(t.parent)), 2) : Bb(t) ? 3 : 1;
|
|
144728
144734
|
}
|
|
144729
144735
|
function Qat(e) {
|
|
144730
144736
|
const t = e.kind === 166 ? e : Np(e.parent) && e.parent.right === e ? e.parent : void 0;
|
|
@@ -144885,7 +144891,7 @@ ${It.join(`
|
|
|
144885
144891
|
return hT(e.parent.parent) && hN(e.parent.parent) === e;
|
|
144886
144892
|
}
|
|
144887
144893
|
function NE(e) {
|
|
144888
|
-
for (
|
|
144894
|
+
for (Wg(e) && (e = e.parent.parent); ; ) {
|
|
144889
144895
|
if (e = e.parent, !e)
|
|
144890
144896
|
return;
|
|
144891
144897
|
switch (e.kind) {
|
|
@@ -145016,7 +145022,7 @@ ${It.join(`
|
|
|
145016
145022
|
}
|
|
145017
145023
|
}
|
|
145018
145024
|
var ast = /^\/\/\/\s*</;
|
|
145019
|
-
function
|
|
145025
|
+
function eh(e, t) {
|
|
145020
145026
|
const n = oy(t), i = t.getLineAndCharacterOfPosition(e).line;
|
|
145021
145027
|
return n[i];
|
|
145022
145028
|
}
|
|
@@ -145123,10 +145129,10 @@ ${It.join(`
|
|
|
145123
145129
|
const i = gs(e.templateSpans);
|
|
145124
145130
|
return a0(i, t);
|
|
145125
145131
|
case 239:
|
|
145126
|
-
return
|
|
145132
|
+
return qg(e.literal);
|
|
145127
145133
|
case 278:
|
|
145128
145134
|
case 272:
|
|
145129
|
-
return
|
|
145135
|
+
return qg(e.moduleSpecifier);
|
|
145130
145136
|
case 224:
|
|
145131
145137
|
return a0(e.operand, t);
|
|
145132
145138
|
case 226:
|
|
@@ -145260,7 +145266,7 @@ ${It.join(`
|
|
|
145260
145266
|
}
|
|
145261
145267
|
function B4e(e, t) {
|
|
145262
145268
|
const { parent: n } = e;
|
|
145263
|
-
if (Ao(e) && (t || e.kind !== 90) ?
|
|
145269
|
+
if (Ao(e) && (t || e.kind !== 90) ? Zg(n) && Bt(n.modifiers, e) : e.kind === 86 ? Wu(n) || Uu(e) : e.kind === 100 ? hu(n) || el(e) : e.kind === 120 ? d_(n) : e.kind === 94 ? bk(n) : e.kind === 156 ? Xg(n) : e.kind === 145 || e.kind === 144 ? Mu(n) : e.kind === 102 ? vf(n) : e.kind === 139 ? vg(n) : e.kind === 153 && Cd(n)) {
|
|
145264
145270
|
const i = fst(n, t);
|
|
145265
145271
|
if (i)
|
|
145266
145272
|
return i;
|
|
@@ -145956,7 +145962,7 @@ ${It.join(`
|
|
|
145956
145962
|
return KW(e, t.getStart(n)) && t.getEnd() <= $l(e);
|
|
145957
145963
|
}
|
|
145958
145964
|
function uP(e, t) {
|
|
145959
|
-
return
|
|
145965
|
+
return Zg(e) ? St(e.modifiers, (n) => n.kind === t) : void 0;
|
|
145960
145966
|
}
|
|
145961
145967
|
function pZ(e, t, n, i, a) {
|
|
145962
145968
|
var o;
|
|
@@ -146513,7 +146519,7 @@ ${It.join(`
|
|
|
146513
146519
|
}
|
|
146514
146520
|
function KI(e, t, n) {
|
|
146515
146521
|
const i = em(e, t), a = JSON.stringify(n);
|
|
146516
|
-
return i === 0 ? `'${
|
|
146522
|
+
return i === 0 ? `'${Vg(a).replace(/'/g, () => "\\'").replace(/\\"/g, '"')}'` : a;
|
|
146517
146523
|
}
|
|
146518
146524
|
function AJ(e) {
|
|
146519
146525
|
switch (e) {
|
|
@@ -146751,7 +146757,7 @@ ${It.join(`
|
|
|
146751
146757
|
if (H !== void 0)
|
|
146752
146758
|
return H;
|
|
146753
146759
|
}
|
|
146754
|
-
const M =
|
|
146760
|
+
const M = Vg(I.getName());
|
|
146755
146761
|
if (S(M))
|
|
146756
146762
|
return o.set(I, !0), !0;
|
|
146757
146763
|
const $ = I.valueDeclaration.getSourceFile(), q = E($.fileName, F);
|
|
@@ -146873,7 +146879,7 @@ ${It.join(`
|
|
|
146873
146879
|
);
|
|
146874
146880
|
}
|
|
146875
146881
|
function Q5(e, t, n) {
|
|
146876
|
-
return Z5(Pp(
|
|
146882
|
+
return Z5(Pp(Vg(e.name)), t, n);
|
|
146877
146883
|
}
|
|
146878
146884
|
function Z5(e, t, n) {
|
|
146879
146885
|
const i = Ju(c1(e, "/index"));
|
|
@@ -147068,7 +147074,7 @@ ${It.join(`
|
|
|
147068
147074
|
H,
|
|
147069
147075
|
/*scriptTarget*/
|
|
147070
147076
|
void 0
|
|
147071
|
-
), Ce = typeof te == "string" ? te : te[0], _e = typeof te == "string" ? void 0 : te[1], Q =
|
|
147077
|
+
), Ce = typeof te == "string" ? te : te[0], _e = typeof te == "string" ? void 0 : te[1], Q = Vg(M.name), he = t++, me = u_(I, H), ve = I.flags & 33554432 ? void 0 : I, Te = M.flags & 33554432 ? void 0 : M;
|
|
147072
147078
|
(!ve || !Te) && i.set(he, [I, M]), n.add(p(Ce, I, Df(Q) ? void 0 : Q, H), {
|
|
147073
147079
|
id: he,
|
|
147074
147080
|
symbolTableKey: F,
|
|
@@ -147175,7 +147181,7 @@ ${It.join(`
|
|
|
147175
147181
|
var p;
|
|
147176
147182
|
if (!n) {
|
|
147177
147183
|
let w;
|
|
147178
|
-
const I =
|
|
147184
|
+
const I = Vg(i.name);
|
|
147179
147185
|
return C4.has(I) && (w = RJ(t, e)) !== void 0 ? w === Ha(I, "node:") : !o || o.allowsImportingAmbientModule(i, c) || Mme(t, I);
|
|
147180
147186
|
}
|
|
147181
147187
|
if (O.assertIsDefined(n), t === n) return !1;
|
|
@@ -147328,7 +147334,7 @@ ${It.join(`
|
|
|
147328
147334
|
M,
|
|
147329
147335
|
q
|
|
147330
147336
|
), q.forEachExportAndPropertyOfModule(w, (H, Z) => {
|
|
147331
|
-
H !== (z == null ? void 0 : z.symbol) && K4e(H, q) &&
|
|
147337
|
+
H !== (z == null ? void 0 : z.symbol) && K4e(H, q) && Hg($, Z) && S.add(
|
|
147332
147338
|
e.path,
|
|
147333
147339
|
H,
|
|
147334
147340
|
Z,
|
|
@@ -147387,7 +147393,7 @@ ${It.join(`
|
|
|
147387
147393
|
const p = i(o.name);
|
|
147388
147394
|
if (p) return p;
|
|
147389
147395
|
}
|
|
147390
|
-
if (a = Nr(a, o), !
|
|
147396
|
+
if (a = Nr(a, o), !Hg(c, o)) break;
|
|
147391
147397
|
o = o.flags & 2097152 ? t.getImmediateAliasedSymbol(o) : void 0;
|
|
147392
147398
|
}
|
|
147393
147399
|
for (const d of a ?? L)
|
|
@@ -148199,7 +148205,7 @@ ${It.join(`
|
|
|
148199
148205
|
case 93:
|
|
148200
148206
|
return PT(Q.parent) ? te(Q.parent, he) : void 0;
|
|
148201
148207
|
case 107:
|
|
148202
|
-
return ve(Q.parent,
|
|
148208
|
+
return ve(Q.parent, Yg, H);
|
|
148203
148209
|
case 111:
|
|
148204
148210
|
return ve(Q.parent, RG, z);
|
|
148205
148211
|
case 113:
|
|
@@ -148497,7 +148503,7 @@ ${It.join(`
|
|
|
148497
148503
|
}), me;
|
|
148498
148504
|
}
|
|
148499
148505
|
function se(Q, he) {
|
|
148500
|
-
he(Q), !Os(Q) && !Xi(Q) && !d_(Q) && !Mu(Q) && !
|
|
148506
|
+
he(Q), !Os(Q) && !Xi(Q) && !d_(Q) && !Mu(Q) && !Xg(Q) && !ua(Q) && As(Q, (me) => se(me, he));
|
|
148501
148507
|
}
|
|
148502
148508
|
function te(Q, he) {
|
|
148503
148509
|
const me = Ce(Q, he), ve = [];
|
|
@@ -149508,7 +149514,7 @@ ${It.join(`
|
|
|
149508
149514
|
return !!eS(e, (n) => UJ(n, t));
|
|
149509
149515
|
}
|
|
149510
149516
|
function UJ(e, t) {
|
|
149511
|
-
return
|
|
149517
|
+
return Yg(e) && !!e.expression && ZZ(e.expression, t);
|
|
149512
149518
|
}
|
|
149513
149519
|
function ZZ(e, t) {
|
|
149514
149520
|
if (!hPe(e) || !vPe(e) || !e.arguments.every((i) => yPe(i, t)))
|
|
@@ -150013,7 +150019,7 @@ interface Symbol {
|
|
|
150013
150019
|
default:
|
|
150014
150020
|
hm(e) && fe(e.jsDoc, (c) => {
|
|
150015
150021
|
fe(c.tags, (d) => {
|
|
150016
|
-
|
|
150022
|
+
Wg(d) && Lk(d);
|
|
150017
150023
|
});
|
|
150018
150024
|
}), As(e, _6);
|
|
150019
150025
|
}
|
|
@@ -150894,7 +150900,7 @@ interface Symbol {
|
|
|
150894
150900
|
const n = [], i = /* @__PURE__ */ new Set();
|
|
150895
150901
|
for (const a of t.types) {
|
|
150896
150902
|
const o = uK(e, a);
|
|
150897
|
-
if (!o || !o.every((c) => c.name &&
|
|
150903
|
+
if (!o || !o.every((c) => c.name && Hg(i, z5(c.name))))
|
|
150898
150904
|
return;
|
|
150899
150905
|
si(n, o);
|
|
150900
150906
|
}
|
|
@@ -151356,7 +151362,7 @@ interface Symbol {
|
|
|
151356
151362
|
return t ? [oct(e)] : cct(e);
|
|
151357
151363
|
}
|
|
151358
151364
|
function oct(e) {
|
|
151359
|
-
const t =
|
|
151365
|
+
const t = Zg(e) ? Tn([j.createModifier(
|
|
151360
151366
|
95
|
|
151361
151367
|
/* ExportKeyword */
|
|
151362
151368
|
)], Ux(e)) : void 0;
|
|
@@ -152212,7 +152218,7 @@ ${F.split(`
|
|
|
152212
152218
|
return { func: o, addBraces: !0, expression: o.body };
|
|
152213
152219
|
if (GT(QJ.kind, i) && zs(o.body) && o.body.statements.length === 1) {
|
|
152214
152220
|
const c = Rs(o.body.statements);
|
|
152215
|
-
if (
|
|
152221
|
+
if (Yg(c)) {
|
|
152216
152222
|
const d = c.expression && Oo(b4(
|
|
152217
152223
|
c.expression,
|
|
152218
152224
|
/*stopAtCallExpressions*/
|
|
@@ -152375,7 +152381,7 @@ ${F.split(`
|
|
|
152375
152381
|
return Un.ChangeTracker.with(e, (d) => d.replaceNode(n, t, c));
|
|
152376
152382
|
}
|
|
152377
152383
|
function Bct(e, t) {
|
|
152378
|
-
return e.statements.length === 1 &&
|
|
152384
|
+
return e.statements.length === 1 && Yg(t) && !!t.expression;
|
|
152379
152385
|
}
|
|
152380
152386
|
function w3e(e, t, n) {
|
|
152381
152387
|
return !!n.name && al.Core.isSymbolReferencedInFile(n.name, t, e);
|
|
@@ -153006,7 +153012,7 @@ ${F.split(`
|
|
|
153006
153012
|
return Qn(e) || UD(e);
|
|
153007
153013
|
}
|
|
153008
153014
|
function hlt(e) {
|
|
153009
|
-
return Rf(e) ||
|
|
153015
|
+
return Rf(e) || Yg(e) || au(e);
|
|
153010
153016
|
}
|
|
153011
153017
|
function vK(e) {
|
|
153012
153018
|
return hK(e) || hlt(e);
|
|
@@ -153284,14 +153290,14 @@ ${F.split(`
|
|
|
153284
153290
|
}
|
|
153285
153291
|
return q.length ? { targetRange: { range: q, facts: b, thisNode: S } } : { errors: [df(e, t.start, i, g_.cannotExtractRange)] };
|
|
153286
153292
|
}
|
|
153287
|
-
if (
|
|
153293
|
+
if (Yg(p) && !p.expression)
|
|
153288
153294
|
return { errors: [df(e, t.start, i, g_.cannotExtractRange)] };
|
|
153289
153295
|
const E = I(p), w = F(E) || $(E);
|
|
153290
153296
|
if (w)
|
|
153291
153297
|
return { errors: w };
|
|
153292
153298
|
return { targetRange: { range: Elt(E), facts: b, thisNode: S } };
|
|
153293
153299
|
function I(q) {
|
|
153294
|
-
if (
|
|
153300
|
+
if (Yg(q)) {
|
|
153295
153301
|
if (q.expression)
|
|
153296
153302
|
return q.expression;
|
|
153297
153303
|
} else if (au(q) || Yf(q)) {
|
|
@@ -153961,7 +153967,7 @@ ${F.split(`
|
|
|
153961
153967
|
}
|
|
153962
153968
|
if (Z) return { variableType: M, initializer: $ };
|
|
153963
153969
|
if (M = void 0, il($))
|
|
153964
|
-
$ = j.updateArrowFunction($,
|
|
153970
|
+
$ = j.updateArrowFunction($, Zg(e) ? Ux(e) : void 0, $.typeParameters, H, $.type || o.typeToTypeNode(
|
|
153965
153971
|
z.getReturnType(),
|
|
153966
153972
|
t,
|
|
153967
153973
|
1,
|
|
@@ -153995,7 +154001,7 @@ ${F.split(`
|
|
|
153995
154001
|
);
|
|
153996
154002
|
}
|
|
153997
154003
|
}
|
|
153998
|
-
$ = j.updateFunctionExpression($,
|
|
154004
|
+
$ = j.updateFunctionExpression($, Zg(e) ? Ux(e) : void 0, $.asteriskToken, $.name, $.typeParameters, H, $.type || o.typeToTypeNode(
|
|
153999
154005
|
z.getReturnType(),
|
|
154000
154006
|
t,
|
|
154001
154007
|
1
|
|
@@ -154063,7 +154069,7 @@ ${F.split(`
|
|
|
154063
154069
|
!0
|
|
154064
154070
|
), returnValueProperty: void 0 };
|
|
154065
154071
|
function y(b) {
|
|
154066
|
-
if (!d &&
|
|
154072
|
+
if (!d && Yg(b) && o) {
|
|
154067
154073
|
const S = ahe(t, n);
|
|
154068
154074
|
return b.expression && (c || (c = "__return"), S.unshift(j.createPropertyAssignment(c, gt(b.expression, y, Nt)))), S.length === 1 ? j.createReturnStatement(S[0].name) : j.createReturnStatement(j.createObjectLiteralExpression(S));
|
|
154069
154075
|
} else {
|
|
@@ -155701,7 +155707,7 @@ ${F.split(`
|
|
|
155701
155707
|
function De() {
|
|
155702
155708
|
return M(), [...c.getOptionsDiagnostics(y), ...c.getGlobalDiagnostics(y)];
|
|
155703
155709
|
}
|
|
155704
|
-
function Je(kt, Ot, fr =
|
|
155710
|
+
function Je(kt, Ot, fr = Kg, nr) {
|
|
155705
155711
|
const Dr = {
|
|
155706
155712
|
...fr,
|
|
155707
155713
|
// avoid excess property check
|
|
@@ -155722,7 +155728,7 @@ ${F.split(`
|
|
|
155722
155728
|
fr.includeSymbol
|
|
155723
155729
|
);
|
|
155724
155730
|
}
|
|
155725
|
-
function ze(kt, Ot, fr, nr, Dr, qr =
|
|
155731
|
+
function ze(kt, Ot, fr, nr, Dr, qr = Kg, br) {
|
|
155726
155732
|
return M(), y6.getCompletionEntryDetails(
|
|
155727
155733
|
c,
|
|
155728
155734
|
S,
|
|
@@ -155736,7 +155742,7 @@ ${F.split(`
|
|
|
155736
155742
|
y
|
|
155737
155743
|
);
|
|
155738
155744
|
}
|
|
155739
|
-
function Se(kt, Ot, fr, nr, Dr =
|
|
155745
|
+
function Se(kt, Ot, fr, nr, Dr = Kg) {
|
|
155740
155746
|
return M(), y6.getCompletionEntrySymbol(c, S, F(kt), Ot, { name: fr, source: nr }, e, Dr);
|
|
155741
155747
|
}
|
|
155742
155748
|
function $e(kt, Ot) {
|
|
@@ -155843,7 +155849,7 @@ ${F.split(`
|
|
|
155843
155849
|
};
|
|
155844
155850
|
});
|
|
155845
155851
|
} else {
|
|
155846
|
-
const Mr = em(qr, Dr ??
|
|
155852
|
+
const Mr = em(qr, Dr ?? Kg), Xr = typeof Dr == "boolean" ? Dr : Dr == null ? void 0 : Dr.providePrefixAndSuffixTextForRename;
|
|
155847
155853
|
return lr(br, Ot, { findInStrings: fr, findInComments: nr, providePrefixAndSuffixTextForRename: Xr, use: al.FindReferencesUse.Rename }, (Jr, ur, ma) => al.toRenameLocation(Jr, ur, ma, Xr || !1, Mr));
|
|
155848
155854
|
}
|
|
155849
155855
|
}
|
|
@@ -155871,7 +155877,7 @@ ${F.split(`
|
|
|
155871
155877
|
const nr = F(kt), Dr = e.getCustomTransformers && e.getCustomTransformers();
|
|
155872
155878
|
return Ape(c, nr, !!Ot, y, Dr, fr);
|
|
155873
155879
|
}
|
|
155874
|
-
function Cn(kt, Ot, { triggerReason: fr } =
|
|
155880
|
+
function Cn(kt, Ot, { triggerReason: fr } = Kg) {
|
|
155875
155881
|
M();
|
|
155876
155882
|
const nr = F(kt);
|
|
155877
155883
|
return x9.getSignatureHelpItems(c, nr, Ot, fr, y);
|
|
@@ -155980,24 +155986,24 @@ ${F.split(`
|
|
|
155980
155986
|
}
|
|
155981
155987
|
return [];
|
|
155982
155988
|
}
|
|
155983
|
-
function ko(kt, Ot, fr, nr, Dr, qr =
|
|
155989
|
+
function ko(kt, Ot, fr, nr, Dr, qr = Kg) {
|
|
155984
155990
|
M();
|
|
155985
155991
|
const br = F(kt), Mr = mu(Ot, fr), Xr = Hu.getFormatContext(Dr, e);
|
|
155986
155992
|
return pn(ca(nr, vv, hc), (Jr) => (y.throwIfCancellationRequested(), ep.getFixes({ errorCode: Jr, sourceFile: br, span: Mr, program: c, host: e, cancellationToken: y, formatContext: Xr, preferences: qr })));
|
|
155987
155993
|
}
|
|
155988
|
-
function Kr(kt, Ot, fr, nr =
|
|
155994
|
+
function Kr(kt, Ot, fr, nr = Kg) {
|
|
155989
155995
|
M(), O.assert(kt.type === "file");
|
|
155990
155996
|
const Dr = F(kt.fileName), qr = Hu.getFormatContext(fr, e);
|
|
155991
155997
|
return ep.getAllFixes({ fixId: Ot, sourceFile: Dr, program: c, host: e, cancellationToken: y, formatContext: qr, preferences: nr });
|
|
155992
155998
|
}
|
|
155993
|
-
function Ps(kt, Ot, fr =
|
|
155999
|
+
function Ps(kt, Ot, fr = Kg) {
|
|
155994
156000
|
M(), O.assert(kt.type === "file");
|
|
155995
156001
|
const nr = F(kt.fileName);
|
|
155996
156002
|
if (cD(nr)) return L;
|
|
155997
156003
|
const Dr = Hu.getFormatContext(Ot, e), qr = kt.mode ?? (kt.skipDestructiveCodeActions ? "SortAndCombine" : "All");
|
|
155998
156004
|
return ZT.organizeImports(nr, Dr, e, c, fr, qr);
|
|
155999
156005
|
}
|
|
156000
|
-
function ht(kt, Ot, fr, nr =
|
|
156006
|
+
function ht(kt, Ot, fr, nr = Kg) {
|
|
156001
156007
|
return Jme(q(), kt, Ot, e, Hu.getFormatContext(fr, e), nr, I);
|
|
156002
156008
|
}
|
|
156003
156009
|
function Zt(kt, Ot) {
|
|
@@ -156283,20 +156289,20 @@ ${F.split(`
|
|
|
156283
156289
|
function U(kt, Ot) {
|
|
156284
156290
|
return xee.getSmartSelectionRange(Ot, o.getCurrentSourceFile(kt));
|
|
156285
156291
|
}
|
|
156286
|
-
function Fe(kt, Ot, fr =
|
|
156292
|
+
function Fe(kt, Ot, fr = Kg, nr, Dr, qr) {
|
|
156287
156293
|
M();
|
|
156288
156294
|
const br = F(kt);
|
|
156289
|
-
return p6.getApplicableRefactors(Lt(br, Ot, fr,
|
|
156295
|
+
return p6.getApplicableRefactors(Lt(br, Ot, fr, Kg, nr, Dr), qr);
|
|
156290
156296
|
}
|
|
156291
|
-
function oe(kt, Ot, fr =
|
|
156297
|
+
function oe(kt, Ot, fr = Kg) {
|
|
156292
156298
|
M();
|
|
156293
|
-
const nr = F(kt), Dr = O.checkDefined(c.getSourceFiles()), qr = qN(kt), br = i9(Lt(nr, Ot, fr,
|
|
156299
|
+
const nr = F(kt), Dr = O.checkDefined(c.getSourceFiles()), qr = qN(kt), br = i9(Lt(nr, Ot, fr, Kg)), Mr = Nge(br == null ? void 0 : br.all), Xr = Bn(Dr, (Jr) => {
|
|
156294
156300
|
const ur = qN(Jr.fileName);
|
|
156295
156301
|
return !(c != null && c.isSourceFileFromExternalLibrary(nr)) && !(nr === F(Jr.fileName) || qr === ".ts" && ur === ".d.ts" || qr === ".d.ts" && Ha(Ju(Jr.fileName), "lib.") && ur === ".d.ts") && (qr === ur || (qr === ".tsx" && ur === ".ts" || qr === ".jsx" && ur === ".js") && !Mr) ? Jr.fileName : void 0;
|
|
156296
156302
|
});
|
|
156297
156303
|
return { newFileName: Pge(nr, c, e, br), files: Xr };
|
|
156298
156304
|
}
|
|
156299
|
-
function It(kt, Ot, fr, nr, Dr, qr =
|
|
156305
|
+
function It(kt, Ot, fr, nr, Dr, qr = Kg, br) {
|
|
156300
156306
|
M();
|
|
156301
156307
|
const Mr = F(kt);
|
|
156302
156308
|
return p6.getEditsForRefactor(Lt(Mr, fr, qr, Ot), nr, Dr, br);
|
|
@@ -156319,7 +156325,7 @@ ${F.split(`
|
|
|
156319
156325
|
const fr = F(kt), nr = FZ(d6.resolveCallHierarchyDeclaration(c, Ot === 0 ? fr : id(fr, Ot)));
|
|
156320
156326
|
return nr ? d6.getOutgoingCalls(c, nr) : [];
|
|
156321
156327
|
}
|
|
156322
|
-
function Nn(kt, Ot, fr =
|
|
156328
|
+
function Nn(kt, Ot, fr = Kg) {
|
|
156323
156329
|
M();
|
|
156324
156330
|
const nr = F(kt);
|
|
156325
156331
|
return hee.provideInlayHints(Ee(nr, Ot, fr));
|
|
@@ -157241,7 +157247,7 @@ ${F.split(`
|
|
|
157241
157247
|
const n = ik(e);
|
|
157242
157248
|
n && t(n.expression);
|
|
157243
157249
|
for (const i of e.members)
|
|
157244
|
-
|
|
157250
|
+
Zg(i) && fe(i.modifiers, t), vs(i) ? t(i.initializer) : Fl(i) && i.body ? (fe(i.parameters, t), t(i.body)) : Vl(i) && t(i);
|
|
157245
157251
|
}
|
|
157246
157252
|
function zut(e, t) {
|
|
157247
157253
|
const n = [], i = Lut(e, n);
|
|
@@ -158378,7 +158384,7 @@ ${F.split(`
|
|
|
158378
158384
|
}
|
|
158379
158385
|
}
|
|
158380
158386
|
function AK(e, t) {
|
|
158381
|
-
return
|
|
158387
|
+
return Zg(e) ? or(e.modifiers, (n) => n.kind === t) : void 0;
|
|
158382
158388
|
}
|
|
158383
158389
|
function PK(e) {
|
|
158384
158390
|
return e.name ? !!(et(e.name) && e.name.text === "constructor") : !1;
|
|
@@ -158792,7 +158798,7 @@ ${F.split(`
|
|
|
158792
158798
|
if (zs(E)) {
|
|
158793
158799
|
let I = [], F = !1;
|
|
158794
158800
|
for (const M of E.statements)
|
|
158795
|
-
if (
|
|
158801
|
+
if (Yg(M))
|
|
158796
158802
|
if (F = !0, UJ(M, o.checker))
|
|
158797
158803
|
I = I.concat(gIe(o, M, t, n));
|
|
158798
158804
|
else {
|
|
@@ -158851,7 +158857,7 @@ ${F.split(`
|
|
|
158851
158857
|
function Eft(e, t, n, i) {
|
|
158852
158858
|
const a = [];
|
|
158853
158859
|
for (const o of e)
|
|
158854
|
-
if (
|
|
158860
|
+
if (Yg(o)) {
|
|
158855
158861
|
if (o.expression) {
|
|
158856
158862
|
const c = lIe(o.expression, n.checker) ? j.createAwaitExpression(o.expression) : o.expression;
|
|
158857
158863
|
t === void 0 ? a.push(j.createExpressionStatement(c)) : f9(t) && t.hasBeenDeclared ? a.push(j.createExpressionStatement(j.createAssignment(Bhe(t), c))) : a.push(j.createVariableStatement(
|
|
@@ -159503,7 +159509,7 @@ ${F.split(`
|
|
|
159503
159509
|
const n = /* @__PURE__ */ new Set();
|
|
159504
159510
|
return wc(t, Whe, (i, a) => {
|
|
159505
159511
|
const o = PIe(a, t.sourceFile);
|
|
159506
|
-
o &&
|
|
159512
|
+
o && Hg(n, uc(o.parent.parent)) && NIe(i, o, t);
|
|
159507
159513
|
});
|
|
159508
159514
|
}
|
|
159509
159515
|
});
|
|
@@ -159893,7 +159899,7 @@ ${F.split(`
|
|
|
159893
159899
|
const t = /* @__PURE__ */ new Set();
|
|
159894
159900
|
return wc(e, zIe, (n, i) => {
|
|
159895
159901
|
const a = qIe(i.file, i.start);
|
|
159896
|
-
if (
|
|
159902
|
+
if (Hg(t, uc(a)))
|
|
159897
159903
|
for (const o of f4(a))
|
|
159898
159904
|
WIe(e, o, i.file, a, n, e.preferences);
|
|
159899
159905
|
});
|
|
@@ -160429,7 +160435,7 @@ ${F.split(`
|
|
|
160429
160435
|
}
|
|
160430
160436
|
function t_t(e, t, n, i, a, o, c, d, p, y, b, S) {
|
|
160431
160437
|
let E;
|
|
160432
|
-
n ? (E = e9(i, c, d, b, S).get(i.path, n), O.assertIsDefined(E, "Some exportInfo should match the specified exportMapKey")) : (E = WW(
|
|
160438
|
+
n ? (E = e9(i, c, d, b, S).get(i.path, n), O.assertIsDefined(E, "Some exportInfo should match the specified exportMapKey")) : (E = WW(Vg(t.name)) ? [n_t(e, a, t, d, c)] : QIe(i, e, a, t, o, d, c, b, S), O.assertIsDefined(E, "Some exportInfo should match the specified symbol / moduleSymbol"));
|
|
160433
160439
|
const w = p9(i, d), I = kT(ka(i, y)), F = O.checkDefined(Xhe(i, E, d, y, I, w, c, b));
|
|
160434
160440
|
return {
|
|
160435
160441
|
moduleSpecifier: F.moduleSpecifier,
|
|
@@ -160975,7 +160981,7 @@ ${F.split(`
|
|
|
160975
160981
|
void 0,
|
|
160976
160982
|
c
|
|
160977
160983
|
);
|
|
160978
|
-
const E =
|
|
160984
|
+
const E = Vg(S);
|
|
160979
160985
|
return a ? [h.Import_0_from_1, n, E] : [h.Update_import_from_0, E];
|
|
160980
160986
|
}
|
|
160981
160987
|
case 3: {
|
|
@@ -161299,7 +161305,7 @@ ${F.split(`
|
|
|
161299
161305
|
return m6(Un.ChangeTracker.with(e, (o) => {
|
|
161300
161306
|
g6(e, m8e, (c) => {
|
|
161301
161307
|
const d = g8e(t, c.file, c_(c.start, c.length));
|
|
161302
|
-
if (d &&
|
|
161308
|
+
if (d && Hg(a, uc(d.declaration)))
|
|
161303
161309
|
return h8e(o, t, n, i, c.file, d);
|
|
161304
161310
|
});
|
|
161305
161311
|
}));
|
|
@@ -161624,7 +161630,7 @@ ${F.split(`
|
|
|
161624
161630
|
return gr(e.statements, n);
|
|
161625
161631
|
}
|
|
161626
161632
|
function N8e(e, t, n, i, a) {
|
|
161627
|
-
const o = i.exportClause && bg(i.exportClause) ? i.exportClause.elements : j.createNodeArray([]), c = !i.isTypeOnly && !!(
|
|
161633
|
+
const o = i.exportClause && bg(i.exportClause) ? i.exportClause.elements : j.createNodeArray([]), c = !i.isTypeOnly && !!(Gg(t.getCompilerOptions()) || St(o, (d) => d.isTypeOnly));
|
|
161628
161634
|
e.replaceNode(
|
|
161629
161635
|
n,
|
|
161630
161636
|
i,
|
|
@@ -161653,7 +161659,7 @@ ${F.split(`
|
|
|
161653
161659
|
j.createNamedExports(O8e(
|
|
161654
161660
|
i,
|
|
161655
161661
|
/*allowTypeModifier*/
|
|
161656
|
-
|
|
161662
|
+
Gg(t.getCompilerOptions())
|
|
161657
161663
|
)),
|
|
161658
161664
|
/*moduleSpecifier*/
|
|
161659
161665
|
void 0,
|
|
@@ -162055,7 +162061,7 @@ ${F.split(`
|
|
|
162055
162061
|
return m6(Un.ChangeTracker.with(e, (c) => {
|
|
162056
162062
|
g6(e, U8e, (d) => {
|
|
162057
162063
|
const p = W8e(d.file, d.start, d.code, i, e.program);
|
|
162058
|
-
if (!(!p || !
|
|
162064
|
+
if (!(!p || !Hg(a, uc(p.parentDeclaration) + "#" + (p.kind === 3 ? p.identifier : p.token.text)))) {
|
|
162059
162065
|
if (n === qK && (p.kind === 2 || p.kind === 5))
|
|
162060
162066
|
K8e(c, e, p);
|
|
162061
162067
|
else if (n === JK && p.kind === 3)
|
|
@@ -162352,7 +162358,7 @@ ${F.split(`
|
|
|
162352
162358
|
void 0,
|
|
162353
162359
|
a
|
|
162354
162360
|
);
|
|
162355
|
-
o === void 0 && O.fail("fixMissingFunctionDeclaration codefix got unexpected error."),
|
|
162361
|
+
o === void 0 && O.fail("fixMissingFunctionDeclaration codefix got unexpected error."), Yg(n.parentDeclaration) ? e.insertNodeBefore(
|
|
162356
162362
|
n.sourceFile,
|
|
162357
162363
|
n.parentDeclaration,
|
|
162358
162364
|
o,
|
|
@@ -162542,7 +162548,7 @@ ${F.split(`
|
|
|
162542
162548
|
}
|
|
162543
162549
|
function r7e(e) {
|
|
162544
162550
|
if ($r(e, I4)) {
|
|
162545
|
-
const t = $r(e.parent,
|
|
162551
|
+
const t = $r(e.parent, Yg);
|
|
162546
162552
|
if (t) return t;
|
|
162547
162553
|
}
|
|
162548
162554
|
return nn(e);
|
|
@@ -162835,7 +162841,7 @@ ${F.split(`
|
|
|
162835
162841
|
const n = /* @__PURE__ */ new Set();
|
|
162836
162842
|
return wc(t, g7e, (i, a) => {
|
|
162837
162843
|
const o = h7e(a.file, a.start);
|
|
162838
|
-
|
|
162844
|
+
Hg(n, uc(o)) && v7e(o, t.sourceFile, t, i, t.preferences);
|
|
162839
162845
|
});
|
|
162840
162846
|
}
|
|
162841
162847
|
});
|
|
@@ -162867,7 +162873,7 @@ ${F.split(`
|
|
|
162867
162873
|
const o = S7e(a.file, a.start);
|
|
162868
162874
|
if (!o) return;
|
|
162869
162875
|
const { constructor: c, superCall: d } = o;
|
|
162870
|
-
|
|
162876
|
+
Hg(n, uc(c.parent)) && b7e(i, t, c, d);
|
|
162871
162877
|
});
|
|
162872
162878
|
}
|
|
162873
162879
|
});
|
|
@@ -163238,7 +163244,7 @@ ${F.split(`
|
|
|
163238
163244
|
errorCodes: H7e,
|
|
163239
163245
|
getCodeActions(e) {
|
|
163240
163246
|
const { errorCode: t, sourceFile: n, program: i, cancellationToken: a } = e, o = i.getTypeChecker(), c = i.getSourceFiles(), d = ka(n, e.span.start);
|
|
163241
|
-
if (
|
|
163247
|
+
if (Qg(d))
|
|
163242
163248
|
return [l8(Un.ChangeTracker.with(e, (S) => S.delete(n, d)), h.Remove_template_tag)];
|
|
163243
163249
|
if (d.kind === 30) {
|
|
163244
163250
|
const S = Un.ChangeTracker.with(e, (E) => Y7e(E, n, d));
|
|
@@ -163334,7 +163340,7 @@ ${F.split(`
|
|
|
163334
163340
|
case w0e: {
|
|
163335
163341
|
if (p.kind === 140 || A0e(p))
|
|
163336
163342
|
break;
|
|
163337
|
-
if (
|
|
163343
|
+
if (Qg(p))
|
|
163338
163344
|
c.delete(t, p);
|
|
163339
163345
|
else if (p.kind === 30)
|
|
163340
163346
|
Y7e(c, t, p);
|
|
@@ -164463,7 +164469,7 @@ ${F.split(`
|
|
|
164463
164469
|
const n = /* @__PURE__ */ new Set();
|
|
164464
164470
|
return wc(t, vOe, (i, a) => {
|
|
164465
164471
|
const o = yOe(a.file, a.start);
|
|
164466
|
-
!o || !
|
|
164472
|
+
!o || !Hg(n, uc(o.insertBefore)) || bOe(i, t.sourceFile, o);
|
|
164467
164473
|
});
|
|
164468
164474
|
}
|
|
164469
164475
|
});
|
|
@@ -166657,7 +166663,7 @@ ${F.split(`
|
|
|
166657
166663
|
function xFe(e, t) {
|
|
166658
166664
|
const n = ka(e, t), i = pi(n.parent.parent, uS);
|
|
166659
166665
|
if (!i) return;
|
|
166660
|
-
const a = d_(i.parent) ? i.parent : pi(i.parent.parent,
|
|
166666
|
+
const a = d_(i.parent) ? i.parent : pi(i.parent.parent, Xg);
|
|
166661
166667
|
if (a)
|
|
166662
166668
|
return { indexSignature: i, container: a };
|
|
166663
166669
|
}
|
|
@@ -166808,7 +166814,7 @@ ${F.split(`
|
|
|
166808
166814
|
return m6(Un.ChangeTracker.with(e, (i) => {
|
|
166809
166815
|
g6(e, NFe, (a) => {
|
|
166810
166816
|
const o = IFe(a.file, a.start, t);
|
|
166811
|
-
if (o &&
|
|
166817
|
+
if (o && Hg(n, xo(o.symbol)))
|
|
166812
166818
|
return OFe(i, a.file, o.token);
|
|
166813
166819
|
});
|
|
166814
166820
|
}));
|
|
@@ -167122,7 +167128,7 @@ ${F.split(`
|
|
|
167122
167128
|
return F;
|
|
167123
167129
|
if (!v5e(F.name, b))
|
|
167124
167130
|
return;
|
|
167125
|
-
const { origin: $ } = O.checkDefined(i5e(F.name, F.data, i, a)), q = S.get(t.path, F.data.exportMapKey), z = q && w.tryResolve(q, !Df(
|
|
167131
|
+
const { origin: $ } = O.checkDefined(i5e(F.name, F.data, i, a)), q = S.get(t.path, F.data.exportMapKey), z = q && w.tryResolve(q, !Df(Vg($.moduleSymbol.name)));
|
|
167126
167132
|
if (z === "skipped") return F;
|
|
167127
167133
|
if (!z || z === "failed") {
|
|
167128
167134
|
(M = a.log) == null || M.call(a, `Unexpected failure resolving auto import for '${F.name}' from '${F.source}'`);
|
|
@@ -168125,7 +168131,7 @@ ${F.split(`
|
|
|
168125
168131
|
}
|
|
168126
168132
|
}
|
|
168127
168133
|
function e5e(e) {
|
|
168128
|
-
const t = e.fileName ? void 0 :
|
|
168134
|
+
const t = e.fileName ? void 0 : Vg(e.moduleSymbol.name), n = e.isFromPackageJson ? !0 : void 0;
|
|
168129
168135
|
return f8(e) ? {
|
|
168130
168136
|
exportName: e.exportName,
|
|
168131
168137
|
exportMapKey: e.exportMapKey,
|
|
@@ -168137,7 +168143,7 @@ ${F.split(`
|
|
|
168137
168143
|
exportName: e.exportName,
|
|
168138
168144
|
exportMapKey: e.exportMapKey,
|
|
168139
168145
|
fileName: e.fileName,
|
|
168140
|
-
ambientModuleName: e.fileName ? void 0 :
|
|
168146
|
+
ambientModuleName: e.fileName ? void 0 : Vg(e.moduleSymbol.name),
|
|
168141
168147
|
isPackageJsonImport: e.isFromPackageJson ? !0 : void 0
|
|
168142
168148
|
};
|
|
168143
168149
|
}
|
|
@@ -168197,7 +168203,7 @@ ${F.split(`
|
|
|
168197
168203
|
}
|
|
168198
168204
|
function vve(e) {
|
|
168199
168205
|
if (dz(e))
|
|
168200
|
-
return
|
|
168206
|
+
return Vg(e.moduleSymbol.name);
|
|
168201
168207
|
if (f8(e))
|
|
168202
168208
|
return e.moduleSpecifier;
|
|
168203
168209
|
if ((e == null ? void 0 : e.kind) === 1)
|
|
@@ -168623,7 +168629,7 @@ ${F.split(`
|
|
|
168623
168629
|
/* JsDocTagName */
|
|
168624
168630
|
};
|
|
168625
168631
|
{
|
|
168626
|
-
const At =
|
|
168632
|
+
const At = eh(a, n);
|
|
168627
168633
|
if (!/[^*|\s(/)]/.test(n.text.substring(At, a)))
|
|
168628
168634
|
return {
|
|
168629
168635
|
kind: 2
|
|
@@ -168800,7 +168806,7 @@ ${F.split(`
|
|
|
168800
168806
|
}
|
|
168801
168807
|
function Pr(Ae) {
|
|
168802
168808
|
if (lr(Ae)) {
|
|
168803
|
-
const At =
|
|
168809
|
+
const At = Qg(Ae) ? Ae.constraint : Ae.typeExpression;
|
|
168804
168810
|
return At && At.kind === 309 ? At : void 0;
|
|
168805
168811
|
}
|
|
168806
168812
|
if (GD(Ae) || kB(Ae))
|
|
@@ -168894,7 +168900,7 @@ ${F.split(`
|
|
|
168894
168900
|
const bn = Ye(Ae.declarations, (fr) => pi(hs(fr), Lo));
|
|
168895
168901
|
if (bn) {
|
|
168896
168902
|
const fr = Cn(bn.expression), nr = fr && b.getSymbolAtLocation(fr), Dr = nr && Tve(nr, Z, b), qr = Dr && xo(Dr);
|
|
168897
|
-
if (qr &&
|
|
168903
|
+
if (qr && Hg(Ne, qr)) {
|
|
168898
168904
|
const br = ke.length;
|
|
168899
168905
|
ke.push(Dr);
|
|
168900
168906
|
const Mr = Dr.parent;
|
|
@@ -168904,7 +168910,7 @@ ${F.split(`
|
|
|
168904
168910
|
/* SymbolMemberNoExport */
|
|
168905
168911
|
) };
|
|
168906
168912
|
else {
|
|
168907
|
-
const Xr = Df(
|
|
168913
|
+
const Xr = Df(Vg(Mr.name)) ? (Nn = pO(Mr)) == null ? void 0 : Nn.fileName : void 0, { moduleSpecifier: Jr } = (wt || (wt = ep.createImportSpecifierResolver(n, e, d, o))).getModuleSpecifierForBestExportInfo(
|
|
168908
168914
|
[{
|
|
168909
168915
|
exportKind: 0,
|
|
168910
168916
|
moduleFileName: Xr,
|
|
@@ -168943,7 +168949,7 @@ ${F.split(`
|
|
|
168943
168949
|
tmt(fr) && (Be[xo(fr)] = tp.LocalDeclarationPriority);
|
|
168944
168950
|
}
|
|
168945
168951
|
function kt(fr) {
|
|
168946
|
-
o.includeCompletionsWithInsertText && (At &&
|
|
168952
|
+
o.includeCompletionsWithInsertText && (At && Hg(Ne, xo(fr)) ? Xe[ke.length] = { kind: Ot(
|
|
168947
168953
|
8
|
|
168948
168954
|
/* Promise */
|
|
168949
168955
|
) } : xr && (Xe[ke.length] = {
|
|
@@ -169076,7 +169082,7 @@ ${F.split(`
|
|
|
169076
169082
|
return _e && (br < 65 || br > 90) ? !1 : c ? !0 : v5e(Dr, Nn);
|
|
169077
169083
|
},
|
|
169078
169084
|
(Dr, qr, br, Mr) => {
|
|
169079
|
-
if (c && !vt(Dr, (io) => c.source ===
|
|
169085
|
+
if (c && !vt(Dr, (io) => c.source === Vg(io.moduleSymbol.name)) || (Dr = or(Dr, fr), !Dr.length))
|
|
169080
169086
|
return;
|
|
169081
169087
|
const Xr = nr.tryResolve(Dr, br) || {};
|
|
169082
169088
|
if (Xr === "failed") return;
|
|
@@ -170160,7 +170166,7 @@ ${F.split(`
|
|
|
170160
170166
|
function kve(e, t, n = /* @__PURE__ */ new Set()) {
|
|
170161
170167
|
return i(e) || i(u_(e.exportSymbol || e, t));
|
|
170162
170168
|
function i(a) {
|
|
170163
|
-
return !!(a.flags & 788968) || t.isUnknownSymbol(a) || !!(a.flags & 1536) &&
|
|
170169
|
+
return !!(a.flags & 788968) || t.isUnknownSymbol(a) || !!(a.flags & 1536) && Hg(n, a) && t.getExportsOfModule(a).some((o) => kve(o, t, n));
|
|
170164
170170
|
}
|
|
170165
170171
|
}
|
|
170166
170172
|
function smt(e, t) {
|
|
@@ -170495,7 +170501,7 @@ ${F.split(`
|
|
|
170495
170501
|
};
|
|
170496
170502
|
}
|
|
170497
170503
|
function pee(e, t = /* @__PURE__ */ new Set()) {
|
|
170498
|
-
return e ? (e = oZ(e), e.isUnion() ? pn(e.types, (n) => pee(n, t)) : e.isStringLiteral() && !(e.flags & 1024) &&
|
|
170504
|
+
return e ? (e = oZ(e), e.isUnion() ? pn(e.types, (n) => pee(n, t)) : e.isStringLiteral() && !(e.flags & 1024) && Hg(t, e.value) ? [e] : L) : L;
|
|
170499
170505
|
}
|
|
170500
170506
|
function _8(e, t, n) {
|
|
170501
170507
|
return { name: e, kind: t, extension: n };
|
|
@@ -170934,7 +170940,7 @@ ${F.split(`
|
|
|
170934
170940
|
return e[0] === Cl ? e.slice(1) : e;
|
|
170935
170941
|
}
|
|
170936
170942
|
function kmt(e, t, n) {
|
|
170937
|
-
const a = n.getAmbientModules().map((o) =>
|
|
170943
|
+
const a = n.getAmbientModules().map((o) => Vg(o.name)).filter((o) => Ha(o, e) && !o.includes("*"));
|
|
170938
170944
|
if (t !== void 0) {
|
|
170939
170945
|
const o = ff(t);
|
|
170940
170946
|
return a.map((c) => LC(c, o));
|
|
@@ -171164,7 +171170,7 @@ ${F.split(`
|
|
|
171164
171170
|
);
|
|
171165
171171
|
}
|
|
171166
171172
|
function F(z, H = !1) {
|
|
171167
|
-
return $r(z, (Z) => H && dee(Z) ? "quit" :
|
|
171173
|
+
return $r(z, (Z) => H && dee(Z) ? "quit" : Zg(Z) && vt(Z.modifiers, RD));
|
|
171168
171174
|
}
|
|
171169
171175
|
function M(z, H, Z, re) {
|
|
171170
171176
|
if (a === 2)
|
|
@@ -171611,7 +171617,7 @@ ${F.split(`
|
|
|
171611
171617
|
const y = Hp(d), b = /* @__PURE__ */ new Set();
|
|
171612
171618
|
for (; !y.isEmpty(); ) {
|
|
171613
171619
|
const S = y.dequeue();
|
|
171614
|
-
if (!
|
|
171620
|
+
if (!Hg(b, uc(S.node)))
|
|
171615
171621
|
continue;
|
|
171616
171622
|
c = Nr(c, S);
|
|
171617
171623
|
const E = q5e(e, t, n, S.node, S.node.pos);
|
|
@@ -171786,7 +171792,7 @@ ${F.split(`
|
|
|
171786
171792
|
return y;
|
|
171787
171793
|
} else if (hp(c) && !c.propertyName) {
|
|
171788
171794
|
const y = X_(t.parent) ? n.getExportSpecifierLocalTargetSymbol(t.parent) : n.getSymbolAtLocation(t);
|
|
171789
|
-
return Bt(y.declarations, c) ? { prefixText: d + " as " } :
|
|
171795
|
+
return Bt(y.declarations, c) ? { prefixText: d + " as " } : Kg;
|
|
171790
171796
|
} else if (X_(c) && !c.propertyName)
|
|
171791
171797
|
return t === e.node || n.getSymbolAtLocation(t) === n.getSymbolAtLocation(e.node) ? { prefixText: d + " as " } : { suffixText: " as " + d };
|
|
171792
171798
|
}
|
|
@@ -171794,7 +171800,7 @@ ${F.split(`
|
|
|
171794
171800
|
const a = fZ(i);
|
|
171795
171801
|
return { prefixText: a, suffixText: a };
|
|
171796
171802
|
}
|
|
171797
|
-
return
|
|
171803
|
+
return Kg;
|
|
171798
171804
|
}
|
|
171799
171805
|
function Xmt(e, t) {
|
|
171800
171806
|
const n = mee(e);
|
|
@@ -172252,7 +172258,7 @@ ${F.split(`
|
|
|
172252
172258
|
/** @param allSearchSymbols set of additional symbols for use by `includes`. */
|
|
172253
172259
|
createSearch(Zt, de, ut, pe = {}) {
|
|
172254
172260
|
const {
|
|
172255
|
-
text: Ge =
|
|
172261
|
+
text: Ge = Vg(nu(ON(de) || $(de) || de)),
|
|
172256
172262
|
allSearchSymbols: mt = [de]
|
|
172257
172263
|
} = pe, Tt = Jl(Ge), st = this.options.implementations && Zt ? Kr(Zt, de, this.checker) : void 0;
|
|
172258
172264
|
return { symbol: de, comingFrom: ut, text: Ge, escapedText: Tt, parents: st, allSearchSymbols: mt, includes: (bt) => Bt(mt, bt) };
|
|
@@ -172790,7 +172796,7 @@ ${F.split(`
|
|
|
172790
172796
|
switch (ut.kind) {
|
|
172791
172797
|
case 174:
|
|
172792
172798
|
case 173:
|
|
172793
|
-
if (
|
|
172799
|
+
if (Ug(ut)) {
|
|
172794
172800
|
pe &= Nb(ut), ut = ut.parent;
|
|
172795
172801
|
break;
|
|
172796
172802
|
}
|
|
@@ -172831,7 +172837,7 @@ ${F.split(`
|
|
|
172831
172837
|
return ut.symbol === bt.symbol;
|
|
172832
172838
|
case 174:
|
|
172833
172839
|
case 173:
|
|
172834
|
-
return
|
|
172840
|
+
return Ug(ut) && ut.symbol === bt.symbol;
|
|
172835
172841
|
case 231:
|
|
172836
172842
|
case 263:
|
|
172837
172843
|
case 210:
|
|
@@ -173016,7 +173022,7 @@ ${F.split(`
|
|
|
173016
173022
|
const pe = /* @__PURE__ */ new Set();
|
|
173017
173023
|
return Ge(ht);
|
|
173018
173024
|
function Ge(mt) {
|
|
173019
|
-
if (!(!(mt.flags & 96) || !
|
|
173025
|
+
if (!(!(mt.flags & 96) || !Hg(pe, mt)))
|
|
173020
173026
|
return Ye(mt.declarations, (Tt) => Ye(kN(Tt), (st) => {
|
|
173021
173027
|
const bt = de.getTypeAtLocation(st), Mt = bt && bt.symbol && de.getPropertyOfType(bt, Zt);
|
|
173022
173028
|
return bt && Mt && (Ye(de.getRootSymbols(Mt), ut) || Ge(bt.symbol));
|
|
@@ -173058,7 +173064,7 @@ ${F.split(`
|
|
|
173058
173064
|
}
|
|
173059
173065
|
e.getIntersectingMeaningFromDeclarations = Oi;
|
|
173060
173066
|
function Si(ht) {
|
|
173061
|
-
return ht.flags & 33554432 ? !(d_(ht) ||
|
|
173067
|
+
return ht.flags & 33554432 ? !(d_(ht) || Xg(ht)) : pN(ht) ? Db(ht) : Mc(ht) ? !!ht.body : Xi(ht) || lO(ht);
|
|
173062
173068
|
}
|
|
173063
173069
|
function Ea(ht, Zt, de) {
|
|
173064
173070
|
const ut = Zt.getSymbolAtLocation(ht), pe = Zt.getShorthandAssignmentValueSymbol(ut.valueDeclaration);
|
|
@@ -173338,7 +173344,7 @@ ${F.split(`
|
|
|
173338
173344
|
return v9(t.aliasTypeArguments[0], e, n, i);
|
|
173339
173345
|
if (vi(t) & 32 && t.target && e9e(e, t.target)) {
|
|
173340
173346
|
const c = (o = (a = t.aliasSymbol) == null ? void 0 : a.declarations) == null ? void 0 : o[0];
|
|
173341
|
-
if (c &&
|
|
173347
|
+
if (c && Xg(c) && Xd(c.type) && c.type.typeArguments)
|
|
173342
173348
|
return v9(e.getTypeAtLocation(c.type.typeArguments[0]), e, n, i);
|
|
173343
173349
|
}
|
|
173344
173350
|
return [];
|
|
@@ -174318,7 +174324,7 @@ ${F.split(`
|
|
|
174318
174324
|
return { newText: M + $, caretOffset: 3 };
|
|
174319
174325
|
}
|
|
174320
174326
|
function Pgt(e, t) {
|
|
174321
|
-
const { text: n } = e, i =
|
|
174327
|
+
const { text: n } = e, i = eh(t, e);
|
|
174322
174328
|
let a = i;
|
|
174323
174329
|
for (; a <= t && A0(n.charCodeAt(a)); a++) ;
|
|
174324
174330
|
return n.slice(i, a);
|
|
@@ -175073,7 +175079,7 @@ ${t}
|
|
|
175073
175079
|
function d(p) {
|
|
175074
175080
|
var y;
|
|
175075
175081
|
if (i === 0) return;
|
|
175076
|
-
t.throwIfCancellationRequested(), (Af(p) || au(p) ||
|
|
175082
|
+
t.throwIfCancellationRequested(), (Af(p) || au(p) || Yg(p) || P0(p) || p.kind === 1) && g9e(p, e, t, n), Os(p) && Qn(p.parent) && gi(p.parent.left) && g9e(p.parent.left, e, t, n), (zs(p) || q0(p)) && Gve(p.statements.end, e, t, n), (Xi(p) || d_(p)) && Gve(p.members.end, e, t, n);
|
|
175077
175083
|
const b = lht(p, e);
|
|
175078
175084
|
b && n.push(b), i--, eo(p) ? (i++, d(p.expression), i--, p.arguments.forEach(d), (y = p.typeArguments) == null || y.forEach(d)) : PT(p) && p.elseStatement && PT(p.elseStatement) ? (d(p.expression), d(p.thenStatement), i++, d(p.elseStatement), i--) : p.forEachChild(d), i++;
|
|
175079
175085
|
}
|
|
@@ -175413,7 +175419,7 @@ ${t}
|
|
|
175413
175419
|
const d = mht(n, o, t, a);
|
|
175414
175420
|
if (d)
|
|
175415
175421
|
return Tee(d);
|
|
175416
|
-
const p = Gb.getSymbolKind(t, o, e), y = yme(e) || Rm(e) && e.parent.kind === 167 ?
|
|
175422
|
+
const p = Gb.getSymbolKind(t, o, e), y = yme(e) || Rm(e) && e.parent.kind === 167 ? Vg(_g(e)) : void 0, b = y || t.symbolToString(o), S = y || t.getFullyQualifiedName(o);
|
|
175417
175423
|
return Yve(b, S, p, Gb.getSymbolModifiers(t, o), e, n);
|
|
175418
175424
|
}
|
|
175419
175425
|
function dht(e, t) {
|
|
@@ -176350,7 +176356,7 @@ ${t}
|
|
|
176350
176356
|
32
|
|
176351
176357
|
/* WriteTypeArgumentsOfSignature */
|
|
176352
176358
|
));
|
|
176353
|
-
} else
|
|
176359
|
+
} else Xg(me) && (re(), y.push(tm(
|
|
176354
176360
|
156
|
|
176355
176361
|
/* TypeKeyword */
|
|
176356
176362
|
)), y.push(Ql()), se(me.symbol), Q(me.symbol, n));
|
|
@@ -176707,19 +176713,19 @@ ${t}
|
|
|
176707
176713
|
if (c === 0)
|
|
176708
176714
|
return t.getStart(e);
|
|
176709
176715
|
if (c === 3) {
|
|
176710
|
-
const w = t.getStart(e), I =
|
|
176716
|
+
const w = t.getStart(e), I = eh(w, e);
|
|
176711
176717
|
return oP(t, I) ? I : w;
|
|
176712
176718
|
}
|
|
176713
176719
|
if (c === 2) {
|
|
176714
176720
|
const w = VV(t, e.text);
|
|
176715
176721
|
if (w != null && w.length)
|
|
176716
|
-
return
|
|
176722
|
+
return eh(w[0].pos, e);
|
|
176717
176723
|
}
|
|
176718
176724
|
const d = t.getFullStart(), p = t.getStart(e);
|
|
176719
176725
|
if (d === p)
|
|
176720
176726
|
return p;
|
|
176721
|
-
const y =
|
|
176722
|
-
if (
|
|
176727
|
+
const y = eh(d, e);
|
|
176728
|
+
if (eh(p, e) === y)
|
|
176723
176729
|
return c === 1 ? d : p;
|
|
176724
176730
|
if (i) {
|
|
176725
176731
|
const w = ((a = ly(e.text, d)) == null ? void 0 : a[0]) || ((o = J2(e.text, d)) == null ? void 0 : o[0]);
|
|
@@ -176940,7 +176946,7 @@ ${t}
|
|
|
176940
176946
|
if (n.jsDoc)
|
|
176941
176947
|
for (const d of n.jsDoc)
|
|
176942
176948
|
this.deleteRange(t, {
|
|
176943
|
-
pos:
|
|
176949
|
+
pos: eh(d.getStart(t), t),
|
|
176944
176950
|
end: T6(
|
|
176945
176951
|
t,
|
|
176946
176952
|
d,
|
|
@@ -177045,7 +177051,7 @@ ${t}
|
|
|
177045
177051
|
for (const o of Eee(n)) {
|
|
177046
177052
|
if (Tj(a, o, t))
|
|
177047
177053
|
return;
|
|
177048
|
-
const c = o.getStart(t), d = Hu.SmartIndenter.findFirstNonWhitespaceColumn(
|
|
177054
|
+
const c = o.getStart(t), d = Hu.SmartIndenter.findFirstNonWhitespaceColumn(eh(c, t), c, t, this.formatContext.options);
|
|
177049
177055
|
if (i === void 0)
|
|
177050
177056
|
i = d;
|
|
177051
177057
|
else if (d !== i)
|
|
@@ -177056,7 +177062,7 @@ ${t}
|
|
|
177056
177062
|
}
|
|
177057
177063
|
computeIndentationForNewMember(t, n) {
|
|
177058
177064
|
const i = n.getStart(t);
|
|
177059
|
-
return Hu.SmartIndenter.findFirstNonWhitespaceColumn(
|
|
177065
|
+
return Hu.SmartIndenter.findFirstNonWhitespaceColumn(eh(i, t), i, t, this.formatContext.options) + (this.formatContext.options.indentSize ?? 4);
|
|
177060
177066
|
}
|
|
177061
177067
|
getInsertNodeAtStartInsertOptions(t, n, i) {
|
|
177062
177068
|
const o = Eee(n).length === 0, c = !this.classesWithNodesInsertedAtStart.has(uc(n));
|
|
@@ -177177,13 +177183,13 @@ ${i.prefix}` : `
|
|
|
177177
177183
|
this.insertNodesAt(t, y, [i], { suffix: b });
|
|
177178
177184
|
}
|
|
177179
177185
|
} else {
|
|
177180
|
-
const d = n.getStart(t), p =
|
|
177186
|
+
const d = n.getStart(t), p = eh(d, t);
|
|
177181
177187
|
let y, b = !1;
|
|
177182
177188
|
if (a.length === 1)
|
|
177183
177189
|
y = 28;
|
|
177184
177190
|
else {
|
|
177185
177191
|
const S = Ku(n.pos, t);
|
|
177186
|
-
y = Cee(n, S) ? S.kind : 28, b =
|
|
177192
|
+
y = Cee(n, S) ? S.kind : 28, b = eh(a[o - 1].getStart(t), t) !== p;
|
|
177187
177193
|
}
|
|
177188
177194
|
if ((Kht(t.text, n.end) || !dg(a.pos, a.end, t)) && (b = !0), b) {
|
|
177189
177195
|
this.replaceRange(t, pg(c), j.createToken(y));
|
|
@@ -177368,13 +177374,13 @@ ${i.prefix}` : `
|
|
|
177368
177374
|
return "";
|
|
177369
177375
|
if (d.kind === 3)
|
|
177370
177376
|
return d.text;
|
|
177371
|
-
const { options: I = {}, range: { pos: F } } = d, M = (z) => o(z, p, y, F, I, b, S, E), $ = d.kind === 2 ? d.nodes.map((z) => c1(M(z), b)).join(((w = d.options) == null ? void 0 : w.joiner) || b) : M(d.node), q = I.indentation !== void 0 ||
|
|
177377
|
+
const { options: I = {}, range: { pos: F } } = d, M = (z) => o(z, p, y, F, I, b, S, E), $ = d.kind === 2 ? d.nodes.map((z) => c1(M(z), b)).join(((w = d.options) == null ? void 0 : w.joiner) || b) : M(d.node), q = I.indentation !== void 0 || eh(F, p) === F ? $ : $.replace(/^\s+/, "");
|
|
177372
177378
|
return (I.prefix || "") + q + (!I.suffix || ic(q, I.suffix) ? "" : I.suffix);
|
|
177373
177379
|
}
|
|
177374
177380
|
function o(d, p, y, b, { indentation: S, prefix: E, delta: w }, I, F, M) {
|
|
177375
177381
|
const { node: $, text: q } = c(d, p, I);
|
|
177376
177382
|
M && M($, q);
|
|
177377
|
-
const z = jJ(F, p), H = S !== void 0 ? S : Hu.SmartIndenter.getIndentation(b, y, z, E === I ||
|
|
177383
|
+
const z = jJ(F, p), H = S !== void 0 ? S : Hu.SmartIndenter.getIndentation(b, y, z, E === I || eh(b, p) === b);
|
|
177378
177384
|
w === void 0 && (w = Hu.SmartIndenter.shouldIndentChildNode(z, d) && z.indentSize || 0);
|
|
177379
177385
|
const Z = {
|
|
177380
177386
|
text: q,
|
|
@@ -179930,7 +179936,7 @@ ${i.prefix}` : `
|
|
|
179930
179936
|
if (!i)
|
|
179931
179937
|
return [];
|
|
179932
179938
|
const a = i.parent, o = hye(a), c = {
|
|
179933
|
-
pos:
|
|
179939
|
+
pos: eh(o.getStart(t), t),
|
|
179934
179940
|
// TODO: GH#18217
|
|
179935
179941
|
end: e
|
|
179936
179942
|
};
|
|
@@ -179967,7 +179973,7 @@ ${i.prefix}` : `
|
|
|
179967
179973
|
}
|
|
179968
179974
|
function rvt(e, t, n, i) {
|
|
179969
179975
|
const a = {
|
|
179970
|
-
pos:
|
|
179976
|
+
pos: eh(e, n),
|
|
179971
179977
|
end: t
|
|
179972
179978
|
};
|
|
179973
179979
|
return Iz(
|
|
@@ -180078,7 +180084,7 @@ ${i.prefix}` : `
|
|
|
180078
180084
|
if (!e)
|
|
180079
180085
|
return [];
|
|
180080
180086
|
const a = {
|
|
180081
|
-
pos:
|
|
180087
|
+
pos: eh(e.getStart(t), t),
|
|
180082
180088
|
end: e.end
|
|
180083
180089
|
};
|
|
180084
180090
|
return Iz(a, t, n, i);
|
|
@@ -180169,7 +180175,7 @@ ${i.prefix}` : `
|
|
|
180169
180175
|
if (qe !== -1)
|
|
180170
180176
|
return qe;
|
|
180171
180177
|
} else {
|
|
180172
|
-
const Ue = b.getLineAndCharacterOfPosition(Be).line, lt =
|
|
180178
|
+
const Ue = b.getLineAndCharacterOfPosition(Be).line, lt = eh(Be, b), Wt = Q0.findFirstNonWhitespaceColumn(lt, Be, b, o);
|
|
180173
180179
|
if (Ue !== ge || Be === Wt) {
|
|
180174
180180
|
const lr = Q0.getBaseIndentation(o);
|
|
180175
180181
|
return lr > Wt ? lr : Wt;
|
|
@@ -180185,7 +180191,7 @@ ${i.prefix}` : `
|
|
|
180185
180191
|
} : ge === -1 ? Be.kind === 21 && Ne === $ ? { indentation: q, delta: qe.getDelta(Be) } : Q0.childStartsOnTheSameLineWithElseInIfStatement(He, Be, Ne, b) || Q0.childIsUnindentedBranchOfConditionalExpression(He, Be, Ne, b) || Q0.argumentStartsOnSameLineAsPreviousArgument(He, Be, Ne, b) ? { indentation: qe.getIndentation(), delta: lt } : { indentation: qe.getIndentation() + qe.getDelta(Be), delta: lt } : { indentation: ge, delta: lt };
|
|
180186
180192
|
}
|
|
180187
180193
|
function se(Be) {
|
|
180188
|
-
if (
|
|
180194
|
+
if (Zg(Be)) {
|
|
180189
180195
|
const Ne = St(Be.modifiers, Ao, $t(Be.modifiers, gf));
|
|
180190
180196
|
if (Ne) return Ne.kind;
|
|
180191
180197
|
}
|
|
@@ -180362,7 +180368,7 @@ ${i.prefix}` : `
|
|
|
180362
180368
|
if (q !== -1)
|
|
180363
180369
|
pa = q;
|
|
180364
180370
|
else {
|
|
180365
|
-
const tt =
|
|
180371
|
+
const tt = eh(Sn.token.pos, b);
|
|
180366
180372
|
pa = Q0.findFirstNonWhitespaceColumn(tt, Sn.token.pos, b, o);
|
|
180367
180373
|
}
|
|
180368
180374
|
dr = te(Er, Cn, pa, o.indentSize);
|
|
@@ -180771,7 +180777,7 @@ ${i.prefix}` : `
|
|
|
180771
180777
|
break;
|
|
180772
180778
|
ze--;
|
|
180773
180779
|
}
|
|
180774
|
-
const Se =
|
|
180780
|
+
const Se = eh(ze, ne);
|
|
180775
180781
|
return he(Se, ze, ne, Je);
|
|
180776
180782
|
}
|
|
180777
180783
|
function o(ne, De, Je, ze, Se, $e) {
|
|
@@ -181440,7 +181446,7 @@ ${i.prefix}` : `
|
|
|
181440
181446
|
addRelatedInfo: () => co,
|
|
181441
181447
|
addSyntheticLeadingComment: () => mk,
|
|
181442
181448
|
addSyntheticTrailingComment: () => eI,
|
|
181443
|
-
addToSeen: () =>
|
|
181449
|
+
addToSeen: () => Hg,
|
|
181444
181450
|
advancedAsyncSuperHelper: () => oB,
|
|
181445
181451
|
affectsDeclarationPathOptionDeclarations: () => xfe,
|
|
181446
181452
|
affectsEmitOptionDeclarations: () => Tfe,
|
|
@@ -181482,7 +181488,7 @@ ${i.prefix}` : `
|
|
|
181482
181488
|
canHaveIllegalTypeParameters: () => tfe,
|
|
181483
181489
|
canHaveJSDoc: () => zO,
|
|
181484
181490
|
canHaveLocals: () => kv,
|
|
181485
|
-
canHaveModifiers: () =>
|
|
181491
|
+
canHaveModifiers: () => Zg,
|
|
181486
181492
|
canHaveModuleSpecifier: () => Ece,
|
|
181487
181493
|
canHaveSymbol: () => Vh,
|
|
181488
181494
|
canIncludeBindAndCheckDiagnostics: () => WN,
|
|
@@ -181744,7 +181750,7 @@ ${i.prefix}` : `
|
|
|
181744
181750
|
emptyArray: () => L,
|
|
181745
181751
|
emptyFileSystemEntries: () => sG,
|
|
181746
181752
|
emptyMap: () => ce,
|
|
181747
|
-
emptyOptions: () =>
|
|
181753
|
+
emptyOptions: () => Kg,
|
|
181748
181754
|
endsWith: () => ic,
|
|
181749
181755
|
ensurePathIsNonModuleName: () => $C,
|
|
181750
181756
|
ensureScriptKind: () => jj,
|
|
@@ -181809,7 +181815,7 @@ ${i.prefix}` : `
|
|
|
181809
181815
|
first: () => Rs,
|
|
181810
181816
|
firstDefined: () => Ye,
|
|
181811
181817
|
firstDefinedIterator: () => Ke,
|
|
181812
|
-
firstIterator: () =>
|
|
181818
|
+
firstIterator: () => Bg,
|
|
181813
181819
|
firstOrOnly: () => FZ,
|
|
181814
181820
|
firstOrUndefined: () => Xc,
|
|
181815
181821
|
firstOrUndefinedIterator: () => sy,
|
|
@@ -182030,7 +182036,7 @@ ${i.prefix}` : `
|
|
|
182030
182036
|
getInternalEmitFlags: () => mh,
|
|
182031
182037
|
getInvokedExpression: () => qR,
|
|
182032
182038
|
getIsFileExcluded: () => Lme,
|
|
182033
|
-
getIsolatedModules: () =>
|
|
182039
|
+
getIsolatedModules: () => Gg,
|
|
182034
182040
|
getJSDocAugmentsTag: () => soe,
|
|
182035
182041
|
getJSDocClassTag: () => aV,
|
|
182036
182042
|
getJSDocCommentRanges: () => VV,
|
|
@@ -182081,7 +182087,7 @@ ${i.prefix}` : `
|
|
|
182081
182087
|
getLineAndCharacterOfPosition: () => oo,
|
|
182082
182088
|
getLineInfo: () => rX,
|
|
182083
182089
|
getLineOfLocalPosition: () => AN,
|
|
182084
|
-
getLineStartPositionForPosition: () =>
|
|
182090
|
+
getLineStartPositionForPosition: () => eh,
|
|
182085
182091
|
getLineStarts: () => oy,
|
|
182086
182092
|
getLinesBetweenPositionAndNextNonWhitespaceCharacter: () => ule,
|
|
182087
182093
|
getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter: () => lle,
|
|
@@ -182709,10 +182715,10 @@ ${i.prefix}` : `
|
|
|
182709
182715
|
isJSDocSeeTag: () => iwe,
|
|
182710
182716
|
isJSDocSignature: () => zb,
|
|
182711
182717
|
isJSDocTag: () => QA,
|
|
182712
|
-
isJSDocTemplateTag: () =>
|
|
182718
|
+
isJSDocTemplateTag: () => Qg,
|
|
182713
182719
|
isJSDocThisTag: () => WG,
|
|
182714
182720
|
isJSDocThrowsTag: () => swe,
|
|
182715
|
-
isJSDocTypeAlias: () =>
|
|
182721
|
+
isJSDocTypeAlias: () => Wg,
|
|
182716
182722
|
isJSDocTypeAssertion: () => kk,
|
|
182717
182723
|
isJSDocTypeExpression: () => OT,
|
|
182718
182724
|
isJSDocTypeLiteral: () => yE,
|
|
@@ -182838,7 +182844,7 @@ ${i.prefix}` : `
|
|
|
182838
182844
|
isObjectLiteralElement: () => xV,
|
|
182839
182845
|
isObjectLiteralElementLike: () => p1,
|
|
182840
182846
|
isObjectLiteralExpression: () => Oo,
|
|
182841
|
-
isObjectLiteralMethod: () =>
|
|
182847
|
+
isObjectLiteralMethod: () => Ug,
|
|
182842
182848
|
isObjectLiteralOrClassExpressionMethodOrAccessor: () => RR,
|
|
182843
182849
|
isObjectTypeDeclaration: () => xD,
|
|
182844
182850
|
isOmittedExpression: () => hf,
|
|
@@ -182906,7 +182912,7 @@ ${i.prefix}` : `
|
|
|
182906
182912
|
isRequireVariableStatement: () => NO,
|
|
182907
182913
|
isRestParameter: () => Cv,
|
|
182908
182914
|
isRestTypeNode: () => pB,
|
|
182909
|
-
isReturnStatement: () =>
|
|
182915
|
+
isReturnStatement: () => Yg,
|
|
182910
182916
|
isReturnStatementWithFixablePromiseHandler: () => UJ,
|
|
182911
182917
|
isRightSideOfAccessExpression: () => FH,
|
|
182912
182918
|
isRightSideOfInstanceofExpression: () => tle,
|
|
@@ -182998,7 +183004,7 @@ ${i.prefix}` : `
|
|
|
182998
183004
|
isTryStatement: () => gE,
|
|
182999
183005
|
isTupleTypeNode: () => JD,
|
|
183000
183006
|
isTypeAlias: () => JO,
|
|
183001
|
-
isTypeAliasDeclaration: () =>
|
|
183007
|
+
isTypeAliasDeclaration: () => Xg,
|
|
183002
183008
|
isTypeAssertionExpression: () => dB,
|
|
183003
183009
|
isTypeDeclaration: () => AD,
|
|
183004
183010
|
isTypeElement: () => Vx,
|
|
@@ -183118,7 +183124,7 @@ ${i.prefix}` : `
|
|
|
183118
183124
|
nodeHasName: () => Z7,
|
|
183119
183125
|
nodeIsDecorated: () => s4,
|
|
183120
183126
|
nodeIsMissing: () => Ul,
|
|
183121
|
-
nodeIsPresent: () =>
|
|
183127
|
+
nodeIsPresent: () => qg,
|
|
183122
183128
|
nodeIsSynthesized: () => Jc,
|
|
183123
183129
|
nodeModuleNameResolver: () => r_e,
|
|
183124
183130
|
nodeModulesPathPart: () => Ay,
|
|
@@ -183148,7 +183154,7 @@ ${i.prefix}` : `
|
|
|
183148
183154
|
optionsForWatch: () => KD,
|
|
183149
183155
|
optionsHaveChanges: () => ZA,
|
|
183150
183156
|
or: () => Ec,
|
|
183151
|
-
orderedRemoveItem: () =>
|
|
183157
|
+
orderedRemoveItem: () => $g,
|
|
183152
183158
|
orderedRemoveItemAt: () => wp,
|
|
183153
183159
|
packageIdToPackageName: () => CR,
|
|
183154
183160
|
packageIdToString: () => mT,
|
|
@@ -183345,7 +183351,7 @@ ${i.prefix}` : `
|
|
|
183345
183351
|
startsWithUseStrict: () => Zue,
|
|
183346
183352
|
stringContainsAt: () => Ime,
|
|
183347
183353
|
stringToToken: () => JC,
|
|
183348
|
-
stripQuotes: () =>
|
|
183354
|
+
stripQuotes: () => Vg,
|
|
183349
183355
|
supportedDeclarationExtensions: () => Jj,
|
|
183350
183356
|
supportedJSExtensionsFlat: () => T4,
|
|
183351
183357
|
supportedLocaleDirectories: () => eoe,
|
|
@@ -183686,7 +183692,7 @@ ${i.prefix}` : `
|
|
|
183686
183692
|
toNormalizedPath: () => Lc,
|
|
183687
183693
|
tryConvertScriptKindName: () => Qee,
|
|
183688
183694
|
typingsInstaller: () => yye,
|
|
183689
|
-
updateProjectIfDirty: () =>
|
|
183695
|
+
updateProjectIfDirty: () => th
|
|
183690
183696
|
});
|
|
183691
183697
|
var yye = {};
|
|
183692
183698
|
T(yye, {
|
|
@@ -184313,7 +184319,7 @@ ${i.prefix}` : `
|
|
|
184313
184319
|
this.containingProjects[0] === e ? (e.onFileAddedOrRemoved(this.isSymlink()), this.containingProjects[0] = this.containingProjects.pop()) : this.containingProjects[1] === e && (e.onFileAddedOrRemoved(this.isSymlink()), this.containingProjects.pop());
|
|
184314
184320
|
break;
|
|
184315
184321
|
default:
|
|
184316
|
-
|
|
184322
|
+
$g(this.containingProjects, e) && e.onFileAddedOrRemoved(this.isSymlink());
|
|
184317
184323
|
break;
|
|
184318
184324
|
}
|
|
184319
184325
|
}
|
|
@@ -184367,7 +184373,7 @@ ${i.prefix}` : `
|
|
|
184367
184373
|
e.registerFileUpdate(this.path);
|
|
184368
184374
|
}
|
|
184369
184375
|
setOptions(e, t) {
|
|
184370
|
-
e && (this.formatSettings ? this.formatSettings = { ...this.formatSettings, ...e } : (this.formatSettings = rJ(this.host.newLine), ru(this.formatSettings, e))), t && (this.preferences || (this.preferences =
|
|
184376
|
+
e && (this.formatSettings ? this.formatSettings = { ...this.formatSettings, ...e } : (this.formatSettings = rJ(this.host.newLine), ru(this.formatSettings, e))), t && (this.preferences || (this.preferences = Kg), this.preferences = { ...this.preferences, ...t });
|
|
184371
184377
|
}
|
|
184372
184378
|
getLatestVersion() {
|
|
184373
184379
|
return this.textStorage.getSnapshot(), this.textStorage.getVersion();
|
|
@@ -184554,10 +184560,10 @@ ${i.prefix}` : `
|
|
|
184554
184560
|
getResolvedProjectReferenceToRedirect(t) {
|
|
184555
184561
|
}
|
|
184556
184562
|
isNonTsProject() {
|
|
184557
|
-
return
|
|
184563
|
+
return th(this), Rye(this);
|
|
184558
184564
|
}
|
|
184559
184565
|
isJsOnlyProject() {
|
|
184560
|
-
return
|
|
184566
|
+
return th(this), Dvt(this);
|
|
184561
184567
|
}
|
|
184562
184568
|
static resolveModule(t, n, i, a) {
|
|
184563
184569
|
return QQe.importServicePluginSync({ name: t }, [n], i, a).resolvedModule;
|
|
@@ -184839,7 +184845,7 @@ ${i.prefix}` : `
|
|
|
184839
184845
|
this.projectErrors = t;
|
|
184840
184846
|
}
|
|
184841
184847
|
getLanguageService(t = !0) {
|
|
184842
|
-
return t &&
|
|
184848
|
+
return t && th(this), this.languageService;
|
|
184843
184849
|
}
|
|
184844
184850
|
/** @internal */
|
|
184845
184851
|
getSourceMapper() {
|
|
@@ -184862,7 +184868,7 @@ ${i.prefix}` : `
|
|
|
184862
184868
|
return t && !t.isDynamicOrHasMixedContent() && !this.program.isSourceOfProjectReferenceRedirect(t.path);
|
|
184863
184869
|
}
|
|
184864
184870
|
getCompileOnSaveAffectedFileList(t) {
|
|
184865
|
-
return this.languageServiceEnabled ? (
|
|
184871
|
+
return this.languageServiceEnabled ? (th(this), this.builderState = i0.create(
|
|
184866
184872
|
this.program,
|
|
184867
184873
|
this.builderState,
|
|
184868
184874
|
/*disableUseFileVersionAsSignature*/
|
|
@@ -185108,7 +185114,7 @@ ${i.prefix}` : `
|
|
|
185108
185114
|
}
|
|
185109
185115
|
/** @internal */
|
|
185110
185116
|
updateFromProject() {
|
|
185111
|
-
|
|
185117
|
+
th(this);
|
|
185112
185118
|
}
|
|
185113
185119
|
/**
|
|
185114
185120
|
* Updates set of files that contribute to this project
|
|
@@ -185487,7 +185493,7 @@ ${i.prefix}` : `
|
|
|
185487
185493
|
fileName: y,
|
|
185488
185494
|
isSourceOfProjectReferenceRedirect: b
|
|
185489
185495
|
})) : (p) => ga(p.keys());
|
|
185490
|
-
this.initialLoadPending ||
|
|
185496
|
+
this.initialLoadPending || th(this);
|
|
185491
185497
|
const c = {
|
|
185492
185498
|
projectName: this.getProjectName(),
|
|
185493
185499
|
version: this.projectProgramVersion,
|
|
@@ -185663,7 +185669,7 @@ ${i.prefix}` : `
|
|
|
185663
185669
|
return;
|
|
185664
185670
|
}
|
|
185665
185671
|
if (this.autoImportProviderHost) {
|
|
185666
|
-
if (
|
|
185672
|
+
if (th(this.autoImportProviderHost), this.autoImportProviderHost.isEmpty()) {
|
|
185667
185673
|
this.autoImportProviderHost.close(), this.autoImportProviderHost = void 0;
|
|
185668
185674
|
return;
|
|
185669
185675
|
}
|
|
@@ -185678,7 +185684,7 @@ ${i.prefix}` : `
|
|
|
185678
185684
|
this,
|
|
185679
185685
|
this.getHostForAutoImportProvider()
|
|
185680
185686
|
) ?? !1, this.autoImportProviderHost)
|
|
185681
|
-
return
|
|
185687
|
+
return th(this.autoImportProviderHost), this.sendPerformanceEvent("CreatePackageJsonAutoImportProvider", Uc() - o), (n = qn) == null || n.pop(), this.autoImportProviderHost.getCurrentProgram();
|
|
185682
185688
|
(i = qn) == null || i.pop();
|
|
185683
185689
|
}
|
|
185684
185690
|
}
|
|
@@ -185737,7 +185743,7 @@ ${i.prefix}` : `
|
|
|
185737
185743
|
var n, i;
|
|
185738
185744
|
const a = e.getSourceFiles();
|
|
185739
185745
|
(n = qn) == null || n.push(qn.Phase.Session, "getUnresolvedImports", { count: a.length });
|
|
185740
|
-
const o = e.getTypeChecker().getAmbientModules().map((d) =>
|
|
185746
|
+
const o = e.getTypeChecker().getAmbientModules().map((d) => Vg(d.getName())), c = Yo(pn(a, (d) => Ovt(
|
|
185741
185747
|
e,
|
|
185742
185748
|
d,
|
|
185743
185749
|
o,
|
|
@@ -186563,7 +186569,7 @@ ${i.prefix}` : `
|
|
|
186563
186569
|
function Kye(e) {
|
|
186564
186570
|
return !e.isScriptOpen() && e.mTime !== void 0;
|
|
186565
186571
|
}
|
|
186566
|
-
function
|
|
186572
|
+
function th(e) {
|
|
186567
186573
|
return e.invalidateResolutionsOfFailedLookupLocations(), e.dirty && !e.updateGraph();
|
|
186568
186574
|
}
|
|
186569
186575
|
function GMe(e, t, n) {
|
|
@@ -186584,7 +186590,7 @@ ${i.prefix}` : `
|
|
|
186584
186590
|
!1
|
|
186585
186591
|
)) return !0;
|
|
186586
186592
|
} else
|
|
186587
|
-
|
|
186593
|
+
th(e);
|
|
186588
186594
|
return !1;
|
|
186589
186595
|
}
|
|
186590
186596
|
function e1e(e) {
|
|
@@ -186706,7 +186712,7 @@ ${i.prefix}` : `
|
|
|
186706
186712
|
var n;
|
|
186707
186713
|
this.host = t.host, this.logger = t.logger, this.cancellationToken = t.cancellationToken, this.useSingleInferredProject = t.useSingleInferredProject, this.useInferredProjectPerProjectRoot = t.useInferredProjectPerProjectRoot, this.typingsInstaller = t.typingsInstaller || Mz, this.throttleWaitMilliseconds = t.throttleWaitMilliseconds, this.eventHandler = t.eventHandler, this.suppressDiagnosticEvents = t.suppressDiagnosticEvents, this.globalPlugins = t.globalPlugins || bf, this.pluginProbeLocations = t.pluginProbeLocations || bf, this.allowLocalPluginLoads = !!t.allowLocalPluginLoads, this.typesMapLocation = t.typesMapLocation === void 0 ? Pi(qi(this.getExecutingFilePath()), "typesMap.json") : t.typesMapLocation, this.session = t.session, this.jsDocParsingMode = t.jsDocParsingMode, t.serverMode !== void 0 ? this.serverMode = t.serverMode : this.serverMode = 0, this.host.realpath && (this.realpathToScriptInfos = qc()), this.currentDirectory = Lc(this.host.getCurrentDirectory()), this.toCanonicalFileName = lf(this.host.useCaseSensitiveFileNames), this.globalCacheLocationDirectoryPath = this.typingsInstaller.globalTypingsCacheLocation ? ff(this.toPath(this.typingsInstaller.globalTypingsCacheLocation)) : void 0, this.throttledOperations = new Dye(this.host, this.logger), this.logger.info(`currentDirectory:: ${this.host.getCurrentDirectory()} useCaseSensitiveFileNames:: ${this.host.useCaseSensitiveFileNames}`), this.logger.info(`libs Location:: ${qi(this.host.getExecutingFilePath())}`), this.logger.info(`globalTypingsCacheLocation:: ${this.typingsInstaller.globalTypingsCacheLocation}`), this.typesMapLocation ? this.loadTypesMap() : this.logger.info("No types map provided; using the default"), this.typingsInstaller.attach(this), this.hostConfiguration = {
|
|
186708
186714
|
formatCodeOptions: rJ(this.host.newLine),
|
|
186709
|
-
preferences:
|
|
186715
|
+
preferences: Kg,
|
|
186710
186716
|
hostInfo: "Unknown host",
|
|
186711
186717
|
extraFileExtensions: []
|
|
186712
186718
|
}, this.documentRegistry = UZ(
|
|
@@ -186830,7 +186836,7 @@ ${i.prefix}` : `
|
|
|
186830
186836
|
/*delay*/
|
|
186831
186837
|
250,
|
|
186832
186838
|
() => {
|
|
186833
|
-
this.pendingProjectUpdates.delete(n) &&
|
|
186839
|
+
this.pendingProjectUpdates.delete(n) && th(t);
|
|
186834
186840
|
}
|
|
186835
186841
|
);
|
|
186836
186842
|
}
|
|
@@ -186966,7 +186972,7 @@ ${i.prefix}` : `
|
|
|
186966
186972
|
let t = this.pendingEnsureProjectForOpenFiles;
|
|
186967
186973
|
this.pendingProjectUpdates.clear();
|
|
186968
186974
|
const n = (i) => {
|
|
186969
|
-
t =
|
|
186975
|
+
t = th(i) || t;
|
|
186970
186976
|
};
|
|
186971
186977
|
this.externalProjects.forEach(n), this.configuredProjects.forEach(n), this.inferredProjects.forEach(n), t && this.ensureProjectForOpenFiles();
|
|
186972
186978
|
}
|
|
@@ -187196,7 +187202,7 @@ ${i.prefix}` : `
|
|
|
187196
187202
|
)
|
|
187197
187203
|
)
|
|
187198
187204
|
);
|
|
187199
|
-
if (i.addRoot(t), t.containingProjects[0] !== i && (
|
|
187205
|
+
if (i.addRoot(t), t.containingProjects[0] !== i && ($g(t.containingProjects, i), t.containingProjects.unshift(i)), i.updateGraph(), !this.useSingleInferredProject && !i.projectRootPath)
|
|
187200
187206
|
for (const a of this.inferredProjects) {
|
|
187201
187207
|
if (a === i || a.isOrphan())
|
|
187202
187208
|
continue;
|
|
@@ -188277,7 +188283,7 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
188277
188283
|
), this.openFiles.forEach((n, i) => {
|
|
188278
188284
|
const a = this.getScriptInfoForPath(i);
|
|
188279
188285
|
a.isOrphan() ? this.assignOrphanScriptInfoToInferredProject(a, n) : this.removeRootOfInferredProjectIfNowPartOfOtherProject(a);
|
|
188280
|
-
}), this.pendingEnsureProjectForOpenFiles = !1, this.inferredProjects.forEach(
|
|
188286
|
+
}), this.pendingEnsureProjectForOpenFiles = !1, this.inferredProjects.forEach(th), this.logger.info("After ensureProjectForOpenFiles:"), this.printProjects();
|
|
188281
188287
|
}
|
|
188282
188288
|
/**
|
|
188283
188289
|
* Open file whose contents is managed by the client
|
|
@@ -188339,7 +188345,7 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
188339
188345
|
return !!this.getScriptInfoForNormalizedPath(t) || this.host.fileExists(t);
|
|
188340
188346
|
}
|
|
188341
188347
|
findExternalProjectContainingOpenScriptInfo(t) {
|
|
188342
|
-
return St(this.externalProjects, (n) => (
|
|
188348
|
+
return St(this.externalProjects, (n) => (th(n), n.containsScriptInfo(t)));
|
|
188343
188349
|
}
|
|
188344
188350
|
getOrCreateOpenScriptInfo(t, n, i, a, o) {
|
|
188345
188351
|
const c = this.getOrCreateScriptInfoWorker(
|
|
@@ -188369,7 +188375,7 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
188369
188375
|
);
|
|
188370
188376
|
d && (o = d.seenProjects, c = d.sentConfigDiag, d.defaultProject && (n = d.defaultProject.getConfigFilePath(), i = d.defaultProject.getAllProjectErrors()));
|
|
188371
188377
|
}
|
|
188372
|
-
return t.containingProjects.forEach(
|
|
188378
|
+
return t.containingProjects.forEach(th), t.isOrphan() && (o == null || o.forEach((d, p) => {
|
|
188373
188379
|
d !== 4 && !c.has(p) && this.sendConfigFileDiagEvent(
|
|
188374
188380
|
p,
|
|
188375
188381
|
t.fileName,
|
|
@@ -188597,7 +188603,7 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
188597
188603
|
));
|
|
188598
188604
|
const n = /* @__PURE__ */ new Set(), i = ga(this.configuredProjects.values());
|
|
188599
188605
|
for (const a of i)
|
|
188600
|
-
VMe(a, (o) => t.has(o)) &&
|
|
188606
|
+
VMe(a, (o) => t.has(o)) && th(a), this.ensureProjectChildren(a, t, n);
|
|
188601
188607
|
}
|
|
188602
188608
|
ensureProjectChildren(t, n, i) {
|
|
188603
188609
|
var a;
|
|
@@ -188612,7 +188618,7 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
188612
188618
|
p,
|
|
188613
188619
|
`Creating project referenced by : ${t.projectName} as it references project ${d.sourceFile.fileName}`
|
|
188614
188620
|
);
|
|
188615
|
-
|
|
188621
|
+
th(y), this.ensureProjectChildren(y, n, i);
|
|
188616
188622
|
}
|
|
188617
188623
|
}
|
|
188618
188624
|
cleanupConfiguredProjects(t, n, i) {
|
|
@@ -188738,7 +188744,7 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
188738
188744
|
}), t.forEach((n) => this.deleteScriptInfo(n));
|
|
188739
188745
|
}
|
|
188740
188746
|
telemetryOnOpenFile(t) {
|
|
188741
|
-
if (this.serverMode !== 0 || !this.eventHandler || !t.isJavaScript() || !
|
|
188747
|
+
if (this.serverMode !== 0 || !this.eventHandler || !t.isJavaScript() || !Hg(this.allJsFilesForOpenFileTelemetry, t.path))
|
|
188742
188748
|
return;
|
|
188743
188749
|
const n = this.ensureDefaultProjectForFile(t);
|
|
188744
188750
|
if (!n.languageServiceEnabled)
|
|
@@ -189550,7 +189556,7 @@ ${o}${i}`;
|
|
|
189550
189556
|
for (; !p.isEmpty(); ) {
|
|
189551
189557
|
if (b.isCancellationRequested()) break e;
|
|
189552
189558
|
const { project: F, location: M } = p.dequeue();
|
|
189553
|
-
if (d.has(F) || aLe(F, M) || (
|
|
189559
|
+
if (d.has(F) || aLe(F, M) || (th(F), !F.containsFile(Lc(M.fileName))))
|
|
189554
189560
|
continue;
|
|
189555
189561
|
const $ = I(F, M);
|
|
189556
189562
|
d.set(F, $ ?? bf), w.add(Xvt(F));
|
|
@@ -189562,7 +189568,7 @@ ${o}${i}`;
|
|
|
189562
189568
|
}));
|
|
189563
189569
|
}
|
|
189564
189570
|
if (d.size === 1)
|
|
189565
|
-
return
|
|
189571
|
+
return Bg(d.values());
|
|
189566
189572
|
return d;
|
|
189567
189573
|
function I(F, M) {
|
|
189568
189574
|
const $ = o(F, M);
|
|
@@ -190417,7 +190423,7 @@ Project '${d.projectName}' (${h8[d.projectKind]}) ${o}
|
|
|
190417
190423
|
if (Sa(E) ? E = this.toPendingErrorCheck(E) : "ranges" in E && (S = E.ranges, E = this.toPendingErrorCheck(E.file)), !E)
|
|
190418
190424
|
return p();
|
|
190419
190425
|
const { fileName: w, project: I } = E;
|
|
190420
|
-
if (
|
|
190426
|
+
if (th(I), !!I.containsFile(w, a) && (this.syntacticCheck(w, I), this.changeSeq === o)) {
|
|
190421
190427
|
if (I.projectService.serverMode !== 0)
|
|
190422
190428
|
return p();
|
|
190423
190429
|
if (S)
|
|
@@ -190891,7 +190897,7 @@ Project '${d.projectName}' (${h8[d.projectKind]}) ${o}
|
|
|
190891
190897
|
}
|
|
190892
190898
|
getProjectInfoWorker(t, n, i, a, o) {
|
|
190893
190899
|
const { project: c } = this.getFileAndProjectWorker(t, n);
|
|
190894
|
-
return
|
|
190900
|
+
return th(c), {
|
|
190895
190901
|
configFileName: c.getProjectName(),
|
|
190896
190902
|
languageServiceDisabled: !c.languageServiceEnabled,
|
|
190897
190903
|
fileNames: i ? c.getFileNames(
|
|
@@ -192618,7 +192624,7 @@ ${y.message}`), y;
|
|
|
192618
192624
|
toNormalizedPath: () => Lc,
|
|
192619
192625
|
tryConvertScriptKindName: () => Qee,
|
|
192620
192626
|
typingsInstaller: () => yye,
|
|
192621
|
-
updateProjectIfDirty: () =>
|
|
192627
|
+
updateProjectIfDirty: () => th
|
|
192622
192628
|
}), typeof console < "u" && (O.loggingHost = {
|
|
192623
192629
|
log(e, t) {
|
|
192624
192630
|
switch (e) {
|
|
@@ -192708,9 +192714,9 @@ function Onr(l, f, _, g, T, D) {
|
|
|
192708
192714
|
}))
|
|
192709
192715
|
]), 1024);
|
|
192710
192716
|
}
|
|
192711
|
-
const
|
|
192717
|
+
const Lir = /* @__PURE__ */ PC(Cnr, [["render", Onr]]);
|
|
192712
192718
|
let yie;
|
|
192713
|
-
const
|
|
192719
|
+
const Rir = (l) => (yie = l, yie), Fnr = RA({
|
|
192714
192720
|
name: "GalleryImageSelectorElement",
|
|
192715
192721
|
setup(l, f) {
|
|
192716
192722
|
const { value: _ } = f.element, g = Br([]), T = (W) => {
|
|
@@ -192799,8 +192805,8 @@ function $nr(l, f, _, g, T, D) {
|
|
|
192799
192805
|
}))
|
|
192800
192806
|
]), 1024);
|
|
192801
192807
|
}
|
|
192802
|
-
const
|
|
192803
|
-
function
|
|
192808
|
+
const jir = /* @__PURE__ */ PC(Fnr, [["render", $nr]]);
|
|
192809
|
+
function Bir(l) {
|
|
192804
192810
|
window.dispatchEvent(
|
|
192805
192811
|
new CustomEvent("toast-notification-message", {
|
|
192806
192812
|
detail: l
|
|
@@ -192833,7 +192839,7 @@ const Jnr = {
|
|
|
192833
192839
|
ToastWrapper: EPt,
|
|
192834
192840
|
CalendarComponent: FWe,
|
|
192835
192841
|
HeaderComponent: OPt
|
|
192836
|
-
},
|
|
192842
|
+
}, $ir = {
|
|
192837
192843
|
install(l) {
|
|
192838
192844
|
Object.entries(Jnr).forEach(([f, _]) => {
|
|
192839
192845
|
l.component(f, _);
|
|
@@ -192842,38 +192848,39 @@ const Jnr = {
|
|
|
192842
192848
|
};
|
|
192843
192849
|
export {
|
|
192844
192850
|
qAt as ArticleEditorService,
|
|
192845
|
-
|
|
192846
|
-
|
|
192851
|
+
kir as ArticleOfferElement,
|
|
192852
|
+
wir as ArticlePickerElement,
|
|
192847
192853
|
FWe as CalendarComponent,
|
|
192848
192854
|
LU as CheckBox,
|
|
192849
192855
|
eAt as CheckBoxList,
|
|
192850
192856
|
Zne as DateTimePicker,
|
|
192851
|
-
|
|
192857
|
+
Fir as DateTimePickerElement,
|
|
192852
192858
|
HU as DropDown,
|
|
192853
192859
|
xAt as DropDownButton,
|
|
192854
192860
|
AWe as DropDownCallBack,
|
|
192855
192861
|
PWe as DropDownCheckBox,
|
|
192856
192862
|
Cxe as DropDownMenu,
|
|
192857
192863
|
qWe as ExternalArticleOfferComponent,
|
|
192858
|
-
|
|
192864
|
+
Oir as ExternalArticleOfferElement,
|
|
192859
192865
|
p3 as FetchDetails,
|
|
192860
192866
|
Exe as FetchError,
|
|
192861
192867
|
MWe as FilterCompact,
|
|
192862
192868
|
LWe as FilterControl,
|
|
192863
|
-
|
|
192869
|
+
iir as FilterDate,
|
|
192864
192870
|
rir as FilterDropDown,
|
|
192871
|
+
nir as FilterDropDownCheckBox,
|
|
192865
192872
|
tir as FilterText,
|
|
192866
|
-
|
|
192873
|
+
jir as GalleryImageSelectorElement,
|
|
192867
192874
|
OPt as HeaderComponent,
|
|
192868
192875
|
aL as IconButton,
|
|
192869
192876
|
GU as ImagePickerComponent,
|
|
192870
|
-
|
|
192871
|
-
|
|
192877
|
+
Air as ImagePickerDetailsElement,
|
|
192878
|
+
Dir as ImagePickerElement,
|
|
192872
192879
|
zWe as InternalArticleOfferComponent,
|
|
192873
|
-
|
|
192880
|
+
Nir as InternalArticleOfferElement,
|
|
192874
192881
|
Lw as Methods,
|
|
192875
192882
|
RWe as PaginatorControl,
|
|
192876
|
-
|
|
192883
|
+
Lir as PartnerPickerElement,
|
|
192877
192884
|
jWe as RadioButton,
|
|
192878
192885
|
F4t as RadioButtonGroup,
|
|
192879
192886
|
BWe as SpinningProgress,
|
|
@@ -192885,15 +192892,15 @@ export {
|
|
|
192885
192892
|
EPt as ToastWrapper,
|
|
192886
192893
|
Rw as aoeConfig,
|
|
192887
192894
|
Gne as apeConfig,
|
|
192888
|
-
|
|
192889
|
-
|
|
192890
|
-
|
|
192891
|
-
|
|
192892
|
-
|
|
192893
|
-
|
|
192894
|
-
|
|
192895
|
+
xir as configureArticleOfferElement,
|
|
192896
|
+
Cir as configureArticlePickerElement,
|
|
192897
|
+
Iir as configureExternalArticleOfferElement,
|
|
192898
|
+
Rir as configureGalleryImageSelectorElement,
|
|
192899
|
+
Eir as configureImagePickerElement,
|
|
192900
|
+
Pir as configureInternalArticleOfferElement,
|
|
192901
|
+
Mir as configurePartnerPickerElement,
|
|
192895
192902
|
Znr as debounce,
|
|
192896
|
-
|
|
192903
|
+
$ir as default,
|
|
192897
192904
|
vxe as eaoeConfig,
|
|
192898
192905
|
eir as getCurrentSite,
|
|
192899
192906
|
yie as gisConfig,
|
|
@@ -192907,7 +192914,7 @@ export {
|
|
|
192907
192914
|
JAt as localToStr,
|
|
192908
192915
|
$Te as localToUtcStr,
|
|
192909
192916
|
vie as ppeconfig,
|
|
192910
|
-
|
|
192917
|
+
Bir as sendMsgToToast,
|
|
192911
192918
|
Wnr as toDateString,
|
|
192912
192919
|
Gnr as toDateStringFromUtc,
|
|
192913
192920
|
Vnr as toDateTimeString,
|