@base44-preview/cli 0.1.7-pr.585.92ac4a7 → 0.1.7-pr.585.a27bb8a
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/cli/index.js +1595 -872
- package/dist/cli/index.js.map +19 -20
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -35699,7 +35699,7 @@ ${a2}` : a2);
|
|
|
35699
35699
|
}
|
|
35700
35700
|
return O2.stringifyString({ comment: t, type: e2, value: n2 }, r, s, i2);
|
|
35701
35701
|
} };
|
|
35702
|
-
function
|
|
35702
|
+
function os4(t, e2) {
|
|
35703
35703
|
let n2 = O2.resolveSeq(t, e2);
|
|
35704
35704
|
for (let r = 0;r < n2.items.length; ++r) {
|
|
35705
35705
|
let s = n2.items[r];
|
|
@@ -35742,7 +35742,7 @@ ${i2.comment}` : s.comment), s = i2;
|
|
|
35742
35742
|
}
|
|
35743
35743
|
return r;
|
|
35744
35744
|
}
|
|
35745
|
-
var Qo = { default: false, tag: "tag:yaml.org,2002:pairs", resolve:
|
|
35745
|
+
var Qo = { default: false, tag: "tag:yaml.org,2002:pairs", resolve: os4, createNode: as }, $e = class t extends O2.YAMLSeq {
|
|
35746
35746
|
constructor() {
|
|
35747
35747
|
super(), G2._defineProperty(this, "add", O2.YAMLMap.prototype.add.bind(this)), G2._defineProperty(this, "delete", O2.YAMLMap.prototype.delete.bind(this)), G2._defineProperty(this, "get", O2.YAMLMap.prototype.get.bind(this)), G2._defineProperty(this, "has", O2.YAMLMap.prototype.has.bind(this)), G2._defineProperty(this, "set", O2.YAMLMap.prototype.set.bind(this)), this.tag = t.tag;
|
|
35748
35748
|
}
|
|
@@ -35760,7 +35760,7 @@ ${i2.comment}` : s.comment), s = i2;
|
|
|
35760
35760
|
};
|
|
35761
35761
|
G2._defineProperty($e, "tag", "tag:yaml.org,2002:omap");
|
|
35762
35762
|
function Go(t, e2) {
|
|
35763
|
-
let n2 =
|
|
35763
|
+
let n2 = os4(t, e2), r = [];
|
|
35764
35764
|
for (let { key: s } of n2.items)
|
|
35765
35765
|
if (s instanceof O2.Scalar)
|
|
35766
35766
|
if (r.includes(s.value)) {
|
|
@@ -37805,7 +37805,7 @@ function ls(e2, t) {
|
|
|
37805
37805
|
c3.push({ indent: h2, mode: g, doc: S2.contents });
|
|
37806
37806
|
break;
|
|
37807
37807
|
case Ge3:
|
|
37808
|
-
c3.length > 0 && o2.push({ indent: h2, mode: g, doc:
|
|
37808
|
+
c3.length > 0 && o2.push({ indent: h2, mode: g, doc: os4 });
|
|
37809
37809
|
break;
|
|
37810
37810
|
case me3:
|
|
37811
37811
|
switch (g) {
|
|
@@ -41159,7 +41159,7 @@ var Ba2, jn = (e2, t) => {
|
|
|
41159
41159
|
}, oe = (e2, { originalText: t }) => Yt(t, I3(e2)), Ae3, Se2, xt2, Ue, hi2 = (e2) => e2?.type === "TSAsExpression" && e2.typeAnnotation.type === "TSTypeReference" && e2.typeAnnotation.typeName.type === "Identifier" && e2.typeAnnotation.typeName.name === "const", Cr2, dp, Kt2 = (e2) => {
|
|
41160
41160
|
for (let t of e2.quasis)
|
|
41161
41161
|
delete t.value;
|
|
41162
|
-
}, Bi2, Cp, Ap = (e2, [t]) => t?.type === "ComponentParameter" && t.shorthand && t.name === e2 && t.local !== t.name || t?.type === "MatchObjectPatternProperty" && t.shorthand && t.key === e2 && t.value !== t.key || t?.type === "ObjectProperty" && t.shorthand && t.key === e2 && t.value !== t.key || t?.type === "Property" && t.shorthand && t.key === e2 && !mt4(t) && t.value !== t.key, Tp = (e2, [t]) => !!(e2.type === "FunctionExpression" && t.type === "MethodDefinition" && t.value === e2 && K3(e2).length === 0 && !e2.returnType && !R3(e2.typeParameters) && e2.body), bi2 = (e2, [t]) => t?.typeAnnotation === e2 && hi2(t), xp = (e2, [t, ...r]) => bi2(e2, [t]) || t?.typeName === e2 && bi2(t, r), Pi2, at4, _e2, ue, Qn, Hr, Zn2 = (e2, t) => At4(e2) || !ue(t, w(e2), I3(e2)), Mp, Np, wi2, Xp, Vp, Ri2, nc, Ji2, Gi2, ic, Wi2, Ye = "string", Be = "array", tt3 = "cursor", He3 = "indent", Xe2 = "align", rt4 = "trim", Fe2 = "group", Me2 = "fill", be2 = "if-break", Ve3 = "indent-if-break", $e = "line-suffix", Ge3 = "line-suffix-boundary", me3 = "line", Pe2 = "label", Ne2 = "break-parent", Xr, We3, ac = (e2) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e2), is, gt4, qi2, Vr2, de2, Kr, $i2, Ki2, ke3, Tr2, A, f,
|
|
41162
|
+
}, Bi2, Cp, Ap = (e2, [t]) => t?.type === "ComponentParameter" && t.shorthand && t.name === e2 && t.local !== t.name || t?.type === "MatchObjectPatternProperty" && t.shorthand && t.key === e2 && t.value !== t.key || t?.type === "ObjectProperty" && t.shorthand && t.key === e2 && t.value !== t.key || t?.type === "Property" && t.shorthand && t.key === e2 && !mt4(t) && t.value !== t.key, Tp = (e2, [t]) => !!(e2.type === "FunctionExpression" && t.type === "MethodDefinition" && t.value === e2 && K3(e2).length === 0 && !e2.returnType && !R3(e2.typeParameters) && e2.body), bi2 = (e2, [t]) => t?.typeAnnotation === e2 && hi2(t), xp = (e2, [t, ...r]) => bi2(e2, [t]) || t?.typeName === e2 && bi2(t, r), Pi2, at4, _e2, ue, Qn, Hr, Zn2 = (e2, t) => At4(e2) || !ue(t, w(e2), I3(e2)), Mp, Np, wi2, Xp, Vp, Ri2, nc, Ji2, Gi2, ic, Wi2, Ye = "string", Be = "array", tt3 = "cursor", He3 = "indent", Xe2 = "align", rt4 = "trim", Fe2 = "group", Me2 = "fill", be2 = "if-break", Ve3 = "indent-if-break", $e = "line-suffix", Ge3 = "line-suffix-boundary", me3 = "line", Pe2 = "label", Ne2 = "break-parent", Xr, We3, ac = (e2) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e2), is, gt4, qi2, Vr2, de2, Kr, $i2, Ki2, ke3, Tr2, A, f, os4, E, yc, $r2, je2, Ec = "cr", Fc = "crlf", dc = "\r", Cc = `\r
|
|
41163
41163
|
`, Ac = `
|
|
41164
41164
|
`, Tc, xc, gc, as, ve3, ct3, cs, no2, so2, fs20, po2 = (e2) => Oc(e2) || wc(e2) || _c(e2) || oo2(e2), Es = 0, fo2, yo, jc, Co, Gc, Wc, go, qc, Ao, Uc, To, Yc, ho, ko = "format", Io, Fs2, Oo, Qc, ge2, Mo, sl2 = () => true, Et4, pl, cl, ll, ml = (e2) => ll.test(e2), vo, dt4, fl = 0, Ro = (e2) => e2.type === "BinaryExpression" && e2.operator === "|", Fl, dl, Cl, Go = (e2) => e2.match((t) => t.type === "TSTypeAnnotation", (t, r) => (r === "returnType" || r === "typeAnnotation") && (t.type === "TSFunctionType" || t.type === "TSConstructorType")) ? "=>" : e2.match((t) => t.type === "TSTypeAnnotation", (t, r) => r === "typeAnnotation" && (t.type === "TSJSDocNullableType" || t.type === "TSJSDocNonNullableType" || t.type === "TSTypePredicate")) || e2.match((t) => t.type === "TypeAnnotation", (t, r) => r === "typeAnnotation" && t.type === "Identifier", (t, r) => r === "id" && t.type === "DeclareFunction") || e2.match((t) => t.type === "TypeAnnotation", (t, r) => r === "typeAnnotation" && t.type === "Identifier", (t, r) => r === "id" && t.type === "DeclareHook") || e2.match((t) => t.type === "TypeAnnotation", (t, r) => r === "bound" && t.type === "TypeParameter" && t.usesExtendsBound) ? "" : ":", hr2, kl = (e2) => ((e2.type === "ChainExpression" || e2.type === "TSNonNullExpression") && (e2 = e2.expression), M3(e2) && le(e2).length > 0), Vo, Ll, cn2, Yl = ({ node: e2, key: t, parent: r }) => t === "value" && e2.type === "FunctionExpression" && (r.type === "ObjectMethod" || r.type === "ClassMethod" || r.type === "ClassPrivateMethod" || r.type === "MethodDefinition" || r.type === "TSAbstractMethodDefinition" || r.type === "TSDeclareMethod" || r.type === "Property" && mt4(r)), bs = ({ node: e2, parent: t }) => e2.type === "ExpressionStatement" && t.type === "Program" && t.body.length === 1 && (Array.isArray(t.directives) && t.directives.length === 0 || !t.directives), Ls2, Qe2, ws = class {
|
|
41165
41165
|
#e;
|
|
@@ -41377,8 +41377,8 @@ var init_estree = __esm(() => {
|
|
|
41377
41377
|
Tr2 = { type: tt3 };
|
|
41378
41378
|
A = { type: me3 };
|
|
41379
41379
|
f = { type: me3, soft: true };
|
|
41380
|
-
|
|
41381
|
-
E = [
|
|
41380
|
+
os4 = { type: me3, hard: true };
|
|
41381
|
+
E = [os4, ke3];
|
|
41382
41382
|
yc = { type: me3, hard: true, literal: true };
|
|
41383
41383
|
$r2 = [yc, ke3];
|
|
41384
41384
|
je2 = { type: Ge3 };
|
|
@@ -41582,7 +41582,7 @@ function wt5(e2, t, i2, s) {
|
|
|
41582
41582
|
return e2.type = t, e2.end = i2, this.options.locations && (e2.loc.end = s), this.options.ranges && (e2.range[1] = i2), e2;
|
|
41583
41583
|
}
|
|
41584
41584
|
function us2(e2) {
|
|
41585
|
-
var t = Ft4[e2] = { binary: H4(ss2[e2] + " " + lt4), binaryOfStrings: H4(as2[e2]), nonBinary: { General_Category: H4(lt4), Script: H4(
|
|
41585
|
+
var t = Ft4[e2] = { binary: H4(ss2[e2] + " " + lt4), binaryOfStrings: H4(as2[e2]), nonBinary: { General_Category: H4(lt4), Script: H4(os5[e2]) } };
|
|
41586
41586
|
t.nonBinary.Script_Extensions = t.nonBinary.Script, t.nonBinary.gc = t.nonBinary.General_Category, t.nonBinary.sc = t.nonBinary.Script, t.nonBinary.scx = t.nonBinary.Script_Extensions;
|
|
41587
41587
|
}
|
|
41588
41588
|
function hs2(e2) {
|
|
@@ -41972,7 +41972,7 @@ var Ii3, Be2, Ni3, Li3, Ri3, Vi3, ot4 = (e2, t) => () => (t || e2((t = { exports
|
|
|
41972
41972
|
this.flags = t, this.var = [], this.lexical = [], this.functions = [];
|
|
41973
41973
|
}, Te3 = function(t, i2, s) {
|
|
41974
41974
|
this.type = "", this.start = i2, this.end = 0, t.options.locations && (this.loc = new be3(t, s)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [i2, 0]);
|
|
41975
|
-
}, he3, ts2 = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", Pt4 = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", It4, Nt4, Lt5, Rt3, is2, ss2, rs2 = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", as2, lt4 = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Vt4 = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Ot4, Bt2, Dt4, Mt4, ns2,
|
|
41975
|
+
}, he3, ts2 = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", Pt4 = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", It4, Nt4, Lt5, Rt3, is2, ss2, rs2 = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", as2, lt4 = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Vt4 = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Ot4, Bt2, Dt4, Mt4, ns2, os5, Ft4, ft4, me4, Fe3, f2, ve4 = function(t, i2) {
|
|
41976
41976
|
this.parent = t, this.base = i2 || this;
|
|
41977
41977
|
}, G3 = function(t) {
|
|
41978
41978
|
this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = Ft4[t.options.ecmaVersion >= 14 ? 14 : t.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = false, this.switchV = false, this.switchN = false, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = false, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
|
|
@@ -43682,7 +43682,7 @@ var init_acorn = __esm(() => {
|
|
|
43682
43682
|
Dt4 = Bt2 + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";
|
|
43683
43683
|
Mt4 = Dt4 + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";
|
|
43684
43684
|
ns2 = Mt4 + " " + ts2;
|
|
43685
|
-
|
|
43685
|
+
os5 = { 9: Vt4, 10: Ot4, 11: Bt2, 12: Dt4, 13: Mt4, 14: ns2 };
|
|
43686
43686
|
Ft4 = {};
|
|
43687
43687
|
for (me4 = 0, Fe3 = [9, 10, 11, 12, 13, 14];me4 < Fe3.length; me4 += 1)
|
|
43688
43688
|
ft4 = Fe3[me4], us2(ft4);
|
|
@@ -44878,7 +44878,7 @@ function Ge5(t, e2) {
|
|
|
44878
44878
|
return Ai4(t, e2, (n3, s) => n3.isEquivalent(s));
|
|
44879
44879
|
}
|
|
44880
44880
|
function Ji4(t19) {
|
|
44881
|
-
return t19 >=
|
|
44881
|
+
return t19 >= os6 && t19 <= as3 || t19 == ds3;
|
|
44882
44882
|
}
|
|
44883
44883
|
function W6(t19) {
|
|
44884
44884
|
return Oi4 <= t19 && t19 <= Fi4;
|
|
@@ -44937,7 +44937,7 @@ function xr3(t24) {
|
|
|
44937
44937
|
case ji4:
|
|
44938
44938
|
return Li4;
|
|
44939
44939
|
case zi4:
|
|
44940
|
-
return
|
|
44940
|
+
return os6;
|
|
44941
44941
|
case Xi4:
|
|
44942
44942
|
return Ni4;
|
|
44943
44943
|
default:
|
|
@@ -45289,7 +45289,7 @@ var Ci4, _i4, Ti4, an3 = (t) => {
|
|
|
45289
45289
|
for (let s of e2)
|
|
45290
45290
|
this.visit(s, n3);
|
|
45291
45291
|
}
|
|
45292
|
-
}, kn2, bn2, L4, An2, pe3 = 0,
|
|
45292
|
+
}, kn2, bn2, L4, An2, pe3 = 0, os6 = 9, Ie4 = 10, Ni4 = 11, Pi4 = 12, Li4 = 13, as3 = 32, Mi3 = 33, ls3 = 34, Ri4 = 35, Wt5 = 36, $i4 = 37, In2 = 38, cs3 = 39, ve5 = 40, q6 = 41, Nn = 42, us3 = 43, Q5 = 44, ps3 = 45, H5 = 46, Fe4 = 47, j3 = 58, fe3 = 59, Di4 = 60, k5 = 61, Bi4 = 62, Pn2 = 63, Oi4 = 48, Fi4 = 57, qt3 = 65, Vi4 = 69, jt4 = 90, te4 = 91, it4 = 92, G4 = 93, Ui4 = 94, Xe4 = 95, hs3 = 97, Hi4 = 101, Wi4 = 102, qi4 = 110, ji4 = 114, zi4 = 116, Gi4 = 117, Xi4 = 118, fs22 = 122, Ve5 = 123, Ln2 = 124, K5 = 125, ds3 = 160, $t4 = 96, Ue3 = class t19 {
|
|
45293
45293
|
file;
|
|
45294
45294
|
offset;
|
|
45295
45295
|
line;
|
|
@@ -48319,7 +48319,7 @@ function Gi5(a5) {
|
|
|
48319
48319
|
if (a5.type !== "MemberExpression")
|
|
48320
48320
|
return false;
|
|
48321
48321
|
let { computed: t24, property: e2 } = a5;
|
|
48322
|
-
return t24 && e2.type !== "StringLiteral" && (e2.type !== "TemplateLiteral" || e2.expressions.length > 0) ? false :
|
|
48322
|
+
return t24 && e2.type !== "StringLiteral" && (e2.type !== "TemplateLiteral" || e2.expressions.length > 0) ? false : os7(a5.object);
|
|
48323
48323
|
}
|
|
48324
48324
|
function Xi5(a5, t24) {
|
|
48325
48325
|
let { type: e2 } = a5;
|
|
@@ -48346,8 +48346,8 @@ function Yi5(a5, t24) {
|
|
|
48346
48346
|
}
|
|
48347
48347
|
return false;
|
|
48348
48348
|
}
|
|
48349
|
-
function
|
|
48350
|
-
return a5.type === "Identifier" ? true : a5.type !== "MemberExpression" || a5.computed ? false :
|
|
48349
|
+
function os7(a5) {
|
|
48350
|
+
return a5.type === "Identifier" ? true : a5.type !== "MemberExpression" || a5.computed ? false : os7(a5.object);
|
|
48351
48351
|
}
|
|
48352
48352
|
function er5(a5) {
|
|
48353
48353
|
if (a5.has("decorators")) {
|
|
@@ -55887,7 +55887,7 @@ var init_flow = __esm(() => {
|
|
|
55887
55887
|
(function(a0) {
|
|
55888
55888
|
var ox = 320, Yx = "loc", xr5 = 289, E1 = 70416, S22 = 69748, da3 = 163, Tt8 = 92159, Vr5 = 43587, G1 = "labeled_statement", yo3 = "&=", Et8 = "int_of_string", G32 = 110591, _o3 = 92909, gp2 = 11559, nD2 = "regexp", W52 = 43301, bp2 = 11703, V52 = 122654, ya2 = 255, uD2 = "%ni", $52 = 68252, iD2 = 232, Q52 = 42785, qn4 = "declare_variable", Tp2 = "while", Z52 = 66938, xy = 70301, ry = 124907, Ep2 = 126515, fD2 = 218, Bn3 = "pattern_identifier", ey = 67643, Un3 = "export_source", ty = 216, ny = 64279, cD2 = "Out_of_memory", uy = 113788, sD2 = "comments", iy = 126624, aD2 = "win32", Xn4 = "object_key_bigint_literal", oD2 = 185, Sp2 = 123214, _a4 = "constructor", fy = 69955, Gn4 = "import_declaration", cy = 68437, sy = "Failure", Ap2 = "Unix.Unix_error", ay = 64255, oy = 42539, vy = 110579, Yn3 = "export_default_declaration", zn4 = "jsx_attribute_name", Ip2 = 11727, ly = 43002, Pp2 = 126500, Jn3 = "component_param_pattern", vD = "collect_comments_opt", Kn4 = "match_unary_pattern", lD2 = 321, Hn4 = "keyof_type", pD2 = "Invalid binary/octal ", kD = "range", py = 170, wa2 = "false", ky2 = 43798, mD2 = ", characters ", Wn3 = "object_type_property_getter", my = 65547, hy = 126467, dy = 65007, yy = 42237, _y = 8318, wy = 71215, Vn3 = "object_property_type", $n3 = "type_alias", gy = 67742, Qn3 = "function_body", hD = 304, by = 68111, Cp2 = 120745, Ty = 71959, Np2 = 43880, dD2 = "Match_failure", Zn4 = "type_cast", wo3 = 109, ga = "void", Ey = "generator", Sy = 125124, Ay = 101589, Op2 = 94179, yD2 = ">>>", jp2 = 70404, x7 = "optional_indexed_access_type", $1 = "argument", r7 = "object_property", e7 = "object_type_property", Iy = 67004, Py = 42783, Cy = 68850, _D = "@", Ny = 43741, Oy = 43487, Dp2 = "object", wD = "end", Rp2 = 126571, jy = 71956, gD = 208, Dy = 126566, Ry = 67702, bD = "EEXIST", t72 = "this_expression", TD = 203, Fy = 11507, My = 113807, Fp2 = 119893, Ly = 42735, p6 = "rest", n7 = "null_literal", k6 = "protected", qy = 43615, v22 = 8231, By = 68149, Uy = 73727, Xy = 72348, Gy = 92995, Sv = 224, Yy = 11686, zy = 43013, u7 = "assignment_pattern", Jy = 12329, i7 = "function_type", Y32 = 192, f7 = "jsx_element_name", Ky2 = 70018, ED2 = -57, c7 = "catch_clause_pattern", Mp2 = 126540, s7 = "template_literal", Hy = 120654, Wy = 68497, Vy = 67679, a7 = "readonly_type", $y = 68735, Qy = "<", Lp2 = ": No such file or directory", Zy = 66915, x9 = "chain", SD = "!", o7 = "object_type", r9 = 43712, qp2 = 64297, e9 = 183969, t92 = -105, n9 = 43503, u9 = 67591, Av = 65278, i9 = 67669, v7 = "for_of_assignment_pattern", m6 = "`", f9 = 11502, l7 = "catch_body", c9 = 42191, go3 = -744106340, s9 = 182, Iv = ":", AD = "a string", a9 = 65663, o9 = 66978, v9 = 71947, Bp2 = 43519, l9 = 71086, p9 = 125258, k9 = 12538, p7 = "expression_or_spread", ID = "Printexc.handle_uncaught_exception", Up2 = 69956, Xp2 = 120122, Gp2 = 247, PD = 231, m9 = " : flags Open_rdonly and Open_wronly are not compatible", k7 = "statement_fork_point", CD2 = 710, ND = -692038429, Ue5 = "static", h9 = 55203, d9 = 64324, y9 = 64111, OD = "!==", _9 = 120132, w9 = 124903, h6 = "class", jD = 222, m7 = "pattern_number_literal", ba2 = "kind", g9 = 71903, h7 = "variable_declarator", DD2 = " named `", d7 = "typeof_expression", b9 = 126627, T9 = 70084, RD = 228, Yp2 = 70480, y7 = "class_private_field", E9 = 239, zp2 = 120713, rn3 = 65535, z32 = -26, _7 = "private_name", S9 = 43137, w7 = "remote_identifier", A9 = 70161, g7 = "label_identifier", I9 = "src/parser/statement_parser.ml", P9 = 8335, C9 = 19903, N9 = 64310, Pv = "_", b7 = "for_init_declaration", FD2 = "infer", O9 = 64466, j9 = 43018, MD = "tokens", D9 = 92735, R9 = 66954, F9 = 65473, M9 = 70285, T7 = "sequence", L9 = "compare: functional value", q9 = 69890, d6 = 1000, B9 = 65487, U9 = 42653, LD = "\\\\", qD = "%=", E7 = "match_member_pattern_base", X9 = 72367, S7 = "function_rest_param", BD = "/static/", G9 = 124911, Y9 = 65276, Jp2 = 126558, z9 = 11498, UD = 137, A7 = "export_default_declaration_decl", J9 = "cases", Kp2 = 126602, I7 = "jsx_child", Xe6 = "continue", K9 = 42962, XD = "importKind", e1 = 122, J32 = "Literal", P7 = "pattern_object_property_identifier_key", H9 = 42508, bo3 = "in", W9 = 55238, V9 = 67071, $9 = 70831, Q9 = 72161, Z9 = 67462, GD = "<<=", x_ = 43009, r_ = 66383, Hp2 = 67827, e_ = 72202, t_ = 69839, n_ = 66775, YD = "-=", Cv = 8202, u_ = 70105, i_ = 120538, zD = -92, C7 = "for_in_left_declaration", f_ = "rendersType", Wp2 = 126563, c_ = 70708, Vp2 = 126523, JD2 = 166, N7 = "match_", KD = 202, s_ = 110951, Ta2 = "component", $p2 = 126552, a_ = 66977, o_ = 213, O7 = "enum_member_identifier", HD = 210, j7 = "enum_bigint_body", WD = ">=", v_ = 126495, l_ = "specifiers", p_ = "=", k_ = 65338, y6 = "members", m_ = 123535, h_ = 43702, d_ = 72767, Nv = "get", y_ = 126633, Qp2 = 126536, __ = 94098, w_ = "types", g_ = 113663, VD = "Internal Error: Found private field in object props", D7 = "jsx_element", b_ = 70366, T_ = 110959, Zp2 = 120655, $D = "trailingComments", QD = 282, To3 = 24029, ZD = -100, xR = 144, H22 = "yield", R7 = "binding_pattern", F7 = "typeof_identifier", rR = "ENOTEMPTY", xk = 126468, E_ = 1255, S_ = 120628, M7 = "pattern_object_property_string_literal_key", A_ = 8521, eR = "leadingComments", tR = 8204, Eo3 = "@ ", I_ = 70319, Ea2 = "left", nR = 188, rk = "case", P_ = 19967, ek = 42622, C_ = 43492, N_ = 113770, L7 = "match_instance_pattern_constructor", O_ = 42774, j_ = 183, tk = 8468, q72 = "record_body", B7 = "class_implements", nk = 126579, K32 = "string", uR = 211, r2 = -48, D_ = 69926, R_ = 123213, U7 = "if_consequent_statement", F_ = 124927, H32 = "number", M_ = 126546, L_ = 68119, q_ = 70726, uk = 70750, B_ = 65489, iR = "SpreadElement", fR = "callee", cR = 193, U_ = 70492, X_ = 71934, sR = 164, G_ = 110580, Y_ = 12320, ik = "any", se6 = "/", X72 = "type_guard", w1 = "body", fk = 178, ge6 = "pattern", aR = "comment_bounds", oR = 297, G7 = "binding_type_identifier", z_ = 187, Y7 = "pattern_array_rest_element_pattern", ck = "@])", J_ = 12543, K_ = 11623, vR = "start", H_ = 67871, ae4 = "interface", W_ = 8449, V_ = 67637, $_ = 42961, sk = 120085, Q_ = 126463, lR = "alternate", pR = -1053382366, Z_ = 70143, kR = "--", xw = 68031, z7 = "jsx_expression", J72 = "type_identifier_reference", ak = 11647, rw = "proto", St8 = "identifier", ew = 43696, At8 = "raw", tw = 126529, nw = 11564, ok = 126557, uw = 64911, vk = 67592, iw = 43493, lk = 215, fw = 110588, _6 = 461894857, cw = 92927, sw = 67861, aw = 119980, ow = 43042, mR = -89, vw = 66965, lw = 67391, W32 = "computed", hR = "unreachable jsxtext", pw = 71167, kw = 42559, mw = 72966, dR = 180, hw = 197, pk = 64319, yR = 169, _R = "*", kk = 129, dw = 66335, w6 = "meta", yw = 43388, mk = 94178, ft7 = "optional", hk = "unknown", _w = 120121, ww = 123180, dk = 8469, gw = 68220, wR = "|", bw = 43187, Tw = 94207, Ew = 124895, yk = 120513, Sw = 42527, Ov = 8286, Aw = 94177, g6 = "var", K7 = "component_type_param", Iw = 66421, gR = 285, Pw = 92991, Cw = 68415, H7 = "comment", W72 = "match_pattern_array_element", jv = 244, _k = "^", Nw = 173791, bR = 136, Ow = 42890, jw = "ENOTDIR", Dw = "??", Rw = 43711, Fw = 66303, Mw = 113800, Lw = 42239, qw = 12703, V7 = "variance_opt", $7 = "+", TR = ">>>=", ER = 147, SR = 376, wk = "mixed", Bw = 65613, Uw = 73029, AR = 318, Xw = 68191, IR = "*=", gk = 8487, Gw = 8477, Q7 = "toplevel_statement_list", bk = "never", Tk = "do", So3 = 125, Yw = 72249, PR = "Pervasives.do_at_exit", CR2 = "visit_trailing_comment", Z7 = "jsx_closing_element", xu2 = "jsx_namespaced_name", zw = 124908, Jw = 126651, ru2 = "component_declaration", Kw = 15, eu2 = "interface_type", tu2 = "function_type_return_annotation", Hw = 64109, Ek = 65595, Sk = 126560, Ww = 110927, Ak = 65598, Ik = 8488, nu2 = "`.", NR = 175, Pk = "package", Ck = "else", Nk = 120771, Vw = 68023, OR = "fd ", Dv = 8238, Ok = 888960333, jk = 119965, $w = 42655, uu2 = "match_object_pattern", Qw = 11710, Zw = 119993, iu2 = "boolean_literal", jR = 290, fu2 = "statement_list", cu2 = "function_param", su2 = "match_as_pattern", au2 = "pattern_object_property_bigint_literal_key", Dk = 69959, xg = 120485, DR = 240, rg = 191456, ou2 = "declare_enum", Rk = 120597, Fk = 70281, vu2 = "type_annotation", lu2 = "spread_element", Mk = 126544, eg = 120069, en4 = "key", tg = 43583, ng = "out", ug = `
|
|
55889
55889
|
`, RR = "**=", pu2 = "pattern_object_property_pattern", ig = "e", fg = 72712, FR = "Internal Error: Found object private prop", cg = "ENOENT", sg = -42, ku2 = "jsx_opening_attribute", ag = 67646, mu2 = "component_type", og = 64296, vg = 43887, MR = "Division_by_zero", LR = "EnumDefaultedMember", hu2 = "typeof_member_identifier", lg = 43792, du2 = "match_member_pattern_property", yu2 = "declare_export_declaration_decl", pg = 93026, _u2 = "type_annotation_hint", kg = 42887, mg = 43881, hg = 43761, Lk = 8526, qR = 287, b6 = 119, dg = 43866, yg = 72847, _g = 8348, k1 = 101, wg = 94026, qk = 72272, BR = "src/parser/flow_lexer.ml", gg = 120744, Rv = 8191, V32 = "implies", Bk = 255, Uk = 11711, wu2 = "match_unary_pattern_argument", bg = 71235, UR = 288, Xk = 68116, cr5 = 100, gu2 = "match_expression", bu2 = "enum_body", Gk = 1114111, Tu2 = "assignment", Tg = 71955, Yk = 43260, Eu2 = "pattern_array_e", Eg = 126583, XR = "prefix", Su2 = "class_body", T6 = "shorthand", Sg = 171, Ag = 66256, zk = -97, GR = " =", Ig = 94032, Pg = 42606, Au2 = "match_case", Cg = 71839, Jk = 120134, Ng = 55291, Og = 92862, jg = 43019, Dg = 126543, $32 = "function", Rg = 111355, Fg = 11389, Mg = 70753, Lg = 43249, qg = 64829, Kk = "line", Iu2 = "function_declaration", Hk = "undefined", YR = "([^/]+)", Bg = 110947, Ug = 70002, zR = "Cygwin", Pu2 = "as_expression", Xg = 12591, Wk = 64285, Gg = 2048, Yg = 73112, Vk = 126589, JR = 225, $k = 43259, zg = 72817, Qk = 64318, KR = 172, HR = 209, Cu2 = "match_binding_pattern", Nu2 = " ", Ou2 = "import_source", E6 = "delete", WR = "Enum `", Zk = 126553, Jg = 67001, Fv = "default", Kg = 11630, Hg = 206, ju2 = "enum_bigint_member", Wg = 67504, x8 = 67593, Vg = 113791, VR = "MatchObjectPatternProperty", $g = 69572, Du2 = "typeof_type", $R = 212, QR = "%i", Ru2 = "function_this_param", Qg = 72329, Ao3 = "0x", Mv = 8239, Zg = 75075, ZR = 57343, Fu2 = "pattern_bigint_literal", xb = 12341, xF = 201, Lv = "hook", rF = ": closedir failed", rb = 42959, r8 = 119970, eb = 43560, eF = "||=", Mu2 = "member_private_name", tb = 120570, Lu2 = "object_key_identifier", e8 = 223, tF = "Not_found", qu2 = "record_static_property", nF = 230, Bu2 = "jsx_element_name_member_expression", Uu2 = "string_literal", nb = 120596, ub = 43807, ib = 69687, fb = 63743, t82 = 72192, Xu2 = "member_property", cb = 43262, Gu2 = "class_declaration", uF = "renders*", iF = "%Li", sb = 126578, Yu2 = "jsx_attribute", Q32 = 254, be6 = "empty", S6 = "label", zu2 = "object_internal_slot_property_type", n8 = 120133, ab = 43359, Ge7 = "predicate", fF = "??=", ob = 43697, vb = -43, Ju2 = "default_opt", cF = "the start of a statement", lb = 67826, Ku2 = "record_element", Hu2 = "object_", Wu2 = "class_element", u8 = 11631, i8 = 70855, Vu2 = "opaque_type", $u2 = "number_literal", sF = ", ", f8 = 8319, c8 = 120004, s8 = 133, Qu2 = "type_params", Zu2 = "pattern_object_rest_property", W22 = "import", pb = 72000, kb = 67413, mb = 12343, hb = 70080, xi6 = "intersection_type", l22 = -36, db = 70005, A6 = "properties", yb = 11679, _b = 8483, wb = 110587, aF = 43520, ri6 = "computed_key", oF = 207, ei6 = "class_identifier", gb = "Invalid number ", ti6 = "function_param_pattern", qv = 12288, bb = 113817, Tb = 70730, Eb = 178207, a8 = 71236, Sb = 167, ni6 = "object_indexer_property_type", Ab = 64286, vF = "TypeAnnotation", lF = 220, ui6 = "type_identifier", ii6 = "spread_property", fi6 = "jsx_attribute_value_expression", Ib = 126519, o8 = 70108, v8 = 126, l8 = 42999, Sa = "prototype", Pb = " : flags Open_text and Open_binary are not compatible", pF = "**", p8 = 43823, Cb = ": Not a directory", ci6 = "render_type", k8 = 72349, Z32 = "test", Nb = 43776, Ob = 92879, jb = 11263, kF = 241, Db = 93052, si6 = "nullable_type", Rb = 43704, Fb = 64321, mF = "Property", Mb = 72191, hF = 165, I6 = "instanceof", Lb = 69247, dF = 302, Ye4 = "name", m8 = 126634, qb = 8516, h8 = "typeArguments", Bb = 71127, ai6 = "jsx_spread_attribute", Ub = 66559, Xb = 44031, Gb = 43645, e2 = 8233, Yb = 71494, zb = "opaque", d8 = 72967, Jb = 70106, oi6 = "logical", yF = "@[%s =@ ", P6 = "0o", y8 = 126554, Kb = 71351, _8 = 8484, Hb = 72242, w8 = 120687, xl2 = 252, Wb = 183983, C6 = "%S", vi6 = "function_this_param_type", _F = 292, g8 = "decorators", Vb = 43255, li6 = "catch_clause", ze6 = "-", $b = 67711, wF = ": file descriptor already closed", b8 = 64311, pi6 = "record_declaration", T8 = 120539, Qb = "arguments", E8 = 73062, Zb = 173823, xT = 42124, rT = 72095, eT = 125259, tT = 42969, S8 = 70280, gF = 12520, nT = 69749, uT = 70066, ki6 = "binary", mi6 = "for_in_statement", iT = 43010, bF = "^=", fT = 126570, hi6 = "for_statement", A8 = 126584, di6 = "function_return_annotation", cT = 72144, sT = 8505, TF = -101, yi5 = "class_expression", aT = 120076, oT = 69807, vT = 40981, lT = -24976191, pT = 72768, kT = 126550, I8 = '"', _i6 = "call_type_arg", EF = "f", Bv = "this", P8 = 126628, SF = "===", AF = 56320, wi6 = "declare_module_exports", mT = 120512, p2 = 105, hT = 119974, dT = 71450, yT = 71942, IF = 195, C8 = 120629, PF = "/=", CF = ">>", gi6 = "declare_interface", NF = 4096, bi6 = "pattern_array_rest_element", _T = 71338, N8 = 126520, Ti6 = "as_const_expression", OF = "Popping lex mode from empty stack", jF = "renders?", wT = 68405, Ei6 = "member", Si6 = "class_extends", Uv = 12287, O8 = 126590, gT = 66377, DF = "fields", Io3 = "async", Ai6 = "pattern_array_element", rl2 = 240, RF = 308, bT = 69864, Xv = "readonly", TT = 70460, ET = 120779, ST = 66378, Ii6 = "new_", j8 = 126551, Pi6 = "pattern_object_rest_property_pattern", Ci6 = "for_statement_init", AT = 43595, D8 = 68296, FF = 148, MF = "\x01\x00\x00\x00\x00\x02", IT = 120712, PT = 64217, CT = 69295, LF2 = "||", NT = ";", OT = 70461, jT = 66939, DT = "record", qF = "collect_comments", BF = 279, Ni6 = "generic_type", RT = 68295, FT = 44002, R8 = 72162, Oi6 = "object_call_property_type", F8 = 8305, M8 = 119995, L8 = "with", ji6 = "class_property", UF = "qualification", Di6 = "jsx_attribute_name_namespaced", Ri6 = "if_statement", Fi6 = "typeof_qualified_identifier", XF = 238, MT = 65615, GF = 176, t24 = "expression", q8 = 126559, Mi5 = "jsx_attribute_value", Li6 = "<2>", qi6 = "component_param", B8 = "Map.bal", N62 = 132, LT = 70412, qT = 70440, YF = "<<", U8 = "finally", zF = "v", Bi6 = "syntax_opt", Ui6 = "meta_property", BT = 12447, UT = 67514, X8 = 12448, Xi6 = "object_mapped_type_property", Gv = "operator", JF = "closedir", Gi6 = "unary_expression", XT = 126588, GT = 70851, Yi6 = "export_batch_specifier", el2 = "renders", KF = 226, YT = 73111, HF = 221, rx = "", zT = 66927, JT = 64967, KT = "elements", HT = 67640, WT = 43754, zi6 = "declare_export_declaration", G8 = -26065557, VT = 65855, O6 = "boolean", Aa2 = "typeof", $T = 124902, WF = 139, QT = 65629, VF = 224, ZT = 43123, Y8 = 70449, xE = 12735, Te6 = 107, z8 = 11719, $F = "!=", Ji6 = "call_type_args", tl2 = "asserts", Po3 = -46, rE = "namespace", Ki6 = "match_pattern", Hi6 = "for_of_statement_lhs", J8 = 126504, eE = 69505, K8 = "for", tE = 72703, H8 = 120127, W8 = 43471, nE = 93047, QF = "Undefined_recursive_module", ZF = 2147483647, Wi6 = "template_literal_element", xM = "Unexpected ", uE = 101631, iE = 65497, V8 = 68120, Vi6 = "import_default_specifier", tn4 = "array", rM = "expressions", fE = 110930, eM = 204, $i6 = "while_", Qi6 = "function_rest_param_type", Co3 = 63, cE = 77808, tM = "Unexpected token `", k22 = 114, Zi6 = "pattern_object_p", sE = 65140, aE = 123190, xf2 = "pattern_object_property_number_literal_key", j6 = "enum", rf = "conditional_type", ef = 113, tf = "array_type", nM = "minus", oE = 43790, nf = "do_while", vE = 11567, lE = 11694, D6 = 256, pE = 119976, uf = "component_body", nn4 = 111, kE = 177976, $8 = 67644, mE = 73439, R62 = 951901561, uM = "?", iM = ")", Q8 = 43867, Z8 = 65575, hE = 69445, fM = "FunctionTypeParam", xm2 = 119996, dE = 65019, ff = "conditional", yE = 11505, cM = 135, _E = 71295, wE = 12799, gE = 67382, cf = "type_guard_annotation", sf = "object_key_computed", un4 = 123, af = "pattern_object_property_key", bE = 119892, TE = 67505, EE3 = 66962, of = "with_", SE = 43273, vf2 = "interface_declaration", rm2 = "bool", AE = 71945, IE = "declaration", PE = 11519, F6 = ">", CE = 66771, em2 = "}", sM = 8472, NE = 43014, lf = "declare_function", Gr4 = 127, OE = "RestElement", jE = 190, DE = 8467, aM = "module", tm2 = 126522, oM = "Sys_blocked_io", pf = "jsx_opening_element", kf2 = "object_key_number_literal", mf = "match_instance_pattern", vM = "|=", lM = "mixins", RE = 205, pM = 217, nm2 = "if", kM = "+=", hf = "match_object_pattern_property_key", df = "match_rest_pattern", yf = "export_named_declaration_specifier", um2 = "try", im2 = "_bigarr02", FE = 70479, fn5 = "right", ME = 245, LE = 11718, _f2 = "tuple_labeled_element", mM = "TypeParameterInstantiation", qE = "mkdir", BE = 71999, UE = 870530776, hM = "@[", dM = -908856609, yM = 331416730, XE = 11670, GE = 66735, YE = 43709, fm2 = 43642, zE = 67002, JE = 69375, wf = "function_body_any", KE = 119807, _M = "Assert_failure", gf = "function_identifier", HE = 65479, M62 = 131, Yv = "new", bf = "for_of_left_declaration", WE = 120084, VE = 100343, $E = 73030, cm2 = 70452, sm2 = 134, QE = 253, ZE = 42954, wM = 227, Tf = "jsx_member_expression_object", Ef = "class_property_value", xS = 120144, gM = 314, rS = 66994, nl2 = "set", eS = 126498, Sf = "tuple_element", Af = "arg_list", tS = 65481, nS = 8511, uS = 42964, iS = 11492, am2 = 126555, fS = 71039, cS = "exportKind", If2 = "program", sS = 70187, bM = 173, It7 = "as", zv = 124, TM = "visit_leading_comment", aS = 110575, Pf2 = "class_", oS = 72440, vS = 67897, EM = 235, lS = 8543, SM = 141, Cf2 = 120, Nf = "match_object_pattern_property", L6 = 1024, pS = 101640, AM = 1027, IM = 236, ul2 = 246, PM = "(", kS = 66511, Of = "regexp_literal", mS = 65574, hS = 43513, dS = 43695, CM = "&&", om2 = 11558, yS = 66503, _S = 93071, jf = "pattern_expression", wS = 65381, vm2 = 126538, gS = 12292, Df2 = "import_namespace_specifier", bS = 67583, TS = 120137, ES = 69622, SS = 120770, AS = 71131, Jv = 8287, IS = 110590, PS = 65135, CS = "Fatal error: exception ", q62 = 118, NS = 181, lm2 = 11687, m22 = "camlinternalFormat.ml", OS = 72959, jS = 249, Rf2 = "union_type", NM = 8206, DS = 73064, RS = 70271, FS = 92728, pm2 = 65344, km2 = 11695, Ff = "class_decorator", OM = "the end of an expression statement (`;`)", MS = 177983, LS = 8457, jM = 931, qS = 66499, BS = 94175, DM = "#", US = "Identifier", Mf2 = "for_in_statement_lhs", Lf = "pattern_string_literal", mm2 = 70302, hm2 = 126496, XS = 66461, GS = 82943, dm2 = 8450, YS = 72271, zS = 70853, JS = "of", RM = "Stack_overflow", B6 = "hasUnknownMembers", U62 = "a", qf = "variable_declarator_pattern", KS = 73061, HS = 77711, ym2 = 64317, WS = 73097, FM = 269, Bf = "enum_declaration", VS = 66966, $S = 189, QS = 119964, Uf = "type_param", cn4 = 782176664, _m2 = 65535, MM = -10, ZS = 64433, wm2 = 43815, gm2 = 94031, bm2 = 73065, xA = 69958, LM = 145, Tm2 = "property", Xf = "jsx_children", Gf = "member_property_identifier", rA = 42537, No3 = "const", eA = 70278, Yf = "enum_string_member", X62 = "local", zf = "jsx_element_name_identifier", tA = 68223, Em2 = "\x01\x02", nA = 119967, Sm2 = 119994, uA = 66993, Jf = "jsx_member_expression_identifier", Am2 = "explicitType", iA = 67589, fA = 65597, cA = "exported", sA = 94111, aA = 113775, Kf = "object_spread_property_type", oA = 64847, Hf = "component_identifier", Wf = "class_implements_interface", qM = 162, BM = 243, vA = 12783, UM = `Fatal error: exception %s
|
|
55890
|
-
`, Im2 = 120093, G6 = "column", Vf = "component_rest_param", XM = "methods", lA = 70451, pA = 70312, kA = 69967, Pm2 = 70279, mA = 66463, hA = 92975, Cm2 = 70286, $f2 = "pattern_object_property_computed_key", Qf = "object_key_string_literal", dA = "jsError", Zf = "type_args", yA = 8304, GM = "==", wr5 = 115, xc2 = "declare_component", _A = 120092, wA = 43638, gA = 66811, Ia2 = -87, bA = 43334, TA = 66863, EA = 77823, YM = 143, rc2 = "optional_call", SA = 126562, Nm2 = 70162, ec2 = 104, zM = "static ", AA = 66963, Kv = "await", Om2 = 70107, V22 = "0", IA = 72250, PA = 8507, CA = 100351, jm2 = "AssignmentPattern", tc2 = "type", JM = "%u", NA = "NonNullExpression", nc2 = "function_expression_or_method", OA = 43470, KM = 146, HM = 242, WM = "camlinternalMod.ml", uc2 = "match_or_pattern", jA = 72750, DA = 69414, RA = 65370, ic2 = "syntax", VM = 32752, FA = 42963, $M = "End_of_file", MA = 12294, LA = 8471, QM = "elementType", qA = 43782, ZM = "++", BA = 43641, UA = 71944, fc2 = "record_property", XA = 126601, GA = 78894, xL = -45, Hv = "null", rL = 177, eL = "satisfies", YA = 131071, cc2 = "import_specifier", sc2 = "class_method", ac2 = "type_", zA = 126514, JA = 8454, tL = "inexact", KA = 67807, HA = 8525, WA = 65470, VA = 71352, oc2 = "tuple_spread_element", nL = 219, $A = "abstract", QA = 73458, Je7 = "return", Y6 = 65536, Dm2 = 126548, vc2 = "array_element", ZA = -253313196, xI = 186, Rm2 = "catch", lc2 = "infer_type", rI = 12295, uL = "Invalid legacy octal ", eI = 69762, tI = 43311, nI = 65437, pc2 = "variable_declaration", iL = -696510241, kc2 = "function_params", uI = 64316, fL = 311, Fm2 = 11565, cL = "infinity", iI = "@]", fI = 65908, mc2 = "extends", cI = 66204, sI = 43784, aI = 11742, Mm2 = 126503, Ke7 = "debugger", oI = 70457, z62 = 912068366, vI = 68786, Lm2 = "keyof", qm2 = 69415, lI = 12686, sn4 = 127343600, hc2 = "declare_type_alias", sL = "the", aL = 233, dc2 = "jsx_element_name_namespaced", pI = 72283, kI = 161, yc2 = "class_static_block", _c2 = "function_param_type", Pt7 = 128, mI = -673950933, Bm2 = 126591, oL = "Sys_error", hI = 74649, dI = 74862, J62 = "is", yI = 43738, _I = 68479, vL = 196, Um2 = 70854, wc2 = "enum_boolean_member", Xm2 = 72163, wI = 92783, lL = 281, gc2 = "component_param_name", gI = 68863, an4 = 32768, pL = 2048, bI = 64284, kL = "@{", TI = "\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01", Gm2 = 8455, bc2 = "update_expression", mL = 276, EI = 65500, K62 = "from", SI = 68447, Ym2 = 12592, AI = 92766, hL = ">>=", n22 = 110, II = 66431, PI = 43586, Tc2 = "jsx_identifier", CI = " : file already exists", R1 = 128, NI = 71958, OI = 66717, Ec2 = "enum_boolean_body", jI = 64262, Yr5 = "id", Sc2 = "component_renders_annotation", DI = 42888, RI = 8584, FI = 73008, Ac2 = "enum_symbol_body", Ic2 = "declare_namespace", zm2 = 72713, MI = 55215, Pc2 = "object_property_value_type", Cc2 = "match_wildcard_pattern", Nc2 = "for_in_assignment_pattern", Jm2 = 8485, LI = 43395, qI = 229, Pa2 = "true", BI = 43743, Oc2 = "enum_number_member", dL = 234, UI = 72969, yL = "expected *", Ee6 = 102, _L = 200, H62 = "symbol", Wv = "source", jc2 = "tparam_const_modifier", XI = 43714, Dc2 = "jsx_fragment", Rc2 = "jsx_attribute_name_identifier", W62 = "public", GI = 43442, Fc2 = "pattern_object_property", YI = 65786, zI = 70783, JI = 43713, KI = 72160, wL = "*-/", Mc2 = "export_named_specifier", Lc2 = "arrow_function", HI = 122623, Km2 = 70006, gL = "${", WI = 43814, qc2 = "generic_qualified_identifier_type", VI = 199, Bc2 = "jsx_spread_child", Hm2 = 8489, Wm2 = 184, bL = 2047, $I = 66955, Uc2 = "try_catch", QI = 70497, TL = 313, EL = 237, ZI = 67431, xP = 125183, SL = -602162310, on8 = "params", rP = "consequent", eP = 68029, tP = 67829, nP = 68095, Xc2 = "enum_string_body", uP = 93823, iP = 68351, fP = 65495, Gc2 = "declare_module", Yc2 = "match_as_pattern_target", zc2 = "body_expression", cP = 66175, sP = 191, Vm2 = 70441, $m2 = 65141, Qm2 = "&", Jc2 = "super_expression", Zm2 = 126564, aP = 72105, LI0 = "fs", He7 = "throw", oP = 68287, vP = 67839, Ca2 = 116, lP = 110882, pP = 69404, kP = 123197, Vv = 65279, il3 = "src/parser/type_parser.ml", mP = 68115, xh = 126547, rh = 126556, hP = 73055, Kc2 = "member_property_expression", Hc2 = "enum_defaulted_member", dP = 43071, yP = 11726, Wc2 = "component_type_rest_param", _P = 68607, Vc2 = "object_key", AL = 160, $22 = "variance", wP = 70655, gP = 70414, fl2 = "super", bP = 123583, TP = 65594, V6 = "method", EP = 73648, $6 = 121, SP = 93951, $c2 = "pattern_array_element_pattern", AP = 43764, IP = 42993, eh = 120145, PP = 74879, IL = 168, th = 8486, CP = 72001, Qc2 = "tagged_template", Zc2 = "module_ref_literal", NP = 65312, Oo2 = "implements", OP = 43700, jP = 120003, PL = "Invalid_argument", xs6 = 16777215, DP = 83526, nh = 69744, uh = 12336, rs5 = "switch_case", CL = -61, es5 = "optional_member", RP = 64274, ih = 64322, fh = 126530, FP = 71998, ch = 72970, MP = 13311, LP = 73647, qP = 120074, cl2 = "let", NL = "global", ts5 = "expression_statement", ns5 = "component_type_params", BP = 512, UP = 69634, XP = 67461, GP = 123627, YP = 64913, OL = "children", jL = "PropertyDefinition", DL = 1026, RL = "%li", us5 = "declare_class", zP = 43258, is5 = "indexed_access_type", JP = 124926, h22 = 112, KP = "b", fs24 = "predicate_expression", cs5 = "if_alternate_statement", Q62 = "private", FL = -594953737, ML = 140, HP = "nan", WP = 72103, sh = 11735, ss5 = "statement", VP = "rmdir", ah = 66512, $P = "match", QP = 198, ZP = 11734, as5 = "import_named_specifier", xC = 69599, rC = 68799, eC = 194559,
|
|
55890
|
+
`, Im2 = 120093, G6 = "column", Vf = "component_rest_param", XM = "methods", lA = 70451, pA = 70312, kA = 69967, Pm2 = 70279, mA = 66463, hA = 92975, Cm2 = 70286, $f2 = "pattern_object_property_computed_key", Qf = "object_key_string_literal", dA = "jsError", Zf = "type_args", yA = 8304, GM = "==", wr5 = 115, xc2 = "declare_component", _A = 120092, wA = 43638, gA = 66811, Ia2 = -87, bA = 43334, TA = 66863, EA = 77823, YM = 143, rc2 = "optional_call", SA = 126562, Nm2 = 70162, ec2 = 104, zM = "static ", AA = 66963, Kv = "await", Om2 = 70107, V22 = "0", IA = 72250, PA = 8507, CA = 100351, jm2 = "AssignmentPattern", tc2 = "type", JM = "%u", NA = "NonNullExpression", nc2 = "function_expression_or_method", OA = 43470, KM = 146, HM = 242, WM = "camlinternalMod.ml", uc2 = "match_or_pattern", jA = 72750, DA = 69414, RA = 65370, ic2 = "syntax", VM = 32752, FA = 42963, $M = "End_of_file", MA = 12294, LA = 8471, QM = "elementType", qA = 43782, ZM = "++", BA = 43641, UA = 71944, fc2 = "record_property", XA = 126601, GA = 78894, xL = -45, Hv = "null", rL = 177, eL = "satisfies", YA = 131071, cc2 = "import_specifier", sc2 = "class_method", ac2 = "type_", zA = 126514, JA = 8454, tL = "inexact", KA = 67807, HA = 8525, WA = 65470, VA = 71352, oc2 = "tuple_spread_element", nL = 219, $A = "abstract", QA = 73458, Je7 = "return", Y6 = 65536, Dm2 = 126548, vc2 = "array_element", ZA = -253313196, xI = 186, Rm2 = "catch", lc2 = "infer_type", rI = 12295, uL = "Invalid legacy octal ", eI = 69762, tI = 43311, nI = 65437, pc2 = "variable_declaration", iL = -696510241, kc2 = "function_params", uI = 64316, fL = 311, Fm2 = 11565, cL = "infinity", iI = "@]", fI = 65908, mc2 = "extends", cI = 66204, sI = 43784, aI = 11742, Mm2 = 126503, Ke7 = "debugger", oI = 70457, z62 = 912068366, vI = 68786, Lm2 = "keyof", qm2 = 69415, lI = 12686, sn4 = 127343600, hc2 = "declare_type_alias", sL = "the", aL = 233, dc2 = "jsx_element_name_namespaced", pI = 72283, kI = 161, yc2 = "class_static_block", _c2 = "function_param_type", Pt7 = 128, mI = -673950933, Bm2 = 126591, oL = "Sys_error", hI = 74649, dI = 74862, J62 = "is", yI = 43738, _I = 68479, vL = 196, Um2 = 70854, wc2 = "enum_boolean_member", Xm2 = 72163, wI = 92783, lL = 281, gc2 = "component_param_name", gI = 68863, an4 = 32768, pL = 2048, bI = 64284, kL = "@{", TI = "\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01", Gm2 = 8455, bc2 = "update_expression", mL = 276, EI = 65500, K62 = "from", SI = 68447, Ym2 = 12592, AI = 92766, hL = ">>=", n22 = 110, II = 66431, PI = 43586, Tc2 = "jsx_identifier", CI = " : file already exists", R1 = 128, NI = 71958, OI = 66717, Ec2 = "enum_boolean_body", jI = 64262, Yr5 = "id", Sc2 = "component_renders_annotation", DI = 42888, RI = 8584, FI = 73008, Ac2 = "enum_symbol_body", Ic2 = "declare_namespace", zm2 = 72713, MI = 55215, Pc2 = "object_property_value_type", Cc2 = "match_wildcard_pattern", Nc2 = "for_in_assignment_pattern", Jm2 = 8485, LI = 43395, qI = 229, Pa2 = "true", BI = 43743, Oc2 = "enum_number_member", dL = 234, UI = 72969, yL = "expected *", Ee6 = 102, _L = 200, H62 = "symbol", Wv = "source", jc2 = "tparam_const_modifier", XI = 43714, Dc2 = "jsx_fragment", Rc2 = "jsx_attribute_name_identifier", W62 = "public", GI = 43442, Fc2 = "pattern_object_property", YI = 65786, zI = 70783, JI = 43713, KI = 72160, wL = "*-/", Mc2 = "export_named_specifier", Lc2 = "arrow_function", HI = 122623, Km2 = 70006, gL = "${", WI = 43814, qc2 = "generic_qualified_identifier_type", VI = 199, Bc2 = "jsx_spread_child", Hm2 = 8489, Wm2 = 184, bL = 2047, $I = 66955, Uc2 = "try_catch", QI = 70497, TL = 313, EL = 237, ZI = 67431, xP = 125183, SL = -602162310, on8 = "params", rP = "consequent", eP = 68029, tP = 67829, nP = 68095, Xc2 = "enum_string_body", uP = 93823, iP = 68351, fP = 65495, Gc2 = "declare_module", Yc2 = "match_as_pattern_target", zc2 = "body_expression", cP = 66175, sP = 191, Vm2 = 70441, $m2 = 65141, Qm2 = "&", Jc2 = "super_expression", Zm2 = 126564, aP = 72105, LI0 = "fs", He7 = "throw", oP = 68287, vP = 67839, Ca2 = 116, lP = 110882, pP = 69404, kP = 123197, Vv = 65279, il3 = "src/parser/type_parser.ml", mP = 68115, xh = 126547, rh = 126556, hP = 73055, Kc2 = "member_property_expression", Hc2 = "enum_defaulted_member", dP = 43071, yP = 11726, Wc2 = "component_type_rest_param", _P = 68607, Vc2 = "object_key", AL = 160, $22 = "variance", wP = 70655, gP = 70414, fl2 = "super", bP = 123583, TP = 65594, V6 = "method", EP = 73648, $6 = 121, SP = 93951, $c2 = "pattern_array_element_pattern", AP = 43764, IP = 42993, eh = 120145, PP = 74879, IL = 168, th = 8486, CP = 72001, Qc2 = "tagged_template", Zc2 = "module_ref_literal", NP = 65312, Oo2 = "implements", OP = 43700, jP = 120003, PL = "Invalid_argument", xs6 = 16777215, DP = 83526, nh = 69744, uh = 12336, rs5 = "switch_case", CL = -61, es5 = "optional_member", RP = 64274, ih = 64322, fh = 126530, FP = 71998, ch = 72970, MP = 13311, LP = 73647, qP = 120074, cl2 = "let", NL = "global", ts5 = "expression_statement", ns5 = "component_type_params", BP = 512, UP = 69634, XP = 67461, GP = 123627, YP = 64913, OL = "children", jL = "PropertyDefinition", DL = 1026, RL = "%li", us5 = "declare_class", zP = 43258, is5 = "indexed_access_type", JP = 124926, h22 = 112, KP = "b", fs24 = "predicate_expression", cs5 = "if_alternate_statement", Q62 = "private", FL = -594953737, ML = 140, HP = "nan", WP = 72103, sh = 11735, ss5 = "statement", VP = "rmdir", ah = 66512, $P = "match", QP = 198, ZP = 11734, as5 = "import_named_specifier", xC = 69599, rC = 68799, eC = 194559, os8 = "match_array_pattern", LL = 174, vs6 = "function_", ls5 = "bigint_literal", t1 = 248, oh = 67638, vh = 126539, tC = 11557, qL = 214, nC = 5760, We7 = "break", vn3 = "block", ps5 = "match_member_pattern", uC = 123565, iC = 66815, m1 = "value", BL = 1039100673, fC = 69746, cC = 70448, sC = 74751, ks5 = "init", aC = 69551, lh = 65548, ms6 = "jsx_member_expression", ph = 68096, d22 = 108, kh = 126521, oC = 71487, hs5 = "match_statement", vC = 178205, lC = 12548, UL = " : is a directory", ln4 = ".", pC = 12348, sl3 = -835925911, B22 = "typeParameters", kC = 66855, Y1 = "typeAnnotation", $v = "bigint", ds5 = "jsx_attribute_value_literal", mh = 194, XL = "T_JSX_TEXT", mC = 68466, hh = 126537, GL = 67714067, hC = 69487, dh = "export", dC = 43822, yh = 126499, yC = 55242, ys5 = "member_type_identifier", YL = 138, _C = 71679, Qv = 130, wC = 12438, gC = 119969, zL = 298, _h = 12539, bC = 119972, JL = ",", TC = 71423, EC = "index out of bounds", Ct8 = 106, al2 = "%d", KL = "T_RENDERS_QUESTION", wh = 120571, gh = "returnType", SC = 69423, bh = 120070, HL = "%", Z62 = 117, AC = 179, IC = "EBADF", PC = 93759, Th = 64325, _s5 = "component_params", CC = 66517, NC = 67423, OC = 605857695, jC = 43518, WL = 251, ws5 = "for_of_statement", DC = 71983, VL = "~", RC = 12442, Ve7 = "switch", FC = 66207, Eh = 126535, $L = "&&=", MC = 69289, LC = 71723, gs5 = "generic_identifier_type", qC = 126619, bs5 = "object_type_property_setter", BC = 70418, QL = "<=", UC = 125251, XC = 11702, Ts4 = "enum_number_body", ol3 = 250, GC = 124910, YC = 69297, zC = 67455, JC = 42511, Es4 = "ts_satisfies", ZL = 268, KC = 68324, Sh = "an identifier", HC = 126534, Ss4 = 103, WC = 120126, jo2 = 449540197, x42 = "declare", VC = 68899, $C = 126502, As5 = "function_expression", xq = 142, QC = 123135, ZC = 67967, xN = 120487, rN = 120686, Is6 = "export_named_declaration", eN = 66348, Ah = 119981, tN = 12352, Ps6 = "tuple_type", nN = 68680, Ih = "target", Cs4 = "call";
|
|
55891
55891
|
function Ez(x6, r, e6, t25, u6) {
|
|
55892
55892
|
if (t25 <= r)
|
|
55893
55893
|
for (var i6 = 1;i6 <= u6; i6++)
|
|
@@ -58225,7 +58225,7 @@ var init_flow = __esm(() => {
|
|
|
58225
58225
|
function XJ(x6, r, e6, t25, u6, i6, c6, v6) {
|
|
58226
58226
|
return (x6.l >= 0 ? x6.l : x6.l = x6.length) == 7 ? x6(r, e6, t25, u6, i6, c6, v6) : Os5(x6, [r, e6, t25, u6, i6, c6, v6]);
|
|
58227
58227
|
}
|
|
58228
|
-
var D5 = undefined, NN = [t1, cD2, -1], Lq = [t1, oL, -2], mn4 = [t1, sy, -3], Kh = [t1, PL, -4], Ds6 = [t1, tF, -7], qq = [t1, dD2, -8], Bq = [t1, RM, -9], Nr5 = [t1, _M, -11], s4 = [t1, QF, -12], GJ = [4, 0, 0, 0, [12, 45, [4, 0, 0, 0, 0]]], ON = [0, [11, 'File "', [2, 0, [11, '", line ', [4, 0, 0, 0, [11, mD2, [4, 0, 0, 0, [12, 45, [4, 0, 0, 0, [11, ": ", [2, 0, 0]]]]]]]]]], 'File "%s", line %d, characters %d-%d: %s'], dl2 = [0, 0, [0, 0, 0], [0, 0, 0]], Lo3 = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0], Uq = [0, "first_leading", "last_trailing"], Xq = [0, Af, tn4, vc2, tf, Lc2, Ti6, Pu2, Tu2, u7, ls5, ki6, R7, G7, vn3, zc2, iu2, We7, Cs4, _i6, Ji6, l7, li6, c7, Pf2, Su2, Gu2, Ff, Wu2, yi5, Si6, ei6, B7, Wf, sc2, y7, ji6, Ef, yc2, H7, uf, ru2, Hf, qi6, gc2, Jn3, _s5, Sc2, Vf, mu2, K7, ns5, Wc2, ri6, ff, rf, Xe6, Ke7, us5, xc2, ou2, zi6, yu2, lf, gi6, Gc2, wi6, Ic2, hc2, qn4, Ju2, nf, be6, j7, ju2, bu2, Ec2, wc2, Bf, Hc2, O7, Ts4, Oc2, Xc2, Yf, Ac2, Yi6, Yn3, A7, Is6, yf, Mc2, Un3, t24, p7, ts5, Nc2, C7, mi6, Mf2, b7, v7, bf, ws5, Hi6, hi6, Ci6, vs6, Qn3, wf, Iu2, As5, nc2, gf, cu2, ti6, _c2, kc2, S7, Qi6, di6, Ru2, vi6, i7, tu2, gs5, qc2, Ni6, St8, cs5, U7, Ri6, W22, Gn4, Vi6, as5, Df2, Ou2, cc2, is5, lc2, ae4, vf2, eu2, xi6, Yu2, zn4, Rc2, Di6, Mi5, fi6, ds5, I7, Xf, Z7, D7, f7, zf, Bu2, dc2, z7, Dc2, Tc2, ms6, Jf, Tf, xu2, ku2, pf, ai6, Bc2, Hn4, g7, G1, oi6, N7,
|
|
58228
|
+
var D5 = undefined, NN = [t1, cD2, -1], Lq = [t1, oL, -2], mn4 = [t1, sy, -3], Kh = [t1, PL, -4], Ds6 = [t1, tF, -7], qq = [t1, dD2, -8], Bq = [t1, RM, -9], Nr5 = [t1, _M, -11], s4 = [t1, QF, -12], GJ = [4, 0, 0, 0, [12, 45, [4, 0, 0, 0, 0]]], ON = [0, [11, 'File "', [2, 0, [11, '", line ', [4, 0, 0, 0, [11, mD2, [4, 0, 0, 0, [12, 45, [4, 0, 0, 0, [11, ": ", [2, 0, 0]]]]]]]]]], 'File "%s", line %d, characters %d-%d: %s'], dl2 = [0, 0, [0, 0, 0], [0, 0, 0]], Lo3 = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0], Uq = [0, "first_leading", "last_trailing"], Xq = [0, Af, tn4, vc2, tf, Lc2, Ti6, Pu2, Tu2, u7, ls5, ki6, R7, G7, vn3, zc2, iu2, We7, Cs4, _i6, Ji6, l7, li6, c7, Pf2, Su2, Gu2, Ff, Wu2, yi5, Si6, ei6, B7, Wf, sc2, y7, ji6, Ef, yc2, H7, uf, ru2, Hf, qi6, gc2, Jn3, _s5, Sc2, Vf, mu2, K7, ns5, Wc2, ri6, ff, rf, Xe6, Ke7, us5, xc2, ou2, zi6, yu2, lf, gi6, Gc2, wi6, Ic2, hc2, qn4, Ju2, nf, be6, j7, ju2, bu2, Ec2, wc2, Bf, Hc2, O7, Ts4, Oc2, Xc2, Yf, Ac2, Yi6, Yn3, A7, Is6, yf, Mc2, Un3, t24, p7, ts5, Nc2, C7, mi6, Mf2, b7, v7, bf, ws5, Hi6, hi6, Ci6, vs6, Qn3, wf, Iu2, As5, nc2, gf, cu2, ti6, _c2, kc2, S7, Qi6, di6, Ru2, vi6, i7, tu2, gs5, qc2, Ni6, St8, cs5, U7, Ri6, W22, Gn4, Vi6, as5, Df2, Ou2, cc2, is5, lc2, ae4, vf2, eu2, xi6, Yu2, zn4, Rc2, Di6, Mi5, fi6, ds5, I7, Xf, Z7, D7, f7, zf, Bu2, dc2, z7, Dc2, Tc2, ms6, Jf, Tf, xu2, ku2, pf, ai6, Bc2, Hn4, g7, G1, oi6, N7, os8, su2, Yc2, Cu2, Au2, gu2, mf, L7, ps5, E7, du2, uu2, Nf, hf, uc2, Ki6, W72, df, hs5, Kn4, wu2, Cc2, Ei6, Mu2, Xu2, Kc2, Gf, ys5, Ui6, Zc2, Ii6, n7, si6, $u2, Hu2, Oi6, ni6, zu2, Vc2, Xn4, sf, Lu2, kf2, Qf, Xi6, r7, Vn3, Pc2, Kf, o7, e7, Wn3, bs5, Vu2, rc2, x7, es5, ge6, Eu2, Ai6, $c2, bi6, Y7, Fu2, jf, Bn3, m7, Zi6, Fc2, au2, $f2, P7, af, xf2, pu2, M7, Zu2, Pi6, Lf, Ge7, fs24, _7, If2, a7, q72, pi6, Ku2, fc2, qu2, Of, w7, ci6, Je7, T7, lu2, ii6, ss5, k7, fu2, Uu2, Jc2, Ve7, rs5, ic2, Bi6, Qc2, s7, Wi6, t72, He7, Q7, jc2, Uc2, Es4, Sf, _f2, oc2, Ps6, ac2, $n3, vu2, _u2, Zf, Zn4, X72, cf, ui6, J72, Uf, Qu2, d7, F7, hu2, Fi6, Du2, Gi6, Rf2, bc2, pc2, h7, qf, $22, V7, $i6, of, H22], hn4 = [0, 0, 0];
|
|
58229
58229
|
Dt7(11, s4, QF), Dt7(10, Nr5, _M), Dt7(9, [t1, oM, MM], oM), Dt7(8, Bq, RM), Dt7(7, qq, dD2), Dt7(6, Ds6, tF), Dt7(5, [t1, MR, -6], MR), Dt7(4, [t1, $M, -5], $M), Dt7(3, Kh, PL), Dt7(2, mn4, sy), Dt7(1, Lq, oL), Dt7(0, NN, cD2);
|
|
58230
58230
|
function L1(x6) {
|
|
58231
58231
|
if (typeof x6 == "number")
|
|
@@ -61618,8 +61618,8 @@ var init_flow = __esm(() => {
|
|
|
61618
61618
|
}, 0, r[1]);
|
|
61619
61619
|
};
|
|
61620
61620
|
}
|
|
61621
|
-
var KV = "Array.sub", HV = "first domain already spawned", WV = [0, "camlinternalOO.ml", BF, 50], VV = [0, WM, 72, 5], $V = [0, WM, 81, 2], QV = "/tmp", ZV = ln4, x$ = [0, "src/wtf8.ml", 65, 9], r$ = [0, "src/third-party/sedlex/flow_sedlexing.ml", jS, 4], e$ = "Flow_sedlexing.MalFormed", t$ = O6, n$ = H32, u$ = K32, i$ = H62, f$ = $v, c$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.LibFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.LibFile@ "], s$ = [0, [3, 0, 0], C6], a$ = [0, [17, 0, [12, 41, 0]], ck], o$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.SourceFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.SourceFile@ "], v$ = [0, [3, 0, 0], C6], l$ = [0, [17, 0, [12, 41, 0]], ck], p$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.JsonFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.JsonFile@ "], k$ = [0, [3, 0, 0], C6], m$ = [0, [17, 0, [12, 41, 0]], ck], h$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.ResourceFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.ResourceFile@ "], d$ = [0, [3, 0, 0], C6], y$ = [0, [17, 0, [12, 41, 0]], ck], _$ = [0, 1], w$ = [0, 0], g$ = [0, 1], b$ = [0, 2], T$ = [0, 2], E$ = [0, 0], S$ = [0, 1], A$ = [0, 1], I$ = [0, 1], P$ = [0, 1], C$ = [0, 2], N$ = [0, 1], O$ = [0, 1], j$ = [0, 0, 0], D$ = [0, 0, 0], R$ = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms6, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], F$ = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms6, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], M$ = GM, L$ = $F, q$ = SF, B$ = OD, U$ = Qy, X$ = QL, G$ = F6, Y$ = WD, z$ = YF, J$ = CF, K$ = yD2, H$ = $7, W$ = ze6, V$ = _R, $$ = pF, Q$ = se6, Z$ = HL, xQ = wR, rQ = _k, eQ = Qm2, tQ = bo3, nQ = I6, uQ = kM, iQ = YD, fQ = IR, cQ = RR, sQ = PF, aQ = qD, oQ = GD, vQ = hL, lQ = TR, pQ = vM, kQ = bF, mQ = yo3, hQ = fF, dQ = $L, yQ = eF, _Q = g6, wQ = cl2, gQ = No3, bQ = [0, [18, [1, [0, [11, Li6, 0], Li6]], [11, "{ ", 0]], "@[<2>{ "], TQ = "Loc.line", EQ = [0, [18, [1, [0, 0, rx]], [2, 0, [11, GR, [17, [0, Eo3, 1, 0], 0]]]], yF], SQ = [0, [4, 0, 0, 0, 0], al2], AQ = [0, [17, 0, 0], iI], IQ = [0, [12, 59, [17, [0, Eo3, 1, 0], 0]], ";@ "], PQ = G6, CQ = [0, [18, [1, [0, 0, rx]], [2, 0, [11, GR, [17, [0, Eo3, 1, 0], 0]]]], yF], NQ = [0, [4, 0, 0, 0, 0], al2], OQ = [0, [17, 0, 0], iI], jQ = [0, [17, [0, Eo3, 1, 0], [12, So3, [17, 0, 0]]], "@ }@]"], DQ = rx, RQ = "Object literal may not have data and accessor property with the same name", FQ = "Object literal may not have multiple get/set accessors with the same name", MQ = "Unexpected token <. Remember, adjacent JSX elements must be wrapped in an enclosing parent tag", LQ = "`let [` is ambiguous in this position because it is either a `let` binding pattern, or a member expression.", qQ = "Async functions can only be declared at top level or immediately within another function.", BQ = "`await` is an invalid identifier in async functions", UQ = "`await` is not allowed in async function parameters.", XQ = "Computed properties must have a value.", GQ = "Constructor can't be an accessor.", YQ = "Constructor can't be an async function.", zQ = "Constructor can't be a generator.", JQ = "It is sufficient for your declare function to just have a Promise return type.", KQ = "async is an implementation detail and isn't necessary for your declare function statement. ", HQ = "`declare` modifier can only appear on class fields.", WQ = "Unexpected token `=`. Initializers are not allowed in a `declare`.", VQ = "Unexpected token `=`. Initializers are not allowed in a `declare opaque type`.", $Q = "Classes may only have one constructor", QQ = "Rest element must be final element of an array pattern", ZQ = "Cannot export an enum with `export type`, try `export enum E {}` or `module.exports = E;` instead.", xZ = "Enum members are separated with `,`. Replace `;` with `,`.", rZ = "`const` enums are not supported. Flow Enums are designed to allow for inlining, however the inlining itself needs to be part of the build system (whatever you use) rather than Flow itself.", eZ = "Expected an object pattern, array pattern, or an identifier but found an expression instead", tZ = "Missing comma between export specifiers", nZ = "Generators can only be declared at top level or immediately within another function.", uZ = "Getter should have zero parameters", iZ = "A getter cannot have a `this` parameter.", fZ = "Illegal continue statement", cZ = "Illegal return statement", sZ = "Illegal Unicode escape", aZ = "Missing comma between import specifiers", oZ = "It cannot be used with `import type` or `import typeof` statements", vZ = "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. ", lZ = "Explicit inexact syntax cannot appear inside an explicit exact object type", pZ = "Explicit inexact syntax can only appear inside an object type", kZ = "Component params must be an identifier. If you'd like to destructure, you should use `name as {destructure}`", mZ = "A bigint literal must be an integer", hZ = "JSX value should be either an expression or a quoted JSX text", dZ = "Invalid left-hand side in assignment", yZ = "Invalid left-hand side in exponentiation expression", _Z = "Invalid left-hand side in for-in", wZ = "Invalid left-hand side in for-of", gZ = "Invalid optional indexed access. Indexed access uses bracket notation. Use the format `T?.[K]`.", bZ = "Invalid regular expression", TZ = "A bigint literal cannot use exponential notation", EZ = "Tuple spread elements cannot be optional.", SZ = "Tuple variance annotations can only be used with labeled tuple elements, e.g. `[+foo: number]`", AZ = "`typeof` can only be used to get the type of variables.", IZ = "JSX attributes must only be assigned a non-empty expression", PZ = "Literals cannot be used as shorthand properties.", CZ = "Malformed unicode", NZ = "`match` argument must not be empty", OZ = "`match` argument cannot contain spread elements", jZ = "`await` is not yet supported in `match` expressions", DZ = "`yield` is not yet supported in `match` expressions", RZ = "Object pattern can't contain methods", FZ = "Expected at least one type parameter.", MZ = "Type parameter declaration needs a default, since a preceding type parameter declaration has a default.", LZ = "More than one default clause in switch statement", qZ = "Illegal newline after throw", BZ = "Illegal newline before arrow", UZ = "Missing catch or finally after try", XZ = "Const must be initialized", GZ = "Destructuring assignment must be initialized", YZ = "An optional chain may not be used in a `new` expression.", zZ = "Template literals may not be used in an optional chain.", JZ = "Rest parameter must be final parameter of an argument list", KZ = "Private fields may not be deleted.", HZ = "Private fields can only be referenced from within a class.", WZ = "Rest property must be final property of an object pattern", VZ = "Records to not support private elements. Remove the `#`.", $Z = "Setter should have exactly one parameter", QZ = "A setter cannot have a `this` parameter.", ZZ = "Catch variable may not be eval or arguments in strict mode", x00 = "Delete of an unqualified identifier in strict mode.", r00 = "Duplicate data property in object literal not allowed in strict mode", e00 = "Function name may not be eval or arguments in strict mode", t00 = "Assignment to eval or arguments is not allowed in strict mode", n00 = "Postfix increment/decrement may not have eval or arguments operand in strict mode", u00 = "Prefix increment/decrement may not have eval or arguments operand in strict mode", i00 = "Strict mode code may not include a with statement", f00 = "Number literals with leading zeros are not allowed in strict mode.", c00 = "Octal literals are not allowed in strict mode.", s00 = "Strict mode function may not have duplicate parameter names", a00 = "Parameter name eval or arguments is not allowed in strict mode", o00 = 'Illegal "use strict" directive in function with non-simple parameter list', v00 = "Use of reserved word in strict mode", l00 = "Variable name may not be eval or arguments in strict mode", p00 = "You may not access a private field through the `super` keyword.", k00 = "Flow does not support abstract classes.", m00 = "Flow does not support template literal types.", h00 = "A type annotation is required for the `this` parameter.", d00 = "Arrow functions cannot have a `this` parameter; arrow functions automatically bind `this` when declared.", y00 = "Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.", _00 = "The `this` parameter cannot be optional.", w00 = "The `this` parameter must be the first function parameter.", g00 = "A trailing comma is not permitted after the rest element", b00 = "Unexpected end of input", T00 = "Explicit inexact syntax must come at the end of an object type", E00 = "Opaque type aliases are not allowed in untyped mode", S00 = "Unexpected proto modifier", A00 = "Unexpected reserved word", I00 = "Unexpected reserved type", P00 = "Spreading a type is only allowed inside an object type", C00 = "Unexpected static modifier", N00 = "Unexpected `super` outside of a class method", O00 = "`super()` is only valid in a class constructor", j00 = "Type aliases are not allowed in untyped mode", D00 = "Type annotations are not allowed in untyped mode", R00 = "Type declarations are not allowed in untyped mode", F00 = "Type exports are not allowed in untyped mode", M00 = "Type imports are not allowed in untyped mode", L00 = "Interfaces are not allowed in untyped mode", q00 = "Unexpected variance sigil", B00 = "Found a decorator in an unsupported position.", U00 = "Invalid regular expression: missing /", X00 = "Unexpected whitespace between `#` and identifier", G00 = "`yield` is an invalid identifier in generators", Y00 = "Yield expression not allowed in formal parameter", z00 = [0, [11, "Duplicate export for `", [2, 0, [12, 96, 0]]], "Duplicate export for `%s`"], J00 = [0, [11, "Private fields may only be declared once. `#", [2, 0, [11, "` is declared more than once.", 0]]], "Private fields may only be declared once. `#%s` is declared more than once."], K00 = [0, [11, "bigint enum members need to be initialized, e.g. `", [2, 0, [11, " = 1n,` in enum `", [2, 0, [11, nu2, 0]]]]], "bigint enum members need to be initialized, e.g. `%s = 1n,` in enum `%s`."], H00 = [0, [11, "Boolean enum members need to be initialized. Use either `", [2, 0, [11, " = true,` or `", [2, 0, [11, " = false,` in enum `", [2, 0, [11, nu2, 0]]]]]]], "Boolean enum members need to be initialized. Use either `%s = true,` or `%s = false,` in enum `%s`."], W00 = [0, [11, "Enum member names need to be unique, but the name `", [2, 0, [11, "` has already been used before in enum `", [2, 0, [11, nu2, 0]]]]], "Enum member names need to be unique, but the name `%s` has already been used before in enum `%s`."], V00 = [0, [11, WR, [2, 0, [11, "` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.", 0]]], "Enum `%s` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers."], $00 = "The `...` must come at the end of the enum body. Remove the trailing comma.", Q00 = "The `...` must come after all enum members. Move it to the end of the enum body.", Z00 = [0, [11, "Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `", [2, 0, [11, nu2, 0]]], "Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `%s`."], xx0 = [0, [11, "Enum type `", [2, 0, [11, "` is not valid. ", [2, 0, 0]]]], "Enum type `%s` is not valid. %s"], rx0 = [0, [11, "Supplied enum type is not valid. ", [2, 0, 0]], "Supplied enum type is not valid. %s"], ex0 = [0, [11, "Enum member names and initializers are separated with `=`. Replace `", [2, 0, [11, ":` with `", [2, 0, [11, " =`.", 0]]]]], "Enum member names and initializers are separated with `=`. Replace `%s:` with `%s =`."], tx0 = [0, [11, WR, [2, 0, [11, "` has type `", [2, 0, [11, "`, so the initializer of `", [2, 0, [11, "` needs to be a ", [2, 0, [11, " literal.", 0]]]]]]]]], "Enum `%s` has type `%s`, so the initializer of `%s` needs to be a %s literal."], nx0 = [0, [11, "Symbol enum members cannot be initialized. Use `", [2, 0, [11, ",` in enum `", [2, 0, [11, nu2, 0]]]]], "Symbol enum members cannot be initialized. Use `%s,` in enum `%s`."], ux0 = [0, [11, "The enum member initializer for `", [2, 0, [11, "` needs to be a literal (either a boolean, number, or string) in enum `", [2, 0, [11, nu2, 0]]]]], "The enum member initializer for `%s` needs to be a literal (either a boolean, number, or string) in enum `%s`."], ix0 = [0, [11, "Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `", [2, 0, [11, "`, consider using `", [2, 0, [11, "`, in enum `", [2, 0, [11, nu2, 0]]]]]]], "Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%s`, consider using `%s`, in enum `%s`."], fx0 = [0, [11, "Number enum members need to be initialized, e.g. `", [2, 0, [11, " = 1,` in enum `", [2, 0, [11, nu2, 0]]]]], "Number enum members need to be initialized, e.g. `%s = 1,` in enum `%s`."], cx0 = [0, [11, "String enum members need to consistently either all use initializers, or use no initializers, in enum ", [2, 0, [12, 46, 0]]], "String enum members need to consistently either all use initializers, or use no initializers, in enum %s."], sx0 = [0, [11, "Expected corresponding JSX closing tag for ", [2, 0, 0]], "Expected corresponding JSX closing tag for %s"], ax0 = "immediately within another function.", ox0 = "In strict mode code, functions can only be declared at top level or ", vx0 = "inside a block, or as the body of an if statement.", lx0 = "In non-strict mode code, functions can only be declared at top level, ", px0 = " `break` statements are not required in `match` statements, as unlike `switch` statements, `match` statement cases do not fall-through by default.", kx0 = rx, mx0 = [0, [11, "Illegal break statement.", [2, 0, 0]], "Illegal break statement.%s"], hx0 = zM, dx0 = rx, yx0 = XM, _x0 = DF, wx0 = DM, gx0 = [0, [11, "Classes may not have ", [2, 0, [2, 0, [11, DD2, [2, 0, [11, nu2, 0]]]]]], "Classes may not have %s%s named `%s`."], bx0 = "Components use `renders` instead of `:` to annotate the render type of a component.", Tx0 = uM, Ex0 = rx, Sx0 = [0, [11, "String params require local bindings using `as` renaming. You can use `'", [2, 0, [11, "' as ", [2, 0, [2, 0, [11, ": <TYPE>` ", 0]]]]]], "String params require local bindings using `as` renaming. You can use `'%s' as %s%s: <TYPE>` "], Ax0 = "Remove the period.", Ix0 = "Indexed access uses bracket notation.", Px0 = [0, [11, "Invalid indexed access. ", [2, 0, [11, " Use the format `T[K]`.", 0]]], "Invalid indexed access. %s Use the format `T[K]`."], Cx0 = [0, [11, "Invalid flags supplied to RegExp constructor '", [2, 0, [12, 39, 0]]], "Invalid flags supplied to RegExp constructor '%s'"], Nx0 = tn4, Ox0 = Dp2, jx0 = [0, [11, "In match ", [2, 0, [11, " pattern, the rest must be the last element in the pattern", 0]]], "In match %s pattern, the rest must be the last element in the pattern"], Dx0 = [0, [11, "JSX element ", [2, 0, [11, " has no corresponding closing tag.", 0]]], "JSX element %s has no corresponding closing tag."], Rx0 = [0, [11, tM, [2, 0, [11, "`. Parentheses are required to combine `??` with `&&` or `||` expressions.", 0]]], "Unexpected token `%s`. Parentheses are required to combine `??` with `&&` or `||` expressions."], Fx0 = zM, Mx0 = rx, Lx0 = XM, qx0 = A6, Bx0 = [0, [11, "Records may not have ", [2, 0, [2, 0, [11, DD2, [2, 0, [11, nu2, 0]]]]]], "Records may not have %s%s named `%s`."], Ux0 = [0, [2, 0, [11, " '", [2, 0, [11, "' has already been declared", 0]]]], "%s '%s' has already been declared"], Xx0 = rx, Gx0 = k6, Yx0 = " You can try using JavaScript private fields by prepending `#` to the field name.", zx0 = Q62, Jx0 = " Fields and methods are public by default. You can simply omit the `public` keyword.", Kx0 = W62, Hx0 = [0, [11, "Flow does not support using `", [2, 0, [11, "` in classes.", [2, 0, 0]]]], "Flow does not support using `%s` in classes.%s"], Wx0 = [0, [11, "Private fields must be declared before they can be referenced. `#", [2, 0, [11, "` has not been declared.", 0]]], "Private fields must be declared before they can be referenced. `#%s` has not been declared."], Vx0 = [0, [11, xM, [2, 0, 0]], "Unexpected %s"], $x0 = [0, [11, tM, [2, 0, [11, "`. Did you mean `", [2, 0, [11, "`?", 0]]]]], "Unexpected token `%s`. Did you mean `%s`?"], Qx0 = [0, [11, xM, [2, 0, [11, ", expected ", [2, 0, 0]]]], "Unexpected %s, expected %s"], Zx0 = [0, [11, "Undefined label '", [2, 0, [12, 39, 0]]], "Undefined label '%s'"], xr0 = "Parse_error.Error", rr0 = [0, [0, 36, 37], [0, 48, 58], [0, 65, 91], [0, 95, 96], [0, 97, un4], [0, py, Sg], [0, NS, s9], [0, j_, Wm2], [0, xI, z_], [0, Y32, lk], [0, ty, Gp2], [0, t1, 706], [0, CD2, 722], [0, 736, 741], [0, 748, 749], [0, 750, 751], [0, 768, 885], [0, 886, 888], [0, 890, 894], [0, 895, 896], [0, 902, 907], [0, 908, 909], [0, 910, 930], [0, jM, 1014], [0, 1015, 1154], [0, 1155, 1160], [0, 1162, 1328], [0, 1329, 1367], [0, 1369, 1370], [0, 1376, 1417], [0, 1425, 1470], [0, 1471, 1472], [0, 1473, 1475], [0, 1476, 1478], [0, 1479, 1480], [0, 1488, 1515], [0, 1519, 1523], [0, 1552, 1563], [0, 1568, 1642], [0, 1646, 1748], [0, 1749, 1757], [0, 1759, 1769], [0, 1770, 1789], [0, 1791, 1792], [0, 1808, 1867], [0, 1869, 1970], [0, 1984, 2038], [0, 2042, 2043], [0, 2045, 2046], [0, Gg, 2094], [0, 2112, 2140], [0, 2144, 2155], [0, 2208, 2229], [0, 2230, 2238], [0, 2259, 2274], [0, 2275, 2404], [0, 2406, 2416], [0, 2417, 2436], [0, 2437, 2445], [0, 2447, 2449], [0, 2451, 2473], [0, 2474, 2481], [0, 2482, 2483], [0, 2486, 2490], [0, 2492, 2501], [0, 2503, 2505], [0, 2507, 2511], [0, 2519, 2520], [0, 2524, 2526], [0, 2527, 2532], [0, 2534, 2546], [0, 2556, 2557], [0, 2558, 2559], [0, 2561, 2564], [0, 2565, 2571], [0, 2575, 2577], [0, 2579, 2601], [0, 2602, 2609], [0, 2610, 2612], [0, 2613, 2615], [0, 2616, 2618], [0, 2620, 2621], [0, 2622, 2627], [0, 2631, 2633], [0, 2635, 2638], [0, 2641, 2642], [0, 2649, 2653], [0, 2654, 2655], [0, 2662, 2678], [0, 2689, 2692], [0, 2693, 2702], [0, 2703, 2706], [0, 2707, 2729], [0, 2730, 2737], [0, 2738, 2740], [0, 2741, 2746], [0, 2748, 2758], [0, 2759, 2762], [0, 2763, 2766], [0, 2768, 2769], [0, 2784, 2788], [0, 2790, 2800], [0, 2809, 2816], [0, 2817, 2820], [0, 2821, 2829], [0, 2831, 2833], [0, 2835, 2857], [0, 2858, 2865], [0, 2866, 2868], [0, 2869, 2874], [0, 2876, 2885], [0, 2887, 2889], [0, 2891, 2894], [0, 2902, 2904], [0, 2908, 2910], [0, 2911, 2916], [0, 2918, 2928], [0, 2929, 2930], [0, 2946, 2948], [0, 2949, 2955], [0, 2958, 2961], [0, 2962, 2966], [0, 2969, 2971], [0, 2972, 2973], [0, 2974, 2976], [0, 2979, 2981], [0, 2984, 2987], [0, 2990, 3002], [0, 3006, 3011], [0, 3014, 3017], [0, 3018, 3022], [0, 3024, 3025], [0, 3031, 3032], [0, 3046, 3056], [0, 3072, 3085], [0, 3086, 3089], [0, 3090, 3113], [0, 3114, 3130], [0, 3133, 3141], [0, 3142, 3145], [0, 3146, 3150], [0, 3157, 3159], [0, 3160, 3163], [0, 3168, 3172], [0, 3174, 3184], [0, 3200, 3204], [0, 3205, 3213], [0, 3214, 3217], [0, 3218, 3241], [0, 3242, 3252], [0, 3253, 3258], [0, 3260, 3269], [0, 3270, 3273], [0, 3274, 3278], [0, 3285, 3287], [0, 3294, 3295], [0, 3296, 3300], [0, 3302, 3312], [0, 3313, 3315], [0, 3328, 3332], [0, 3333, 3341], [0, 3342, 3345], [0, 3346, 3397], [0, 3398, 3401], [0, 3402, 3407], [0, 3412, 3416], [0, 3423, 3428], [0, 3430, 3440], [0, 3450, 3456], [0, 3458, 3460], [0, 3461, 3479], [0, 3482, 3506], [0, 3507, 3516], [0, 3517, 3518], [0, 3520, 3527], [0, 3530, 3531], [0, 3535, 3541], [0, 3542, 3543], [0, 3544, 3552], [0, 3558, 3568], [0, 3570, 3572], [0, 3585, 3643], [0, 3648, 3663], [0, 3664, 3674], [0, 3713, 3715], [0, 3716, 3717], [0, 3718, 3723], [0, 3724, 3748], [0, 3749, 3750], [0, 3751, 3774], [0, 3776, 3781], [0, 3782, 3783], [0, 3784, 3790], [0, 3792, 3802], [0, 3804, 3808], [0, 3840, 3841], [0, 3864, 3866], [0, 3872, 3882], [0, 3893, 3894], [0, 3895, 3896], [0, 3897, 3898], [0, 3902, 3912], [0, 3913, 3949], [0, 3953, 3973], [0, 3974, 3992], [0, 3993, 4029], [0, 4038, 4039], [0, NF, 4170], [0, 4176, 4254], [0, 4256, 4294], [0, 4295, 4296], [0, 4301, 4302], [0, 4304, 4347], [0, 4348, 4681], [0, 4682, 4686], [0, 4688, 4695], [0, 4696, 4697], [0, 4698, 4702], [0, 4704, 4745], [0, 4746, 4750], [0, 4752, 4785], [0, 4786, 4790], [0, 4792, 4799], [0, 4800, 4801], [0, 4802, 4806], [0, 4808, 4823], [0, 4824, 4881], [0, 4882, 4886], [0, 4888, 4955], [0, 4957, 4960], [0, 4969, 4978], [0, 4992, 5008], [0, 5024, 5110], [0, 5112, 5118], [0, 5121, 5741], [0, 5743, nC], [0, 5761, 5787], [0, 5792, 5867], [0, 5870, 5881], [0, 5888, 5901], [0, 5902, 5909], [0, 5920, 5941], [0, 5952, 5972], [0, 5984, 5997], [0, 5998, 6001], [0, 6002, 6004], [0, 6016, 6100], [0, 6103, 6104], [0, 6108, 6110], [0, 6112, 6122], [0, 6155, 6158], [0, 6160, 6170], [0, 6176, 6265], [0, 6272, 6315], [0, 6320, 6390], [0, 6400, 6431], [0, 6432, 6444], [0, 6448, 6460], [0, 6470, 6510], [0, 6512, 6517], [0, 6528, 6572], [0, 6576, 6602], [0, 6608, 6619], [0, 6656, 6684], [0, 6688, 6751], [0, 6752, 6781], [0, 6783, 6794], [0, 6800, 6810], [0, 6823, 6824], [0, 6832, 6846], [0, 6912, 6988], [0, 6992, 7002], [0, 7019, 7028], [0, 7040, 7156], [0, 7168, 7224], [0, 7232, 7242], [0, 7245, 7294], [0, 7296, 7305], [0, 7312, 7355], [0, 7357, 7360], [0, 7376, 7379], [0, 7380, 7419], [0, 7424, 7674], [0, 7675, 7958], [0, 7960, 7966], [0, 7968, 8006], [0, 8008, 8014], [0, 8016, 8024], [0, 8025, 8026], [0, 8027, 8028], [0, 8029, 8030], [0, 8031, 8062], [0, 8064, 8117], [0, 8118, 8125], [0, 8126, 8127], [0, 8130, 8133], [0, 8134, 8141], [0, 8144, 8148], [0, 8150, 8156], [0, 8160, 8173], [0, 8178, 8181], [0, 8182, 8189], [0, tR, NM], [0, 8255, 8257], [0, 8276, 8277], [0, F8, 8306], [0, f8, 8320], [0, 8336, 8349], [0, 8400, 8413], [0, 8417, 8418], [0, 8421, 8433], [0, dm2, 8451], [0, Gm2, 8456], [0, 8458, tk], [0, dk, 8470], [0, sM, 8478], [0, _8, Jm2], [0, th, gk], [0, Ik, Hm2], [0, 8490, 8506], [0, 8508, 8512], [0, 8517, 8522], [0, Lk, 8527], [0, 8544, 8585], [0, 11264, 11311], [0, 11312, 11359], [0, 11360, 11493], [0, 11499, 11508], [0, 11520, om2], [0, gp2, 11560], [0, Fm2, 11566], [0, 11568, 11624], [0, u8, 11632], [0, ak, 11671], [0, 11680, lm2], [0, 11688, km2], [0, 11696, bp2], [0, 11704, Uk], [0, 11712, z8], [0, 11720, Ip2], [0, 11728, sh], [0, 11736, 11743], [0, 11744, 11776], [0, 12293, 12296], [0, 12321, uh], [0, 12337, 12342], [0, 12344, 12349], [0, 12353, 12439], [0, 12441, X8], [0, 12449, _h], [0, 12540, 12544], [0, 12549, Ym2], [0, 12593, 12687], [0, 12704, 12731], [0, 12784, 12800], [0, 13312, 19894], [0, 19968, 40944], [0, 40960, 42125], [0, 42192, 42238], [0, 42240, 42509], [0, 42512, 42540], [0, 42560, 42608], [0, 42612, ek], [0, 42623, 42738], [0, 42775, 42784], [0, 42786, 42889], [0, 42891, 42944], [0, 42946, 42951], [0, l8, 43048], [0, 43072, 43124], [0, 43136, 43206], [0, 43216, 43226], [0, 43232, 43256], [0, $k, Yk], [0, 43261, 43310], [0, 43312, 43348], [0, 43360, 43389], [0, 43392, 43457], [0, W8, 43482], [0, 43488, Bp2], [0, aF, 43575], [0, 43584, 43598], [0, 43600, 43610], [0, 43616, 43639], [0, fm2, 43715], [0, 43739, 43742], [0, 43744, 43760], [0, 43762, 43767], [0, 43777, 43783], [0, 43785, 43791], [0, 43793, 43799], [0, 43808, wm2], [0, 43816, p8], [0, 43824, Q8], [0, 43868, Np2], [0, 43888, 44011], [0, 44012, 44014], [0, 44016, 44026], [0, 44032, 55204], [0, 55216, 55239], [0, 55243, 55292], [0, 63744, 64110], [0, 64112, 64218], [0, 64256, 64263], [0, 64275, 64280], [0, Wk, qp2], [0, 64298, b8], [0, 64312, ym2], [0, Qk, pk], [0, 64320, ih], [0, 64323, Th], [0, 64326, 64434], [0, 64467, 64830], [0, 64848, 64912], [0, 64914, 64968], [0, 65008, 65020], [0, 65024, 65040], [0, 65056, 65072], [0, 65075, 65077], [0, 65101, 65104], [0, 65136, $m2], [0, 65142, 65277], [0, 65296, 65306], [0, 65313, 65339], [0, 65343, pm2], [0, 65345, 65371], [0, 65382, 65471], [0, 65474, 65480], [0, 65482, 65488], [0, 65490, 65496], [0, 65498, 65501], [0, Y6, lh], [0, 65549, Z8], [0, 65576, Ek], [0, 65596, Ak], [0, 65599, 65614], [0, 65616, 65630], [0, 65664, 65787], [0, 65856, 65909], [0, 66045, 66046], [0, 66176, 66205], [0, 66208, 66257], [0, 66272, 66273], [0, 66304, 66336], [0, 66349, 66379], [0, 66384, 66427], [0, 66432, 66462], [0, 66464, 66500], [0, 66504, ah], [0, 66513, 66518], [0, 66560, 66718], [0, 66720, 66730], [0, 66736, 66772], [0, 66776, 66812], [0, 66816, 66856], [0, 66864, 66916], [0, 67072, 67383], [0, 67392, 67414], [0, 67424, 67432], [0, 67584, 67590], [0, vk, x8], [0, 67594, oh], [0, 67639, 67641], [0, $8, 67645], [0, 67647, 67670], [0, 67680, 67703], [0, 67712, 67743], [0, 67808, Hp2], [0, 67828, 67830], [0, 67840, 67862], [0, 67872, 67898], [0, 67968, 68024], [0, 68030, 68032], [0, ph, 68100], [0, 68101, 68103], [0, 68108, Xk], [0, 68117, V8], [0, 68121, 68150], [0, 68152, 68155], [0, 68159, 68160], [0, 68192, 68221], [0, 68224, 68253], [0, 68288, D8], [0, 68297, 68327], [0, 68352, 68406], [0, 68416, 68438], [0, 68448, 68467], [0, 68480, 68498], [0, 68608, 68681], [0, 68736, 68787], [0, 68800, 68851], [0, 68864, 68904], [0, 68912, 68922], [0, 69376, 69405], [0, qm2, 69416], [0, 69424, 69457], [0, 69600, 69623], [0, 69632, 69703], [0, 69734, nh], [0, 69759, 69819], [0, 69840, 69865], [0, 69872, 69882], [0, 69888, 69941], [0, 69942, 69952], [0, Up2, Dk], [0, 69968, 70004], [0, Km2, 70007], [0, 70016, 70085], [0, 70089, 70093], [0, 70096, Om2], [0, o8, 70109], [0, 70144, Nm2], [0, 70163, 70200], [0, 70206, 70207], [0, 70272, Pm2], [0, S8, Fk], [0, 70282, Cm2], [0, 70287, mm2], [0, 70303, 70313], [0, 70320, 70379], [0, 70384, 70394], [0, 70400, jp2], [0, 70405, 70413], [0, 70415, 70417], [0, 70419, Vm2], [0, 70442, Y8], [0, 70450, cm2], [0, 70453, 70458], [0, 70459, 70469], [0, 70471, 70473], [0, 70475, 70478], [0, Yp2, 70481], [0, 70487, 70488], [0, 70493, 70500], [0, 70502, 70509], [0, 70512, 70517], [0, 70656, 70731], [0, 70736, 70746], [0, uk, 70752], [0, 70784, Um2], [0, i8, 70856], [0, 70864, 70874], [0, 71040, 71094], [0, 71096, 71105], [0, 71128, 71134], [0, 71168, 71233], [0, a8, 71237], [0, 71248, 71258], [0, 71296, 71353], [0, 71360, 71370], [0, 71424, 71451], [0, 71453, 71468], [0, 71472, 71482], [0, 71680, 71739], [0, 71840, 71914], [0, 71935, 71936], [0, 72096, 72104], [0, 72106, 72152], [0, 72154, R8], [0, Xm2, 72165], [0, t82, 72255], [0, 72263, 72264], [0, qk, 72346], [0, k8, 72350], [0, 72384, 72441], [0, 72704, zm2], [0, 72714, 72759], [0, 72760, 72769], [0, 72784, 72794], [0, 72818, 72848], [0, 72850, 72872], [0, 72873, 72887], [0, 72960, d8], [0, 72968, ch], [0, 72971, 73015], [0, 73018, 73019], [0, 73020, 73022], [0, 73023, 73032], [0, 73040, 73050], [0, 73056, E8], [0, 73063, bm2], [0, 73066, 73103], [0, 73104, 73106], [0, 73107, 73113], [0, 73120, 73130], [0, 73440, 73463], [0, 73728, 74650], [0, 74752, 74863], [0, 74880, 75076], [0, 77824, 78895], [0, 82944, 83527], [0, 92160, 92729], [0, 92736, 92767], [0, 92768, 92778], [0, 92880, 92910], [0, 92912, 92917], [0, 92928, 92983], [0, 92992, 92996], [0, 93008, 93018], [0, 93027, 93048], [0, 93053, 93072], [0, 93760, 93824], [0, 93952, 94027], [0, gm2, 94088], [0, 94095, 94112], [0, 94176, mk], [0, Op2, 94180], [0, 94208, 100344], [0, 100352, 101107], [0, 110592, 110879], [0, 110928, 110931], [0, 110948, 110952], [0, 110960, 111356], [0, 113664, 113771], [0, 113776, 113789], [0, 113792, 113801], [0, 113808, 113818], [0, 113821, 113823], [0, 119141, 119146], [0, 119149, 119155], [0, 119163, 119171], [0, 119173, 119180], [0, 119210, 119214], [0, 119362, 119365], [0, 119808, Fp2], [0, 119894, jk], [0, 119966, 119968], [0, r8, 119971], [0, 119973, 119975], [0, 119977, Ah], [0, 119982, Sm2], [0, M8, xm2], [0, 119997, c8], [0, 120005, bh], [0, 120071, 120075], [0, 120077, sk], [0, 120086, Im2], [0, 120094, Xp2], [0, 120123, H8], [0, 120128, n8], [0, Jk, 120135], [0, 120138, eh], [0, 120146, 120486], [0, 120488, yk], [0, 120514, T8], [0, 120540, wh], [0, 120572, Rk], [0, 120598, C8], [0, 120630, Zp2], [0, 120656, w8], [0, 120688, zp2], [0, 120714, Cp2], [0, 120746, Nk], [0, 120772, 120780], [0, 120782, 120832], [0, 121344, 121399], [0, 121403, 121453], [0, 121461, 121462], [0, 121476, 121477], [0, 121499, 121504], [0, 121505, 121520], [0, 122880, 122887], [0, 122888, 122905], [0, 122907, 122914], [0, 122915, 122917], [0, 122918, 122923], [0, 123136, 123181], [0, 123184, 123198], [0, 123200, 123210], [0, Sp2, 123215], [0, 123584, 123642], [0, 124928, 125125], [0, 125136, 125143], [0, 125184, 125260], [0, 125264, 125274], [0, 126464, xk], [0, 126469, hm2], [0, 126497, yh], [0, Pp2, 126501], [0, Mm2, J8], [0, 126505, Ep2], [0, 126516, N8], [0, kh, tm2], [0, Vp2, 126524], [0, fh, 126531], [0, Eh, Qp2], [0, hh, vm2], [0, vh, Mp2], [0, 126541, Mk], [0, 126545, xh], [0, Dm2, 126549], [0, j8, $p2], [0, Zk, y8], [0, am2, rh], [0, ok, Jp2], [0, q8, Sk], [0, 126561, Wp2], [0, Zm2, 126565], [0, 126567, Rp2], [0, 126572, nk], [0, 126580, A8], [0, 126585, Vk], [0, O8, Bm2], [0, 126592, Kp2], [0, 126603, 126620], [0, 126625, P8], [0, 126629, m8], [0, 126635, 126652], [0, 131072, 173783], [0, 173824, 177973], [0, 177984, 178206], [0, 178208, 183970], [0, 183984, 191457], [0, 194560, 195102], [0, 917760, 918000]], er0 = [0, 1, 0], tr0 = [0, 0, [0, 1, 0], [0, 1, 0]], nr0 = sL, ur0 = "end of input", ir0 = U62, fr0 = "template literal part", cr0 = U62, sr0 = nD2, ar0 = sL, or0 = U62, vr0 = H32, lr0 = U62, pr0 = $v, kr0 = U62, mr0 = K32, hr0 = "an", dr0 = St8, yr0 = Nu2, _r0 = [0, [11, "token `", [2, 0, [12, 96, 0]]], "token `%s`"], wr0 = "{", gr0 = em2, br0 = "{|", Tr0 = "|}", Er0 = PM, Sr0 = iM, Ar0 = "[", Ir0 = "]", Pr0 = NT, Cr0 = JL, Nr0 = ln4, Or0 = "=>", jr0 = "...", Dr0 = _D, Rr0 = DM, Fr0 = $32, Mr0 = nm2, Lr0 = bo3, qr0 = I6, Br0 = Je7, Ur0 = Ve7, Xr0 = $P, Gr0 = DT, Yr0 = Bv, zr0 = He7, Jr0 = um2, Kr0 = g6, Hr0 = Tp2, Wr0 = L8, Vr0 = No3, $r0 = cl2, Qr0 = Hv, Zr0 = wa2, x10 = Pa2, r10 = We7, e10 = rk, t102 = Rm2, n10 = Xe6, u10 = Fv, i10 = Tk, f10 = U8, c10 = K8, s10 = h6, a10 = mc2, o10 = Ue5, v10 = Ck, l10 = Yv, p10 = E6, k10 = Aa2, m10 = ga, h10 = j6, d10 = dh, y10 = W22, _10 = fl2, w10 = Oo2, g10 = ae4, b10 = Pk, T10 = Q62, E10 = k6, S10 = W62, A10 = H22, I10 = Ke7, P10 = x42, C10 = tc2, N10 = zb, O10 = JS, j10 = Io3, D10 = Kv, R10 = "%checks", F10 = TR, M10 = hL, L10 = GD, q10 = bF, B10 = vM, U10 = yo3, X10 = qD, G10 = PF, Y10 = IR, z10 = RR, J10 = YD, K10 = kM, H10 = fF, W10 = $L, V10 = eF, $10 = p_, Q10 = "?.", Z10 = Dw, x20 = uM, r20 = Iv, e20 = LF2, t202 = CM, n20 = wR, u20 = _k, i20 = Qm2, f20 = GM, c20 = $F, s20 = SF, a20 = OD, o20 = QL, v20 = WD, l20 = Qy, p20 = F6, k20 = YF, m20 = CF, h20 = yD2, d20 = $7, y20 = ze6, _20 = se6, w20 = _R, g20 = pF, b20 = HL, T20 = SD, E20 = VL, S20 = ZM, A20 = kR, I20 = rx, P20 = ik, C20 = wk, N20 = be6, O20 = H32, j20 = $v, D20 = K32, R20 = ga, F20 = H62, M20 = hk, L20 = bk, q20 = Hk, B20 = Lm2, U20 = Xv, X20 = FD2, G20 = J62, Y20 = tl2, z20 = V32, J20 = jF, K20 = uF, H20 = m6, W20 = m6, V20 = gL, $20 = m6, Q20 = m6, Z20 = em2, xe0 = em2, re0 = gL, ee0 = se6, te0 = se6, ne0 = O6, ue0 = rm2, ie0 = "T_LCURLY", fe0 = "T_RCURLY", ce0 = "T_LCURLYBAR", se0 = "T_RCURLYBAR", ae0 = "T_LPAREN", oe0 = "T_RPAREN", ve0 = "T_LBRACKET", le0 = "T_RBRACKET", pe0 = "T_SEMICOLON", ke0 = "T_COMMA", me0 = "T_PERIOD", he0 = "T_ARROW", de0 = "T_ELLIPSIS", ye0 = "T_AT", _e0 = "T_POUND", we0 = "T_FUNCTION", ge0 = "T_IF", be0 = "T_IN", Te0 = "T_INSTANCEOF", Ee0 = "T_RETURN", Se0 = "T_SWITCH", Ae0 = "T_MATCH", Ie0 = "T_RECORD", Pe0 = "T_THIS", Ce0 = "T_THROW", Ne0 = "T_TRY", Oe0 = "T_VAR", je0 = "T_WHILE", De0 = "T_WITH", Re0 = "T_CONST", Fe0 = "T_LET", Me0 = "T_NULL", Le0 = "T_FALSE", qe0 = "T_TRUE", Be0 = "T_BREAK", Ue0 = "T_CASE", Xe0 = "T_CATCH", Ge0 = "T_CONTINUE", Ye0 = "T_DEFAULT", ze0 = "T_DO", Je0 = "T_FINALLY", Ke0 = "T_FOR", He0 = "T_CLASS", We0 = "T_EXTENDS", Ve0 = "T_STATIC", $e0 = "T_ELSE", Qe0 = "T_NEW", Ze0 = "T_DELETE", xt0 = "T_TYPEOF", rt0 = "T_VOID", et0 = "T_ENUM", tt0 = "T_EXPORT", nt0 = "T_IMPORT", ut0 = "T_SUPER", it0 = "T_IMPLEMENTS", ft0 = "T_INTERFACE", ct0 = "T_PACKAGE", st0 = "T_PRIVATE", at0 = "T_PROTECTED", ot0 = "T_PUBLIC", vt0 = "T_YIELD", lt0 = "T_DEBUGGER", pt0 = "T_DECLARE", kt0 = "T_TYPE", mt0 = "T_OPAQUE", ht0 = "T_OF", dt0 = "T_ASYNC", yt0 = "T_AWAIT", _t0 = "T_CHECKS", wt0 = "T_RSHIFT3_ASSIGN", gt0 = "T_RSHIFT_ASSIGN", bt0 = "T_LSHIFT_ASSIGN", Tt0 = "T_BIT_XOR_ASSIGN", Et0 = "T_BIT_OR_ASSIGN", St0 = "T_BIT_AND_ASSIGN", At0 = "T_MOD_ASSIGN", It0 = "T_DIV_ASSIGN", Pt0 = "T_MULT_ASSIGN", Ct0 = "T_EXP_ASSIGN", Nt0 = "T_MINUS_ASSIGN", Ot0 = "T_PLUS_ASSIGN", jt0 = "T_NULLISH_ASSIGN", Dt0 = "T_AND_ASSIGN", Rt0 = "T_OR_ASSIGN", Ft0 = "T_ASSIGN", Mt0 = "T_PLING_PERIOD", Lt0 = "T_PLING_PLING", qt0 = "T_PLING", Bt0 = "T_COLON", Ut0 = "T_OR", Xt0 = "T_AND", Gt0 = "T_BIT_OR", Yt0 = "T_BIT_XOR", zt0 = "T_BIT_AND", Jt0 = "T_EQUAL", Kt0 = "T_NOT_EQUAL", Ht0 = "T_STRICT_EQUAL", Wt0 = "T_STRICT_NOT_EQUAL", Vt0 = "T_LESS_THAN_EQUAL", $t0 = "T_GREATER_THAN_EQUAL", Qt0 = "T_LESS_THAN", Zt0 = "T_GREATER_THAN", xn0 = "T_LSHIFT", rn0 = "T_RSHIFT", en0 = "T_RSHIFT3", tn0 = "T_PLUS", nn0 = "T_MINUS", un0 = "T_DIV", in0 = "T_MULT", fn0 = "T_EXP", cn0 = "T_MOD", sn0 = "T_NOT", an0 = "T_BIT_NOT", on0 = "T_INCR", vn0 = "T_DECR", ln0 = "T_EOF", pn0 = "T_ANY_TYPE", kn0 = "T_MIXED_TYPE", mn0 = "T_EMPTY_TYPE", hn0 = "T_NUMBER_TYPE", dn0 = "T_BIGINT_TYPE", yn0 = "T_STRING_TYPE", _n0 = "T_VOID_TYPE", wn0 = "T_SYMBOL_TYPE", gn0 = "T_UNKNOWN_TYPE", bn0 = "T_NEVER_TYPE", Tn0 = "T_UNDEFINED_TYPE", En0 = "T_KEYOF", Sn0 = "T_READONLY", An0 = "T_INFER", In0 = "T_IS", Pn0 = "T_ASSERTS", Cn0 = "T_IMPLIES", Nn0 = KL, On0 = KL, jn0 = "T_NUMBER", Dn0 = "T_BIGINT", Rn0 = "T_STRING", Fn0 = "T_TEMPLATE_PART", Mn0 = "T_IDENTIFIER", Ln0 = "T_REGEXP", qn0 = "T_INTERPRETER", Bn0 = "T_ERROR", Un0 = "T_JSX_IDENTIFIER", Xn0 = XL, Gn0 = XL, Yn0 = "T_BOOLEAN_TYPE", zn0 = "T_NUMBER_SINGLETON_TYPE", Jn0 = "T_BIGINT_SINGLETON_TYPE", Kn0 = [0, BR, $S, 9], Hn0 = [0, BR, Hg, 9], Wn0 = wL, Vn0 = "*/", $n0 = wL, Qn0 = "unreachable line_comment", Zn0 = "unreachable string_quote", x70 = "\\", r70 = "unreachable template_part", e70 = `\r
|
|
61622
|
-
`, t70 = ug, n70 = "unreachable regexp_class", u70 = LD, i70 = "unreachable regexp_body", f70 = rx, c70 = rx, s70 = rx, a70 = rx, o70 = hR, v70 = "{'>'}", l70 = F6, p70 = "{'}'}", k70 = em2, m70 = Ao3, h70 = NT, d70 = Qm2, y70 = hR, _70 = Ao3, w70 = NT, g70 = Qm2, b70 = "unreachable type_token wholenumber", T70 = "unreachable type_token wholebigint", E70 = "unreachable type_token floatbigint", S70 = "unreachable type_token scinumber", A70 = "unreachable type_token scibigint", I70 = "unreachable type_token hexnumber", P70 = "unreachable type_token hexbigint", C70 = "unreachable type_token legacyoctnumber", N70 = "unreachable type_token octnumber", O70 = "unreachable type_token octbigint", j70 = "unreachable type_token binnumber", D70 = "unreachable type_token bigbigint", R70 = "unreachable type_token", F70 = yL, M70 = [11, 1], L70 = [11, 0], q70 = "unreachable template_tail", B70 = rx, U70 = rx, X70 = "unreachable jsx_child", G70 = "unreachable jsx_tag", Y70 = [0, hw], z70 = [0, 913], J70 = [0, Y32], K70 = [0, mh], H70 = [0, cR], W70 = [0, QP], V70 = [0, 8747], $70 = [0, gD], Q70 = [0, 916], Z70 = [0, 8225], xu0 = [0, 935], ru0 = [0, VI], eu0 = [0, 914], tu0 = [0, vL], nu0 = [0, IF], uu0 = [0, RE], iu0 = [0, 915], fu0 = [0, TD], cu0 = [0, 919], su0 = [0, 917], au0 = [0, _L], ou0 = [0, KD], vu0 = [0, HR], lu0 = [0, 924], pu0 = [0, 923], ku0 = [0, 922], mu0 = [0, oF], hu0 = [0, 921], du0 = [0, eM], yu0 = [0, Hg], _u0 = [0, xF], wu0 = [0, ty], gu0 = [0, 927], bu0 = [0, 937], Tu0 = [0, HD], Eu0 = [0, $R], Su0 = [0, uR], Au0 = [0, 338], Iu0 = [0, 352], Pu0 = [0, 929], Cu0 = [0, 936], Nu0 = [0, 8243], Ou0 = [0, 928], ju0 = [0, 934], Du0 = [0, qL], Ru0 = [0, o_], Fu0 = [0, 933], Mu0 = [0, pM], Lu0 = [0, nL], qu0 = [0, fD2], Bu0 = [0, 920], Uu0 = [0, 932], Xu0 = [0, jD], Gu0 = [0, dR], Yu0 = [0, KF], zu0 = [0, JR], Ju0 = [0, 918], Ku0 = [0, SR], Hu0 = [0, HF], Wu0 = [0, 926], Vu0 = [0, lF], $u0 = [0, jM], Qu0 = [0, 925], Zu0 = [0, 39], xi0 = [0, 8736], ri0 = [0, 8743], ei0 = [0, 38], ti0 = [0, 945], ni0 = [0, 8501], ui0 = [0, Sv], ii0 = [0, 8226], fi0 = [0, JD2], ci0 = [0, 946], si0 = [0, 8222], ai0 = [0, RD], oi0 = [0, wM], vi0 = [0, 8776], li0 = [0, qI], pi0 = [0, 8773], ki0 = [0, 9827], mi0 = [0, CD2], hi0 = [0, 967], di0 = [0, qM], yi0 = [0, Wm2], _i0 = [0, PD], wi0 = [0, GF], gi0 = [0, 8595], bi0 = [0, 8224], Ti0 = [0, 8659], Ei0 = [0, sR], Si0 = [0, 8746], Ai0 = [0, 8629], Ii0 = [0, yR], Pi0 = [0, 8745], Ci0 = [0, 8195], Ni0 = [0, 8709], Oi0 = [0, iD2], ji0 = [0, dL], Di0 = [0, aL], Ri0 = [0, Gp2], Fi0 = [0, 9830], Mi0 = [0, 8707], Li0 = [0, 8364], qi0 = [0, EM], Bi0 = [0, rl2], Ui0 = [0, 951], Xi0 = [0, 8801], Gi0 = [0, 949], Yi0 = [0, 8194], zi0 = [0, 8805], Ji0 = [0, 947], Ki0 = [0, 8260], Hi0 = [0, jE], Wi0 = [0, nR], Vi0 = [0, $S], $i0 = [0, 8704], Qi0 = [0, XF], Zi0 = [0, EL], xf0 = [0, 8230], rf0 = [0, 9829], ef0 = [0, 8596], tf0 = [0, 8660], nf0 = [0, 62], uf0 = [0, 402], if0 = [0, 948], ff0 = [0, nF], cf0 = [0, E9], sf0 = [0, 8712], af0 = [0, sP], of0 = [0, 953], vf0 = [0, 8734], lf0 = [0, 8465], pf0 = [0, IM], kf0 = [0, 8220], mf0 = [0, 8968], hf0 = [0, 8592], df0 = [0, Sg], yf0 = [0, 10216], _f0 = [0, 955], wf0 = [0, 8656], gf0 = [0, 954], bf0 = [0, 60], Tf0 = [0, 8216], Ef0 = [0, 8249], Sf0 = [0, NM], Af0 = [0, 9674], If0 = [0, 8727], Pf0 = [0, 8970], Cf0 = [0, AL], Nf0 = [0, 8711], Of0 = [0, 956], jf0 = [0, 8722], Df0 = [0, j_], Rf0 = [0, NS], Ff0 = [0, 8212], Mf0 = [0, NR], Lf0 = [0, 8804], qf0 = [0, 957], Bf0 = [0, kF], Uf0 = [0, 8836], Xf0 = [0, 8713], Gf0 = [0, KR], Yf0 = [0, 8715], zf0 = [0, 8800], Jf0 = [0, 8853], Kf0 = [0, 959], Hf0 = [0, 969], Wf0 = [0, 8254], Vf0 = [0, HM], $f0 = [0, 339], Qf0 = [0, jv], Zf0 = [0, BM], xc0 = [0, s9], rc0 = [0, ul2], ec0 = [0, 8855], tc0 = [0, ME], nc0 = [0, t1], uc0 = [0, xI], ic0 = [0, py], fc0 = [0, da3], cc0 = [0, rL], sc0 = [0, 982], ac0 = [0, 960], oc0 = [0, 966], vc0 = [0, 8869], lc0 = [0, 8240], pc0 = [0, 8706], kc0 = [0, 8744], mc0 = [0, 8211], hc0 = [0, 10217], dc0 = [0, 8730], yc0 = [0, 8658], _c0 = [0, 34], wc0 = [0, 968], gc0 = [0, 8733], bc0 = [0, 8719], Tc0 = [0, 961], Ec0 = [0, 8971], Sc0 = [0, LL], Ac0 = [0, 8476], Ic0 = [0, 8221], Pc0 = [0, 8969], Cc0 = [0, 8594], Nc0 = [0, z_], Oc0 = [0, bM], jc0 = [0, Sb], Dc0 = [0, 8901], Rc0 = [0, 353], Fc0 = [0, 8218], Mc0 = [0, 8217], Lc0 = [0, 8250], qc0 = [0, 8835], Bc0 = [0, 8721], Uc0 = [0, 8838], Xc0 = [0, 8834], Gc0 = [0, 9824], Yc0 = [0, 8764], zc0 = [0, 962], Jc0 = [0, 963], Kc0 = [0, 8207], Hc0 = [0, 952], Wc0 = [0, 8756], Vc0 = [0, 964], $c0 = [0, e8], Qc0 = [0, 8839], Zc0 = [0, AC], xs0 = [0, fk], rs0 = [0, ol3], es0 = [0, 8657], ts0 = [0, 8482], ns0 = [0, lk], us0 = [0, 732], is0 = [0, Q32], fs0 = [0, 8201], cs0 = [0, 977], ss0 = [0, sM], as0 = [0, xl2], os0 = [0, 965], vs0 = [0, 978], ls0 = [0, IL], ps0 = [0, jS], ks0 = [0, WL], ms0 = [0, tR], hs0 = [0, 8205], ds0 = [0, 950], ys0 = [0, Bk], _s0 = [0, hF], ws0 = [0, QE], gs0 = [0, 958], bs0 = [0, 8593], Ts0 = [0, oD2], Es0 = [0, 8242], Ss0 = [0, kI], As0 = "unreachable regexp", Is0 = "unreachable token wholenumber", Ps0 = "unreachable token wholebigint", Cs0 = "unreachable token floatbigint", Ns0 = "unreachable token scinumber", Os0 = "unreachable token scibigint", js0 = "unreachable token hexnumber", Ds0 = "unreachable token hexbigint", Rs0 = "unreachable token legacyoctnumber", Fs0 = "unreachable token legacynonoctnumber", Ms0 = "unreachable token octnumber", Ls0 = "unreachable token octbigint", qs0 = "unreachable token bignumber", Bs0 = "unreachable token bigint", Us0 = "unreachable token", Xs0 = yL, Gs0 = [7, "#!"], Ys0 = "expected ?", zs0 = "unreachable string_escape", Js0 = V22, Ks0 = P6, Hs0 = P6, Ws0 = V22, Vs0 = KP, $s0 = EF, Qs0 = "n", Zs0 = "r", xa0 = "t", ra0 = zF, ea0 = P6, ta0 = Ao3, na0 = Ao3, ua0 = "unreachable id_char", ia0 = Ao3, fa0 = Ao3, ca0 = P6, sa0 = uL, aa0 = pD2, oa0 = gb, va0 = [28, "token ILLEGAL"], la0 = [0, [11, "the identifier `", [2, 0, [12, 96, 0]]], "the identifier `%s`"], pa0 = [0, 1], ka0 = [0, 1], ma0 = OF, ha0 = OF, da0 = [0, [11, "an identifier. When exporting a ", [2, 0, [11, " as a named export, you must specify a ", [2, 0, [11, " name. Did you mean `export default ", [2, 0, [11, " ...`?", 0]]]]]]], "an identifier. When exporting a %s as a named export, you must specify a %s name. Did you mean `export default %s ...`?"], ya0 = Sh, _a0 = "Peeking current location when not available", wa0 = [0, "src/parser/parser_env.ml", SR, 9], ga0 = "Internal Error: Tried to add_declared_private with outside of class scope.", ba0 = "Internal Error: `exit_class` called before a matching `enter_class`", Ta0 = rx, Ea0 = [0, 0, 0], Sa0 = [0, 0, 0], Aa0 = "Parser_env.Try.Rollback", Ia0 = rx, Pa0 = rx, Ca0 = [0, H22, of, $i6, CR2, TM, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms6, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, aR, H7, vD, qF, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], Na0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms6, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], Oa0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, TM, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, vD, X72, Lu2, Zu2, ms6, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, qF, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, aR, tn4, h7, Ju2, li6, Zn4, CR2, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], ja0 = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms6, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], Da0 = $32, Ra0 = nm2, Fa0 = bo3, Ma0 = I6, La0 = Je7, qa0 = Ve7, Ba0 = $P, Ua0 = DT, Xa0 = Bv, Ga0 = He7, Ya0 = um2, za0 = g6, Ja0 = Tp2, Ka0 = L8, Ha0 = No3, Wa0 = cl2, Va0 = Hv, $a0 = wa2, Qa0 = Pa2, Za0 = We7, xo0 = rk, ro0 = Rm2, eo0 = Xe6, to0 = Fv, no0 = Tk, uo0 = U8, io0 = K8, fo0 = h6, co0 = mc2, so0 = Ue5, ao0 = Ck, oo0 = Yv, vo0 = E6, lo0 = Aa2, po0 = ga, ko0 = j6, mo0 = dh, ho0 = W22, do0 = fl2, yo0 = Oo2, _o0 = ae4, wo0 = Pk, go0 = Q62, bo0 = k6, To0 = W62, Eo0 = H22, So0 = Ke7, Ao0 = x42, Io0 = tc2, Po0 = zb, Co0 = JS, No0 = Io3, Oo0 = Kv, jo0 = ik, Do0 = wk, Ro0 = be6, Fo0 = H32, Mo0 = $v, Lo0 = K32, qo0 = ga, Bo0 = H62, Uo0 = hk, Xo0 = bk, Go0 = Hk, Yo0 = Lm2, zo0 = Xv, Jo0 = J62, Ko0 = tl2, Ho0 = V32, Wo0 = O6, Vo0 = rm2, $o0 = [0, Sh], Qo0 = rx, Zo0 = [19, 1], xv0 = [19, 0], rv0 = [0, 0], ev0 = Ta2, tv0 = [0, 0], nv0 = [0, "a type"], uv0 = [0, 0], iv0 = [0, "a number literal type"], fv0 = [0, 0], cv0 = J62, sv0 = tl2, av0 = V32, ov0 = "You should only call render_type after making sure the next token is a renders variant", vv0 = [0, [0, 0, 0, 0, 0]], lv0 = [0, 0, 0, 0], pv0 = [0, 1], kv0 = [0, il3, 1466, 6], mv0 = [0, il3, 1469, 6], hv0 = [0, il3, 1572, 8], dv0 = [0, 1], yv0 = [0, il3, 1589, 8], _v0 = "Can not have both `static` and `proto`", wv0 = Ue5, gv0 = rw, bv0 = [0, 0], Tv0 = [0, "the end of a tuple type (no trailing comma is allowed in inexact tuple type)."], Ev0 = [0, il3, Sv, 15], Sv0 = [0, il3, sP, 15], Av0 = ze6, Iv0 = ze6, Pv0 = Kk, Cv0 = G6, Nv0 = [0, [11, "Failure while looking up ", [2, 0, [11, ". Index: ", [4, 0, 0, 0, [11, ". Length: ", [4, 0, 0, 0, [12, 46, 0]]]]]]], "Failure while looking up %s. Index: %d. Length: %d."], Ov0 = [0, 0, 0, 0], jv0 = "Offset_utils.Offset_lookup_failed", Dv0 = m1, Rv0 = kD, Fv0 = G6, Mv0 = Kk, Lv0 = wD, qv0 = G6, Bv0 = Kk, Uv0 = vR, Xv0 = Yx, Gv0 = "normal", Yv0 = tc2, zv0 = "jsxTag", Jv0 = "jsxChild", Kv0 = "template", Hv0 = nD2, Wv0 = "context", Vv0 = tc2, $v0 = [6, 0], Qv0 = [0, 0], Zv0 = [0, 1], x30 = [0, 4], r30 = [0, 2], e30 = [0, 3], t30 = [0, 0], n30 = ze6, u30 = [0, 0, 0, 0, 0, 0], i30 = [0, 0], f30 = [0, OM], c30 = [0, 1], s30 = [0, 0], a30 = Ta2, o30 = [0, 73], v30 = [0, 84], l30 = aM, p30 = rE, k30 = "exports", m30 = K62, h30 = [0, rx, rx, 0], d30 = [0, AD], y30 = [0, 84], _30 = [0, "a declaration, statement or export specifiers"], w30 = [0, 1], g30 = [0, I9, 1971, 21], b30 = [0, "the keyword `as`"], T30 = [0, 29], E30 = [0, 29], S30 = [0, 0], A30 = [0, 1], I30 = [0, AD], P30 = [0, "the keyword `from`"], C30 = [0, rx, rx, 0], N30 = "Label", O30 = [0, OM], j30 = [0, 0, 0], D30 = [0, 38], R30 = [0, I9, 372, 22], F30 = [0, 37], M30 = [0, I9, 391, 22], L30 = [0, 0], q30 = "the token `;`", B30 = [0, 0], U30 = [0, 0], X30 = FR, G30 = [0, Sh], Y30 = FR, z30 = [28, St8], J30 = Ta2, K30 = [0, 73], H30 = [0, rx, 0], W30 = It7, V30 = [0, rx, 0], $30 = [0, 73], Q30 = [0, 73], Z30 = $32, xl0 = [0, rx, 0], rl0 = [0, 0, 0], el0 = [0, 0, 0], tl0 = [0, [0, 8]], nl0 = [0, [0, 7]], ul0 = [0, [0, 6]], il0 = [0, [0, 10]], fl0 = [0, [0, 9]], cl0 = [0, [0, 11]], sl0 = [0, [0, 5]], al0 = [0, [0, 4]], ol0 = [0, [0, 2]], vl0 = [0, [0, 3]], ll0 = [0, [0, 1]], pl0 = [0, [0, 0]], kl0 = [0, [0, 12]], ml0 = [0, [0, 13]], hl0 = [0, [0, 14]], dl0 = [0, 0], yl0 = [0, 1], _l0 = [0, 0], wl0 = [0, 2], gl0 = [0, 3], bl0 = [0, 7], Tl0 = [0, 6], El0 = [0, 4], Sl0 = [0, 5], Al0 = [0, 1], Il0 = [0, 0], Pl0 = [0, 1], Cl0 = [0, 0], Nl0 = fl2, Ol0 = [0, "either a call or access of `super`"], jl0 = fl2, Dl0 = W22, Rl0 = w6, Fl0 = w6, Ml0 = [0, 2], Ll0 = [0, 0], ql0 = [0, 1], Bl0 = Yv, Ul0 = [0, "the identifier `target`"], Xl0 = [0, 0], Gl0 = [0, 1], Yl0 = [0, 0], zl0 = [0, 0], Jl0 = [0, 2], Kl0 = [0, 2], Hl0 = [0, 1], Wl0 = [0, 73], Vl0 = P6, $l0 = uL, Ql0 = gb, Zl0 = gb, x60 = pD2, r60 = [0, 0], e60 = [0, 1], t60 = [0, 0], n60 = se6, u60 = se6, i60 = [0, "a regular expression"], f60 = rx, c60 = rx, s60 = rx, a60 = [0, 81], o60 = [0, "src/parser/expression_parser.ml", 1550, 17], v60 = [0, "a template literal part"], l60 = [0, [0, rx, rx], 1], p60 = Pv, k60 = [0, 6], m60 = [0, [0, 17, [0, 2]]], h60 = [0, [0, 18, [0, 3]]], d60 = [0, [0, 19, [0, 4]]], y60 = [0, [0, 0, [0, 5]]], _60 = [0, [0, 1, [0, 5]]], w60 = [0, [0, 2, [0, 5]]], g60 = [0, [0, 3, [0, 5]]], b60 = [0, [0, 5, [0, 6]]], T60 = [0, [0, 7, [0, 6]]], E60 = [0, [0, 4, [0, 6]]], S60 = [0, [0, 6, [0, 6]]], A60 = [0, [0, 8, [0, 7]]], I60 = [0, [0, 9, [0, 7]]], P60 = [0, [0, 10, [0, 7]]], C60 = [0, [0, 11, [0, 8]]], N60 = [0, [0, 12, [0, 8]]], O60 = [0, [0, 15, [0, 9]]], j60 = [0, [0, 13, [0, 9]]], D60 = [0, [0, 14, [1, 10]]], R60 = [0, [0, 16, [0, 9]]], F60 = [0, [0, 21, [0, 6]]], M60 = [0, [0, 20, [0, 6]]], L60 = [23, Dw], q60 = [13, "JSX fragment"], B60 = Iv, U60 = ln4, X60 = [0, sn4], G60 = [1, sn4], Y60 = [0, rx, rx, 0], z60 = [0, Sh], J60 = rx, K60 = [0, "a numeric or string literal"], H60 = [0, rx, '""', 0], W60 = [0, 0], V60 = [0, "a number literal"], $60 = [0, [0, 0, V22, 0]], Q60 = [0, 84], Z60 = [21, dM], x40 = [21, R62], r40 = [0, 0, 0], e40 = h6, t40 = [0, rx, 0], n40 = "unexpected PrivateName in Property, expected a PrivateField", u40 = [0, 0, 0], i40 = Sa, f40 = "Must be one of the above", c40 = [0, 1], s40 = [0, 1], a40 = [0, 1], o40 = Sa, v40 = Sa, l40 = p_, p40 = "Internal Error: private name found in object props", k40 = [0, 0, 0, 0], m40 = [0, cF], h40 = [19, [0, 0]], d40 = [0, cF], y40 = ug, _40 = "Nooo: ", w40 = Fv, g40 = "Parser error: No such thing as an expression pattern!", b40 = [0, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], T40 = [0, "src/parser/parser_flow.ml", fk, 28], E40 = [0, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], S40 = kD, A40 = Yx, I40 = $D, P40 = eR, C40 = eR, N40 = $D, O40 = tc2, j40 = sD2, D40 = w1, R40 = m1, F40 = "InterpreterDirective", M40 = "interpreter", L40 = "Program", q40 = w1, B40 = "RecordBody", U40 = m1, X40 = Y1, G40 = en4, Y40 = "RecordStaticProperty", z40 = "defaultValue", J40 = Y1, K40 = en4, H40 = "RecordProperty", W40 = S6, V40 = "BreakStatement", $40 = S6, Q40 = "ContinueStatement", Z40 = "DebuggerStatement", xp0 = Wv, rp0 = "DeclareExportAllDeclaration", ep0 = Wv, tp0 = l_, np0 = IE, up0 = Fv, ip0 = "DeclareExportDeclaration", fp0 = w1, cp0 = Yr5, sp0 = "DeclareModule", ap0 = Y1, op0 = "DeclareModuleExports", vp0 = w1, lp0 = Yr5, pp0 = NL, kp0 = "DeclareNamespace", mp0 = Z32, hp0 = w1, dp0 = "DoWhileStatement", yp0 = "EmptyStatement", _p0 = cS, wp0 = IE, gp0 = "ExportDefaultDeclaration", bp0 = cS, Tp0 = cA, Ep0 = Wv, Sp0 = "ExportAllDeclaration", Ap0 = cS, Ip0 = Wv, Pp0 = l_, Cp0 = IE, Np0 = "ExportNamedDeclaration", Op0 = "directive", jp0 = t24, Dp0 = "ExpressionStatement", Rp0 = w1, Fp0 = "update", Mp0 = Z32, Lp0 = ks5, qp0 = "ForStatement", Bp0 = "each", Up0 = w1, Xp0 = fn5, Gp0 = Ea2, Yp0 = "ForInStatement", zp0 = Kv, Jp0 = w1, Kp0 = fn5, Hp0 = Ea2, Wp0 = "ForOfStatement", Vp0 = lR, $p0 = rP, Qp0 = Z32, Zp0 = "IfStatement", xk0 = tc2, rk0 = Aa2, ek0 = m1, tk0 = XD, nk0 = Wv, uk0 = l_, ik0 = "ImportDeclaration", fk0 = w1, ck0 = S6, sk0 = "LabeledStatement", ak0 = J9, ok0 = $1, vk0 = "MatchStatement", lk0 = "RecordImplements", pk0 = w1, kk0 = Oo2, mk0 = B22, hk0 = Yr5, dk0 = "RecordDeclaration", yk0 = $1, _k0 = "ReturnStatement", wk0 = J9, gk0 = "discriminant", bk0 = "SwitchStatement", Tk0 = $1, Ek0 = "ThrowStatement", Sk0 = "finalizer", Ak0 = "handler", Ik0 = vn3, Pk0 = "TryStatement", Ck0 = w1, Nk0 = Z32, Ok0 = "WhileStatement", jk0 = w1, Dk0 = Dp2, Rk0 = "WithStatement", Fk0 = x9, Mk0 = $1, Lk0 = NA, qk0 = x9, Bk0 = $1, Uk0 = NA, Xk0 = KT, Gk0 = "ArrayExpression", Yk0 = B22, zk0 = gh, Jk0 = t24, Kk0 = Ge7, Hk0 = Ey, Wk0 = Io3, Vk0 = w1, $k0 = on8, Qk0 = Yr5, Zk0 = "ArrowFunctionExpression", x80 = t24, r80 = "AsConstExpression", e80 = Y1, t80 = t24, n80 = "AsExpression", u80 = p_, i80 = fn5, f80 = Ea2, c80 = Gv, s80 = "AssignmentExpression", a80 = fn5, o80 = Ea2, v80 = Gv, l80 = "BinaryExpression", p80 = "CallExpression", k80 = lR, m80 = rP, h80 = Z32, d80 = "ConditionalExpression", y80 = Wv, _80 = "ImportExpression", w80 = LF2, g80 = CM, b80 = Dw, T80 = fn5, E80 = Ea2, S80 = Gv, A80 = "LogicalExpression", I80 = J9, P80 = $1, C80 = "MatchExpression", N80 = "MemberExpression", O80 = Tm2, j80 = w6, D80 = "MetaProperty", R80 = Qb, F80 = h8, M80 = fR, L80 = "NewExpression", q80 = A6, B80 = "ObjectExpression", U80 = ft7, X80 = "OptionalCallExpression", G80 = ft7, Y80 = "OptionalMemberExpression", z80 = rM, J80 = "SequenceExpression", K80 = "Super", H80 = "ThisExpression", W80 = Y1, V80 = t24, $80 = "TypeCastExpression", Q80 = Y1, Z80 = t24, xm0 = "SatisfiesExpression", rm0 = x9, em0 = $1, tm0 = NA, nm0 = ze6, um0 = $7, im0 = SD, fm0 = VL, cm0 = Aa2, sm0 = ga, am0 = E6, om0 = "matched above", vm0 = $1, lm0 = XR, pm0 = Gv, km0 = "UnaryExpression", mm0 = $1, hm0 = "AwaitExpression", dm0 = kR, ym0 = ZM, _m0 = XR, wm0 = $1, gm0 = Gv, bm0 = "UpdateExpression", Tm0 = "delegate", Em0 = $1, Sm0 = "YieldExpression", Am0 = "MatchExpressionCase", Im0 = "guard", Pm0 = w1, Cm0 = ge6, Nm0 = "MatchStatementCase", Om0 = "literal", jm0 = "MatchLiteralPattern", Dm0 = "MatchWildcardPattern", Rm0 = ze6, Fm0 = $7, Mm0 = $1, Lm0 = Gv, qm0 = "MatchUnaryPattern", Bm0 = "MatchObjectPattern", Um0 = "MatchInstanceObjectPattern", Xm0 = DF, Gm0 = _a4, Ym0 = "MatchInstancePattern", zm0 = "patterns", Jm0 = "MatchOrPattern", Km0 = Ih, Hm0 = ge6, Wm0 = "MatchAsPattern", Vm0 = Yr5, $m0 = "MatchIdentifierPattern", Qm0 = Tm2, Zm0 = "base", xh0 = "MatchMemberPattern", rh0 = ba2, eh0 = Yr5, th0 = "MatchBindingPattern", nh0 = p6, uh0 = KT, ih0 = "MatchArrayPattern", fh0 = T6, ch0 = ge6, sh0 = en4, ah0 = VR, oh0 = T6, vh0 = ge6, lh0 = en4, ph0 = VR, kh0 = p6, mh0 = A6, hh0 = $1, dh0 = "MatchRestPattern", yh0 = "Unexpected FunctionDeclaration with BodyExpression", _h0 = "HookDeclaration", wh0 = t24, gh0 = Ge7, bh0 = Ey, Th0 = Io3, Eh0 = "FunctionDeclaration", Sh0 = B22, Ah0 = gh, Ih0 = w1, Ph0 = on8, Ch0 = Yr5, Nh0 = "Unexpected FunctionExpression with BodyExpression", Oh0 = B22, jh0 = gh, Dh0 = t24, Rh0 = Ge7, Fh0 = Ey, Mh0 = Io3, Lh0 = w1, qh0 = on8, Bh0 = Yr5, Uh0 = "FunctionExpression", Xh0 = ft7, Gh0 = Y1, Yh0 = Ye4, zh0 = US, Jh0 = ft7, Kh0 = Y1, Hh0 = Ye4, Wh0 = "PrivateIdentifier", Vh0 = ft7, $h0 = Y1, Qh0 = Ye4, Zh0 = US, xd0 = rP, rd0 = Z32, ed0 = "SwitchCase", td0 = w1, nd0 = "param", ud0 = "CatchClause", id0 = w1, fd0 = "BlockStatement", cd0 = ba2, sd0 = Yr5, ad0 = "DeclareVariable", od0 = "DeclareHook", vd0 = Ge7, ld0 = "DeclareFunction", pd0 = Yr5, kd0 = lM, md0 = Oo2, hd0 = mc2, dd0 = w1, yd0 = B22, _d0 = Yr5, wd0 = "DeclareClass", gd0 = B22, bd0 = f_, Td0 = on8, Ed0 = p6, Sd0 = on8, Ad0 = Yr5, Id0 = "DeclareComponent", Pd0 = B22, Cd0 = f_, Nd0 = p6, Od0 = on8, jd0 = "ComponentTypeAnnotation", Dd0 = ft7, Rd0 = Y1, Fd0 = Ye4, Md0 = "ComponentTypeParameter", Ld0 = w1, qd0 = Yr5, Bd0 = "DeclareEnum", Ud0 = mc2, Xd0 = w1, Gd0 = B22, Yd0 = Yr5, zd0 = "DeclareInterface", Jd0 = m1, Kd0 = tc2, Hd0 = cA, Wd0 = "ExportNamespaceSpecifier", Vd0 = fn5, $d0 = B22, Qd0 = Yr5, Zd0 = "DeclareTypeAlias", x50 = fn5, r50 = B22, e50 = Yr5, t50 = "TypeAlias", n50 = "DeclareOpaqueType", u50 = "OpaqueType", i50 = "supertype", f50 = "upperBound", c50 = "lowerBound", s50 = "impltype", a50 = B22, o50 = Yr5, v50 = "ClassDeclaration", l50 = "ClassExpression", p50 = g8, k50 = Oo2, m50 = "superTypeParameters", h50 = "superClass", d50 = B22, y50 = w1, _50 = Yr5, w50 = t24, g50 = "Decorator", b50 = B22, T50 = Yr5, E50 = "ClassImplements", S50 = w1, A50 = "ClassBody", I50 = w1, P50 = "StaticBlock", C50 = _a4, N50 = V6, O50 = Nv, j50 = nl2, D50 = g8, R50 = W32, F50 = Ue5, M50 = ba2, L50 = m1, q50 = en4, B50 = "MethodDefinition", U50 = x42, X50 = g8, G50 = $22, Y50 = Ue5, z50 = W32, J50 = Y1, K50 = m1, H50 = en4, W50 = jL, V50 = "Internal Error: Private name found in class prop", $50 = x42, Q50 = g8, Z50 = $22, xy0 = Ue5, ry0 = W32, ey0 = Y1, ty0 = m1, ny0 = en4, uy0 = jL, iy0 = B22, fy0 = f_, cy0 = on8, sy0 = Yr5, ay0 = w1, oy0 = "ComponentDeclaration", vy0 = $1, ly0 = OE, py0 = fn5, ky0 = Ea2, my0 = jm2, hy0 = T6, dy0 = X62, yy0 = Ye4, _y0 = "ComponentParameter", wy0 = ks5, gy0 = Yr5, by0 = "EnumBigIntMember", Ty0 = Yr5, Ey0 = LR, Sy0 = ks5, Ay0 = Yr5, Iy0 = "EnumStringMember", Py0 = Yr5, Cy0 = LR, Ny0 = ks5, Oy0 = Yr5, jy0 = "EnumNumberMember", Dy0 = ks5, Ry0 = Yr5, Fy0 = "EnumBooleanMember", My0 = B6, Ly0 = Am2, qy0 = y6, By0 = "EnumBooleanBody", Uy0 = B6, Xy0 = Am2, Gy0 = y6, Yy0 = "EnumNumberBody", zy0 = B6, Jy0 = Am2, Ky0 = y6, Hy0 = "EnumStringBody", Wy0 = B6, Vy0 = y6, $y0 = "EnumSymbolBody", Qy0 = B6, Zy0 = Am2, x90 = y6, r90 = "EnumBigIntBody", e90 = w1, t90 = Yr5, n90 = "EnumDeclaration", u90 = mc2, i90 = w1, f90 = B22, c90 = Yr5, s90 = "InterfaceDeclaration", a90 = B22, o90 = Yr5, v90 = "InterfaceExtends", l90 = Y1, p90 = A6, k90 = "ObjectPattern", m90 = Y1, h90 = KT, d90 = "ArrayPattern", y90 = fn5, _90 = Ea2, w90 = jm2, g90 = Y1, b90 = Ye4, T90 = US, E90 = $1, S90 = OE, A90 = $1, I90 = OE, P90 = fn5, C90 = Ea2, N90 = jm2, O90 = ks5, j90 = ks5, D90 = Nv, R90 = nl2, F90 = VD, M90 = W32, L90 = T6, q90 = V6, B90 = ba2, U90 = m1, X90 = en4, G90 = mF, Y90 = $1, z90 = iR, J90 = fn5, K90 = Ea2, H90 = jm2, W90 = W32, V90 = T6, $90 = V6, Q90 = ba2, Z90 = m1, x_0 = en4, r_0 = mF, e_0 = $1, t_0 = iR, n_0 = At8, u_0 = m1, i_0 = J32, f_0 = rx, c_0 = At8, s_0 = $v, a_0 = m1, o_0 = J32, v_0 = At8, l_0 = m1, p_0 = J32, k_0 = Pa2, m_0 = wa2, h_0 = At8, d_0 = m1, y_0 = J32, __0 = "flags", w_0 = ge6, g_0 = "regex", b_0 = At8, T_0 = m1, E_0 = J32, S_0 = At8, A_0 = m1, I_0 = J32, P_0 = rM, C_0 = "quasis", N_0 = "TemplateLiteral", O_0 = "cooked", j_0 = At8, D_0 = "tail", R_0 = m1, F_0 = "TemplateElement", M_0 = "quasi", L_0 = "tag", q_0 = "TaggedTemplateExpression", B_0 = ba2, U_0 = "declarations", X_0 = "VariableDeclaration", G_0 = ks5, Y_0 = Yr5, z_0 = "VariableDeclarator", J_0 = "plus", K_0 = nM, H_0 = Xv, W_0 = bo3, V_0 = ng, $_0 = "in-out", Q_0 = ba2, Z_0 = "Variance", xw0 = "AnyTypeAnnotation", rw0 = "MixedTypeAnnotation", ew0 = "EmptyTypeAnnotation", tw0 = "VoidTypeAnnotation", nw0 = "NullLiteralTypeAnnotation", uw0 = "SymbolTypeAnnotation", iw0 = "NumberTypeAnnotation", fw0 = "BigIntTypeAnnotation", cw0 = "StringTypeAnnotation", sw0 = "BooleanTypeAnnotation", aw0 = Y1, ow0 = "NullableTypeAnnotation", vw0 = "UnknownTypeAnnotation", lw0 = "NeverTypeAnnotation", pw0 = "UndefinedTypeAnnotation", kw0 = ba2, mw0 = Y1, hw0 = "parameterName", dw0 = "TypePredicate", yw0 = "HookTypeAnnotation", _w0 = "FunctionTypeAnnotation", ww0 = Bv, gw0 = B22, bw0 = p6, Tw0 = gh, Ew0 = on8, Sw0 = ft7, Aw0 = Y1, Iw0 = Ye4, Pw0 = fM, Cw0 = ft7, Nw0 = Y1, Ow0 = Ye4, jw0 = fM, Dw0 = [0, 0, 0, 0, 0], Rw0 = "internalSlots", Fw0 = "callProperties", Mw0 = "indexers", Lw0 = A6, qw0 = "exact", Bw0 = tL, Uw0 = "ObjectTypeAnnotation", Xw0 = VD, Gw0 = "There should not be computed object type property keys", Yw0 = ks5, zw0 = Nv, Jw0 = nl2, Kw0 = ba2, Hw0 = $22, Ww0 = rw, Vw0 = Ue5, $w0 = ft7, Qw0 = V6, Zw0 = m1, xg0 = en4, rg0 = "ObjectTypeProperty", eg0 = $1, tg0 = "ObjectTypeSpreadProperty", ng0 = $22, ug0 = Ue5, ig0 = m1, fg0 = en4, cg0 = Yr5, sg0 = "ObjectTypeIndexer", ag0 = Ue5, og0 = m1, vg0 = "ObjectTypeCallProperty", lg0 = ft7, pg0 = $22, kg0 = "sourceType", mg0 = "propType", hg0 = "keyTparam", dg0 = "ObjectTypeMappedTypeProperty", yg0 = m1, _g0 = V6, wg0 = Ue5, gg0 = ft7, bg0 = Yr5, Tg0 = "ObjectTypeInternalSlot", Eg0 = w1, Sg0 = mc2, Ag0 = "InterfaceTypeAnnotation", Ig0 = QM, Pg0 = "ArrayTypeAnnotation", Cg0 = "falseType", Ng0 = "trueType", Og0 = "extendsType", jg0 = "checkType", Dg0 = "ConditionalTypeAnnotation", Rg0 = "typeParameter", Fg0 = "InferTypeAnnotation", Mg0 = Yr5, Lg0 = UF, qg0 = "QualifiedTypeIdentifier", Bg0 = B22, Ug0 = Yr5, Xg0 = "GenericTypeAnnotation", Gg0 = "indexType", Yg0 = "objectType", zg0 = "IndexedAccessType", Jg0 = ft7, Kg0 = "OptionalIndexedAccessType", Hg0 = w_, Wg0 = "UnionTypeAnnotation", Vg0 = w_, $g0 = "IntersectionTypeAnnotation", Qg0 = h8, Zg0 = $1, xb0 = "TypeofTypeAnnotation", rb0 = Yr5, eb0 = UF, tb0 = "QualifiedTypeofIdentifier", nb0 = $1, ub0 = "KeyofTypeAnnotation", ib0 = el2, fb0 = jF, cb0 = uF, sb0 = Y1, ab0 = Gv, ob0 = "TypeOperator", vb0 = Xv, lb0 = tL, pb0 = "elementTypes", kb0 = "TupleTypeAnnotation", mb0 = ft7, hb0 = $22, db0 = QM, yb0 = S6, _b0 = "TupleTypeLabeledElement", wb0 = Y1, gb0 = S6, bb0 = "TupleTypeSpreadElement", Tb0 = At8, Eb0 = m1, Sb0 = "StringLiteralTypeAnnotation", Ab0 = At8, Ib0 = m1, Pb0 = "NumberLiteralTypeAnnotation", Cb0 = At8, Nb0 = m1, Ob0 = "BigIntLiteralTypeAnnotation", jb0 = Pa2, Db0 = wa2, Rb0 = At8, Fb0 = m1, Mb0 = "BooleanLiteralTypeAnnotation", Lb0 = "ExistsTypeAnnotation", qb0 = Y1, Bb0 = vF, Ub0 = Y1, Xb0 = vF, Gb0 = on8, Yb0 = "TypeParameterDeclaration", zb0 = "usesExtendsBound", Jb0 = Fv, Kb0 = $22, Hb0 = No3, Wb0 = "bound", Vb0 = Ye4, $b0 = "TypeParameter", Qb0 = on8, Zb0 = mM, xT0 = on8, rT0 = mM, eT0 = Pv, tT0 = OL, nT0 = "closingElement", uT0 = "openingElement", iT0 = "JSXElement", fT0 = "closingFragment", cT0 = OL, sT0 = "openingFragment", aT0 = "JSXFragment", oT0 = h8, vT0 = "selfClosing", lT0 = "attributes", pT0 = Ye4, kT0 = "JSXOpeningElement", mT0 = "JSXOpeningFragment", hT0 = Ye4, dT0 = "JSXClosingElement", yT0 = "JSXClosingFragment", _T0 = m1, wT0 = Ye4, gT0 = "JSXAttribute", bT0 = $1, TT0 = "JSXSpreadAttribute", ET0 = "JSXEmptyExpression", ST0 = t24, AT0 = "JSXExpressionContainer", IT0 = t24, PT0 = "JSXSpreadChild", CT0 = At8, NT0 = m1, OT0 = "JSXText", jT0 = Tm2, DT0 = Dp2, RT0 = "JSXMemberExpression", FT0 = Ye4, MT0 = rE, LT0 = "JSXNamespacedName", qT0 = Ye4, BT0 = "JSXIdentifier", UT0 = cA, XT0 = X62, GT0 = "ExportSpecifier", YT0 = X62, zT0 = "ImportDefaultSpecifier", JT0 = X62, KT0 = "ImportNamespaceSpecifier", HT0 = XD, WT0 = X62, VT0 = "imported", $T0 = "ImportSpecifier", QT0 = "Line", ZT0 = "Block", xE0 = m1, rE0 = m1, eE0 = "DeclaredPredicate", tE0 = "InferredPredicate", nE0 = Qb, uE0 = h8, iE0 = fR, fE0 = W32, cE0 = Tm2, sE0 = Dp2, aE0 = "message", oE0 = Yx, vE0 = wD, lE0 = vR, pE0 = Wv, kE0 = G6, mE0 = Kk, hE0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms6, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], dE0 = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms6, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], yE0 = [0, Af, tn4, vc2, tf, Lc2, Ti6, Pu2, Tu2, u7, ls5, ki6, R7, G7, vn3, zc2, iu2, We7, Cs4, _i6, Ji6, l7, li6, c7, Pf2, Su2, Gu2, Ff, Wu2, yi5, Si6, ei6, B7, Wf, sc2, y7, ji6, Ef, yc2, H7, uf, ru2, Hf, qi6, gc2, Jn3, _s5, Sc2, Vf, mu2, K7, ns5, Wc2, ri6, ff, rf, Xe6, Ke7, us5, xc2, ou2, zi6, yu2, lf, gi6, Gc2, wi6, Ic2, hc2, qn4, Ju2, nf, be6, j7, ju2, bu2, Ec2, wc2, Bf, Hc2, O7, Ts4, Oc2, Xc2, Yf, Ac2, Yi6, Yn3, A7, Is6, yf, Mc2, Un3, t24, p7, ts5, Nc2, C7, mi6, Mf2, b7, v7, bf, ws5, Hi6, hi6, Ci6, vs6, Qn3, wf, Iu2, As5, nc2, gf, cu2, ti6, _c2, kc2, S7, Qi6, di6, Ru2, vi6, i7, tu2, gs5, qc2, Ni6, St8, cs5, U7, Ri6, W22, Gn4, Vi6, as5, Df2, Ou2, cc2, is5, lc2, ae4, vf2, eu2, xi6, Yu2, zn4, Rc2, Di6, Mi5, fi6, ds5, I7, Xf, Z7, D7, f7, zf, Bu2, dc2, z7, Dc2, Tc2, ms6, Jf, Tf, xu2, ku2, pf, ai6, Bc2, Hn4, g7, G1, oi6, N7, os7, su2, Yc2, Cu2, Au2, gu2, mf, L7, ps5, E7, du2, uu2, Nf, hf, uc2, Ki6, W72, df, hs5, Kn4, wu2, Cc2, Ei6, Mu2, Xu2, Kc2, Gf, ys5, Ui6, Zc2, Ii6, n7, si6, $u2, Hu2, Oi6, ni6, zu2, Vc2, Xn4, sf, Lu2, kf2, Qf, Xi6, r7, Vn3, Pc2, Kf, o7, e7, Wn3, bs5, Vu2, rc2, x7, es5, ge6, Eu2, Ai6, $c2, bi6, Y7, Fu2, jf, Bn3, m7, Zi6, Fc2, au2, $f2, P7, af, xf2, pu2, M7, Zu2, Pi6, Lf, Ge7, fs24, _7, If2, a7, q72, pi6, Ku2, fc2, qu2, Of, w7, ci6, Je7, T7, lu2, ii6, ss5, k7, fu2, Uu2, Jc2, Ve7, rs5, ic2, Bi6, Qc2, s7, Wi6, t72, He7, Q7, jc2, Uc2, Es4, Sf, _f2, oc2, Ps6, ac2, $n3, vu2, _u2, Zf, Zn4, X72, cf, ui6, J72, Uf, Qu2, d7, F7, hu2, Fi6, Du2, Gi6, Rf2, bc2, pc2, h7, qf, $22, V7, $i6, of, H22], _E0 = "Jsoo_runtime.Error.Exn", wE0 = [0, 0], gE0 = "assert_operator", bE0 = "use_strict", TE0 = w_, EE0 = "esproposal_decorators", SE0 = "records", AE0 = "pattern_matching", IE0 = "enums", PE0 = "components", CE0 = "Internal error: ", NE0 = [t1, "CamlinternalLazy.Undefined", js6(0)];
|
|
61621
|
+
var KV = "Array.sub", HV = "first domain already spawned", WV = [0, "camlinternalOO.ml", BF, 50], VV = [0, WM, 72, 5], $V = [0, WM, 81, 2], QV = "/tmp", ZV = ln4, x$ = [0, "src/wtf8.ml", 65, 9], r$ = [0, "src/third-party/sedlex/flow_sedlexing.ml", jS, 4], e$ = "Flow_sedlexing.MalFormed", t$ = O6, n$ = H32, u$ = K32, i$ = H62, f$ = $v, c$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.LibFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.LibFile@ "], s$ = [0, [3, 0, 0], C6], a$ = [0, [17, 0, [12, 41, 0]], ck], o$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.SourceFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.SourceFile@ "], v$ = [0, [3, 0, 0], C6], l$ = [0, [17, 0, [12, 41, 0]], ck], p$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.JsonFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.JsonFile@ "], k$ = [0, [3, 0, 0], C6], m$ = [0, [17, 0, [12, 41, 0]], ck], h$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.ResourceFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.ResourceFile@ "], d$ = [0, [3, 0, 0], C6], y$ = [0, [17, 0, [12, 41, 0]], ck], _$ = [0, 1], w$ = [0, 0], g$ = [0, 1], b$ = [0, 2], T$ = [0, 2], E$ = [0, 0], S$ = [0, 1], A$ = [0, 1], I$ = [0, 1], P$ = [0, 1], C$ = [0, 2], N$ = [0, 1], O$ = [0, 1], j$ = [0, 0, 0], D$ = [0, 0, 0], R$ = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms6, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os8, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], F$ = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os8, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms6, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], M$ = GM, L$ = $F, q$ = SF, B$ = OD, U$ = Qy, X$ = QL, G$ = F6, Y$ = WD, z$ = YF, J$ = CF, K$ = yD2, H$ = $7, W$ = ze6, V$ = _R, $$ = pF, Q$ = se6, Z$ = HL, xQ = wR, rQ = _k, eQ = Qm2, tQ = bo3, nQ = I6, uQ = kM, iQ = YD, fQ = IR, cQ = RR, sQ = PF, aQ = qD, oQ = GD, vQ = hL, lQ = TR, pQ = vM, kQ = bF, mQ = yo3, hQ = fF, dQ = $L, yQ = eF, _Q = g6, wQ = cl2, gQ = No3, bQ = [0, [18, [1, [0, [11, Li6, 0], Li6]], [11, "{ ", 0]], "@[<2>{ "], TQ = "Loc.line", EQ = [0, [18, [1, [0, 0, rx]], [2, 0, [11, GR, [17, [0, Eo3, 1, 0], 0]]]], yF], SQ = [0, [4, 0, 0, 0, 0], al2], AQ = [0, [17, 0, 0], iI], IQ = [0, [12, 59, [17, [0, Eo3, 1, 0], 0]], ";@ "], PQ = G6, CQ = [0, [18, [1, [0, 0, rx]], [2, 0, [11, GR, [17, [0, Eo3, 1, 0], 0]]]], yF], NQ = [0, [4, 0, 0, 0, 0], al2], OQ = [0, [17, 0, 0], iI], jQ = [0, [17, [0, Eo3, 1, 0], [12, So3, [17, 0, 0]]], "@ }@]"], DQ = rx, RQ = "Object literal may not have data and accessor property with the same name", FQ = "Object literal may not have multiple get/set accessors with the same name", MQ = "Unexpected token <. Remember, adjacent JSX elements must be wrapped in an enclosing parent tag", LQ = "`let [` is ambiguous in this position because it is either a `let` binding pattern, or a member expression.", qQ = "Async functions can only be declared at top level or immediately within another function.", BQ = "`await` is an invalid identifier in async functions", UQ = "`await` is not allowed in async function parameters.", XQ = "Computed properties must have a value.", GQ = "Constructor can't be an accessor.", YQ = "Constructor can't be an async function.", zQ = "Constructor can't be a generator.", JQ = "It is sufficient for your declare function to just have a Promise return type.", KQ = "async is an implementation detail and isn't necessary for your declare function statement. ", HQ = "`declare` modifier can only appear on class fields.", WQ = "Unexpected token `=`. Initializers are not allowed in a `declare`.", VQ = "Unexpected token `=`. Initializers are not allowed in a `declare opaque type`.", $Q = "Classes may only have one constructor", QQ = "Rest element must be final element of an array pattern", ZQ = "Cannot export an enum with `export type`, try `export enum E {}` or `module.exports = E;` instead.", xZ = "Enum members are separated with `,`. Replace `;` with `,`.", rZ = "`const` enums are not supported. Flow Enums are designed to allow for inlining, however the inlining itself needs to be part of the build system (whatever you use) rather than Flow itself.", eZ = "Expected an object pattern, array pattern, or an identifier but found an expression instead", tZ = "Missing comma between export specifiers", nZ = "Generators can only be declared at top level or immediately within another function.", uZ = "Getter should have zero parameters", iZ = "A getter cannot have a `this` parameter.", fZ = "Illegal continue statement", cZ = "Illegal return statement", sZ = "Illegal Unicode escape", aZ = "Missing comma between import specifiers", oZ = "It cannot be used with `import type` or `import typeof` statements", vZ = "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. ", lZ = "Explicit inexact syntax cannot appear inside an explicit exact object type", pZ = "Explicit inexact syntax can only appear inside an object type", kZ = "Component params must be an identifier. If you'd like to destructure, you should use `name as {destructure}`", mZ = "A bigint literal must be an integer", hZ = "JSX value should be either an expression or a quoted JSX text", dZ = "Invalid left-hand side in assignment", yZ = "Invalid left-hand side in exponentiation expression", _Z = "Invalid left-hand side in for-in", wZ = "Invalid left-hand side in for-of", gZ = "Invalid optional indexed access. Indexed access uses bracket notation. Use the format `T?.[K]`.", bZ = "Invalid regular expression", TZ = "A bigint literal cannot use exponential notation", EZ = "Tuple spread elements cannot be optional.", SZ = "Tuple variance annotations can only be used with labeled tuple elements, e.g. `[+foo: number]`", AZ = "`typeof` can only be used to get the type of variables.", IZ = "JSX attributes must only be assigned a non-empty expression", PZ = "Literals cannot be used as shorthand properties.", CZ = "Malformed unicode", NZ = "`match` argument must not be empty", OZ = "`match` argument cannot contain spread elements", jZ = "`await` is not yet supported in `match` expressions", DZ = "`yield` is not yet supported in `match` expressions", RZ = "Object pattern can't contain methods", FZ = "Expected at least one type parameter.", MZ = "Type parameter declaration needs a default, since a preceding type parameter declaration has a default.", LZ = "More than one default clause in switch statement", qZ = "Illegal newline after throw", BZ = "Illegal newline before arrow", UZ = "Missing catch or finally after try", XZ = "Const must be initialized", GZ = "Destructuring assignment must be initialized", YZ = "An optional chain may not be used in a `new` expression.", zZ = "Template literals may not be used in an optional chain.", JZ = "Rest parameter must be final parameter of an argument list", KZ = "Private fields may not be deleted.", HZ = "Private fields can only be referenced from within a class.", WZ = "Rest property must be final property of an object pattern", VZ = "Records to not support private elements. Remove the `#`.", $Z = "Setter should have exactly one parameter", QZ = "A setter cannot have a `this` parameter.", ZZ = "Catch variable may not be eval or arguments in strict mode", x00 = "Delete of an unqualified identifier in strict mode.", r00 = "Duplicate data property in object literal not allowed in strict mode", e00 = "Function name may not be eval or arguments in strict mode", t00 = "Assignment to eval or arguments is not allowed in strict mode", n00 = "Postfix increment/decrement may not have eval or arguments operand in strict mode", u00 = "Prefix increment/decrement may not have eval or arguments operand in strict mode", i00 = "Strict mode code may not include a with statement", f00 = "Number literals with leading zeros are not allowed in strict mode.", c00 = "Octal literals are not allowed in strict mode.", s00 = "Strict mode function may not have duplicate parameter names", a00 = "Parameter name eval or arguments is not allowed in strict mode", o00 = 'Illegal "use strict" directive in function with non-simple parameter list', v00 = "Use of reserved word in strict mode", l00 = "Variable name may not be eval or arguments in strict mode", p00 = "You may not access a private field through the `super` keyword.", k00 = "Flow does not support abstract classes.", m00 = "Flow does not support template literal types.", h00 = "A type annotation is required for the `this` parameter.", d00 = "Arrow functions cannot have a `this` parameter; arrow functions automatically bind `this` when declared.", y00 = "Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.", _00 = "The `this` parameter cannot be optional.", w00 = "The `this` parameter must be the first function parameter.", g00 = "A trailing comma is not permitted after the rest element", b00 = "Unexpected end of input", T00 = "Explicit inexact syntax must come at the end of an object type", E00 = "Opaque type aliases are not allowed in untyped mode", S00 = "Unexpected proto modifier", A00 = "Unexpected reserved word", I00 = "Unexpected reserved type", P00 = "Spreading a type is only allowed inside an object type", C00 = "Unexpected static modifier", N00 = "Unexpected `super` outside of a class method", O00 = "`super()` is only valid in a class constructor", j00 = "Type aliases are not allowed in untyped mode", D00 = "Type annotations are not allowed in untyped mode", R00 = "Type declarations are not allowed in untyped mode", F00 = "Type exports are not allowed in untyped mode", M00 = "Type imports are not allowed in untyped mode", L00 = "Interfaces are not allowed in untyped mode", q00 = "Unexpected variance sigil", B00 = "Found a decorator in an unsupported position.", U00 = "Invalid regular expression: missing /", X00 = "Unexpected whitespace between `#` and identifier", G00 = "`yield` is an invalid identifier in generators", Y00 = "Yield expression not allowed in formal parameter", z00 = [0, [11, "Duplicate export for `", [2, 0, [12, 96, 0]]], "Duplicate export for `%s`"], J00 = [0, [11, "Private fields may only be declared once. `#", [2, 0, [11, "` is declared more than once.", 0]]], "Private fields may only be declared once. `#%s` is declared more than once."], K00 = [0, [11, "bigint enum members need to be initialized, e.g. `", [2, 0, [11, " = 1n,` in enum `", [2, 0, [11, nu2, 0]]]]], "bigint enum members need to be initialized, e.g. `%s = 1n,` in enum `%s`."], H00 = [0, [11, "Boolean enum members need to be initialized. Use either `", [2, 0, [11, " = true,` or `", [2, 0, [11, " = false,` in enum `", [2, 0, [11, nu2, 0]]]]]]], "Boolean enum members need to be initialized. Use either `%s = true,` or `%s = false,` in enum `%s`."], W00 = [0, [11, "Enum member names need to be unique, but the name `", [2, 0, [11, "` has already been used before in enum `", [2, 0, [11, nu2, 0]]]]], "Enum member names need to be unique, but the name `%s` has already been used before in enum `%s`."], V00 = [0, [11, WR, [2, 0, [11, "` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.", 0]]], "Enum `%s` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers."], $00 = "The `...` must come at the end of the enum body. Remove the trailing comma.", Q00 = "The `...` must come after all enum members. Move it to the end of the enum body.", Z00 = [0, [11, "Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `", [2, 0, [11, nu2, 0]]], "Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `%s`."], xx0 = [0, [11, "Enum type `", [2, 0, [11, "` is not valid. ", [2, 0, 0]]]], "Enum type `%s` is not valid. %s"], rx0 = [0, [11, "Supplied enum type is not valid. ", [2, 0, 0]], "Supplied enum type is not valid. %s"], ex0 = [0, [11, "Enum member names and initializers are separated with `=`. Replace `", [2, 0, [11, ":` with `", [2, 0, [11, " =`.", 0]]]]], "Enum member names and initializers are separated with `=`. Replace `%s:` with `%s =`."], tx0 = [0, [11, WR, [2, 0, [11, "` has type `", [2, 0, [11, "`, so the initializer of `", [2, 0, [11, "` needs to be a ", [2, 0, [11, " literal.", 0]]]]]]]]], "Enum `%s` has type `%s`, so the initializer of `%s` needs to be a %s literal."], nx0 = [0, [11, "Symbol enum members cannot be initialized. Use `", [2, 0, [11, ",` in enum `", [2, 0, [11, nu2, 0]]]]], "Symbol enum members cannot be initialized. Use `%s,` in enum `%s`."], ux0 = [0, [11, "The enum member initializer for `", [2, 0, [11, "` needs to be a literal (either a boolean, number, or string) in enum `", [2, 0, [11, nu2, 0]]]]], "The enum member initializer for `%s` needs to be a literal (either a boolean, number, or string) in enum `%s`."], ix0 = [0, [11, "Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `", [2, 0, [11, "`, consider using `", [2, 0, [11, "`, in enum `", [2, 0, [11, nu2, 0]]]]]]], "Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%s`, consider using `%s`, in enum `%s`."], fx0 = [0, [11, "Number enum members need to be initialized, e.g. `", [2, 0, [11, " = 1,` in enum `", [2, 0, [11, nu2, 0]]]]], "Number enum members need to be initialized, e.g. `%s = 1,` in enum `%s`."], cx0 = [0, [11, "String enum members need to consistently either all use initializers, or use no initializers, in enum ", [2, 0, [12, 46, 0]]], "String enum members need to consistently either all use initializers, or use no initializers, in enum %s."], sx0 = [0, [11, "Expected corresponding JSX closing tag for ", [2, 0, 0]], "Expected corresponding JSX closing tag for %s"], ax0 = "immediately within another function.", ox0 = "In strict mode code, functions can only be declared at top level or ", vx0 = "inside a block, or as the body of an if statement.", lx0 = "In non-strict mode code, functions can only be declared at top level, ", px0 = " `break` statements are not required in `match` statements, as unlike `switch` statements, `match` statement cases do not fall-through by default.", kx0 = rx, mx0 = [0, [11, "Illegal break statement.", [2, 0, 0]], "Illegal break statement.%s"], hx0 = zM, dx0 = rx, yx0 = XM, _x0 = DF, wx0 = DM, gx0 = [0, [11, "Classes may not have ", [2, 0, [2, 0, [11, DD2, [2, 0, [11, nu2, 0]]]]]], "Classes may not have %s%s named `%s`."], bx0 = "Components use `renders` instead of `:` to annotate the render type of a component.", Tx0 = uM, Ex0 = rx, Sx0 = [0, [11, "String params require local bindings using `as` renaming. You can use `'", [2, 0, [11, "' as ", [2, 0, [2, 0, [11, ": <TYPE>` ", 0]]]]]], "String params require local bindings using `as` renaming. You can use `'%s' as %s%s: <TYPE>` "], Ax0 = "Remove the period.", Ix0 = "Indexed access uses bracket notation.", Px0 = [0, [11, "Invalid indexed access. ", [2, 0, [11, " Use the format `T[K]`.", 0]]], "Invalid indexed access. %s Use the format `T[K]`."], Cx0 = [0, [11, "Invalid flags supplied to RegExp constructor '", [2, 0, [12, 39, 0]]], "Invalid flags supplied to RegExp constructor '%s'"], Nx0 = tn4, Ox0 = Dp2, jx0 = [0, [11, "In match ", [2, 0, [11, " pattern, the rest must be the last element in the pattern", 0]]], "In match %s pattern, the rest must be the last element in the pattern"], Dx0 = [0, [11, "JSX element ", [2, 0, [11, " has no corresponding closing tag.", 0]]], "JSX element %s has no corresponding closing tag."], Rx0 = [0, [11, tM, [2, 0, [11, "`. Parentheses are required to combine `??` with `&&` or `||` expressions.", 0]]], "Unexpected token `%s`. Parentheses are required to combine `??` with `&&` or `||` expressions."], Fx0 = zM, Mx0 = rx, Lx0 = XM, qx0 = A6, Bx0 = [0, [11, "Records may not have ", [2, 0, [2, 0, [11, DD2, [2, 0, [11, nu2, 0]]]]]], "Records may not have %s%s named `%s`."], Ux0 = [0, [2, 0, [11, " '", [2, 0, [11, "' has already been declared", 0]]]], "%s '%s' has already been declared"], Xx0 = rx, Gx0 = k6, Yx0 = " You can try using JavaScript private fields by prepending `#` to the field name.", zx0 = Q62, Jx0 = " Fields and methods are public by default. You can simply omit the `public` keyword.", Kx0 = W62, Hx0 = [0, [11, "Flow does not support using `", [2, 0, [11, "` in classes.", [2, 0, 0]]]], "Flow does not support using `%s` in classes.%s"], Wx0 = [0, [11, "Private fields must be declared before they can be referenced. `#", [2, 0, [11, "` has not been declared.", 0]]], "Private fields must be declared before they can be referenced. `#%s` has not been declared."], Vx0 = [0, [11, xM, [2, 0, 0]], "Unexpected %s"], $x0 = [0, [11, tM, [2, 0, [11, "`. Did you mean `", [2, 0, [11, "`?", 0]]]]], "Unexpected token `%s`. Did you mean `%s`?"], Qx0 = [0, [11, xM, [2, 0, [11, ", expected ", [2, 0, 0]]]], "Unexpected %s, expected %s"], Zx0 = [0, [11, "Undefined label '", [2, 0, [12, 39, 0]]], "Undefined label '%s'"], xr0 = "Parse_error.Error", rr0 = [0, [0, 36, 37], [0, 48, 58], [0, 65, 91], [0, 95, 96], [0, 97, un4], [0, py, Sg], [0, NS, s9], [0, j_, Wm2], [0, xI, z_], [0, Y32, lk], [0, ty, Gp2], [0, t1, 706], [0, CD2, 722], [0, 736, 741], [0, 748, 749], [0, 750, 751], [0, 768, 885], [0, 886, 888], [0, 890, 894], [0, 895, 896], [0, 902, 907], [0, 908, 909], [0, 910, 930], [0, jM, 1014], [0, 1015, 1154], [0, 1155, 1160], [0, 1162, 1328], [0, 1329, 1367], [0, 1369, 1370], [0, 1376, 1417], [0, 1425, 1470], [0, 1471, 1472], [0, 1473, 1475], [0, 1476, 1478], [0, 1479, 1480], [0, 1488, 1515], [0, 1519, 1523], [0, 1552, 1563], [0, 1568, 1642], [0, 1646, 1748], [0, 1749, 1757], [0, 1759, 1769], [0, 1770, 1789], [0, 1791, 1792], [0, 1808, 1867], [0, 1869, 1970], [0, 1984, 2038], [0, 2042, 2043], [0, 2045, 2046], [0, Gg, 2094], [0, 2112, 2140], [0, 2144, 2155], [0, 2208, 2229], [0, 2230, 2238], [0, 2259, 2274], [0, 2275, 2404], [0, 2406, 2416], [0, 2417, 2436], [0, 2437, 2445], [0, 2447, 2449], [0, 2451, 2473], [0, 2474, 2481], [0, 2482, 2483], [0, 2486, 2490], [0, 2492, 2501], [0, 2503, 2505], [0, 2507, 2511], [0, 2519, 2520], [0, 2524, 2526], [0, 2527, 2532], [0, 2534, 2546], [0, 2556, 2557], [0, 2558, 2559], [0, 2561, 2564], [0, 2565, 2571], [0, 2575, 2577], [0, 2579, 2601], [0, 2602, 2609], [0, 2610, 2612], [0, 2613, 2615], [0, 2616, 2618], [0, 2620, 2621], [0, 2622, 2627], [0, 2631, 2633], [0, 2635, 2638], [0, 2641, 2642], [0, 2649, 2653], [0, 2654, 2655], [0, 2662, 2678], [0, 2689, 2692], [0, 2693, 2702], [0, 2703, 2706], [0, 2707, 2729], [0, 2730, 2737], [0, 2738, 2740], [0, 2741, 2746], [0, 2748, 2758], [0, 2759, 2762], [0, 2763, 2766], [0, 2768, 2769], [0, 2784, 2788], [0, 2790, 2800], [0, 2809, 2816], [0, 2817, 2820], [0, 2821, 2829], [0, 2831, 2833], [0, 2835, 2857], [0, 2858, 2865], [0, 2866, 2868], [0, 2869, 2874], [0, 2876, 2885], [0, 2887, 2889], [0, 2891, 2894], [0, 2902, 2904], [0, 2908, 2910], [0, 2911, 2916], [0, 2918, 2928], [0, 2929, 2930], [0, 2946, 2948], [0, 2949, 2955], [0, 2958, 2961], [0, 2962, 2966], [0, 2969, 2971], [0, 2972, 2973], [0, 2974, 2976], [0, 2979, 2981], [0, 2984, 2987], [0, 2990, 3002], [0, 3006, 3011], [0, 3014, 3017], [0, 3018, 3022], [0, 3024, 3025], [0, 3031, 3032], [0, 3046, 3056], [0, 3072, 3085], [0, 3086, 3089], [0, 3090, 3113], [0, 3114, 3130], [0, 3133, 3141], [0, 3142, 3145], [0, 3146, 3150], [0, 3157, 3159], [0, 3160, 3163], [0, 3168, 3172], [0, 3174, 3184], [0, 3200, 3204], [0, 3205, 3213], [0, 3214, 3217], [0, 3218, 3241], [0, 3242, 3252], [0, 3253, 3258], [0, 3260, 3269], [0, 3270, 3273], [0, 3274, 3278], [0, 3285, 3287], [0, 3294, 3295], [0, 3296, 3300], [0, 3302, 3312], [0, 3313, 3315], [0, 3328, 3332], [0, 3333, 3341], [0, 3342, 3345], [0, 3346, 3397], [0, 3398, 3401], [0, 3402, 3407], [0, 3412, 3416], [0, 3423, 3428], [0, 3430, 3440], [0, 3450, 3456], [0, 3458, 3460], [0, 3461, 3479], [0, 3482, 3506], [0, 3507, 3516], [0, 3517, 3518], [0, 3520, 3527], [0, 3530, 3531], [0, 3535, 3541], [0, 3542, 3543], [0, 3544, 3552], [0, 3558, 3568], [0, 3570, 3572], [0, 3585, 3643], [0, 3648, 3663], [0, 3664, 3674], [0, 3713, 3715], [0, 3716, 3717], [0, 3718, 3723], [0, 3724, 3748], [0, 3749, 3750], [0, 3751, 3774], [0, 3776, 3781], [0, 3782, 3783], [0, 3784, 3790], [0, 3792, 3802], [0, 3804, 3808], [0, 3840, 3841], [0, 3864, 3866], [0, 3872, 3882], [0, 3893, 3894], [0, 3895, 3896], [0, 3897, 3898], [0, 3902, 3912], [0, 3913, 3949], [0, 3953, 3973], [0, 3974, 3992], [0, 3993, 4029], [0, 4038, 4039], [0, NF, 4170], [0, 4176, 4254], [0, 4256, 4294], [0, 4295, 4296], [0, 4301, 4302], [0, 4304, 4347], [0, 4348, 4681], [0, 4682, 4686], [0, 4688, 4695], [0, 4696, 4697], [0, 4698, 4702], [0, 4704, 4745], [0, 4746, 4750], [0, 4752, 4785], [0, 4786, 4790], [0, 4792, 4799], [0, 4800, 4801], [0, 4802, 4806], [0, 4808, 4823], [0, 4824, 4881], [0, 4882, 4886], [0, 4888, 4955], [0, 4957, 4960], [0, 4969, 4978], [0, 4992, 5008], [0, 5024, 5110], [0, 5112, 5118], [0, 5121, 5741], [0, 5743, nC], [0, 5761, 5787], [0, 5792, 5867], [0, 5870, 5881], [0, 5888, 5901], [0, 5902, 5909], [0, 5920, 5941], [0, 5952, 5972], [0, 5984, 5997], [0, 5998, 6001], [0, 6002, 6004], [0, 6016, 6100], [0, 6103, 6104], [0, 6108, 6110], [0, 6112, 6122], [0, 6155, 6158], [0, 6160, 6170], [0, 6176, 6265], [0, 6272, 6315], [0, 6320, 6390], [0, 6400, 6431], [0, 6432, 6444], [0, 6448, 6460], [0, 6470, 6510], [0, 6512, 6517], [0, 6528, 6572], [0, 6576, 6602], [0, 6608, 6619], [0, 6656, 6684], [0, 6688, 6751], [0, 6752, 6781], [0, 6783, 6794], [0, 6800, 6810], [0, 6823, 6824], [0, 6832, 6846], [0, 6912, 6988], [0, 6992, 7002], [0, 7019, 7028], [0, 7040, 7156], [0, 7168, 7224], [0, 7232, 7242], [0, 7245, 7294], [0, 7296, 7305], [0, 7312, 7355], [0, 7357, 7360], [0, 7376, 7379], [0, 7380, 7419], [0, 7424, 7674], [0, 7675, 7958], [0, 7960, 7966], [0, 7968, 8006], [0, 8008, 8014], [0, 8016, 8024], [0, 8025, 8026], [0, 8027, 8028], [0, 8029, 8030], [0, 8031, 8062], [0, 8064, 8117], [0, 8118, 8125], [0, 8126, 8127], [0, 8130, 8133], [0, 8134, 8141], [0, 8144, 8148], [0, 8150, 8156], [0, 8160, 8173], [0, 8178, 8181], [0, 8182, 8189], [0, tR, NM], [0, 8255, 8257], [0, 8276, 8277], [0, F8, 8306], [0, f8, 8320], [0, 8336, 8349], [0, 8400, 8413], [0, 8417, 8418], [0, 8421, 8433], [0, dm2, 8451], [0, Gm2, 8456], [0, 8458, tk], [0, dk, 8470], [0, sM, 8478], [0, _8, Jm2], [0, th, gk], [0, Ik, Hm2], [0, 8490, 8506], [0, 8508, 8512], [0, 8517, 8522], [0, Lk, 8527], [0, 8544, 8585], [0, 11264, 11311], [0, 11312, 11359], [0, 11360, 11493], [0, 11499, 11508], [0, 11520, om2], [0, gp2, 11560], [0, Fm2, 11566], [0, 11568, 11624], [0, u8, 11632], [0, ak, 11671], [0, 11680, lm2], [0, 11688, km2], [0, 11696, bp2], [0, 11704, Uk], [0, 11712, z8], [0, 11720, Ip2], [0, 11728, sh], [0, 11736, 11743], [0, 11744, 11776], [0, 12293, 12296], [0, 12321, uh], [0, 12337, 12342], [0, 12344, 12349], [0, 12353, 12439], [0, 12441, X8], [0, 12449, _h], [0, 12540, 12544], [0, 12549, Ym2], [0, 12593, 12687], [0, 12704, 12731], [0, 12784, 12800], [0, 13312, 19894], [0, 19968, 40944], [0, 40960, 42125], [0, 42192, 42238], [0, 42240, 42509], [0, 42512, 42540], [0, 42560, 42608], [0, 42612, ek], [0, 42623, 42738], [0, 42775, 42784], [0, 42786, 42889], [0, 42891, 42944], [0, 42946, 42951], [0, l8, 43048], [0, 43072, 43124], [0, 43136, 43206], [0, 43216, 43226], [0, 43232, 43256], [0, $k, Yk], [0, 43261, 43310], [0, 43312, 43348], [0, 43360, 43389], [0, 43392, 43457], [0, W8, 43482], [0, 43488, Bp2], [0, aF, 43575], [0, 43584, 43598], [0, 43600, 43610], [0, 43616, 43639], [0, fm2, 43715], [0, 43739, 43742], [0, 43744, 43760], [0, 43762, 43767], [0, 43777, 43783], [0, 43785, 43791], [0, 43793, 43799], [0, 43808, wm2], [0, 43816, p8], [0, 43824, Q8], [0, 43868, Np2], [0, 43888, 44011], [0, 44012, 44014], [0, 44016, 44026], [0, 44032, 55204], [0, 55216, 55239], [0, 55243, 55292], [0, 63744, 64110], [0, 64112, 64218], [0, 64256, 64263], [0, 64275, 64280], [0, Wk, qp2], [0, 64298, b8], [0, 64312, ym2], [0, Qk, pk], [0, 64320, ih], [0, 64323, Th], [0, 64326, 64434], [0, 64467, 64830], [0, 64848, 64912], [0, 64914, 64968], [0, 65008, 65020], [0, 65024, 65040], [0, 65056, 65072], [0, 65075, 65077], [0, 65101, 65104], [0, 65136, $m2], [0, 65142, 65277], [0, 65296, 65306], [0, 65313, 65339], [0, 65343, pm2], [0, 65345, 65371], [0, 65382, 65471], [0, 65474, 65480], [0, 65482, 65488], [0, 65490, 65496], [0, 65498, 65501], [0, Y6, lh], [0, 65549, Z8], [0, 65576, Ek], [0, 65596, Ak], [0, 65599, 65614], [0, 65616, 65630], [0, 65664, 65787], [0, 65856, 65909], [0, 66045, 66046], [0, 66176, 66205], [0, 66208, 66257], [0, 66272, 66273], [0, 66304, 66336], [0, 66349, 66379], [0, 66384, 66427], [0, 66432, 66462], [0, 66464, 66500], [0, 66504, ah], [0, 66513, 66518], [0, 66560, 66718], [0, 66720, 66730], [0, 66736, 66772], [0, 66776, 66812], [0, 66816, 66856], [0, 66864, 66916], [0, 67072, 67383], [0, 67392, 67414], [0, 67424, 67432], [0, 67584, 67590], [0, vk, x8], [0, 67594, oh], [0, 67639, 67641], [0, $8, 67645], [0, 67647, 67670], [0, 67680, 67703], [0, 67712, 67743], [0, 67808, Hp2], [0, 67828, 67830], [0, 67840, 67862], [0, 67872, 67898], [0, 67968, 68024], [0, 68030, 68032], [0, ph, 68100], [0, 68101, 68103], [0, 68108, Xk], [0, 68117, V8], [0, 68121, 68150], [0, 68152, 68155], [0, 68159, 68160], [0, 68192, 68221], [0, 68224, 68253], [0, 68288, D8], [0, 68297, 68327], [0, 68352, 68406], [0, 68416, 68438], [0, 68448, 68467], [0, 68480, 68498], [0, 68608, 68681], [0, 68736, 68787], [0, 68800, 68851], [0, 68864, 68904], [0, 68912, 68922], [0, 69376, 69405], [0, qm2, 69416], [0, 69424, 69457], [0, 69600, 69623], [0, 69632, 69703], [0, 69734, nh], [0, 69759, 69819], [0, 69840, 69865], [0, 69872, 69882], [0, 69888, 69941], [0, 69942, 69952], [0, Up2, Dk], [0, 69968, 70004], [0, Km2, 70007], [0, 70016, 70085], [0, 70089, 70093], [0, 70096, Om2], [0, o8, 70109], [0, 70144, Nm2], [0, 70163, 70200], [0, 70206, 70207], [0, 70272, Pm2], [0, S8, Fk], [0, 70282, Cm2], [0, 70287, mm2], [0, 70303, 70313], [0, 70320, 70379], [0, 70384, 70394], [0, 70400, jp2], [0, 70405, 70413], [0, 70415, 70417], [0, 70419, Vm2], [0, 70442, Y8], [0, 70450, cm2], [0, 70453, 70458], [0, 70459, 70469], [0, 70471, 70473], [0, 70475, 70478], [0, Yp2, 70481], [0, 70487, 70488], [0, 70493, 70500], [0, 70502, 70509], [0, 70512, 70517], [0, 70656, 70731], [0, 70736, 70746], [0, uk, 70752], [0, 70784, Um2], [0, i8, 70856], [0, 70864, 70874], [0, 71040, 71094], [0, 71096, 71105], [0, 71128, 71134], [0, 71168, 71233], [0, a8, 71237], [0, 71248, 71258], [0, 71296, 71353], [0, 71360, 71370], [0, 71424, 71451], [0, 71453, 71468], [0, 71472, 71482], [0, 71680, 71739], [0, 71840, 71914], [0, 71935, 71936], [0, 72096, 72104], [0, 72106, 72152], [0, 72154, R8], [0, Xm2, 72165], [0, t82, 72255], [0, 72263, 72264], [0, qk, 72346], [0, k8, 72350], [0, 72384, 72441], [0, 72704, zm2], [0, 72714, 72759], [0, 72760, 72769], [0, 72784, 72794], [0, 72818, 72848], [0, 72850, 72872], [0, 72873, 72887], [0, 72960, d8], [0, 72968, ch], [0, 72971, 73015], [0, 73018, 73019], [0, 73020, 73022], [0, 73023, 73032], [0, 73040, 73050], [0, 73056, E8], [0, 73063, bm2], [0, 73066, 73103], [0, 73104, 73106], [0, 73107, 73113], [0, 73120, 73130], [0, 73440, 73463], [0, 73728, 74650], [0, 74752, 74863], [0, 74880, 75076], [0, 77824, 78895], [0, 82944, 83527], [0, 92160, 92729], [0, 92736, 92767], [0, 92768, 92778], [0, 92880, 92910], [0, 92912, 92917], [0, 92928, 92983], [0, 92992, 92996], [0, 93008, 93018], [0, 93027, 93048], [0, 93053, 93072], [0, 93760, 93824], [0, 93952, 94027], [0, gm2, 94088], [0, 94095, 94112], [0, 94176, mk], [0, Op2, 94180], [0, 94208, 100344], [0, 100352, 101107], [0, 110592, 110879], [0, 110928, 110931], [0, 110948, 110952], [0, 110960, 111356], [0, 113664, 113771], [0, 113776, 113789], [0, 113792, 113801], [0, 113808, 113818], [0, 113821, 113823], [0, 119141, 119146], [0, 119149, 119155], [0, 119163, 119171], [0, 119173, 119180], [0, 119210, 119214], [0, 119362, 119365], [0, 119808, Fp2], [0, 119894, jk], [0, 119966, 119968], [0, r8, 119971], [0, 119973, 119975], [0, 119977, Ah], [0, 119982, Sm2], [0, M8, xm2], [0, 119997, c8], [0, 120005, bh], [0, 120071, 120075], [0, 120077, sk], [0, 120086, Im2], [0, 120094, Xp2], [0, 120123, H8], [0, 120128, n8], [0, Jk, 120135], [0, 120138, eh], [0, 120146, 120486], [0, 120488, yk], [0, 120514, T8], [0, 120540, wh], [0, 120572, Rk], [0, 120598, C8], [0, 120630, Zp2], [0, 120656, w8], [0, 120688, zp2], [0, 120714, Cp2], [0, 120746, Nk], [0, 120772, 120780], [0, 120782, 120832], [0, 121344, 121399], [0, 121403, 121453], [0, 121461, 121462], [0, 121476, 121477], [0, 121499, 121504], [0, 121505, 121520], [0, 122880, 122887], [0, 122888, 122905], [0, 122907, 122914], [0, 122915, 122917], [0, 122918, 122923], [0, 123136, 123181], [0, 123184, 123198], [0, 123200, 123210], [0, Sp2, 123215], [0, 123584, 123642], [0, 124928, 125125], [0, 125136, 125143], [0, 125184, 125260], [0, 125264, 125274], [0, 126464, xk], [0, 126469, hm2], [0, 126497, yh], [0, Pp2, 126501], [0, Mm2, J8], [0, 126505, Ep2], [0, 126516, N8], [0, kh, tm2], [0, Vp2, 126524], [0, fh, 126531], [0, Eh, Qp2], [0, hh, vm2], [0, vh, Mp2], [0, 126541, Mk], [0, 126545, xh], [0, Dm2, 126549], [0, j8, $p2], [0, Zk, y8], [0, am2, rh], [0, ok, Jp2], [0, q8, Sk], [0, 126561, Wp2], [0, Zm2, 126565], [0, 126567, Rp2], [0, 126572, nk], [0, 126580, A8], [0, 126585, Vk], [0, O8, Bm2], [0, 126592, Kp2], [0, 126603, 126620], [0, 126625, P8], [0, 126629, m8], [0, 126635, 126652], [0, 131072, 173783], [0, 173824, 177973], [0, 177984, 178206], [0, 178208, 183970], [0, 183984, 191457], [0, 194560, 195102], [0, 917760, 918000]], er0 = [0, 1, 0], tr0 = [0, 0, [0, 1, 0], [0, 1, 0]], nr0 = sL, ur0 = "end of input", ir0 = U62, fr0 = "template literal part", cr0 = U62, sr0 = nD2, ar0 = sL, or0 = U62, vr0 = H32, lr0 = U62, pr0 = $v, kr0 = U62, mr0 = K32, hr0 = "an", dr0 = St8, yr0 = Nu2, _r0 = [0, [11, "token `", [2, 0, [12, 96, 0]]], "token `%s`"], wr0 = "{", gr0 = em2, br0 = "{|", Tr0 = "|}", Er0 = PM, Sr0 = iM, Ar0 = "[", Ir0 = "]", Pr0 = NT, Cr0 = JL, Nr0 = ln4, Or0 = "=>", jr0 = "...", Dr0 = _D, Rr0 = DM, Fr0 = $32, Mr0 = nm2, Lr0 = bo3, qr0 = I6, Br0 = Je7, Ur0 = Ve7, Xr0 = $P, Gr0 = DT, Yr0 = Bv, zr0 = He7, Jr0 = um2, Kr0 = g6, Hr0 = Tp2, Wr0 = L8, Vr0 = No3, $r0 = cl2, Qr0 = Hv, Zr0 = wa2, x10 = Pa2, r10 = We7, e10 = rk, t102 = Rm2, n10 = Xe6, u10 = Fv, i10 = Tk, f10 = U8, c10 = K8, s10 = h6, a10 = mc2, o10 = Ue5, v10 = Ck, l10 = Yv, p10 = E6, k10 = Aa2, m10 = ga, h10 = j6, d10 = dh, y10 = W22, _10 = fl2, w10 = Oo2, g10 = ae4, b10 = Pk, T10 = Q62, E10 = k6, S10 = W62, A10 = H22, I10 = Ke7, P10 = x42, C10 = tc2, N10 = zb, O10 = JS, j10 = Io3, D10 = Kv, R10 = "%checks", F10 = TR, M10 = hL, L10 = GD, q10 = bF, B10 = vM, U10 = yo3, X10 = qD, G10 = PF, Y10 = IR, z10 = RR, J10 = YD, K10 = kM, H10 = fF, W10 = $L, V10 = eF, $10 = p_, Q10 = "?.", Z10 = Dw, x20 = uM, r20 = Iv, e20 = LF2, t202 = CM, n20 = wR, u20 = _k, i20 = Qm2, f20 = GM, c20 = $F, s20 = SF, a20 = OD, o20 = QL, v20 = WD, l20 = Qy, p20 = F6, k20 = YF, m20 = CF, h20 = yD2, d20 = $7, y20 = ze6, _20 = se6, w20 = _R, g20 = pF, b20 = HL, T20 = SD, E20 = VL, S20 = ZM, A20 = kR, I20 = rx, P20 = ik, C20 = wk, N20 = be6, O20 = H32, j20 = $v, D20 = K32, R20 = ga, F20 = H62, M20 = hk, L20 = bk, q20 = Hk, B20 = Lm2, U20 = Xv, X20 = FD2, G20 = J62, Y20 = tl2, z20 = V32, J20 = jF, K20 = uF, H20 = m6, W20 = m6, V20 = gL, $20 = m6, Q20 = m6, Z20 = em2, xe0 = em2, re0 = gL, ee0 = se6, te0 = se6, ne0 = O6, ue0 = rm2, ie0 = "T_LCURLY", fe0 = "T_RCURLY", ce0 = "T_LCURLYBAR", se0 = "T_RCURLYBAR", ae0 = "T_LPAREN", oe0 = "T_RPAREN", ve0 = "T_LBRACKET", le0 = "T_RBRACKET", pe0 = "T_SEMICOLON", ke0 = "T_COMMA", me0 = "T_PERIOD", he0 = "T_ARROW", de0 = "T_ELLIPSIS", ye0 = "T_AT", _e0 = "T_POUND", we0 = "T_FUNCTION", ge0 = "T_IF", be0 = "T_IN", Te0 = "T_INSTANCEOF", Ee0 = "T_RETURN", Se0 = "T_SWITCH", Ae0 = "T_MATCH", Ie0 = "T_RECORD", Pe0 = "T_THIS", Ce0 = "T_THROW", Ne0 = "T_TRY", Oe0 = "T_VAR", je0 = "T_WHILE", De0 = "T_WITH", Re0 = "T_CONST", Fe0 = "T_LET", Me0 = "T_NULL", Le0 = "T_FALSE", qe0 = "T_TRUE", Be0 = "T_BREAK", Ue0 = "T_CASE", Xe0 = "T_CATCH", Ge0 = "T_CONTINUE", Ye0 = "T_DEFAULT", ze0 = "T_DO", Je0 = "T_FINALLY", Ke0 = "T_FOR", He0 = "T_CLASS", We0 = "T_EXTENDS", Ve0 = "T_STATIC", $e0 = "T_ELSE", Qe0 = "T_NEW", Ze0 = "T_DELETE", xt0 = "T_TYPEOF", rt0 = "T_VOID", et0 = "T_ENUM", tt0 = "T_EXPORT", nt0 = "T_IMPORT", ut0 = "T_SUPER", it0 = "T_IMPLEMENTS", ft0 = "T_INTERFACE", ct0 = "T_PACKAGE", st0 = "T_PRIVATE", at0 = "T_PROTECTED", ot0 = "T_PUBLIC", vt0 = "T_YIELD", lt0 = "T_DEBUGGER", pt0 = "T_DECLARE", kt0 = "T_TYPE", mt0 = "T_OPAQUE", ht0 = "T_OF", dt0 = "T_ASYNC", yt0 = "T_AWAIT", _t0 = "T_CHECKS", wt0 = "T_RSHIFT3_ASSIGN", gt0 = "T_RSHIFT_ASSIGN", bt0 = "T_LSHIFT_ASSIGN", Tt0 = "T_BIT_XOR_ASSIGN", Et0 = "T_BIT_OR_ASSIGN", St0 = "T_BIT_AND_ASSIGN", At0 = "T_MOD_ASSIGN", It0 = "T_DIV_ASSIGN", Pt0 = "T_MULT_ASSIGN", Ct0 = "T_EXP_ASSIGN", Nt0 = "T_MINUS_ASSIGN", Ot0 = "T_PLUS_ASSIGN", jt0 = "T_NULLISH_ASSIGN", Dt0 = "T_AND_ASSIGN", Rt0 = "T_OR_ASSIGN", Ft0 = "T_ASSIGN", Mt0 = "T_PLING_PERIOD", Lt0 = "T_PLING_PLING", qt0 = "T_PLING", Bt0 = "T_COLON", Ut0 = "T_OR", Xt0 = "T_AND", Gt0 = "T_BIT_OR", Yt0 = "T_BIT_XOR", zt0 = "T_BIT_AND", Jt0 = "T_EQUAL", Kt0 = "T_NOT_EQUAL", Ht0 = "T_STRICT_EQUAL", Wt0 = "T_STRICT_NOT_EQUAL", Vt0 = "T_LESS_THAN_EQUAL", $t0 = "T_GREATER_THAN_EQUAL", Qt0 = "T_LESS_THAN", Zt0 = "T_GREATER_THAN", xn0 = "T_LSHIFT", rn0 = "T_RSHIFT", en0 = "T_RSHIFT3", tn0 = "T_PLUS", nn0 = "T_MINUS", un0 = "T_DIV", in0 = "T_MULT", fn0 = "T_EXP", cn0 = "T_MOD", sn0 = "T_NOT", an0 = "T_BIT_NOT", on0 = "T_INCR", vn0 = "T_DECR", ln0 = "T_EOF", pn0 = "T_ANY_TYPE", kn0 = "T_MIXED_TYPE", mn0 = "T_EMPTY_TYPE", hn0 = "T_NUMBER_TYPE", dn0 = "T_BIGINT_TYPE", yn0 = "T_STRING_TYPE", _n0 = "T_VOID_TYPE", wn0 = "T_SYMBOL_TYPE", gn0 = "T_UNKNOWN_TYPE", bn0 = "T_NEVER_TYPE", Tn0 = "T_UNDEFINED_TYPE", En0 = "T_KEYOF", Sn0 = "T_READONLY", An0 = "T_INFER", In0 = "T_IS", Pn0 = "T_ASSERTS", Cn0 = "T_IMPLIES", Nn0 = KL, On0 = KL, jn0 = "T_NUMBER", Dn0 = "T_BIGINT", Rn0 = "T_STRING", Fn0 = "T_TEMPLATE_PART", Mn0 = "T_IDENTIFIER", Ln0 = "T_REGEXP", qn0 = "T_INTERPRETER", Bn0 = "T_ERROR", Un0 = "T_JSX_IDENTIFIER", Xn0 = XL, Gn0 = XL, Yn0 = "T_BOOLEAN_TYPE", zn0 = "T_NUMBER_SINGLETON_TYPE", Jn0 = "T_BIGINT_SINGLETON_TYPE", Kn0 = [0, BR, $S, 9], Hn0 = [0, BR, Hg, 9], Wn0 = wL, Vn0 = "*/", $n0 = wL, Qn0 = "unreachable line_comment", Zn0 = "unreachable string_quote", x70 = "\\", r70 = "unreachable template_part", e70 = `\r
|
|
61622
|
+
`, t70 = ug, n70 = "unreachable regexp_class", u70 = LD, i70 = "unreachable regexp_body", f70 = rx, c70 = rx, s70 = rx, a70 = rx, o70 = hR, v70 = "{'>'}", l70 = F6, p70 = "{'}'}", k70 = em2, m70 = Ao3, h70 = NT, d70 = Qm2, y70 = hR, _70 = Ao3, w70 = NT, g70 = Qm2, b70 = "unreachable type_token wholenumber", T70 = "unreachable type_token wholebigint", E70 = "unreachable type_token floatbigint", S70 = "unreachable type_token scinumber", A70 = "unreachable type_token scibigint", I70 = "unreachable type_token hexnumber", P70 = "unreachable type_token hexbigint", C70 = "unreachable type_token legacyoctnumber", N70 = "unreachable type_token octnumber", O70 = "unreachable type_token octbigint", j70 = "unreachable type_token binnumber", D70 = "unreachable type_token bigbigint", R70 = "unreachable type_token", F70 = yL, M70 = [11, 1], L70 = [11, 0], q70 = "unreachable template_tail", B70 = rx, U70 = rx, X70 = "unreachable jsx_child", G70 = "unreachable jsx_tag", Y70 = [0, hw], z70 = [0, 913], J70 = [0, Y32], K70 = [0, mh], H70 = [0, cR], W70 = [0, QP], V70 = [0, 8747], $70 = [0, gD], Q70 = [0, 916], Z70 = [0, 8225], xu0 = [0, 935], ru0 = [0, VI], eu0 = [0, 914], tu0 = [0, vL], nu0 = [0, IF], uu0 = [0, RE], iu0 = [0, 915], fu0 = [0, TD], cu0 = [0, 919], su0 = [0, 917], au0 = [0, _L], ou0 = [0, KD], vu0 = [0, HR], lu0 = [0, 924], pu0 = [0, 923], ku0 = [0, 922], mu0 = [0, oF], hu0 = [0, 921], du0 = [0, eM], yu0 = [0, Hg], _u0 = [0, xF], wu0 = [0, ty], gu0 = [0, 927], bu0 = [0, 937], Tu0 = [0, HD], Eu0 = [0, $R], Su0 = [0, uR], Au0 = [0, 338], Iu0 = [0, 352], Pu0 = [0, 929], Cu0 = [0, 936], Nu0 = [0, 8243], Ou0 = [0, 928], ju0 = [0, 934], Du0 = [0, qL], Ru0 = [0, o_], Fu0 = [0, 933], Mu0 = [0, pM], Lu0 = [0, nL], qu0 = [0, fD2], Bu0 = [0, 920], Uu0 = [0, 932], Xu0 = [0, jD], Gu0 = [0, dR], Yu0 = [0, KF], zu0 = [0, JR], Ju0 = [0, 918], Ku0 = [0, SR], Hu0 = [0, HF], Wu0 = [0, 926], Vu0 = [0, lF], $u0 = [0, jM], Qu0 = [0, 925], Zu0 = [0, 39], xi0 = [0, 8736], ri0 = [0, 8743], ei0 = [0, 38], ti0 = [0, 945], ni0 = [0, 8501], ui0 = [0, Sv], ii0 = [0, 8226], fi0 = [0, JD2], ci0 = [0, 946], si0 = [0, 8222], ai0 = [0, RD], oi0 = [0, wM], vi0 = [0, 8776], li0 = [0, qI], pi0 = [0, 8773], ki0 = [0, 9827], mi0 = [0, CD2], hi0 = [0, 967], di0 = [0, qM], yi0 = [0, Wm2], _i0 = [0, PD], wi0 = [0, GF], gi0 = [0, 8595], bi0 = [0, 8224], Ti0 = [0, 8659], Ei0 = [0, sR], Si0 = [0, 8746], Ai0 = [0, 8629], Ii0 = [0, yR], Pi0 = [0, 8745], Ci0 = [0, 8195], Ni0 = [0, 8709], Oi0 = [0, iD2], ji0 = [0, dL], Di0 = [0, aL], Ri0 = [0, Gp2], Fi0 = [0, 9830], Mi0 = [0, 8707], Li0 = [0, 8364], qi0 = [0, EM], Bi0 = [0, rl2], Ui0 = [0, 951], Xi0 = [0, 8801], Gi0 = [0, 949], Yi0 = [0, 8194], zi0 = [0, 8805], Ji0 = [0, 947], Ki0 = [0, 8260], Hi0 = [0, jE], Wi0 = [0, nR], Vi0 = [0, $S], $i0 = [0, 8704], Qi0 = [0, XF], Zi0 = [0, EL], xf0 = [0, 8230], rf0 = [0, 9829], ef0 = [0, 8596], tf0 = [0, 8660], nf0 = [0, 62], uf0 = [0, 402], if0 = [0, 948], ff0 = [0, nF], cf0 = [0, E9], sf0 = [0, 8712], af0 = [0, sP], of0 = [0, 953], vf0 = [0, 8734], lf0 = [0, 8465], pf0 = [0, IM], kf0 = [0, 8220], mf0 = [0, 8968], hf0 = [0, 8592], df0 = [0, Sg], yf0 = [0, 10216], _f0 = [0, 955], wf0 = [0, 8656], gf0 = [0, 954], bf0 = [0, 60], Tf0 = [0, 8216], Ef0 = [0, 8249], Sf0 = [0, NM], Af0 = [0, 9674], If0 = [0, 8727], Pf0 = [0, 8970], Cf0 = [0, AL], Nf0 = [0, 8711], Of0 = [0, 956], jf0 = [0, 8722], Df0 = [0, j_], Rf0 = [0, NS], Ff0 = [0, 8212], Mf0 = [0, NR], Lf0 = [0, 8804], qf0 = [0, 957], Bf0 = [0, kF], Uf0 = [0, 8836], Xf0 = [0, 8713], Gf0 = [0, KR], Yf0 = [0, 8715], zf0 = [0, 8800], Jf0 = [0, 8853], Kf0 = [0, 959], Hf0 = [0, 969], Wf0 = [0, 8254], Vf0 = [0, HM], $f0 = [0, 339], Qf0 = [0, jv], Zf0 = [0, BM], xc0 = [0, s9], rc0 = [0, ul2], ec0 = [0, 8855], tc0 = [0, ME], nc0 = [0, t1], uc0 = [0, xI], ic0 = [0, py], fc0 = [0, da3], cc0 = [0, rL], sc0 = [0, 982], ac0 = [0, 960], oc0 = [0, 966], vc0 = [0, 8869], lc0 = [0, 8240], pc0 = [0, 8706], kc0 = [0, 8744], mc0 = [0, 8211], hc0 = [0, 10217], dc0 = [0, 8730], yc0 = [0, 8658], _c0 = [0, 34], wc0 = [0, 968], gc0 = [0, 8733], bc0 = [0, 8719], Tc0 = [0, 961], Ec0 = [0, 8971], Sc0 = [0, LL], Ac0 = [0, 8476], Ic0 = [0, 8221], Pc0 = [0, 8969], Cc0 = [0, 8594], Nc0 = [0, z_], Oc0 = [0, bM], jc0 = [0, Sb], Dc0 = [0, 8901], Rc0 = [0, 353], Fc0 = [0, 8218], Mc0 = [0, 8217], Lc0 = [0, 8250], qc0 = [0, 8835], Bc0 = [0, 8721], Uc0 = [0, 8838], Xc0 = [0, 8834], Gc0 = [0, 9824], Yc0 = [0, 8764], zc0 = [0, 962], Jc0 = [0, 963], Kc0 = [0, 8207], Hc0 = [0, 952], Wc0 = [0, 8756], Vc0 = [0, 964], $c0 = [0, e8], Qc0 = [0, 8839], Zc0 = [0, AC], xs0 = [0, fk], rs0 = [0, ol3], es0 = [0, 8657], ts0 = [0, 8482], ns0 = [0, lk], us0 = [0, 732], is0 = [0, Q32], fs0 = [0, 8201], cs0 = [0, 977], ss0 = [0, sM], as0 = [0, xl2], os0 = [0, 965], vs0 = [0, 978], ls0 = [0, IL], ps0 = [0, jS], ks0 = [0, WL], ms0 = [0, tR], hs0 = [0, 8205], ds0 = [0, 950], ys0 = [0, Bk], _s0 = [0, hF], ws0 = [0, QE], gs0 = [0, 958], bs0 = [0, 8593], Ts0 = [0, oD2], Es0 = [0, 8242], Ss0 = [0, kI], As0 = "unreachable regexp", Is0 = "unreachable token wholenumber", Ps0 = "unreachable token wholebigint", Cs0 = "unreachable token floatbigint", Ns0 = "unreachable token scinumber", Os0 = "unreachable token scibigint", js0 = "unreachable token hexnumber", Ds0 = "unreachable token hexbigint", Rs0 = "unreachable token legacyoctnumber", Fs0 = "unreachable token legacynonoctnumber", Ms0 = "unreachable token octnumber", Ls0 = "unreachable token octbigint", qs0 = "unreachable token bignumber", Bs0 = "unreachable token bigint", Us0 = "unreachable token", Xs0 = yL, Gs0 = [7, "#!"], Ys0 = "expected ?", zs0 = "unreachable string_escape", Js0 = V22, Ks0 = P6, Hs0 = P6, Ws0 = V22, Vs0 = KP, $s0 = EF, Qs0 = "n", Zs0 = "r", xa0 = "t", ra0 = zF, ea0 = P6, ta0 = Ao3, na0 = Ao3, ua0 = "unreachable id_char", ia0 = Ao3, fa0 = Ao3, ca0 = P6, sa0 = uL, aa0 = pD2, oa0 = gb, va0 = [28, "token ILLEGAL"], la0 = [0, [11, "the identifier `", [2, 0, [12, 96, 0]]], "the identifier `%s`"], pa0 = [0, 1], ka0 = [0, 1], ma0 = OF, ha0 = OF, da0 = [0, [11, "an identifier. When exporting a ", [2, 0, [11, " as a named export, you must specify a ", [2, 0, [11, " name. Did you mean `export default ", [2, 0, [11, " ...`?", 0]]]]]]], "an identifier. When exporting a %s as a named export, you must specify a %s name. Did you mean `export default %s ...`?"], ya0 = Sh, _a0 = "Peeking current location when not available", wa0 = [0, "src/parser/parser_env.ml", SR, 9], ga0 = "Internal Error: Tried to add_declared_private with outside of class scope.", ba0 = "Internal Error: `exit_class` called before a matching `enter_class`", Ta0 = rx, Ea0 = [0, 0, 0], Sa0 = [0, 0, 0], Aa0 = "Parser_env.Try.Rollback", Ia0 = rx, Pa0 = rx, Ca0 = [0, H22, of, $i6, CR2, TM, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os8, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms6, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, aR, H7, vD, qF, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], Na0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms6, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os8, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], Oa0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, TM, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, vD, X72, Lu2, Zu2, ms6, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, qF, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, aR, tn4, h7, Ju2, li6, Zn4, CR2, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os8, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], ja0 = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os8, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms6, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], Da0 = $32, Ra0 = nm2, Fa0 = bo3, Ma0 = I6, La0 = Je7, qa0 = Ve7, Ba0 = $P, Ua0 = DT, Xa0 = Bv, Ga0 = He7, Ya0 = um2, za0 = g6, Ja0 = Tp2, Ka0 = L8, Ha0 = No3, Wa0 = cl2, Va0 = Hv, $a0 = wa2, Qa0 = Pa2, Za0 = We7, xo0 = rk, ro0 = Rm2, eo0 = Xe6, to0 = Fv, no0 = Tk, uo0 = U8, io0 = K8, fo0 = h6, co0 = mc2, so0 = Ue5, ao0 = Ck, oo0 = Yv, vo0 = E6, lo0 = Aa2, po0 = ga, ko0 = j6, mo0 = dh, ho0 = W22, do0 = fl2, yo0 = Oo2, _o0 = ae4, wo0 = Pk, go0 = Q62, bo0 = k6, To0 = W62, Eo0 = H22, So0 = Ke7, Ao0 = x42, Io0 = tc2, Po0 = zb, Co0 = JS, No0 = Io3, Oo0 = Kv, jo0 = ik, Do0 = wk, Ro0 = be6, Fo0 = H32, Mo0 = $v, Lo0 = K32, qo0 = ga, Bo0 = H62, Uo0 = hk, Xo0 = bk, Go0 = Hk, Yo0 = Lm2, zo0 = Xv, Jo0 = J62, Ko0 = tl2, Ho0 = V32, Wo0 = O6, Vo0 = rm2, $o0 = [0, Sh], Qo0 = rx, Zo0 = [19, 1], xv0 = [19, 0], rv0 = [0, 0], ev0 = Ta2, tv0 = [0, 0], nv0 = [0, "a type"], uv0 = [0, 0], iv0 = [0, "a number literal type"], fv0 = [0, 0], cv0 = J62, sv0 = tl2, av0 = V32, ov0 = "You should only call render_type after making sure the next token is a renders variant", vv0 = [0, [0, 0, 0, 0, 0]], lv0 = [0, 0, 0, 0], pv0 = [0, 1], kv0 = [0, il3, 1466, 6], mv0 = [0, il3, 1469, 6], hv0 = [0, il3, 1572, 8], dv0 = [0, 1], yv0 = [0, il3, 1589, 8], _v0 = "Can not have both `static` and `proto`", wv0 = Ue5, gv0 = rw, bv0 = [0, 0], Tv0 = [0, "the end of a tuple type (no trailing comma is allowed in inexact tuple type)."], Ev0 = [0, il3, Sv, 15], Sv0 = [0, il3, sP, 15], Av0 = ze6, Iv0 = ze6, Pv0 = Kk, Cv0 = G6, Nv0 = [0, [11, "Failure while looking up ", [2, 0, [11, ". Index: ", [4, 0, 0, 0, [11, ". Length: ", [4, 0, 0, 0, [12, 46, 0]]]]]]], "Failure while looking up %s. Index: %d. Length: %d."], Ov0 = [0, 0, 0, 0], jv0 = "Offset_utils.Offset_lookup_failed", Dv0 = m1, Rv0 = kD, Fv0 = G6, Mv0 = Kk, Lv0 = wD, qv0 = G6, Bv0 = Kk, Uv0 = vR, Xv0 = Yx, Gv0 = "normal", Yv0 = tc2, zv0 = "jsxTag", Jv0 = "jsxChild", Kv0 = "template", Hv0 = nD2, Wv0 = "context", Vv0 = tc2, $v0 = [6, 0], Qv0 = [0, 0], Zv0 = [0, 1], x30 = [0, 4], r30 = [0, 2], e30 = [0, 3], t30 = [0, 0], n30 = ze6, u30 = [0, 0, 0, 0, 0, 0], i30 = [0, 0], f30 = [0, OM], c30 = [0, 1], s30 = [0, 0], a30 = Ta2, o30 = [0, 73], v30 = [0, 84], l30 = aM, p30 = rE, k30 = "exports", m30 = K62, h30 = [0, rx, rx, 0], d30 = [0, AD], y30 = [0, 84], _30 = [0, "a declaration, statement or export specifiers"], w30 = [0, 1], g30 = [0, I9, 1971, 21], b30 = [0, "the keyword `as`"], T30 = [0, 29], E30 = [0, 29], S30 = [0, 0], A30 = [0, 1], I30 = [0, AD], P30 = [0, "the keyword `from`"], C30 = [0, rx, rx, 0], N30 = "Label", O30 = [0, OM], j30 = [0, 0, 0], D30 = [0, 38], R30 = [0, I9, 372, 22], F30 = [0, 37], M30 = [0, I9, 391, 22], L30 = [0, 0], q30 = "the token `;`", B30 = [0, 0], U30 = [0, 0], X30 = FR, G30 = [0, Sh], Y30 = FR, z30 = [28, St8], J30 = Ta2, K30 = [0, 73], H30 = [0, rx, 0], W30 = It7, V30 = [0, rx, 0], $30 = [0, 73], Q30 = [0, 73], Z30 = $32, xl0 = [0, rx, 0], rl0 = [0, 0, 0], el0 = [0, 0, 0], tl0 = [0, [0, 8]], nl0 = [0, [0, 7]], ul0 = [0, [0, 6]], il0 = [0, [0, 10]], fl0 = [0, [0, 9]], cl0 = [0, [0, 11]], sl0 = [0, [0, 5]], al0 = [0, [0, 4]], ol0 = [0, [0, 2]], vl0 = [0, [0, 3]], ll0 = [0, [0, 1]], pl0 = [0, [0, 0]], kl0 = [0, [0, 12]], ml0 = [0, [0, 13]], hl0 = [0, [0, 14]], dl0 = [0, 0], yl0 = [0, 1], _l0 = [0, 0], wl0 = [0, 2], gl0 = [0, 3], bl0 = [0, 7], Tl0 = [0, 6], El0 = [0, 4], Sl0 = [0, 5], Al0 = [0, 1], Il0 = [0, 0], Pl0 = [0, 1], Cl0 = [0, 0], Nl0 = fl2, Ol0 = [0, "either a call or access of `super`"], jl0 = fl2, Dl0 = W22, Rl0 = w6, Fl0 = w6, Ml0 = [0, 2], Ll0 = [0, 0], ql0 = [0, 1], Bl0 = Yv, Ul0 = [0, "the identifier `target`"], Xl0 = [0, 0], Gl0 = [0, 1], Yl0 = [0, 0], zl0 = [0, 0], Jl0 = [0, 2], Kl0 = [0, 2], Hl0 = [0, 1], Wl0 = [0, 73], Vl0 = P6, $l0 = uL, Ql0 = gb, Zl0 = gb, x60 = pD2, r60 = [0, 0], e60 = [0, 1], t60 = [0, 0], n60 = se6, u60 = se6, i60 = [0, "a regular expression"], f60 = rx, c60 = rx, s60 = rx, a60 = [0, 81], o60 = [0, "src/parser/expression_parser.ml", 1550, 17], v60 = [0, "a template literal part"], l60 = [0, [0, rx, rx], 1], p60 = Pv, k60 = [0, 6], m60 = [0, [0, 17, [0, 2]]], h60 = [0, [0, 18, [0, 3]]], d60 = [0, [0, 19, [0, 4]]], y60 = [0, [0, 0, [0, 5]]], _60 = [0, [0, 1, [0, 5]]], w60 = [0, [0, 2, [0, 5]]], g60 = [0, [0, 3, [0, 5]]], b60 = [0, [0, 5, [0, 6]]], T60 = [0, [0, 7, [0, 6]]], E60 = [0, [0, 4, [0, 6]]], S60 = [0, [0, 6, [0, 6]]], A60 = [0, [0, 8, [0, 7]]], I60 = [0, [0, 9, [0, 7]]], P60 = [0, [0, 10, [0, 7]]], C60 = [0, [0, 11, [0, 8]]], N60 = [0, [0, 12, [0, 8]]], O60 = [0, [0, 15, [0, 9]]], j60 = [0, [0, 13, [0, 9]]], D60 = [0, [0, 14, [1, 10]]], R60 = [0, [0, 16, [0, 9]]], F60 = [0, [0, 21, [0, 6]]], M60 = [0, [0, 20, [0, 6]]], L60 = [23, Dw], q60 = [13, "JSX fragment"], B60 = Iv, U60 = ln4, X60 = [0, sn4], G60 = [1, sn4], Y60 = [0, rx, rx, 0], z60 = [0, Sh], J60 = rx, K60 = [0, "a numeric or string literal"], H60 = [0, rx, '""', 0], W60 = [0, 0], V60 = [0, "a number literal"], $60 = [0, [0, 0, V22, 0]], Q60 = [0, 84], Z60 = [21, dM], x40 = [21, R62], r40 = [0, 0, 0], e40 = h6, t40 = [0, rx, 0], n40 = "unexpected PrivateName in Property, expected a PrivateField", u40 = [0, 0, 0], i40 = Sa, f40 = "Must be one of the above", c40 = [0, 1], s40 = [0, 1], a40 = [0, 1], o40 = Sa, v40 = Sa, l40 = p_, p40 = "Internal Error: private name found in object props", k40 = [0, 0, 0, 0], m40 = [0, cF], h40 = [19, [0, 0]], d40 = [0, cF], y40 = ug, _40 = "Nooo: ", w40 = Fv, g40 = "Parser error: No such thing as an expression pattern!", b40 = [0, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], T40 = [0, "src/parser/parser_flow.ml", fk, 28], E40 = [0, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], S40 = kD, A40 = Yx, I40 = $D, P40 = eR, C40 = eR, N40 = $D, O40 = tc2, j40 = sD2, D40 = w1, R40 = m1, F40 = "InterpreterDirective", M40 = "interpreter", L40 = "Program", q40 = w1, B40 = "RecordBody", U40 = m1, X40 = Y1, G40 = en4, Y40 = "RecordStaticProperty", z40 = "defaultValue", J40 = Y1, K40 = en4, H40 = "RecordProperty", W40 = S6, V40 = "BreakStatement", $40 = S6, Q40 = "ContinueStatement", Z40 = "DebuggerStatement", xp0 = Wv, rp0 = "DeclareExportAllDeclaration", ep0 = Wv, tp0 = l_, np0 = IE, up0 = Fv, ip0 = "DeclareExportDeclaration", fp0 = w1, cp0 = Yr5, sp0 = "DeclareModule", ap0 = Y1, op0 = "DeclareModuleExports", vp0 = w1, lp0 = Yr5, pp0 = NL, kp0 = "DeclareNamespace", mp0 = Z32, hp0 = w1, dp0 = "DoWhileStatement", yp0 = "EmptyStatement", _p0 = cS, wp0 = IE, gp0 = "ExportDefaultDeclaration", bp0 = cS, Tp0 = cA, Ep0 = Wv, Sp0 = "ExportAllDeclaration", Ap0 = cS, Ip0 = Wv, Pp0 = l_, Cp0 = IE, Np0 = "ExportNamedDeclaration", Op0 = "directive", jp0 = t24, Dp0 = "ExpressionStatement", Rp0 = w1, Fp0 = "update", Mp0 = Z32, Lp0 = ks5, qp0 = "ForStatement", Bp0 = "each", Up0 = w1, Xp0 = fn5, Gp0 = Ea2, Yp0 = "ForInStatement", zp0 = Kv, Jp0 = w1, Kp0 = fn5, Hp0 = Ea2, Wp0 = "ForOfStatement", Vp0 = lR, $p0 = rP, Qp0 = Z32, Zp0 = "IfStatement", xk0 = tc2, rk0 = Aa2, ek0 = m1, tk0 = XD, nk0 = Wv, uk0 = l_, ik0 = "ImportDeclaration", fk0 = w1, ck0 = S6, sk0 = "LabeledStatement", ak0 = J9, ok0 = $1, vk0 = "MatchStatement", lk0 = "RecordImplements", pk0 = w1, kk0 = Oo2, mk0 = B22, hk0 = Yr5, dk0 = "RecordDeclaration", yk0 = $1, _k0 = "ReturnStatement", wk0 = J9, gk0 = "discriminant", bk0 = "SwitchStatement", Tk0 = $1, Ek0 = "ThrowStatement", Sk0 = "finalizer", Ak0 = "handler", Ik0 = vn3, Pk0 = "TryStatement", Ck0 = w1, Nk0 = Z32, Ok0 = "WhileStatement", jk0 = w1, Dk0 = Dp2, Rk0 = "WithStatement", Fk0 = x9, Mk0 = $1, Lk0 = NA, qk0 = x9, Bk0 = $1, Uk0 = NA, Xk0 = KT, Gk0 = "ArrayExpression", Yk0 = B22, zk0 = gh, Jk0 = t24, Kk0 = Ge7, Hk0 = Ey, Wk0 = Io3, Vk0 = w1, $k0 = on8, Qk0 = Yr5, Zk0 = "ArrowFunctionExpression", x80 = t24, r80 = "AsConstExpression", e80 = Y1, t80 = t24, n80 = "AsExpression", u80 = p_, i80 = fn5, f80 = Ea2, c80 = Gv, s80 = "AssignmentExpression", a80 = fn5, o80 = Ea2, v80 = Gv, l80 = "BinaryExpression", p80 = "CallExpression", k80 = lR, m80 = rP, h80 = Z32, d80 = "ConditionalExpression", y80 = Wv, _80 = "ImportExpression", w80 = LF2, g80 = CM, b80 = Dw, T80 = fn5, E80 = Ea2, S80 = Gv, A80 = "LogicalExpression", I80 = J9, P80 = $1, C80 = "MatchExpression", N80 = "MemberExpression", O80 = Tm2, j80 = w6, D80 = "MetaProperty", R80 = Qb, F80 = h8, M80 = fR, L80 = "NewExpression", q80 = A6, B80 = "ObjectExpression", U80 = ft7, X80 = "OptionalCallExpression", G80 = ft7, Y80 = "OptionalMemberExpression", z80 = rM, J80 = "SequenceExpression", K80 = "Super", H80 = "ThisExpression", W80 = Y1, V80 = t24, $80 = "TypeCastExpression", Q80 = Y1, Z80 = t24, xm0 = "SatisfiesExpression", rm0 = x9, em0 = $1, tm0 = NA, nm0 = ze6, um0 = $7, im0 = SD, fm0 = VL, cm0 = Aa2, sm0 = ga, am0 = E6, om0 = "matched above", vm0 = $1, lm0 = XR, pm0 = Gv, km0 = "UnaryExpression", mm0 = $1, hm0 = "AwaitExpression", dm0 = kR, ym0 = ZM, _m0 = XR, wm0 = $1, gm0 = Gv, bm0 = "UpdateExpression", Tm0 = "delegate", Em0 = $1, Sm0 = "YieldExpression", Am0 = "MatchExpressionCase", Im0 = "guard", Pm0 = w1, Cm0 = ge6, Nm0 = "MatchStatementCase", Om0 = "literal", jm0 = "MatchLiteralPattern", Dm0 = "MatchWildcardPattern", Rm0 = ze6, Fm0 = $7, Mm0 = $1, Lm0 = Gv, qm0 = "MatchUnaryPattern", Bm0 = "MatchObjectPattern", Um0 = "MatchInstanceObjectPattern", Xm0 = DF, Gm0 = _a4, Ym0 = "MatchInstancePattern", zm0 = "patterns", Jm0 = "MatchOrPattern", Km0 = Ih, Hm0 = ge6, Wm0 = "MatchAsPattern", Vm0 = Yr5, $m0 = "MatchIdentifierPattern", Qm0 = Tm2, Zm0 = "base", xh0 = "MatchMemberPattern", rh0 = ba2, eh0 = Yr5, th0 = "MatchBindingPattern", nh0 = p6, uh0 = KT, ih0 = "MatchArrayPattern", fh0 = T6, ch0 = ge6, sh0 = en4, ah0 = VR, oh0 = T6, vh0 = ge6, lh0 = en4, ph0 = VR, kh0 = p6, mh0 = A6, hh0 = $1, dh0 = "MatchRestPattern", yh0 = "Unexpected FunctionDeclaration with BodyExpression", _h0 = "HookDeclaration", wh0 = t24, gh0 = Ge7, bh0 = Ey, Th0 = Io3, Eh0 = "FunctionDeclaration", Sh0 = B22, Ah0 = gh, Ih0 = w1, Ph0 = on8, Ch0 = Yr5, Nh0 = "Unexpected FunctionExpression with BodyExpression", Oh0 = B22, jh0 = gh, Dh0 = t24, Rh0 = Ge7, Fh0 = Ey, Mh0 = Io3, Lh0 = w1, qh0 = on8, Bh0 = Yr5, Uh0 = "FunctionExpression", Xh0 = ft7, Gh0 = Y1, Yh0 = Ye4, zh0 = US, Jh0 = ft7, Kh0 = Y1, Hh0 = Ye4, Wh0 = "PrivateIdentifier", Vh0 = ft7, $h0 = Y1, Qh0 = Ye4, Zh0 = US, xd0 = rP, rd0 = Z32, ed0 = "SwitchCase", td0 = w1, nd0 = "param", ud0 = "CatchClause", id0 = w1, fd0 = "BlockStatement", cd0 = ba2, sd0 = Yr5, ad0 = "DeclareVariable", od0 = "DeclareHook", vd0 = Ge7, ld0 = "DeclareFunction", pd0 = Yr5, kd0 = lM, md0 = Oo2, hd0 = mc2, dd0 = w1, yd0 = B22, _d0 = Yr5, wd0 = "DeclareClass", gd0 = B22, bd0 = f_, Td0 = on8, Ed0 = p6, Sd0 = on8, Ad0 = Yr5, Id0 = "DeclareComponent", Pd0 = B22, Cd0 = f_, Nd0 = p6, Od0 = on8, jd0 = "ComponentTypeAnnotation", Dd0 = ft7, Rd0 = Y1, Fd0 = Ye4, Md0 = "ComponentTypeParameter", Ld0 = w1, qd0 = Yr5, Bd0 = "DeclareEnum", Ud0 = mc2, Xd0 = w1, Gd0 = B22, Yd0 = Yr5, zd0 = "DeclareInterface", Jd0 = m1, Kd0 = tc2, Hd0 = cA, Wd0 = "ExportNamespaceSpecifier", Vd0 = fn5, $d0 = B22, Qd0 = Yr5, Zd0 = "DeclareTypeAlias", x50 = fn5, r50 = B22, e50 = Yr5, t50 = "TypeAlias", n50 = "DeclareOpaqueType", u50 = "OpaqueType", i50 = "supertype", f50 = "upperBound", c50 = "lowerBound", s50 = "impltype", a50 = B22, o50 = Yr5, v50 = "ClassDeclaration", l50 = "ClassExpression", p50 = g8, k50 = Oo2, m50 = "superTypeParameters", h50 = "superClass", d50 = B22, y50 = w1, _50 = Yr5, w50 = t24, g50 = "Decorator", b50 = B22, T50 = Yr5, E50 = "ClassImplements", S50 = w1, A50 = "ClassBody", I50 = w1, P50 = "StaticBlock", C50 = _a4, N50 = V6, O50 = Nv, j50 = nl2, D50 = g8, R50 = W32, F50 = Ue5, M50 = ba2, L50 = m1, q50 = en4, B50 = "MethodDefinition", U50 = x42, X50 = g8, G50 = $22, Y50 = Ue5, z50 = W32, J50 = Y1, K50 = m1, H50 = en4, W50 = jL, V50 = "Internal Error: Private name found in class prop", $50 = x42, Q50 = g8, Z50 = $22, xy0 = Ue5, ry0 = W32, ey0 = Y1, ty0 = m1, ny0 = en4, uy0 = jL, iy0 = B22, fy0 = f_, cy0 = on8, sy0 = Yr5, ay0 = w1, oy0 = "ComponentDeclaration", vy0 = $1, ly0 = OE, py0 = fn5, ky0 = Ea2, my0 = jm2, hy0 = T6, dy0 = X62, yy0 = Ye4, _y0 = "ComponentParameter", wy0 = ks5, gy0 = Yr5, by0 = "EnumBigIntMember", Ty0 = Yr5, Ey0 = LR, Sy0 = ks5, Ay0 = Yr5, Iy0 = "EnumStringMember", Py0 = Yr5, Cy0 = LR, Ny0 = ks5, Oy0 = Yr5, jy0 = "EnumNumberMember", Dy0 = ks5, Ry0 = Yr5, Fy0 = "EnumBooleanMember", My0 = B6, Ly0 = Am2, qy0 = y6, By0 = "EnumBooleanBody", Uy0 = B6, Xy0 = Am2, Gy0 = y6, Yy0 = "EnumNumberBody", zy0 = B6, Jy0 = Am2, Ky0 = y6, Hy0 = "EnumStringBody", Wy0 = B6, Vy0 = y6, $y0 = "EnumSymbolBody", Qy0 = B6, Zy0 = Am2, x90 = y6, r90 = "EnumBigIntBody", e90 = w1, t90 = Yr5, n90 = "EnumDeclaration", u90 = mc2, i90 = w1, f90 = B22, c90 = Yr5, s90 = "InterfaceDeclaration", a90 = B22, o90 = Yr5, v90 = "InterfaceExtends", l90 = Y1, p90 = A6, k90 = "ObjectPattern", m90 = Y1, h90 = KT, d90 = "ArrayPattern", y90 = fn5, _90 = Ea2, w90 = jm2, g90 = Y1, b90 = Ye4, T90 = US, E90 = $1, S90 = OE, A90 = $1, I90 = OE, P90 = fn5, C90 = Ea2, N90 = jm2, O90 = ks5, j90 = ks5, D90 = Nv, R90 = nl2, F90 = VD, M90 = W32, L90 = T6, q90 = V6, B90 = ba2, U90 = m1, X90 = en4, G90 = mF, Y90 = $1, z90 = iR, J90 = fn5, K90 = Ea2, H90 = jm2, W90 = W32, V90 = T6, $90 = V6, Q90 = ba2, Z90 = m1, x_0 = en4, r_0 = mF, e_0 = $1, t_0 = iR, n_0 = At8, u_0 = m1, i_0 = J32, f_0 = rx, c_0 = At8, s_0 = $v, a_0 = m1, o_0 = J32, v_0 = At8, l_0 = m1, p_0 = J32, k_0 = Pa2, m_0 = wa2, h_0 = At8, d_0 = m1, y_0 = J32, __0 = "flags", w_0 = ge6, g_0 = "regex", b_0 = At8, T_0 = m1, E_0 = J32, S_0 = At8, A_0 = m1, I_0 = J32, P_0 = rM, C_0 = "quasis", N_0 = "TemplateLiteral", O_0 = "cooked", j_0 = At8, D_0 = "tail", R_0 = m1, F_0 = "TemplateElement", M_0 = "quasi", L_0 = "tag", q_0 = "TaggedTemplateExpression", B_0 = ba2, U_0 = "declarations", X_0 = "VariableDeclaration", G_0 = ks5, Y_0 = Yr5, z_0 = "VariableDeclarator", J_0 = "plus", K_0 = nM, H_0 = Xv, W_0 = bo3, V_0 = ng, $_0 = "in-out", Q_0 = ba2, Z_0 = "Variance", xw0 = "AnyTypeAnnotation", rw0 = "MixedTypeAnnotation", ew0 = "EmptyTypeAnnotation", tw0 = "VoidTypeAnnotation", nw0 = "NullLiteralTypeAnnotation", uw0 = "SymbolTypeAnnotation", iw0 = "NumberTypeAnnotation", fw0 = "BigIntTypeAnnotation", cw0 = "StringTypeAnnotation", sw0 = "BooleanTypeAnnotation", aw0 = Y1, ow0 = "NullableTypeAnnotation", vw0 = "UnknownTypeAnnotation", lw0 = "NeverTypeAnnotation", pw0 = "UndefinedTypeAnnotation", kw0 = ba2, mw0 = Y1, hw0 = "parameterName", dw0 = "TypePredicate", yw0 = "HookTypeAnnotation", _w0 = "FunctionTypeAnnotation", ww0 = Bv, gw0 = B22, bw0 = p6, Tw0 = gh, Ew0 = on8, Sw0 = ft7, Aw0 = Y1, Iw0 = Ye4, Pw0 = fM, Cw0 = ft7, Nw0 = Y1, Ow0 = Ye4, jw0 = fM, Dw0 = [0, 0, 0, 0, 0], Rw0 = "internalSlots", Fw0 = "callProperties", Mw0 = "indexers", Lw0 = A6, qw0 = "exact", Bw0 = tL, Uw0 = "ObjectTypeAnnotation", Xw0 = VD, Gw0 = "There should not be computed object type property keys", Yw0 = ks5, zw0 = Nv, Jw0 = nl2, Kw0 = ba2, Hw0 = $22, Ww0 = rw, Vw0 = Ue5, $w0 = ft7, Qw0 = V6, Zw0 = m1, xg0 = en4, rg0 = "ObjectTypeProperty", eg0 = $1, tg0 = "ObjectTypeSpreadProperty", ng0 = $22, ug0 = Ue5, ig0 = m1, fg0 = en4, cg0 = Yr5, sg0 = "ObjectTypeIndexer", ag0 = Ue5, og0 = m1, vg0 = "ObjectTypeCallProperty", lg0 = ft7, pg0 = $22, kg0 = "sourceType", mg0 = "propType", hg0 = "keyTparam", dg0 = "ObjectTypeMappedTypeProperty", yg0 = m1, _g0 = V6, wg0 = Ue5, gg0 = ft7, bg0 = Yr5, Tg0 = "ObjectTypeInternalSlot", Eg0 = w1, Sg0 = mc2, Ag0 = "InterfaceTypeAnnotation", Ig0 = QM, Pg0 = "ArrayTypeAnnotation", Cg0 = "falseType", Ng0 = "trueType", Og0 = "extendsType", jg0 = "checkType", Dg0 = "ConditionalTypeAnnotation", Rg0 = "typeParameter", Fg0 = "InferTypeAnnotation", Mg0 = Yr5, Lg0 = UF, qg0 = "QualifiedTypeIdentifier", Bg0 = B22, Ug0 = Yr5, Xg0 = "GenericTypeAnnotation", Gg0 = "indexType", Yg0 = "objectType", zg0 = "IndexedAccessType", Jg0 = ft7, Kg0 = "OptionalIndexedAccessType", Hg0 = w_, Wg0 = "UnionTypeAnnotation", Vg0 = w_, $g0 = "IntersectionTypeAnnotation", Qg0 = h8, Zg0 = $1, xb0 = "TypeofTypeAnnotation", rb0 = Yr5, eb0 = UF, tb0 = "QualifiedTypeofIdentifier", nb0 = $1, ub0 = "KeyofTypeAnnotation", ib0 = el2, fb0 = jF, cb0 = uF, sb0 = Y1, ab0 = Gv, ob0 = "TypeOperator", vb0 = Xv, lb0 = tL, pb0 = "elementTypes", kb0 = "TupleTypeAnnotation", mb0 = ft7, hb0 = $22, db0 = QM, yb0 = S6, _b0 = "TupleTypeLabeledElement", wb0 = Y1, gb0 = S6, bb0 = "TupleTypeSpreadElement", Tb0 = At8, Eb0 = m1, Sb0 = "StringLiteralTypeAnnotation", Ab0 = At8, Ib0 = m1, Pb0 = "NumberLiteralTypeAnnotation", Cb0 = At8, Nb0 = m1, Ob0 = "BigIntLiteralTypeAnnotation", jb0 = Pa2, Db0 = wa2, Rb0 = At8, Fb0 = m1, Mb0 = "BooleanLiteralTypeAnnotation", Lb0 = "ExistsTypeAnnotation", qb0 = Y1, Bb0 = vF, Ub0 = Y1, Xb0 = vF, Gb0 = on8, Yb0 = "TypeParameterDeclaration", zb0 = "usesExtendsBound", Jb0 = Fv, Kb0 = $22, Hb0 = No3, Wb0 = "bound", Vb0 = Ye4, $b0 = "TypeParameter", Qb0 = on8, Zb0 = mM, xT0 = on8, rT0 = mM, eT0 = Pv, tT0 = OL, nT0 = "closingElement", uT0 = "openingElement", iT0 = "JSXElement", fT0 = "closingFragment", cT0 = OL, sT0 = "openingFragment", aT0 = "JSXFragment", oT0 = h8, vT0 = "selfClosing", lT0 = "attributes", pT0 = Ye4, kT0 = "JSXOpeningElement", mT0 = "JSXOpeningFragment", hT0 = Ye4, dT0 = "JSXClosingElement", yT0 = "JSXClosingFragment", _T0 = m1, wT0 = Ye4, gT0 = "JSXAttribute", bT0 = $1, TT0 = "JSXSpreadAttribute", ET0 = "JSXEmptyExpression", ST0 = t24, AT0 = "JSXExpressionContainer", IT0 = t24, PT0 = "JSXSpreadChild", CT0 = At8, NT0 = m1, OT0 = "JSXText", jT0 = Tm2, DT0 = Dp2, RT0 = "JSXMemberExpression", FT0 = Ye4, MT0 = rE, LT0 = "JSXNamespacedName", qT0 = Ye4, BT0 = "JSXIdentifier", UT0 = cA, XT0 = X62, GT0 = "ExportSpecifier", YT0 = X62, zT0 = "ImportDefaultSpecifier", JT0 = X62, KT0 = "ImportNamespaceSpecifier", HT0 = XD, WT0 = X62, VT0 = "imported", $T0 = "ImportSpecifier", QT0 = "Line", ZT0 = "Block", xE0 = m1, rE0 = m1, eE0 = "DeclaredPredicate", tE0 = "InferredPredicate", nE0 = Qb, uE0 = h8, iE0 = fR, fE0 = W32, cE0 = Tm2, sE0 = Dp2, aE0 = "message", oE0 = Yx, vE0 = wD, lE0 = vR, pE0 = Wv, kE0 = G6, mE0 = Kk, hE0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms6, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os8, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], dE0 = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os8, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms6, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], yE0 = [0, Af, tn4, vc2, tf, Lc2, Ti6, Pu2, Tu2, u7, ls5, ki6, R7, G7, vn3, zc2, iu2, We7, Cs4, _i6, Ji6, l7, li6, c7, Pf2, Su2, Gu2, Ff, Wu2, yi5, Si6, ei6, B7, Wf, sc2, y7, ji6, Ef, yc2, H7, uf, ru2, Hf, qi6, gc2, Jn3, _s5, Sc2, Vf, mu2, K7, ns5, Wc2, ri6, ff, rf, Xe6, Ke7, us5, xc2, ou2, zi6, yu2, lf, gi6, Gc2, wi6, Ic2, hc2, qn4, Ju2, nf, be6, j7, ju2, bu2, Ec2, wc2, Bf, Hc2, O7, Ts4, Oc2, Xc2, Yf, Ac2, Yi6, Yn3, A7, Is6, yf, Mc2, Un3, t24, p7, ts5, Nc2, C7, mi6, Mf2, b7, v7, bf, ws5, Hi6, hi6, Ci6, vs6, Qn3, wf, Iu2, As5, nc2, gf, cu2, ti6, _c2, kc2, S7, Qi6, di6, Ru2, vi6, i7, tu2, gs5, qc2, Ni6, St8, cs5, U7, Ri6, W22, Gn4, Vi6, as5, Df2, Ou2, cc2, is5, lc2, ae4, vf2, eu2, xi6, Yu2, zn4, Rc2, Di6, Mi5, fi6, ds5, I7, Xf, Z7, D7, f7, zf, Bu2, dc2, z7, Dc2, Tc2, ms6, Jf, Tf, xu2, ku2, pf, ai6, Bc2, Hn4, g7, G1, oi6, N7, os8, su2, Yc2, Cu2, Au2, gu2, mf, L7, ps5, E7, du2, uu2, Nf, hf, uc2, Ki6, W72, df, hs5, Kn4, wu2, Cc2, Ei6, Mu2, Xu2, Kc2, Gf, ys5, Ui6, Zc2, Ii6, n7, si6, $u2, Hu2, Oi6, ni6, zu2, Vc2, Xn4, sf, Lu2, kf2, Qf, Xi6, r7, Vn3, Pc2, Kf, o7, e7, Wn3, bs5, Vu2, rc2, x7, es5, ge6, Eu2, Ai6, $c2, bi6, Y7, Fu2, jf, Bn3, m7, Zi6, Fc2, au2, $f2, P7, af, xf2, pu2, M7, Zu2, Pi6, Lf, Ge7, fs24, _7, If2, a7, q72, pi6, Ku2, fc2, qu2, Of, w7, ci6, Je7, T7, lu2, ii6, ss5, k7, fu2, Uu2, Jc2, Ve7, rs5, ic2, Bi6, Qc2, s7, Wi6, t72, He7, Q7, jc2, Uc2, Es4, Sf, _f2, oc2, Ps6, ac2, $n3, vu2, _u2, Zf, Zn4, X72, cf, ui6, J72, Uf, Qu2, d7, F7, hu2, Fi6, Du2, Gi6, Rf2, bc2, pc2, h7, qf, $22, V7, $i6, of, H22], _E0 = "Jsoo_runtime.Error.Exn", wE0 = [0, 0], gE0 = "assert_operator", bE0 = "use_strict", TE0 = w_, EE0 = "esproposal_decorators", SE0 = "records", AE0 = "pattern_matching", IE0 = "enums", PE0 = "components", CE0 = "Internal error: ", NE0 = [t1, "CamlinternalLazy.Undefined", js6(0)];
|
|
61623
61623
|
function OE0(x6, r) {
|
|
61624
61624
|
var e6 = Rx(r) - 1 | 0, t25 = 0;
|
|
61625
61625
|
if (e6 >= 0)
|
|
@@ -86759,7 +86759,7 @@ var Un3, Oe6 = (e2, t24) => {
|
|
|
86759
86759
|
`).map((s) => s.slice(r)).join(`
|
|
86760
86760
|
`);
|
|
86761
86761
|
}
|
|
86762
|
-
}, Rr5, ns5, ss5, R7, Bt5, Ue5, qr4, Fr5, Hr4, Rt6 = null,
|
|
86762
|
+
}, Rr5, ns5, ss5, R7, Bt5, Ue5, qr4, Fr5, Hr4, Rt6 = null, os8 = 10, Ur5, cs5, $a3, Xa3, ze6, Mr5, us5, Vt7, Ye4, tt7, Wr3, jr3, Ft7, hs5 = function(e2, t24, r) {
|
|
86763
86763
|
if (r || arguments.length === 2)
|
|
86764
86764
|
for (var s = 0, n3 = t24.length, i2;s < n3; s++)
|
|
86765
86765
|
(i2 || !(s in t24)) && (i2 || (i2 = Array.prototype.slice.call(t24, 0, s)), i2[s] = t24[s]);
|
|
@@ -87333,7 +87333,7 @@ var init_glimmer = __esm(() => {
|
|
|
87333
87333
|
Vr5.ignoredProperties = new Set(["loc", "selfClosing"]);
|
|
87334
87334
|
Fr5 = Vr5;
|
|
87335
87335
|
Hr4 = as5;
|
|
87336
|
-
for (let e2 = 0;e2 <=
|
|
87336
|
+
for (let e2 = 0;e2 <= os8; e2++)
|
|
87337
87337
|
qt5();
|
|
87338
87338
|
Ur5 = ls5;
|
|
87339
87339
|
cs5 = Object.freeze([]);
|
|
@@ -93099,9 +93099,9 @@ If '${e7}' is a directive input, make sure the directive is imported by the curr
|
|
|
93099
93099
|
super(e7), this.msg = e7, this.cursor = t24, Object.setPrototypeOf(this, new.target.prototype);
|
|
93100
93100
|
}
|
|
93101
93101
|
};
|
|
93102
|
-
N8 = class
|
|
93102
|
+
N8 = class os9 extends ne8 {
|
|
93103
93103
|
static create(t24, r, n3) {
|
|
93104
|
-
return new
|
|
93104
|
+
return new os9(t24, r, n3);
|
|
93105
93105
|
}
|
|
93106
93106
|
constructor(t24, r, n3) {
|
|
93107
93107
|
super(r, n3), this.elementName = t24;
|
|
@@ -96004,9 +96004,9 @@ $$`;
|
|
|
96004
96004
|
}
|
|
96005
96005
|
}
|
|
96006
96006
|
});
|
|
96007
|
-
ss7 = x7((t24,
|
|
96007
|
+
ss7 = x7((t24, os10) => {
|
|
96008
96008
|
var g0 = $e8(), E0 = hn6(), C0 = cn6().tag;
|
|
96009
|
-
|
|
96009
|
+
os10.exports = as7;
|
|
96010
96010
|
as7.locator = E0;
|
|
96011
96011
|
var v0 = "<", A0 = "?", b0 = "!", x0 = "/", y0 = /^<a /i, w0 = /^<\/a>/i;
|
|
96012
96012
|
function as7(e7, r, t25) {
|
|
@@ -101069,12 +101069,12 @@ var init_postcss = __esm(() => {
|
|
|
101069
101069
|
Sl4 = Object.getOwnPropertyNames;
|
|
101070
101070
|
kl4 = Object.getPrototypeOf;
|
|
101071
101071
|
Tl4 = Object.prototype.hasOwnProperty;
|
|
101072
|
-
Oi8 = w6((ux,
|
|
101072
|
+
Oi8 = w6((ux, os10) => {
|
|
101073
101073
|
var x9 = String, Ai9 = function() {
|
|
101074
101074
|
return { isColorSupported: false, reset: x9, bold: x9, dim: x9, italic: x9, underline: x9, inverse: x9, hidden: x9, strikethrough: x9, black: x9, red: x9, green: x9, yellow: x9, blue: x9, magenta: x9, cyan: x9, white: x9, gray: x9, bgBlack: x9, bgRed: x9, bgGreen: x9, bgYellow: x9, bgBlue: x9, bgMagenta: x9, bgCyan: x9, bgWhite: x9, blackBright: x9, redBright: x9, greenBright: x9, yellowBright: x9, blueBright: x9, magentaBright: x9, cyanBright: x9, whiteBright: x9, bgBlackBright: x9, bgRedBright: x9, bgGreenBright: x9, bgYellowBright: x9, bgBlueBright: x9, bgMagentaBright: x9, bgCyanBright: x9, bgWhiteBright: x9 };
|
|
101075
101075
|
};
|
|
101076
|
-
|
|
101077
|
-
|
|
101076
|
+
os10.exports = Ai9();
|
|
101077
|
+
os10.exports.createColors = Ai9;
|
|
101078
101078
|
});
|
|
101079
101079
|
as7 = w6(() => {});
|
|
101080
101080
|
zt10 = w6((fx, Pi8) => {
|
|
@@ -108846,7 +108846,7 @@ function wf2(e8, t25) {
|
|
|
108846
108846
|
return _10();
|
|
108847
108847
|
}, get converters() {
|
|
108848
108848
|
return f6();
|
|
108849
|
-
}, baseFactory: t25, flags: e8, createNodeArray: de11, createNumericLiteral: V12, createBigIntLiteral: oe10, createStringLiteral: ft12, createStringLiteralFromNode: nr9, createRegularExpressionLiteral: mn8, createLiteralLikeNode: rr8, createIdentifier: We13, createTempVariable: ir10, createLoopVariable: Ir6, createUniqueName: Ot13, getGeneratedNameForNode: Bn7, createPrivateIdentifier: Mt13, createUniquePrivateName: $e11, getGeneratedPrivateNameForNode: qn8, createToken: ot10, createSuper: at12, createThis: Bt11, createNull: Lt12, createTrue: ct11, createFalse: ar9, createModifier: dt10, createModifiersFromModifierFlags: yn9, createQualifiedName: yt12, updateQualifiedName: _n7, createComputedPropertyName: tt12, updateComputedPropertyName: qt11, createTypeParameterDeclaration: tn8, updateTypeParameterDeclaration: sr10, createParameterDeclaration: mr7, updateParameterDeclaration: hr8, createDecorator: Fn6, updateDecorator: zn9, createPropertySignature: Or7, updatePropertySignature: Vn7, createPropertyDeclaration: yr7, updatePropertyDeclaration: L10, createMethodSignature: se11, updateMethodSignature: fe11, createMethodDeclaration: Te10, updateMethodDeclaration: He11, createConstructorDeclaration: lt10, updateConstructorDeclaration: Mr8, createGetAccessorDeclaration: Nn6, updateGetAccessorDeclaration: Wn8, createSetAccessorDeclaration: U11, updateSetAccessorDeclaration: K12, createCallSignature: xe10, updateCallSignature: Se12, createConstructSignature: we10, updateConstructSignature: me13, createIndexSignature: Ve10, updateIndexSignature: Ze12, createClassStaticBlockDeclaration: st10, updateClassStaticBlockDeclaration: Ct14, createTemplateLiteralTypeSpan: Ye10, updateTemplateLiteralTypeSpan: Ee10, createKeywordTypeNode: gn8, createTypePredicateNode: rt14, updateTypePredicateNode: on12, createTypeReferenceNode: Zr8, updateTypeReferenceNode: M12, createFunctionTypeNode: Ue10, updateFunctionTypeNode: u4, createConstructorTypeNode: Me12, updateConstructorTypeNode: nn10, createTypeQueryNode: Dt12, updateTypeQueryNode: wt13, createTypeLiteralNode: Pt13, updateTypeLiteralNode: Ft13, createArrayTypeNode: Gn8, updateArrayTypeNode: ki10, createTupleTypeNode: cn9, updateTupleTypeNode: H12, createNamedTupleMember: le9, updateNamedTupleMember: qe11, createOptionalTypeNode: ve12, updateOptionalTypeNode: J14, createRestTypeNode: mt12, updateRestTypeNode: xt11, createUnionTypeNode: ql4, updateUnionTypeNode: C_, createIntersectionTypeNode: Lr8, updateIntersectionTypeNode: Le12, createConditionalTypeNode: pt12, updateConditionalTypeNode: Fl3, createInferTypeNode: Yn7, updateInferTypeNode: zl4, createImportTypeNode: _r8, updateImportTypeNode: oa3, createParenthesizedType: Qt11, updateParenthesizedType: At14, createThisTypeNode: P9, createTypeOperatorNode: Gt10, updateTypeOperatorNode: Jr6, createIndexedAccessTypeNode: or9, updateIndexedAccessTypeNode: Ka4, createMappedTypeNode: gt12, updateMappedTypeNode: jt9, createLiteralTypeNode: ei10, updateLiteralTypeNode: br7, createTemplateLiteralType: Wt12, updateTemplateLiteralType: Vl4, createObjectBindingPattern: D_, updateObjectBindingPattern: Wl4, createArrayBindingPattern: jr6, updateArrayBindingPattern: Gl4, createBindingElement: ca4, updateBindingElement: ti10, createArrayLiteralExpression: Za3, updateArrayLiteralExpression: P_, createObjectLiteralExpression: Ei10, updateObjectLiteralExpression: Yl4, createPropertyAccessExpression: e8 & 4 ? (n4, i4) => setEmitFlags(cr8(n4, i4), 262144) : cr8, updatePropertyAccessExpression: Hl4, createPropertyAccessChain: e8 & 4 ? (n4, i4, s4) => setEmitFlags(Ai9(n4, i4, s4), 262144) : Ai9, updatePropertyAccessChain: la3, createElementAccessExpression: Ci8, updateElementAccessExpression: Xl4, createElementAccessChain: O_, updateElementAccessChain: es8, createCallExpression: Di8, updateCallExpression: ua5, createCallChain: ts8, updateCallChain: L_, createNewExpression: bn7, updateNewExpression: ns8, createTaggedTemplateExpression: pa5, updateTaggedTemplateExpression: J_, createTypeAssertion: j_, updateTypeAssertion: R_, createParenthesizedExpression: rs8, updateParenthesizedExpression: U_, createFunctionExpression: is8, updateFunctionExpression: B_, createArrowFunction: as8, updateArrowFunction: q_, createDeleteExpression: F_, updateDeleteExpression: z_, createTypeOfExpression: fa4, updateTypeOfExpression: un8, createVoidExpression: ss9, updateVoidExpression: lr8, createAwaitExpression: V_, updateAwaitExpression: Rr7, createPrefixUnaryExpression: Ur8, updatePrefixUnaryExpression: $l4, createPostfixUnaryExpression: ni10, updatePostfixUnaryExpression: Ql4, createBinaryExpression: da5, updateBinaryExpression: Kl4, createConditionalExpression: G_, updateConditionalExpression: Y_, createTemplateExpression: H_, updateTemplateExpression: Hn8, createTemplateHead: $_, createTemplateMiddle: ma5, createTemplateTail: _s7, createNoSubstitutionTemplateLiteral: eu4, createTemplateLiteralLikeNode: ii10, createYieldExpression:
|
|
108849
|
+
}, baseFactory: t25, flags: e8, createNodeArray: de11, createNumericLiteral: V12, createBigIntLiteral: oe10, createStringLiteral: ft12, createStringLiteralFromNode: nr9, createRegularExpressionLiteral: mn8, createLiteralLikeNode: rr8, createIdentifier: We13, createTempVariable: ir10, createLoopVariable: Ir6, createUniqueName: Ot13, getGeneratedNameForNode: Bn7, createPrivateIdentifier: Mt13, createUniquePrivateName: $e11, getGeneratedPrivateNameForNode: qn8, createToken: ot10, createSuper: at12, createThis: Bt11, createNull: Lt12, createTrue: ct11, createFalse: ar9, createModifier: dt10, createModifiersFromModifierFlags: yn9, createQualifiedName: yt12, updateQualifiedName: _n7, createComputedPropertyName: tt12, updateComputedPropertyName: qt11, createTypeParameterDeclaration: tn8, updateTypeParameterDeclaration: sr10, createParameterDeclaration: mr7, updateParameterDeclaration: hr8, createDecorator: Fn6, updateDecorator: zn9, createPropertySignature: Or7, updatePropertySignature: Vn7, createPropertyDeclaration: yr7, updatePropertyDeclaration: L10, createMethodSignature: se11, updateMethodSignature: fe11, createMethodDeclaration: Te10, updateMethodDeclaration: He11, createConstructorDeclaration: lt10, updateConstructorDeclaration: Mr8, createGetAccessorDeclaration: Nn6, updateGetAccessorDeclaration: Wn8, createSetAccessorDeclaration: U11, updateSetAccessorDeclaration: K12, createCallSignature: xe10, updateCallSignature: Se12, createConstructSignature: we10, updateConstructSignature: me13, createIndexSignature: Ve10, updateIndexSignature: Ze12, createClassStaticBlockDeclaration: st10, updateClassStaticBlockDeclaration: Ct14, createTemplateLiteralTypeSpan: Ye10, updateTemplateLiteralTypeSpan: Ee10, createKeywordTypeNode: gn8, createTypePredicateNode: rt14, updateTypePredicateNode: on12, createTypeReferenceNode: Zr8, updateTypeReferenceNode: M12, createFunctionTypeNode: Ue10, updateFunctionTypeNode: u4, createConstructorTypeNode: Me12, updateConstructorTypeNode: nn10, createTypeQueryNode: Dt12, updateTypeQueryNode: wt13, createTypeLiteralNode: Pt13, updateTypeLiteralNode: Ft13, createArrayTypeNode: Gn8, updateArrayTypeNode: ki10, createTupleTypeNode: cn9, updateTupleTypeNode: H12, createNamedTupleMember: le9, updateNamedTupleMember: qe11, createOptionalTypeNode: ve12, updateOptionalTypeNode: J14, createRestTypeNode: mt12, updateRestTypeNode: xt11, createUnionTypeNode: ql4, updateUnionTypeNode: C_, createIntersectionTypeNode: Lr8, updateIntersectionTypeNode: Le12, createConditionalTypeNode: pt12, updateConditionalTypeNode: Fl3, createInferTypeNode: Yn7, updateInferTypeNode: zl4, createImportTypeNode: _r8, updateImportTypeNode: oa3, createParenthesizedType: Qt11, updateParenthesizedType: At14, createThisTypeNode: P9, createTypeOperatorNode: Gt10, updateTypeOperatorNode: Jr6, createIndexedAccessTypeNode: or9, updateIndexedAccessTypeNode: Ka4, createMappedTypeNode: gt12, updateMappedTypeNode: jt9, createLiteralTypeNode: ei10, updateLiteralTypeNode: br7, createTemplateLiteralType: Wt12, updateTemplateLiteralType: Vl4, createObjectBindingPattern: D_, updateObjectBindingPattern: Wl4, createArrayBindingPattern: jr6, updateArrayBindingPattern: Gl4, createBindingElement: ca4, updateBindingElement: ti10, createArrayLiteralExpression: Za3, updateArrayLiteralExpression: P_, createObjectLiteralExpression: Ei10, updateObjectLiteralExpression: Yl4, createPropertyAccessExpression: e8 & 4 ? (n4, i4) => setEmitFlags(cr8(n4, i4), 262144) : cr8, updatePropertyAccessExpression: Hl4, createPropertyAccessChain: e8 & 4 ? (n4, i4, s4) => setEmitFlags(Ai9(n4, i4, s4), 262144) : Ai9, updatePropertyAccessChain: la3, createElementAccessExpression: Ci8, updateElementAccessExpression: Xl4, createElementAccessChain: O_, updateElementAccessChain: es8, createCallExpression: Di8, updateCallExpression: ua5, createCallChain: ts8, updateCallChain: L_, createNewExpression: bn7, updateNewExpression: ns8, createTaggedTemplateExpression: pa5, updateTaggedTemplateExpression: J_, createTypeAssertion: j_, updateTypeAssertion: R_, createParenthesizedExpression: rs8, updateParenthesizedExpression: U_, createFunctionExpression: is8, updateFunctionExpression: B_, createArrowFunction: as8, updateArrowFunction: q_, createDeleteExpression: F_, updateDeleteExpression: z_, createTypeOfExpression: fa4, updateTypeOfExpression: un8, createVoidExpression: ss9, updateVoidExpression: lr8, createAwaitExpression: V_, updateAwaitExpression: Rr7, createPrefixUnaryExpression: Ur8, updatePrefixUnaryExpression: $l4, createPostfixUnaryExpression: ni10, updatePostfixUnaryExpression: Ql4, createBinaryExpression: da5, updateBinaryExpression: Kl4, createConditionalExpression: G_, updateConditionalExpression: Y_, createTemplateExpression: H_, updateTemplateExpression: Hn8, createTemplateHead: $_, createTemplateMiddle: ma5, createTemplateTail: _s7, createNoSubstitutionTemplateLiteral: eu4, createTemplateLiteralLikeNode: ii10, createYieldExpression: os10, updateYieldExpression: tu3, createSpreadElement: Q_, updateSpreadElement: nu3, createClassExpression: K_, updateClassExpression: cs7, createOmittedExpression: ls7, createExpressionWithTypeArguments: Z_, updateExpressionWithTypeArguments: eo5, createAsExpression: pn8, updateAsExpression: ha2, createNonNullExpression: to5, updateNonNullExpression: no6, createSatisfiesExpression: us8, updateSatisfiesExpression: ro5, createNonNullChain: ps7, updateNonNullChain: In7, createMetaProperty: io5, updateMetaProperty: fs26, createTemplateSpan: Xn9, updateTemplateSpan: ya3, createSemicolonClassElement: ao5, createBlock: Br8, updateBlock: ru4, createVariableStatement: ds7, updateVariableStatement: so5, createEmptyStatement: _o3, createExpressionStatement: Ni9, updateExpressionStatement: oo6, createIfStatement: co5, updateIfStatement: lo5, createDoStatement: uo5, updateDoStatement: po6, createWhileStatement: fo5, updateWhileStatement: iu3, createForStatement: mo3, updateForStatement: ho3, createForInStatement: ms9, updateForInStatement: au3, createForOfStatement: yo3, updateForOfStatement: su3, createContinueStatement: go3, updateContinueStatement: _u4, createBreakStatement: hs8, updateBreakStatement: bo5, createReturnStatement: ys8, updateReturnStatement: ou3, createWithStatement: gs7, updateWithStatement: vo4, createSwitchStatement: bs8, updateSwitchStatement: ai10, createLabeledStatement: To4, updateLabeledStatement: xo4, createThrowStatement: So4, updateThrowStatement: cu3, createTryStatement: wo6, updateTryStatement: lu4, createDebuggerStatement: ko3, createVariableDeclaration: ga2, updateVariableDeclaration: Eo3, createVariableDeclarationList: vs9, updateVariableDeclarationList: uu4, createFunctionDeclaration: Ao3, updateFunctionDeclaration: Ts6, createClassDeclaration: Co3, updateClassDeclaration: ba3, createInterfaceDeclaration: Do3, updateInterfaceDeclaration: Po5, createTypeAliasDeclaration: _t10, updateTypeAliasDeclaration: vr6, createEnumDeclaration: xs8, updateEnumDeclaration: Tr7, createModuleDeclaration: No3, updateModuleDeclaration: kt14, createModuleBlock: xr6, updateModuleBlock: zt11, createCaseBlock: Io6, updateCaseBlock: fu4, createNamespaceExportDeclaration: Oo5, updateNamespaceExportDeclaration: Mo3, createImportEqualsDeclaration: Lo4, updateImportEqualsDeclaration: Jo5, createImportDeclaration: jo4, updateImportDeclaration: Ro3, createImportClause: Uo4, updateImportClause: Bo4, createAssertClause: Ss8, updateAssertClause: mu3, createAssertEntry: Ii8, updateAssertEntry: qo4, createImportTypeAssertionContainer: ws8, updateImportTypeAssertionContainer: Fo3, createImportAttributes: zo4, updateImportAttributes: ks8, createImportAttribute: Vo3, updateImportAttribute: Wo3, createNamespaceImport: Go3, updateNamespaceImport: hu4, createNamespaceExport: Yo4, updateNamespaceExport: yu5, createNamedImports: Ho3, updateNamedImports: Xo3, createImportSpecifier: Sr7, updateImportSpecifier: gu4, createExportAssignment: va4, updateExportAssignment: Oi9, createExportDeclaration: Ta3, updateExportDeclaration: $o3, createNamedExports: Es8, updateNamedExports: bu4, createExportSpecifier: xa5, updateExportSpecifier: vu4, createMissingDeclaration: Tu5, createExternalModuleReference: As8, updateExternalModuleReference: xu3, get createJSDocAllType() {
|
|
108850
108850
|
return c6(313);
|
|
108851
108851
|
}, get createJSDocUnknownType() {
|
|
108852
108852
|
return c6(314);
|
|
@@ -109747,13 +109747,13 @@ function wf2(e8, t25) {
|
|
|
109747
109747
|
function eu4(n4, i4, s4) {
|
|
109748
109748
|
return n4 = Pi8(16, n4, i4, s4), ri10(15, n4, i4, s4);
|
|
109749
109749
|
}
|
|
109750
|
-
function
|
|
109750
|
+
function os10(n4, i4) {
|
|
109751
109751
|
q12.assert(!n4 || !!i4, "A `YieldExpression` with an asteriskToken must have an expression.");
|
|
109752
109752
|
let s4 = O7(230);
|
|
109753
109753
|
return s4.expression = i4 && _10().parenthesizeExpressionForDisallowedComma(i4), s4.asteriskToken = n4, s4.transformFlags |= z10(s4.expression) | z10(s4.asteriskToken) | 1024 | 128 | 1048576, s4;
|
|
109754
109754
|
}
|
|
109755
109755
|
function tu3(n4, i4, s4) {
|
|
109756
|
-
return n4.expression !== s4 || n4.asteriskToken !== i4 ? j10(
|
|
109756
|
+
return n4.expression !== s4 || n4.asteriskToken !== i4 ? j10(os10(i4, s4), n4) : n4;
|
|
109757
109757
|
}
|
|
109758
109758
|
function Q_(n4) {
|
|
109759
109759
|
let i4 = O7(231);
|
|
@@ -115861,7 +115861,7 @@ ${Me12.join(`
|
|
|
115861
115861
|
function eu4(o4) {
|
|
115862
115862
|
return B8(), P9(y7.createTypePredicateNode(undefined, o4, _t10()), o4.pos);
|
|
115863
115863
|
}
|
|
115864
|
-
function
|
|
115864
|
+
function os10() {
|
|
115865
115865
|
let o4 = M12();
|
|
115866
115866
|
return B8(), P9(y7.createThisTypeNode(), o4);
|
|
115867
115867
|
}
|
|
@@ -116204,7 +116204,7 @@ ${Me12.join(`
|
|
|
116204
116204
|
case 116:
|
|
116205
116205
|
return Wt12();
|
|
116206
116206
|
case 110: {
|
|
116207
|
-
let o4 =
|
|
116207
|
+
let o4 = os10();
|
|
116208
116208
|
return u4() === 142 && !t25.hasPrecedingLineBreak() ? eu4(o4) : o4;
|
|
116209
116209
|
}
|
|
116210
116210
|
case 114:
|
|
@@ -116382,7 +116382,7 @@ ${Me12.join(`
|
|
|
116382
116382
|
return B8(), o4;
|
|
116383
116383
|
}
|
|
116384
116384
|
function Po5() {
|
|
116385
|
-
let o4 = M12(), p4 = Yn7(131), m7 = u4() === 110 ?
|
|
116385
|
+
let o4 = M12(), p4 = Yn7(131), m7 = u4() === 110 ? os10() : gt12(), g5 = Le12(142) ? _t10() : undefined;
|
|
116386
116386
|
return P9(y7.createTypePredicateNode(p4, m7, g5), o4);
|
|
116387
116387
|
}
|
|
116388
116388
|
function _t10() {
|
|
@@ -119578,11 +119578,11 @@ function chooseDescription(descriptions, printWidth) {
|
|
|
119578
119578
|
return firstWidth > printWidth && firstWidth > secondWidth ? secondDescription : firstDescription;
|
|
119579
119579
|
}
|
|
119580
119580
|
function createSchema(SchemaConstructor, parameters) {
|
|
119581
|
-
const
|
|
119582
|
-
const subSchema = Object.create(
|
|
119581
|
+
const schema12 = new SchemaConstructor(parameters);
|
|
119582
|
+
const subSchema = Object.create(schema12);
|
|
119583
119583
|
for (const handlerKey of HANDLER_KEYS) {
|
|
119584
119584
|
if (handlerKey in parameters) {
|
|
119585
|
-
subSchema[handlerKey] = normalizeHandler(parameters[handlerKey],
|
|
119585
|
+
subSchema[handlerKey] = normalizeHandler(parameters[handlerKey], schema12, Schema2.prototype[handlerKey].length);
|
|
119586
119586
|
}
|
|
119587
119587
|
}
|
|
119588
119588
|
return subSchema;
|
|
@@ -122736,12 +122736,12 @@ function getLanguageByFileName(languages2, file2) {
|
|
|
122736
122736
|
if (!file2) {
|
|
122737
122737
|
return;
|
|
122738
122738
|
}
|
|
122739
|
-
const
|
|
122739
|
+
const basename7 = getFileBasename(file2).toLowerCase();
|
|
122740
122740
|
return languages2.find(({
|
|
122741
122741
|
filenames
|
|
122742
|
-
}) => filenames?.some((name2) => name2.toLowerCase() ===
|
|
122742
|
+
}) => filenames?.some((name2) => name2.toLowerCase() === basename7)) ?? languages2.find(({
|
|
122743
122743
|
extensions
|
|
122744
|
-
}) => extensions?.some((extension) =>
|
|
122744
|
+
}) => extensions?.some((extension) => basename7.endsWith(extension)));
|
|
122745
122745
|
}
|
|
122746
122746
|
function getLanguageByLanguageName(languages2, languageName) {
|
|
122747
122747
|
if (!languageName) {
|
|
@@ -122922,9 +122922,9 @@ function optionInfoToSchema(optionInfo, {
|
|
|
122922
122922
|
throw new Error(`Unexpected type ${optionInfo.type}`);
|
|
122923
122923
|
}
|
|
122924
122924
|
if (optionInfo.exception) {
|
|
122925
|
-
parameters.validate = (value,
|
|
122925
|
+
parameters.validate = (value, schema12, utils3) => optionInfo.exception(value) || schema12.validate(value, utils3);
|
|
122926
122926
|
} else {
|
|
122927
|
-
parameters.validate = (value,
|
|
122927
|
+
parameters.validate = (value, schema12, utils3) => value === undefined || schema12.validate(value, utils3);
|
|
122928
122928
|
}
|
|
122929
122929
|
if (optionInfo.redirect) {
|
|
122930
122930
|
handlers.redirect = (value) => !value ? undefined : {
|
|
@@ -122939,7 +122939,7 @@ function optionInfoToSchema(optionInfo, {
|
|
|
122939
122939
|
}
|
|
122940
122940
|
if (isCLI && !optionInfo.array) {
|
|
122941
122941
|
const originalPreprocess = parameters.preprocess || ((x10) => x10);
|
|
122942
|
-
parameters.preprocess = (value,
|
|
122942
|
+
parameters.preprocess = (value, schema12, utils3) => schema12.preprocess(originalPreprocess(Array.isArray(value) ? method_at_default2(0, value, -1) : value), utils3);
|
|
122943
122943
|
}
|
|
122944
122944
|
return optionInfo.array ? ArraySchema.create({
|
|
122945
122945
|
...isCLI ? {
|
|
@@ -123986,7 +123986,7 @@ node_modules`;
|
|
|
123986
123986
|
if (!content) {
|
|
123987
123987
|
return;
|
|
123988
123988
|
}
|
|
123989
|
-
const ignore = (0,
|
|
123989
|
+
const ignore = (0, import_ignore4.default)({
|
|
123990
123990
|
allowRelativePaths: true
|
|
123991
123991
|
}).add(content);
|
|
123992
123992
|
return (file2) => ignore.checkIgnore(slash2(getRelativePath(file2, ignoreFile))).ignored;
|
|
@@ -124414,7 +124414,7 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc2,
|
|
|
124414
124414
|
}
|
|
124415
124415
|
return components;
|
|
124416
124416
|
}
|
|
124417
|
-
}, LineDiff, lineDiff, ArrayDiff, arrayDiff,
|
|
124417
|
+
}, LineDiff, lineDiff, ArrayDiff, arrayDiff, import_fast_glob4, array2, characterCodeCache, import_picocolors5, apiDescriptor, import_picocolors3, commonDeprecatedHandler = (keyOrPair, redirectTo, { descriptor }) => {
|
|
124418
124418
|
const messages2 = [
|
|
124419
124419
|
`${import_picocolors3.default.yellow(typeof keyOrPair === "string" ? descriptor.key(keyOrPair) : descriptor.pair(keyOrPair))} is deprecated`
|
|
124420
124420
|
];
|
|
@@ -124516,9 +124516,9 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc2,
|
|
|
124516
124516
|
};
|
|
124517
124517
|
applyNormalization();
|
|
124518
124518
|
for (const key2 of Object.keys(this._utils.schemas)) {
|
|
124519
|
-
const
|
|
124519
|
+
const schema12 = this._utils.schemas[key2];
|
|
124520
124520
|
if (!(key2 in newOptions)) {
|
|
124521
|
-
const defaultResult = normalizeDefaultResult(
|
|
124521
|
+
const defaultResult = normalizeDefaultResult(schema12.default(this._utils));
|
|
124522
124522
|
if ("value" in defaultResult) {
|
|
124523
124523
|
restOptionsArray.push({ [key2]: defaultResult.value });
|
|
124524
124524
|
}
|
|
@@ -124529,13 +124529,13 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc2,
|
|
|
124529
124529
|
if (!(key2 in newOptions)) {
|
|
124530
124530
|
continue;
|
|
124531
124531
|
}
|
|
124532
|
-
const
|
|
124532
|
+
const schema12 = this._utils.schemas[key2];
|
|
124533
124533
|
const value = newOptions[key2];
|
|
124534
|
-
const newValue =
|
|
124534
|
+
const newValue = schema12.postprocess(value, this._utils);
|
|
124535
124535
|
if (newValue === VALUE_UNCHANGED) {
|
|
124536
124536
|
continue;
|
|
124537
124537
|
}
|
|
124538
|
-
this._applyValidation(newValue, key2,
|
|
124538
|
+
this._applyValidation(newValue, key2, schema12);
|
|
124539
124539
|
newOptions[key2] = newValue;
|
|
124540
124540
|
}
|
|
124541
124541
|
this._applyPostprocess(newOptions);
|
|
@@ -124546,14 +124546,14 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc2,
|
|
|
124546
124546
|
const transferredOptionsArray = [];
|
|
124547
124547
|
const { knownKeys, unknownKeys } = this._partitionOptionKeys(options8);
|
|
124548
124548
|
for (const key2 of knownKeys) {
|
|
124549
|
-
const
|
|
124550
|
-
const value =
|
|
124551
|
-
this._applyValidation(value, key2,
|
|
124549
|
+
const schema12 = this._utils.schemas[key2];
|
|
124550
|
+
const value = schema12.preprocess(options8[key2], this._utils);
|
|
124551
|
+
this._applyValidation(value, key2, schema12);
|
|
124552
124552
|
const appendTransferredOptions = ({ from, to: to5 }) => {
|
|
124553
124553
|
transferredOptionsArray.push(typeof to5 === "string" ? { [to5]: from } : { [to5.key]: to5.value });
|
|
124554
124554
|
};
|
|
124555
124555
|
const warnDeprecated = ({ value: currentValue, redirectTo }) => {
|
|
124556
|
-
const deprecatedResult = normalizeDeprecatedResult(
|
|
124556
|
+
const deprecatedResult = normalizeDeprecatedResult(schema12.deprecated(currentValue, this._utils), value, true);
|
|
124557
124557
|
if (deprecatedResult === false) {
|
|
124558
124558
|
return;
|
|
124559
124559
|
}
|
|
@@ -124571,13 +124571,13 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc2,
|
|
|
124571
124571
|
}
|
|
124572
124572
|
}
|
|
124573
124573
|
};
|
|
124574
|
-
const forwardResult = normalizeForwardResult(
|
|
124574
|
+
const forwardResult = normalizeForwardResult(schema12.forward(value, this._utils), value);
|
|
124575
124575
|
forwardResult.forEach(appendTransferredOptions);
|
|
124576
|
-
const redirectResult = normalizeRedirectResult(
|
|
124576
|
+
const redirectResult = normalizeRedirectResult(schema12.redirect(value, this._utils), value);
|
|
124577
124577
|
redirectResult.redirect.forEach(appendTransferredOptions);
|
|
124578
124578
|
if ("remain" in redirectResult) {
|
|
124579
124579
|
const remainingValue = redirectResult.remain;
|
|
124580
|
-
newOptions[key2] = key2 in newOptions ?
|
|
124580
|
+
newOptions[key2] = key2 in newOptions ? schema12.overlap(newOptions[key2], remainingValue, this._utils) : remainingValue;
|
|
124581
124581
|
warnDeprecated({ value: remainingValue });
|
|
124582
124582
|
}
|
|
124583
124583
|
for (const { from, to: to5 } of redirectResult.redirect) {
|
|
@@ -124605,8 +124605,8 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc2,
|
|
|
124605
124605
|
const [knownKeys, unknownKeys] = partition(Object.keys(options8).filter((key2) => !this._identifyMissing(key2, options8)), (key2) => (key2 in this._utils.schemas));
|
|
124606
124606
|
return { knownKeys, unknownKeys };
|
|
124607
124607
|
}
|
|
124608
|
-
_applyValidation(value, key2,
|
|
124609
|
-
const validateResult = normalizeValidateResult(
|
|
124608
|
+
_applyValidation(value, key2, schema12) {
|
|
124609
|
+
const validateResult = normalizeValidateResult(schema12.validate(value, this._utils), value);
|
|
124610
124610
|
if (validateResult !== true) {
|
|
124611
124611
|
throw this._invalidHandler(key2, validateResult.value, this._utils);
|
|
124612
124612
|
}
|
|
@@ -124648,8 +124648,8 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc2,
|
|
|
124648
124648
|
for (const key2 of unknownKeys) {
|
|
124649
124649
|
const value = postprocessed.override[key2];
|
|
124650
124650
|
this._applyUnknownHandler(key2, value, options8, (knownResultKey, knownResultValue) => {
|
|
124651
|
-
const
|
|
124652
|
-
this._applyValidation(knownResultValue, knownResultKey,
|
|
124651
|
+
const schema12 = this._utils.schemas[knownResultKey];
|
|
124652
|
+
this._applyValidation(knownResultValue, knownResultKey, schema12);
|
|
124653
124653
|
options8[knownResultKey] = knownResultValue;
|
|
124654
124654
|
});
|
|
124655
124655
|
}
|
|
@@ -124938,7 +124938,7 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc2,
|
|
|
124938
124938
|
node
|
|
124939
124939
|
}) => is_front_matter_default(node) && SUPPORTED_EMBED_LANGUAGES.has(node.language), clean_default, print_default, nonTraversableKeys, defaultGetVisitorKeys = (node) => Object.keys(node).filter((key2) => !nonTraversableKeys.has(key2)), create_get_visitor_keys_function_default, normalizedPrinters, PRINTER_NORMALIZED_MARK, PRINTER_FRONT_MATTER_SUPPORT_FEATURES, PRINTER_FRONT_MATTER_SUPPORT_OFF, formatOptionsHiddenDefaults, normalize_format_options_default, parse_default, stripTrailingHardline2, print_ignored_default, cursor2, get_cursor_node_default, massage_ast_default, arrayFindLastIndex, findLastIndex, method_find_last_index_default, isJsonParser = ({
|
|
124940
124940
|
parser: parser2
|
|
124941
|
-
}) => parser2 === "json" || parser2 === "json5" || parser2 === "jsonc" || parser2 === "json-stringify", jsonSourceElements, graphqlSourceElements, addAlignmentToDoc2, hardline3, printDocToStringWithoutNormalizeOptions, BOM = "\uFEFF", CURSOR, option_categories_exports, CATEGORY_CONFIG = "Config", CATEGORY_EDITOR = "Editor", CATEGORY_FORMAT = "Format", CATEGORY_OTHER = "Other", CATEGORY_OUTPUT = "Output", CATEGORY_GLOBAL = "Global", CATEGORY_SPECIAL = "Special", languages_evaluate_default, common_options_evaluate_default, options, options_default, languages_evaluate_default2, options2, options_default2, languages_evaluate_default3, languages_evaluate_default4, CATEGORY_HTML = "HTML", options3, options_default3, languages_evaluate_default5, CATEGORY_JAVASCRIPT = "JavaScript", options4, options_default4, languages_evaluate_default6, languages_evaluate_default7, options5, options_default5, languages_evaluate_default8, options6, options_default6, estreePlugin, options7, languages, parsers, printers, builtin_plugins_proxy_default, load_builtin_plugins_default, import_from_directory_default, cache22, load_plugins_default,
|
|
124941
|
+
}) => parser2 === "json" || parser2 === "json5" || parser2 === "jsonc" || parser2 === "json-stringify", jsonSourceElements, graphqlSourceElements, addAlignmentToDoc2, hardline3, printDocToStringWithoutNormalizeOptions, BOM = "\uFEFF", CURSOR, option_categories_exports, CATEGORY_CONFIG = "Config", CATEGORY_EDITOR = "Editor", CATEGORY_FORMAT = "Format", CATEGORY_OTHER = "Other", CATEGORY_OUTPUT = "Output", CATEGORY_GLOBAL = "Global", CATEGORY_SPECIAL = "Special", languages_evaluate_default, common_options_evaluate_default, options, options_default, languages_evaluate_default2, options2, options_default2, languages_evaluate_default3, languages_evaluate_default4, CATEGORY_HTML = "HTML", options3, options_default3, languages_evaluate_default5, CATEGORY_JAVASCRIPT = "JavaScript", options4, options_default4, languages_evaluate_default6, languages_evaluate_default7, options5, options_default5, languages_evaluate_default8, options6, options_default6, estreePlugin, options7, languages, parsers, printers, builtin_plugins_proxy_default, load_builtin_plugins_default, import_from_directory_default, cache22, load_plugins_default, import_ignore4, slash2, object_omit_default, get_file_info_default, version_evaluate_default = "3.8.1", public_exports2, skip_inline_comment_default, skip_trailing_comment_default, get_next_non_space_non_comment_character_index_default, is_next_line_empty_default, get_indent_size_default, get_max_continuous_count_default, get_next_non_space_non_comment_character_default, SINGLE_QUOTE = "'", DOUBLE_QUOTE = '"', SINGLE_QUOTE_DATA, DOUBLE_QUOTE_DATA, SINGLE_QUOTE_SETTINGS, DOUBLE_QUOTE_SETTINGS, get_preferred_quote_default, has_newline_in_range_default, has_spaces_default, formatWithCursor2, getSupportInfo2, inferParser2, sharedWithCli, debugApis;
|
|
124942
124942
|
var init_prettier = __esm(() => {
|
|
124943
124943
|
init_doc();
|
|
124944
124944
|
init_doc();
|
|
@@ -125022,9 +125022,9 @@ var init_prettier = __esm(() => {
|
|
|
125022
125022
|
"node_modules/fast-glob/out/utils/path.js"(exports) {
|
|
125023
125023
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
125024
125024
|
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = undefined;
|
|
125025
|
-
var
|
|
125025
|
+
var os10 = __require2("os");
|
|
125026
125026
|
var path152 = __require2("path");
|
|
125027
|
-
var IS_WINDOWS_PLATFORM =
|
|
125027
|
+
var IS_WINDOWS_PLATFORM = os10.platform() === "win32";
|
|
125028
125028
|
var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
|
|
125029
125029
|
var POSIX_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g;
|
|
125030
125030
|
var WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g;
|
|
@@ -127963,8 +127963,8 @@ var init_prettier = __esm(() => {
|
|
|
127963
127963
|
}
|
|
127964
127964
|
exports.endsWithSlashGlobStar = endsWithSlashGlobStar;
|
|
127965
127965
|
function isAffectDepthOfReadingPattern(pattern) {
|
|
127966
|
-
const
|
|
127967
|
-
return endsWithSlashGlobStar(pattern) || isStaticPattern(
|
|
127966
|
+
const basename7 = path152.basename(pattern);
|
|
127967
|
+
return endsWithSlashGlobStar(pattern) || isStaticPattern(basename7);
|
|
127968
127968
|
}
|
|
127969
127969
|
exports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;
|
|
127970
127970
|
function expandPatternsWithBraceExpansion(patterns) {
|
|
@@ -128544,7 +128544,7 @@ var init_prettier = __esm(() => {
|
|
|
128544
128544
|
readdirWithFileTypes(directory, settings, callback);
|
|
128545
128545
|
return;
|
|
128546
128546
|
}
|
|
128547
|
-
|
|
128547
|
+
readdir2(directory, settings, callback);
|
|
128548
128548
|
}
|
|
128549
128549
|
exports.read = read3;
|
|
128550
128550
|
function readdirWithFileTypes(directory, settings, callback) {
|
|
@@ -128593,7 +128593,7 @@ var init_prettier = __esm(() => {
|
|
|
128593
128593
|
});
|
|
128594
128594
|
};
|
|
128595
128595
|
}
|
|
128596
|
-
function
|
|
128596
|
+
function readdir2(directory, settings, callback) {
|
|
128597
128597
|
settings.fs.readdir(directory, (readdirError, names) => {
|
|
128598
128598
|
if (readdirError !== null) {
|
|
128599
128599
|
callFailureCallback(callback, readdirError);
|
|
@@ -128628,7 +128628,7 @@ var init_prettier = __esm(() => {
|
|
|
128628
128628
|
});
|
|
128629
128629
|
});
|
|
128630
128630
|
}
|
|
128631
|
-
exports.readdir =
|
|
128631
|
+
exports.readdir = readdir2;
|
|
128632
128632
|
function callFailureCallback(callback, error48) {
|
|
128633
128633
|
callback(error48);
|
|
128634
128634
|
}
|
|
@@ -128649,7 +128649,7 @@ var init_prettier = __esm(() => {
|
|
|
128649
128649
|
if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
|
|
128650
128650
|
return readdirWithFileTypes(directory, settings);
|
|
128651
128651
|
}
|
|
128652
|
-
return
|
|
128652
|
+
return readdir2(directory, settings);
|
|
128653
128653
|
}
|
|
128654
128654
|
exports.read = read3;
|
|
128655
128655
|
function readdirWithFileTypes(directory, settings) {
|
|
@@ -128674,7 +128674,7 @@ var init_prettier = __esm(() => {
|
|
|
128674
128674
|
});
|
|
128675
128675
|
}
|
|
128676
128676
|
exports.readdirWithFileTypes = readdirWithFileTypes;
|
|
128677
|
-
function
|
|
128677
|
+
function readdir2(directory, settings) {
|
|
128678
128678
|
const names = settings.fs.readdirSync(directory);
|
|
128679
128679
|
return names.map((name2) => {
|
|
128680
128680
|
const entryPath = common2.joinPathSegments(directory, name2, settings.pathSegmentSeparator);
|
|
@@ -128690,7 +128690,7 @@ var init_prettier = __esm(() => {
|
|
|
128690
128690
|
return entry;
|
|
128691
128691
|
});
|
|
128692
128692
|
}
|
|
128693
|
-
exports.readdir =
|
|
128693
|
+
exports.readdir = readdir2;
|
|
128694
128694
|
}
|
|
128695
128695
|
});
|
|
128696
128696
|
require_fs42 = __commonJS2({
|
|
@@ -130003,8 +130003,8 @@ var init_prettier = __esm(() => {
|
|
|
130003
130003
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
130004
130004
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = undefined;
|
|
130005
130005
|
var fs42 = __require2("fs");
|
|
130006
|
-
var
|
|
130007
|
-
var CPU_COUNT = Math.max(
|
|
130006
|
+
var os10 = __require2("os");
|
|
130007
|
+
var CPU_COUNT = Math.max(os10.cpus().length, 1);
|
|
130008
130008
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = {
|
|
130009
130009
|
lstat: fs42.lstat,
|
|
130010
130010
|
lstatSync: fs42.lstatSync,
|
|
@@ -133630,7 +133630,7 @@ globstar while`, file2, fr10, pattern, pr8, swallowee);
|
|
|
133630
133630
|
}
|
|
133631
133631
|
};
|
|
133632
133632
|
arrayDiff = new ArrayDiff;
|
|
133633
|
-
|
|
133633
|
+
import_fast_glob4 = __toESM2(require_out42(), 1);
|
|
133634
133634
|
array2 = [];
|
|
133635
133635
|
characterCodeCache = [];
|
|
133636
133636
|
import_picocolors5 = __toESM2(require_picocolors2(), 1);
|
|
@@ -136326,7 +136326,7 @@ The range will extend backwards to the start of the first line containing the se
|
|
|
136326
136326
|
import_from_directory_default = importFromDirectory;
|
|
136327
136327
|
cache22 = /* @__PURE__ */ new Map;
|
|
136328
136328
|
load_plugins_default = loadPlugins;
|
|
136329
|
-
|
|
136329
|
+
import_ignore4 = __toESM2(require_ignore2(), 1);
|
|
136330
136330
|
slash2 = path142.sep === "\\" ? (filePath) => method_replace_all_default2(0, filePath, "\\", "/") : (filePath) => filePath;
|
|
136331
136331
|
object_omit_default = omit2;
|
|
136332
136332
|
get_file_info_default = getFileInfo;
|
|
@@ -136400,7 +136400,7 @@ The range will extend backwards to the start of the first line containing the se
|
|
|
136400
136400
|
ChoiceSchema,
|
|
136401
136401
|
apiDescriptor
|
|
136402
136402
|
},
|
|
136403
|
-
fastGlob:
|
|
136403
|
+
fastGlob: import_fast_glob4.default,
|
|
136404
136404
|
createTwoFilesPatch,
|
|
136405
136405
|
picocolors: import_picocolors5.default,
|
|
136406
136406
|
closetLevenshteinMatch: closestMatch,
|
|
@@ -138362,23 +138362,23 @@ var require_JSONSchema = __commonJS((exports) => {
|
|
|
138362
138362
|
exports.Parent = Symbol("Parent");
|
|
138363
138363
|
exports.Types = Symbol("Types");
|
|
138364
138364
|
exports.Intersection = Symbol("Intersection");
|
|
138365
|
-
exports.getRootSchema = (0, lodash_1.memoize)((
|
|
138366
|
-
const parent =
|
|
138365
|
+
exports.getRootSchema = (0, lodash_1.memoize)((schema12) => {
|
|
138366
|
+
const parent = schema12[exports.Parent];
|
|
138367
138367
|
if (!parent) {
|
|
138368
|
-
return
|
|
138368
|
+
return schema12;
|
|
138369
138369
|
}
|
|
138370
138370
|
return (0, exports.getRootSchema)(parent);
|
|
138371
138371
|
});
|
|
138372
|
-
function isBoolean(
|
|
138373
|
-
return
|
|
138372
|
+
function isBoolean(schema12) {
|
|
138373
|
+
return schema12 === true || schema12 === false;
|
|
138374
138374
|
}
|
|
138375
138375
|
exports.isBoolean = isBoolean;
|
|
138376
|
-
function isPrimitive(
|
|
138377
|
-
return !(0, lodash_1.isPlainObject)(
|
|
138376
|
+
function isPrimitive(schema12) {
|
|
138377
|
+
return !(0, lodash_1.isPlainObject)(schema12);
|
|
138378
138378
|
}
|
|
138379
138379
|
exports.isPrimitive = isPrimitive;
|
|
138380
|
-
function isCompound(
|
|
138381
|
-
return Array.isArray(
|
|
138380
|
+
function isCompound(schema12) {
|
|
138381
|
+
return Array.isArray(schema12.type) || "anyOf" in schema12 || "oneOf" in schema12;
|
|
138382
138382
|
}
|
|
138383
138383
|
exports.isCompound = isCompound;
|
|
138384
138384
|
});
|
|
@@ -138605,9 +138605,9 @@ var require_type2 = __commonJS((exports, module) => {
|
|
|
138605
138605
|
var require_schema5 = __commonJS((exports, module) => {
|
|
138606
138606
|
var YAMLException = require_exception2();
|
|
138607
138607
|
var Type = require_type2();
|
|
138608
|
-
function compileList(
|
|
138608
|
+
function compileList(schema12, name2) {
|
|
138609
138609
|
var result = [];
|
|
138610
|
-
|
|
138610
|
+
schema12[name2].forEach(function(currentType) {
|
|
138611
138611
|
var newIndex = result.length;
|
|
138612
138612
|
result.forEach(function(previousType, previousIndex) {
|
|
138613
138613
|
if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) {
|
|
@@ -140552,7 +140552,7 @@ var require_dumper2 = __commonJS((exports, module) => {
|
|
|
140552
140552
|
"OFF"
|
|
140553
140553
|
];
|
|
140554
140554
|
var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
140555
|
-
function compileStyleMap(
|
|
140555
|
+
function compileStyleMap(schema12, map2) {
|
|
140556
140556
|
var result, keys, index, length, tag, style, type;
|
|
140557
140557
|
if (map2 === null)
|
|
140558
140558
|
return {};
|
|
@@ -140564,7 +140564,7 @@ var require_dumper2 = __commonJS((exports, module) => {
|
|
|
140564
140564
|
if (tag.slice(0, 2) === "!!") {
|
|
140565
140565
|
tag = "tag:yaml.org,2002:" + tag.slice(2);
|
|
140566
140566
|
}
|
|
140567
|
-
type =
|
|
140567
|
+
type = schema12.compiledTypeMap["fallback"][tag];
|
|
140568
140568
|
if (type && _hasOwnProperty.call(type.styleAliases, style)) {
|
|
140569
140569
|
style = type.styleAliases[style];
|
|
140570
140570
|
}
|
|
@@ -141223,11 +141223,11 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
141223
141223
|
function traverseArray(arr, callback, processed) {
|
|
141224
141224
|
arr.forEach((s5, k9) => traverse(s5, callback, processed, k9.toString()));
|
|
141225
141225
|
}
|
|
141226
|
-
function traverseIntersection(
|
|
141227
|
-
if (typeof
|
|
141226
|
+
function traverseIntersection(schema12, callback, processed) {
|
|
141227
|
+
if (typeof schema12 !== "object" || !schema12) {
|
|
141228
141228
|
return;
|
|
141229
141229
|
}
|
|
141230
|
-
const r5 =
|
|
141230
|
+
const r5 = schema12;
|
|
141231
141231
|
const intersection2 = r5[JSONSchema_1.Intersection];
|
|
141232
141232
|
if (!intersection2) {
|
|
141233
141233
|
return;
|
|
@@ -141236,60 +141236,60 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
141236
141236
|
traverseArray(intersection2.allOf, callback, processed);
|
|
141237
141237
|
}
|
|
141238
141238
|
}
|
|
141239
|
-
function traverse(
|
|
141240
|
-
if (processed.has(
|
|
141239
|
+
function traverse(schema12, callback, processed = new Set, key2) {
|
|
141240
|
+
if (processed.has(schema12)) {
|
|
141241
141241
|
return;
|
|
141242
141242
|
}
|
|
141243
|
-
processed.add(
|
|
141244
|
-
callback(
|
|
141245
|
-
if (
|
|
141246
|
-
traverseArray(
|
|
141243
|
+
processed.add(schema12);
|
|
141244
|
+
callback(schema12, key2 !== null && key2 !== undefined ? key2 : null);
|
|
141245
|
+
if (schema12.anyOf) {
|
|
141246
|
+
traverseArray(schema12.anyOf, callback, processed);
|
|
141247
141247
|
}
|
|
141248
|
-
if (
|
|
141249
|
-
traverseArray(
|
|
141248
|
+
if (schema12.allOf) {
|
|
141249
|
+
traverseArray(schema12.allOf, callback, processed);
|
|
141250
141250
|
}
|
|
141251
|
-
if (
|
|
141252
|
-
traverseArray(
|
|
141251
|
+
if (schema12.oneOf) {
|
|
141252
|
+
traverseArray(schema12.oneOf, callback, processed);
|
|
141253
141253
|
}
|
|
141254
|
-
if (
|
|
141255
|
-
traverseObjectKeys(
|
|
141254
|
+
if (schema12.properties) {
|
|
141255
|
+
traverseObjectKeys(schema12.properties, callback, processed);
|
|
141256
141256
|
}
|
|
141257
|
-
if (
|
|
141258
|
-
traverseObjectKeys(
|
|
141257
|
+
if (schema12.patternProperties) {
|
|
141258
|
+
traverseObjectKeys(schema12.patternProperties, callback, processed);
|
|
141259
141259
|
}
|
|
141260
|
-
if (
|
|
141261
|
-
traverse(
|
|
141260
|
+
if (schema12.additionalProperties && typeof schema12.additionalProperties === "object") {
|
|
141261
|
+
traverse(schema12.additionalProperties, callback, processed);
|
|
141262
141262
|
}
|
|
141263
|
-
if (
|
|
141264
|
-
const { items } =
|
|
141263
|
+
if (schema12.items) {
|
|
141264
|
+
const { items } = schema12;
|
|
141265
141265
|
if (Array.isArray(items)) {
|
|
141266
141266
|
traverseArray(items, callback, processed);
|
|
141267
141267
|
} else {
|
|
141268
141268
|
traverse(items, callback, processed);
|
|
141269
141269
|
}
|
|
141270
141270
|
}
|
|
141271
|
-
if (
|
|
141272
|
-
traverse(
|
|
141271
|
+
if (schema12.additionalItems && typeof schema12.additionalItems === "object") {
|
|
141272
|
+
traverse(schema12.additionalItems, callback, processed);
|
|
141273
141273
|
}
|
|
141274
|
-
if (
|
|
141275
|
-
if (Array.isArray(
|
|
141276
|
-
traverseArray(
|
|
141274
|
+
if (schema12.dependencies) {
|
|
141275
|
+
if (Array.isArray(schema12.dependencies)) {
|
|
141276
|
+
traverseArray(schema12.dependencies, callback, processed);
|
|
141277
141277
|
} else {
|
|
141278
|
-
traverseObjectKeys(
|
|
141278
|
+
traverseObjectKeys(schema12.dependencies, callback, processed);
|
|
141279
141279
|
}
|
|
141280
141280
|
}
|
|
141281
|
-
if (
|
|
141282
|
-
traverseObjectKeys(
|
|
141281
|
+
if (schema12.definitions) {
|
|
141282
|
+
traverseObjectKeys(schema12.definitions, callback, processed);
|
|
141283
141283
|
}
|
|
141284
|
-
if (
|
|
141285
|
-
traverseObjectKeys(
|
|
141284
|
+
if (schema12.$defs) {
|
|
141285
|
+
traverseObjectKeys(schema12.$defs, callback, processed);
|
|
141286
141286
|
}
|
|
141287
|
-
if (
|
|
141288
|
-
traverse(
|
|
141287
|
+
if (schema12.not) {
|
|
141288
|
+
traverse(schema12.not, callback, processed);
|
|
141289
141289
|
}
|
|
141290
|
-
traverseIntersection(
|
|
141291
|
-
Object.keys(
|
|
141292
|
-
const child =
|
|
141290
|
+
traverseIntersection(schema12, callback, processed);
|
|
141291
|
+
Object.keys(schema12).filter((key3) => !BLACKLISTED_KEYS.has(key3)).forEach((key3) => {
|
|
141292
|
+
const child = schema12[key3];
|
|
141293
141293
|
if (child && typeof child === "object") {
|
|
141294
141294
|
traverseObjectKeys(child, callback, processed);
|
|
141295
141295
|
}
|
|
@@ -141371,14 +141371,14 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
141371
141371
|
return (_g2 = color()) === null || _g2 === undefined ? undefined : _g2.whiteBright.bgYellow;
|
|
141372
141372
|
}
|
|
141373
141373
|
}
|
|
141374
|
-
function escapeBlockComment(
|
|
141374
|
+
function escapeBlockComment(schema12) {
|
|
141375
141375
|
const replacer = "* /";
|
|
141376
|
-
if (
|
|
141376
|
+
if (schema12 === null || typeof schema12 !== "object") {
|
|
141377
141377
|
return;
|
|
141378
141378
|
}
|
|
141379
|
-
for (const key2 of Object.keys(
|
|
141380
|
-
if (key2 === "description" && typeof
|
|
141381
|
-
|
|
141379
|
+
for (const key2 of Object.keys(schema12)) {
|
|
141380
|
+
if (key2 === "description" && typeof schema12[key2] === "string") {
|
|
141381
|
+
schema12[key2] = schema12[key2].replace(/\*\//g, replacer);
|
|
141382
141382
|
}
|
|
141383
141383
|
}
|
|
141384
141384
|
}
|
|
@@ -141390,45 +141390,45 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
141390
141390
|
return path_1.posix.join(path_1.posix.normalize(outputPath), ...filePathRel);
|
|
141391
141391
|
}
|
|
141392
141392
|
exports.pathTransform = pathTransform;
|
|
141393
|
-
function maybeStripDefault(
|
|
141394
|
-
if (!("default" in
|
|
141395
|
-
return
|
|
141393
|
+
function maybeStripDefault(schema12) {
|
|
141394
|
+
if (!("default" in schema12)) {
|
|
141395
|
+
return schema12;
|
|
141396
141396
|
}
|
|
141397
|
-
switch (
|
|
141397
|
+
switch (schema12.type) {
|
|
141398
141398
|
case "array":
|
|
141399
|
-
if (Array.isArray(
|
|
141400
|
-
return
|
|
141399
|
+
if (Array.isArray(schema12.default)) {
|
|
141400
|
+
return schema12;
|
|
141401
141401
|
}
|
|
141402
141402
|
break;
|
|
141403
141403
|
case "boolean":
|
|
141404
|
-
if (typeof
|
|
141405
|
-
return
|
|
141404
|
+
if (typeof schema12.default === "boolean") {
|
|
141405
|
+
return schema12;
|
|
141406
141406
|
}
|
|
141407
141407
|
break;
|
|
141408
141408
|
case "integer":
|
|
141409
141409
|
case "number":
|
|
141410
|
-
if (typeof
|
|
141411
|
-
return
|
|
141410
|
+
if (typeof schema12.default === "number") {
|
|
141411
|
+
return schema12;
|
|
141412
141412
|
}
|
|
141413
141413
|
break;
|
|
141414
141414
|
case "string":
|
|
141415
|
-
if (typeof
|
|
141416
|
-
return
|
|
141415
|
+
if (typeof schema12.default === "string") {
|
|
141416
|
+
return schema12;
|
|
141417
141417
|
}
|
|
141418
141418
|
break;
|
|
141419
141419
|
case "null":
|
|
141420
|
-
if (
|
|
141421
|
-
return
|
|
141420
|
+
if (schema12.default === null) {
|
|
141421
|
+
return schema12;
|
|
141422
141422
|
}
|
|
141423
141423
|
break;
|
|
141424
141424
|
case "object":
|
|
141425
|
-
if ((0, lodash_1.isPlainObject)(
|
|
141426
|
-
return
|
|
141425
|
+
if ((0, lodash_1.isPlainObject)(schema12.default)) {
|
|
141426
|
+
return schema12;
|
|
141427
141427
|
}
|
|
141428
141428
|
break;
|
|
141429
141429
|
}
|
|
141430
|
-
delete
|
|
141431
|
-
return
|
|
141430
|
+
delete schema12.default;
|
|
141431
|
+
return schema12;
|
|
141432
141432
|
}
|
|
141433
141433
|
exports.maybeStripDefault = maybeStripDefault;
|
|
141434
141434
|
function appendToDescription(existingDescription, ...values) {
|
|
@@ -141442,11 +141442,11 @@ ${values.join(`
|
|
|
141442
141442
|
`);
|
|
141443
141443
|
}
|
|
141444
141444
|
exports.appendToDescription = appendToDescription;
|
|
141445
|
-
function isSchemaLike(
|
|
141446
|
-
if (!(0, lodash_1.isPlainObject)(
|
|
141445
|
+
function isSchemaLike(schema12) {
|
|
141446
|
+
if (!(0, lodash_1.isPlainObject)(schema12)) {
|
|
141447
141447
|
return false;
|
|
141448
141448
|
}
|
|
141449
|
-
const parent =
|
|
141449
|
+
const parent = schema12[JSONSchema_1.Parent];
|
|
141450
141450
|
if (parent === null) {
|
|
141451
141451
|
return true;
|
|
141452
141452
|
}
|
|
@@ -141463,7 +141463,7 @@ ${values.join(`
|
|
|
141463
141463
|
"properties",
|
|
141464
141464
|
"required"
|
|
141465
141465
|
];
|
|
141466
|
-
if (JSON_SCHEMA_KEYWORDS.some((_10) => parent[_10] ===
|
|
141466
|
+
if (JSON_SCHEMA_KEYWORDS.some((_10) => parent[_10] === schema12)) {
|
|
141467
141467
|
return false;
|
|
141468
141468
|
}
|
|
141469
141469
|
return true;
|
|
@@ -141761,13 +141761,13 @@ var require_typesOfSchema = __commonJS((exports) => {
|
|
|
141761
141761
|
exports.typesOfSchema = undefined;
|
|
141762
141762
|
var lodash_1 = require_lodash8();
|
|
141763
141763
|
var JSONSchema_1 = require_JSONSchema();
|
|
141764
|
-
function typesOfSchema(
|
|
141765
|
-
if (
|
|
141764
|
+
function typesOfSchema(schema12) {
|
|
141765
|
+
if (schema12.tsType) {
|
|
141766
141766
|
return new Set(["CUSTOM_TYPE"]);
|
|
141767
141767
|
}
|
|
141768
141768
|
const matchedTypes = new Set;
|
|
141769
141769
|
for (const [schemaType, f7] of Object.entries(matchers)) {
|
|
141770
|
-
if (f7(
|
|
141770
|
+
if (f7(schema12)) {
|
|
141771
141771
|
matchedTypes.add(schemaType);
|
|
141772
141772
|
}
|
|
141773
141773
|
}
|
|
@@ -141778,26 +141778,26 @@ var require_typesOfSchema = __commonJS((exports) => {
|
|
|
141778
141778
|
}
|
|
141779
141779
|
exports.typesOfSchema = typesOfSchema;
|
|
141780
141780
|
var matchers = {
|
|
141781
|
-
ALL_OF(
|
|
141782
|
-
return "allOf" in
|
|
141781
|
+
ALL_OF(schema12) {
|
|
141782
|
+
return "allOf" in schema12;
|
|
141783
141783
|
},
|
|
141784
|
-
ANY(
|
|
141785
|
-
if (Object.keys(
|
|
141784
|
+
ANY(schema12) {
|
|
141785
|
+
if (Object.keys(schema12).length === 0) {
|
|
141786
141786
|
return true;
|
|
141787
141787
|
}
|
|
141788
|
-
return
|
|
141788
|
+
return schema12.type === "any";
|
|
141789
141789
|
},
|
|
141790
|
-
ANY_OF(
|
|
141791
|
-
return "anyOf" in
|
|
141790
|
+
ANY_OF(schema12) {
|
|
141791
|
+
return "anyOf" in schema12;
|
|
141792
141792
|
},
|
|
141793
|
-
BOOLEAN(
|
|
141794
|
-
if ("enum" in
|
|
141793
|
+
BOOLEAN(schema12) {
|
|
141794
|
+
if ("enum" in schema12) {
|
|
141795
141795
|
return false;
|
|
141796
141796
|
}
|
|
141797
|
-
if (
|
|
141797
|
+
if (schema12.type === "boolean") {
|
|
141798
141798
|
return true;
|
|
141799
141799
|
}
|
|
141800
|
-
if (!(0, JSONSchema_1.isCompound)(
|
|
141800
|
+
if (!(0, JSONSchema_1.isCompound)(schema12) && typeof schema12.default === "boolean") {
|
|
141801
141801
|
return true;
|
|
141802
141802
|
}
|
|
141803
141803
|
return false;
|
|
@@ -141805,74 +141805,74 @@ var require_typesOfSchema = __commonJS((exports) => {
|
|
|
141805
141805
|
CUSTOM_TYPE() {
|
|
141806
141806
|
return false;
|
|
141807
141807
|
},
|
|
141808
|
-
NAMED_ENUM(
|
|
141809
|
-
return "enum" in
|
|
141808
|
+
NAMED_ENUM(schema12) {
|
|
141809
|
+
return "enum" in schema12 && "tsEnumNames" in schema12;
|
|
141810
141810
|
},
|
|
141811
|
-
NAMED_SCHEMA(
|
|
141812
|
-
return "$id" in
|
|
141811
|
+
NAMED_SCHEMA(schema12) {
|
|
141812
|
+
return "$id" in schema12 && (("patternProperties" in schema12) || ("properties" in schema12));
|
|
141813
141813
|
},
|
|
141814
|
-
NEVER(
|
|
141815
|
-
return
|
|
141814
|
+
NEVER(schema12) {
|
|
141815
|
+
return schema12 === false;
|
|
141816
141816
|
},
|
|
141817
|
-
NULL(
|
|
141818
|
-
return
|
|
141817
|
+
NULL(schema12) {
|
|
141818
|
+
return schema12.type === "null";
|
|
141819
141819
|
},
|
|
141820
|
-
NUMBER(
|
|
141821
|
-
if ("enum" in
|
|
141820
|
+
NUMBER(schema12) {
|
|
141821
|
+
if ("enum" in schema12) {
|
|
141822
141822
|
return false;
|
|
141823
141823
|
}
|
|
141824
|
-
if (
|
|
141824
|
+
if (schema12.type === "integer" || schema12.type === "number") {
|
|
141825
141825
|
return true;
|
|
141826
141826
|
}
|
|
141827
|
-
if (!(0, JSONSchema_1.isCompound)(
|
|
141827
|
+
if (!(0, JSONSchema_1.isCompound)(schema12) && typeof schema12.default === "number") {
|
|
141828
141828
|
return true;
|
|
141829
141829
|
}
|
|
141830
141830
|
return false;
|
|
141831
141831
|
},
|
|
141832
|
-
OBJECT(
|
|
141833
|
-
return
|
|
141832
|
+
OBJECT(schema12) {
|
|
141833
|
+
return schema12.type === "object" && !(0, lodash_1.isPlainObject)(schema12.additionalProperties) && !schema12.allOf && !schema12.anyOf && !schema12.oneOf && !schema12.patternProperties && !schema12.properties && !schema12.required;
|
|
141834
141834
|
},
|
|
141835
|
-
ONE_OF(
|
|
141836
|
-
return "oneOf" in
|
|
141835
|
+
ONE_OF(schema12) {
|
|
141836
|
+
return "oneOf" in schema12;
|
|
141837
141837
|
},
|
|
141838
|
-
REFERENCE(
|
|
141839
|
-
return "$ref" in
|
|
141838
|
+
REFERENCE(schema12) {
|
|
141839
|
+
return "$ref" in schema12;
|
|
141840
141840
|
},
|
|
141841
|
-
STRING(
|
|
141842
|
-
if ("enum" in
|
|
141841
|
+
STRING(schema12) {
|
|
141842
|
+
if ("enum" in schema12) {
|
|
141843
141843
|
return false;
|
|
141844
141844
|
}
|
|
141845
|
-
if (
|
|
141845
|
+
if (schema12.type === "string") {
|
|
141846
141846
|
return true;
|
|
141847
141847
|
}
|
|
141848
|
-
if (!(0, JSONSchema_1.isCompound)(
|
|
141848
|
+
if (!(0, JSONSchema_1.isCompound)(schema12) && typeof schema12.default === "string") {
|
|
141849
141849
|
return true;
|
|
141850
141850
|
}
|
|
141851
141851
|
return false;
|
|
141852
141852
|
},
|
|
141853
|
-
TYPED_ARRAY(
|
|
141854
|
-
if (
|
|
141853
|
+
TYPED_ARRAY(schema12) {
|
|
141854
|
+
if (schema12.type && schema12.type !== "array") {
|
|
141855
141855
|
return false;
|
|
141856
141856
|
}
|
|
141857
|
-
return "items" in
|
|
141857
|
+
return "items" in schema12;
|
|
141858
141858
|
},
|
|
141859
|
-
UNION(
|
|
141860
|
-
return Array.isArray(
|
|
141859
|
+
UNION(schema12) {
|
|
141860
|
+
return Array.isArray(schema12.type);
|
|
141861
141861
|
},
|
|
141862
|
-
UNNAMED_ENUM(
|
|
141863
|
-
if ("tsEnumNames" in
|
|
141862
|
+
UNNAMED_ENUM(schema12) {
|
|
141863
|
+
if ("tsEnumNames" in schema12) {
|
|
141864
141864
|
return false;
|
|
141865
141865
|
}
|
|
141866
|
-
if (
|
|
141866
|
+
if (schema12.type && schema12.type !== "boolean" && schema12.type !== "integer" && schema12.type !== "number" && schema12.type !== "string") {
|
|
141867
141867
|
return false;
|
|
141868
141868
|
}
|
|
141869
|
-
return "enum" in
|
|
141869
|
+
return "enum" in schema12;
|
|
141870
141870
|
},
|
|
141871
141871
|
UNNAMED_SCHEMA() {
|
|
141872
141872
|
return false;
|
|
141873
141873
|
},
|
|
141874
|
-
UNTYPED_ARRAY(
|
|
141875
|
-
return
|
|
141874
|
+
UNTYPED_ARRAY(schema12) {
|
|
141875
|
+
return schema12.type === "array" && !("items" in schema12);
|
|
141876
141876
|
}
|
|
141877
141877
|
};
|
|
141878
141878
|
});
|
|
@@ -141883,10 +141883,10 @@ var require_applySchemaTyping = __commonJS((exports) => {
|
|
|
141883
141883
|
exports.applySchemaTyping = undefined;
|
|
141884
141884
|
var JSONSchema_1 = require_JSONSchema();
|
|
141885
141885
|
var typesOfSchema_1 = require_typesOfSchema();
|
|
141886
|
-
function applySchemaTyping(
|
|
141886
|
+
function applySchemaTyping(schema12) {
|
|
141887
141887
|
var _a7;
|
|
141888
|
-
const types = (0, typesOfSchema_1.typesOfSchema)(
|
|
141889
|
-
Object.defineProperty(
|
|
141888
|
+
const types = (0, typesOfSchema_1.typesOfSchema)(schema12);
|
|
141889
|
+
Object.defineProperty(schema12, JSONSchema_1.Types, {
|
|
141890
141890
|
enumerable: false,
|
|
141891
141891
|
value: types,
|
|
141892
141892
|
writable: false
|
|
@@ -141895,23 +141895,23 @@ var require_applySchemaTyping = __commonJS((exports) => {
|
|
|
141895
141895
|
return;
|
|
141896
141896
|
}
|
|
141897
141897
|
const intersection2 = {
|
|
141898
|
-
[JSONSchema_1.Parent]:
|
|
141898
|
+
[JSONSchema_1.Parent]: schema12,
|
|
141899
141899
|
[JSONSchema_1.Types]: new Set(["ALL_OF"]),
|
|
141900
|
-
$id:
|
|
141901
|
-
description:
|
|
141902
|
-
name:
|
|
141903
|
-
title:
|
|
141904
|
-
allOf: (_a7 =
|
|
141900
|
+
$id: schema12.$id,
|
|
141901
|
+
description: schema12.description,
|
|
141902
|
+
name: schema12.name,
|
|
141903
|
+
title: schema12.title,
|
|
141904
|
+
allOf: (_a7 = schema12.allOf) !== null && _a7 !== undefined ? _a7 : [],
|
|
141905
141905
|
required: [],
|
|
141906
141906
|
additionalProperties: false
|
|
141907
141907
|
};
|
|
141908
141908
|
types.delete("ALL_OF");
|
|
141909
|
-
delete
|
|
141910
|
-
delete
|
|
141911
|
-
delete
|
|
141912
|
-
delete
|
|
141913
|
-
delete
|
|
141914
|
-
Object.defineProperty(
|
|
141909
|
+
delete schema12.allOf;
|
|
141910
|
+
delete schema12.$id;
|
|
141911
|
+
delete schema12.description;
|
|
141912
|
+
delete schema12.name;
|
|
141913
|
+
delete schema12.title;
|
|
141914
|
+
Object.defineProperty(schema12, JSONSchema_1.Intersection, {
|
|
141915
141915
|
enumerable: false,
|
|
141916
141916
|
value: intersection2,
|
|
141917
141917
|
writable: false
|
|
@@ -141929,186 +141929,186 @@ var require_normalizer = __commonJS((exports) => {
|
|
|
141929
141929
|
var applySchemaTyping_1 = require_applySchemaTyping();
|
|
141930
141930
|
var util_1 = __require("util");
|
|
141931
141931
|
var rules = new Map;
|
|
141932
|
-
function hasType(
|
|
141933
|
-
return
|
|
141932
|
+
function hasType(schema12, type) {
|
|
141933
|
+
return schema12.type === type || Array.isArray(schema12.type) && schema12.type.includes(type);
|
|
141934
141934
|
}
|
|
141935
|
-
function isObjectType(
|
|
141936
|
-
return
|
|
141935
|
+
function isObjectType(schema12) {
|
|
141936
|
+
return schema12.properties !== undefined || hasType(schema12, "object") || hasType(schema12, "any");
|
|
141937
141937
|
}
|
|
141938
|
-
function isArrayType(
|
|
141939
|
-
return
|
|
141938
|
+
function isArrayType(schema12) {
|
|
141939
|
+
return schema12.items !== undefined || hasType(schema12, "array") || hasType(schema12, "any");
|
|
141940
141940
|
}
|
|
141941
|
-
function isEnumTypeWithoutTsEnumNames(
|
|
141942
|
-
return
|
|
141941
|
+
function isEnumTypeWithoutTsEnumNames(schema12) {
|
|
141942
|
+
return schema12.type === "string" && schema12.enum !== undefined && schema12.tsEnumNames === undefined;
|
|
141943
141943
|
}
|
|
141944
|
-
rules.set('Remove `type=["null"]` if `enum=[null]`', (
|
|
141945
|
-
if (Array.isArray(
|
|
141946
|
-
|
|
141944
|
+
rules.set('Remove `type=["null"]` if `enum=[null]`', (schema12) => {
|
|
141945
|
+
if (Array.isArray(schema12.enum) && schema12.enum.some((e8) => e8 === null) && Array.isArray(schema12.type) && schema12.type.includes("null")) {
|
|
141946
|
+
schema12.type = schema12.type.filter((type) => type !== "null");
|
|
141947
141947
|
}
|
|
141948
141948
|
});
|
|
141949
|
-
rules.set("Destructure unary types", (
|
|
141950
|
-
if (
|
|
141951
|
-
|
|
141949
|
+
rules.set("Destructure unary types", (schema12) => {
|
|
141950
|
+
if (schema12.type && Array.isArray(schema12.type) && schema12.type.length === 1) {
|
|
141951
|
+
schema12.type = schema12.type[0];
|
|
141952
141952
|
}
|
|
141953
141953
|
});
|
|
141954
|
-
rules.set("Add empty `required` property if none is defined", (
|
|
141955
|
-
if (isObjectType(
|
|
141956
|
-
|
|
141954
|
+
rules.set("Add empty `required` property if none is defined", (schema12) => {
|
|
141955
|
+
if (isObjectType(schema12) && !("required" in schema12)) {
|
|
141956
|
+
schema12.required = [];
|
|
141957
141957
|
}
|
|
141958
141958
|
});
|
|
141959
|
-
rules.set("Transform `required`=false to `required`=[]", (
|
|
141960
|
-
if (
|
|
141961
|
-
|
|
141959
|
+
rules.set("Transform `required`=false to `required`=[]", (schema12) => {
|
|
141960
|
+
if (schema12.required === false) {
|
|
141961
|
+
schema12.required = [];
|
|
141962
141962
|
}
|
|
141963
141963
|
});
|
|
141964
|
-
rules.set("Default additionalProperties", (
|
|
141965
|
-
if (isObjectType(
|
|
141966
|
-
|
|
141964
|
+
rules.set("Default additionalProperties", (schema12, _10, options8) => {
|
|
141965
|
+
if (isObjectType(schema12) && !("additionalProperties" in schema12) && schema12.patternProperties === undefined) {
|
|
141966
|
+
schema12.additionalProperties = options8.additionalProperties;
|
|
141967
141967
|
}
|
|
141968
141968
|
});
|
|
141969
|
-
rules.set("Transform id to $id", (
|
|
141970
|
-
if (!(0, utils_1.isSchemaLike)(
|
|
141969
|
+
rules.set("Transform id to $id", (schema12, fileName) => {
|
|
141970
|
+
if (!(0, utils_1.isSchemaLike)(schema12)) {
|
|
141971
141971
|
return;
|
|
141972
141972
|
}
|
|
141973
|
-
if (
|
|
141974
|
-
throw ReferenceError(`Schema must define either id or $id, not both. Given id=${
|
|
141973
|
+
if (schema12.id && schema12.$id && schema12.id !== schema12.$id) {
|
|
141974
|
+
throw ReferenceError(`Schema must define either id or $id, not both. Given id=${schema12.id}, $id=${schema12.$id} in ${fileName}`);
|
|
141975
141975
|
}
|
|
141976
|
-
if (
|
|
141977
|
-
|
|
141978
|
-
delete
|
|
141976
|
+
if (schema12.id) {
|
|
141977
|
+
schema12.$id = schema12.id;
|
|
141978
|
+
delete schema12.id;
|
|
141979
141979
|
}
|
|
141980
141980
|
});
|
|
141981
|
-
rules.set("Add an $id to anything that needs it", (
|
|
141982
|
-
if (!(0, utils_1.isSchemaLike)(
|
|
141981
|
+
rules.set("Add an $id to anything that needs it", (schema12, fileName, _options, _key, dereferencedPaths) => {
|
|
141982
|
+
if (!(0, utils_1.isSchemaLike)(schema12)) {
|
|
141983
141983
|
return;
|
|
141984
141984
|
}
|
|
141985
|
-
if (!
|
|
141986
|
-
|
|
141985
|
+
if (!schema12.$id && !schema12[JSONSchema_1.Parent]) {
|
|
141986
|
+
schema12.$id = (0, utils_1.toSafeString)((0, utils_1.justName)(fileName));
|
|
141987
141987
|
return;
|
|
141988
141988
|
}
|
|
141989
|
-
if (!isArrayType(
|
|
141989
|
+
if (!isArrayType(schema12) && !isObjectType(schema12)) {
|
|
141990
141990
|
return;
|
|
141991
141991
|
}
|
|
141992
|
-
const dereferencedName = dereferencedPaths.get(
|
|
141993
|
-
if (!
|
|
141994
|
-
|
|
141992
|
+
const dereferencedName = dereferencedPaths.get(schema12);
|
|
141993
|
+
if (!schema12.$id && !schema12.title && dereferencedName) {
|
|
141994
|
+
schema12.$id = (0, utils_1.toSafeString)((0, utils_1.justName)(dereferencedName));
|
|
141995
141995
|
}
|
|
141996
141996
|
if (dereferencedName) {
|
|
141997
|
-
dereferencedPaths.delete(
|
|
141997
|
+
dereferencedPaths.delete(schema12);
|
|
141998
141998
|
}
|
|
141999
141999
|
});
|
|
142000
|
-
rules.set("Escape closing JSDoc comment", (
|
|
142001
|
-
(0, utils_1.escapeBlockComment)(
|
|
142000
|
+
rules.set("Escape closing JSDoc comment", (schema12) => {
|
|
142001
|
+
(0, utils_1.escapeBlockComment)(schema12);
|
|
142002
142002
|
});
|
|
142003
|
-
rules.set("Add JSDoc comments for minItems and maxItems", (
|
|
142004
|
-
if (!isArrayType(
|
|
142003
|
+
rules.set("Add JSDoc comments for minItems and maxItems", (schema12) => {
|
|
142004
|
+
if (!isArrayType(schema12)) {
|
|
142005
142005
|
return;
|
|
142006
142006
|
}
|
|
142007
142007
|
const commentsToAppend = [
|
|
142008
|
-
"minItems" in
|
|
142009
|
-
"maxItems" in
|
|
142008
|
+
"minItems" in schema12 ? `@minItems ${schema12.minItems}` : "",
|
|
142009
|
+
"maxItems" in schema12 ? `@maxItems ${schema12.maxItems}` : ""
|
|
142010
142010
|
].filter(Boolean);
|
|
142011
142011
|
if (commentsToAppend.length) {
|
|
142012
|
-
|
|
142012
|
+
schema12.description = (0, utils_1.appendToDescription)(schema12.description, ...commentsToAppend);
|
|
142013
142013
|
}
|
|
142014
142014
|
});
|
|
142015
|
-
rules.set("Optionally remove maxItems and minItems", (
|
|
142016
|
-
if (!isArrayType(
|
|
142015
|
+
rules.set("Optionally remove maxItems and minItems", (schema12, _fileName, options8) => {
|
|
142016
|
+
if (!isArrayType(schema12)) {
|
|
142017
142017
|
return;
|
|
142018
142018
|
}
|
|
142019
|
-
if ("minItems" in
|
|
142020
|
-
delete
|
|
142019
|
+
if ("minItems" in schema12 && options8.ignoreMinAndMaxItems) {
|
|
142020
|
+
delete schema12.minItems;
|
|
142021
142021
|
}
|
|
142022
|
-
if ("maxItems" in
|
|
142023
|
-
delete
|
|
142022
|
+
if ("maxItems" in schema12 && (options8.ignoreMinAndMaxItems || options8.maxItems === -1)) {
|
|
142023
|
+
delete schema12.maxItems;
|
|
142024
142024
|
}
|
|
142025
142025
|
});
|
|
142026
|
-
rules.set("Normalize schema.minItems", (
|
|
142026
|
+
rules.set("Normalize schema.minItems", (schema12, _fileName, options8) => {
|
|
142027
142027
|
if (options8.ignoreMinAndMaxItems) {
|
|
142028
142028
|
return;
|
|
142029
142029
|
}
|
|
142030
|
-
if (!isArrayType(
|
|
142030
|
+
if (!isArrayType(schema12)) {
|
|
142031
142031
|
return;
|
|
142032
142032
|
}
|
|
142033
|
-
const { minItems } =
|
|
142034
|
-
|
|
142033
|
+
const { minItems } = schema12;
|
|
142034
|
+
schema12.minItems = typeof minItems === "number" ? minItems : 0;
|
|
142035
142035
|
});
|
|
142036
|
-
rules.set("Remove maxItems if it is big enough to likely cause OOMs", (
|
|
142036
|
+
rules.set("Remove maxItems if it is big enough to likely cause OOMs", (schema12, _fileName, options8) => {
|
|
142037
142037
|
if (options8.ignoreMinAndMaxItems || options8.maxItems === -1) {
|
|
142038
142038
|
return;
|
|
142039
142039
|
}
|
|
142040
|
-
if (!isArrayType(
|
|
142040
|
+
if (!isArrayType(schema12)) {
|
|
142041
142041
|
return;
|
|
142042
142042
|
}
|
|
142043
|
-
const { maxItems, minItems } =
|
|
142043
|
+
const { maxItems, minItems } = schema12;
|
|
142044
142044
|
if (maxItems !== undefined && maxItems - minItems > options8.maxItems) {
|
|
142045
|
-
delete
|
|
142045
|
+
delete schema12.maxItems;
|
|
142046
142046
|
}
|
|
142047
142047
|
});
|
|
142048
|
-
rules.set("Normalize schema.items", (
|
|
142048
|
+
rules.set("Normalize schema.items", (schema12, _fileName, options8) => {
|
|
142049
142049
|
if (options8.ignoreMinAndMaxItems) {
|
|
142050
142050
|
return;
|
|
142051
142051
|
}
|
|
142052
|
-
const { maxItems, minItems } =
|
|
142052
|
+
const { maxItems, minItems } = schema12;
|
|
142053
142053
|
const hasMaxItems = typeof maxItems === "number" && maxItems >= 0;
|
|
142054
142054
|
const hasMinItems = typeof minItems === "number" && minItems > 0;
|
|
142055
|
-
if (
|
|
142056
|
-
const items =
|
|
142055
|
+
if (schema12.items && !Array.isArray(schema12.items) && (hasMaxItems || hasMinItems)) {
|
|
142056
|
+
const items = schema12.items;
|
|
142057
142057
|
const newItems = Array(maxItems || minItems || 0).fill(items);
|
|
142058
142058
|
if (!hasMaxItems) {
|
|
142059
|
-
|
|
142059
|
+
schema12.additionalItems = items;
|
|
142060
142060
|
}
|
|
142061
|
-
|
|
142061
|
+
schema12.items = newItems;
|
|
142062
142062
|
}
|
|
142063
|
-
if (Array.isArray(
|
|
142064
|
-
|
|
142063
|
+
if (Array.isArray(schema12.items) && hasMaxItems && maxItems < schema12.items.length) {
|
|
142064
|
+
schema12.items = schema12.items.slice(0, maxItems);
|
|
142065
142065
|
}
|
|
142066
|
-
return
|
|
142066
|
+
return schema12;
|
|
142067
142067
|
});
|
|
142068
|
-
rules.set("Remove extends, if it is empty", (
|
|
142069
|
-
if (!
|
|
142068
|
+
rules.set("Remove extends, if it is empty", (schema12) => {
|
|
142069
|
+
if (!schema12.hasOwnProperty("extends")) {
|
|
142070
142070
|
return;
|
|
142071
142071
|
}
|
|
142072
|
-
if (
|
|
142073
|
-
delete
|
|
142072
|
+
if (schema12.extends == null || Array.isArray(schema12.extends) && schema12.extends.length === 0) {
|
|
142073
|
+
delete schema12.extends;
|
|
142074
142074
|
}
|
|
142075
142075
|
});
|
|
142076
|
-
rules.set("Make extends always an array, if it is defined", (
|
|
142077
|
-
if (
|
|
142076
|
+
rules.set("Make extends always an array, if it is defined", (schema12) => {
|
|
142077
|
+
if (schema12.extends == null) {
|
|
142078
142078
|
return;
|
|
142079
142079
|
}
|
|
142080
|
-
if (!Array.isArray(
|
|
142081
|
-
|
|
142080
|
+
if (!Array.isArray(schema12.extends)) {
|
|
142081
|
+
schema12.extends = [schema12.extends];
|
|
142082
142082
|
}
|
|
142083
142083
|
});
|
|
142084
|
-
rules.set("Transform definitions to $defs", (
|
|
142085
|
-
if (
|
|
142086
|
-
throw ReferenceError(`Schema must define either definitions or $defs, not both. Given id=${
|
|
142084
|
+
rules.set("Transform definitions to $defs", (schema12, fileName) => {
|
|
142085
|
+
if (schema12.definitions && schema12.$defs && !(0, util_1.isDeepStrictEqual)(schema12.definitions, schema12.$defs)) {
|
|
142086
|
+
throw ReferenceError(`Schema must define either definitions or $defs, not both. Given id=${schema12.id} in ${fileName}`);
|
|
142087
142087
|
}
|
|
142088
|
-
if (
|
|
142089
|
-
|
|
142090
|
-
delete
|
|
142088
|
+
if (schema12.definitions) {
|
|
142089
|
+
schema12.$defs = schema12.definitions;
|
|
142090
|
+
delete schema12.definitions;
|
|
142091
142091
|
}
|
|
142092
142092
|
});
|
|
142093
|
-
rules.set("Transform const to singleton enum", (
|
|
142094
|
-
if (
|
|
142095
|
-
|
|
142096
|
-
delete
|
|
142093
|
+
rules.set("Transform const to singleton enum", (schema12) => {
|
|
142094
|
+
if (schema12.const !== undefined) {
|
|
142095
|
+
schema12.enum = [schema12.const];
|
|
142096
|
+
delete schema12.const;
|
|
142097
142097
|
}
|
|
142098
142098
|
});
|
|
142099
|
-
rules.set("Add tsEnumNames to enum types", (
|
|
142099
|
+
rules.set("Add tsEnumNames to enum types", (schema12, _10, options8) => {
|
|
142100
142100
|
var _a7;
|
|
142101
|
-
if (isEnumTypeWithoutTsEnumNames(
|
|
142102
|
-
|
|
142101
|
+
if (isEnumTypeWithoutTsEnumNames(schema12) && options8.inferStringEnumKeysFromValues) {
|
|
142102
|
+
schema12.tsEnumNames = (_a7 = schema12.enum) === null || _a7 === undefined ? undefined : _a7.map(String);
|
|
142103
142103
|
}
|
|
142104
142104
|
});
|
|
142105
|
-
rules.set("Pre-calculate schema types and intersections", (
|
|
142106
|
-
if (
|
|
142107
|
-
(0, applySchemaTyping_1.applySchemaTyping)(
|
|
142105
|
+
rules.set("Pre-calculate schema types and intersections", (schema12) => {
|
|
142106
|
+
if (schema12 !== null && typeof schema12 === "object") {
|
|
142107
|
+
(0, applySchemaTyping_1.applySchemaTyping)(schema12);
|
|
142108
142108
|
}
|
|
142109
142109
|
});
|
|
142110
142110
|
function normalize2(rootSchema, dereferencedPaths, filename, options8) {
|
|
142111
|
-
rules.forEach((rule) => (0, utils_1.traverse)(rootSchema, (
|
|
142111
|
+
rules.forEach((rule) => (0, utils_1.traverse)(rootSchema, (schema12, key2) => rule(schema12, filename, options8, key2, dereferencedPaths)));
|
|
142112
142112
|
return rootSchema;
|
|
142113
142113
|
}
|
|
142114
142114
|
exports.normalize = normalize2;
|
|
@@ -142190,37 +142190,37 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
142190
142190
|
var AST_1 = require_AST();
|
|
142191
142191
|
var JSONSchema_1 = require_JSONSchema();
|
|
142192
142192
|
var utils_1 = require_utils7();
|
|
142193
|
-
function parse11(
|
|
142194
|
-
if ((0, JSONSchema_1.isPrimitive)(
|
|
142195
|
-
if ((0, JSONSchema_1.isBoolean)(
|
|
142196
|
-
return parseBooleanSchema(
|
|
142193
|
+
function parse11(schema12, options8, keyName, processed = new Map, usedNames = new Set) {
|
|
142194
|
+
if ((0, JSONSchema_1.isPrimitive)(schema12)) {
|
|
142195
|
+
if ((0, JSONSchema_1.isBoolean)(schema12)) {
|
|
142196
|
+
return parseBooleanSchema(schema12, keyName, options8);
|
|
142197
142197
|
}
|
|
142198
|
-
return parseLiteral(
|
|
142198
|
+
return parseLiteral(schema12, keyName);
|
|
142199
142199
|
}
|
|
142200
|
-
const intersection2 =
|
|
142201
|
-
const types =
|
|
142200
|
+
const intersection2 = schema12[JSONSchema_1.Intersection];
|
|
142201
|
+
const types = schema12[JSONSchema_1.Types];
|
|
142202
142202
|
if (intersection2) {
|
|
142203
142203
|
const ast = parseAsTypeWithCache(intersection2, "ALL_OF", options8, keyName, processed, usedNames);
|
|
142204
142204
|
types.forEach((type) => {
|
|
142205
|
-
ast.params.push(parseAsTypeWithCache(
|
|
142205
|
+
ast.params.push(parseAsTypeWithCache(schema12, type, options8, keyName, processed, usedNames));
|
|
142206
142206
|
});
|
|
142207
|
-
(0, utils_1.log)("blue", "parser", "Types:", [...types], "Input:",
|
|
142207
|
+
(0, utils_1.log)("blue", "parser", "Types:", [...types], "Input:", schema12, "Output:", ast);
|
|
142208
142208
|
return ast;
|
|
142209
142209
|
}
|
|
142210
142210
|
if (types.size === 1) {
|
|
142211
142211
|
const type = [...types][0];
|
|
142212
|
-
const ast = parseAsTypeWithCache(
|
|
142213
|
-
(0, utils_1.log)("blue", "parser", "Type:", type, "Input:",
|
|
142212
|
+
const ast = parseAsTypeWithCache(schema12, type, options8, keyName, processed, usedNames);
|
|
142213
|
+
(0, utils_1.log)("blue", "parser", "Type:", type, "Input:", schema12, "Output:", ast);
|
|
142214
142214
|
return ast;
|
|
142215
142215
|
}
|
|
142216
142216
|
throw new ReferenceError("Expected intersection schema. Please file an issue on GitHub.");
|
|
142217
142217
|
}
|
|
142218
142218
|
exports.parse = parse11;
|
|
142219
|
-
function parseAsTypeWithCache(
|
|
142220
|
-
let cachedTypeMap = processed.get(
|
|
142219
|
+
function parseAsTypeWithCache(schema12, type, options8, keyName, processed = new Map, usedNames = new Set) {
|
|
142220
|
+
let cachedTypeMap = processed.get(schema12);
|
|
142221
142221
|
if (!cachedTypeMap) {
|
|
142222
142222
|
cachedTypeMap = new Map;
|
|
142223
|
-
processed.set(
|
|
142223
|
+
processed.set(schema12, cachedTypeMap);
|
|
142224
142224
|
}
|
|
142225
142225
|
const cachedAST = cachedTypeMap.get(type);
|
|
142226
142226
|
if (cachedAST) {
|
|
@@ -142228,10 +142228,10 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
142228
142228
|
}
|
|
142229
142229
|
const ast = {};
|
|
142230
142230
|
cachedTypeMap.set(type, ast);
|
|
142231
|
-
return Object.assign(ast, parseNonLiteral(
|
|
142231
|
+
return Object.assign(ast, parseNonLiteral(schema12, type, options8, keyName, processed, usedNames));
|
|
142232
142232
|
}
|
|
142233
|
-
function parseBooleanSchema(
|
|
142234
|
-
if (
|
|
142233
|
+
function parseBooleanSchema(schema12, keyName, options8) {
|
|
142234
|
+
if (schema12) {
|
|
142235
142235
|
return {
|
|
142236
142236
|
keyName,
|
|
142237
142237
|
type: options8.unknownAny ? "UNKNOWN" : "ANY"
|
|
@@ -142242,157 +142242,157 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
142242
142242
|
type: "NEVER"
|
|
142243
142243
|
};
|
|
142244
142244
|
}
|
|
142245
|
-
function parseLiteral(
|
|
142245
|
+
function parseLiteral(schema12, keyName) {
|
|
142246
142246
|
return {
|
|
142247
142247
|
keyName,
|
|
142248
|
-
params:
|
|
142248
|
+
params: schema12,
|
|
142249
142249
|
type: "LITERAL"
|
|
142250
142250
|
};
|
|
142251
142251
|
}
|
|
142252
|
-
function parseNonLiteral(
|
|
142253
|
-
const definitions = getDefinitionsMemoized((0, JSONSchema_1.getRootSchema)(
|
|
142254
|
-
const keyNameFromDefinition = (0, lodash_1.findKey)(definitions, (_10) => _10 ===
|
|
142252
|
+
function parseNonLiteral(schema12, type, options8, keyName, processed, usedNames) {
|
|
142253
|
+
const definitions = getDefinitionsMemoized((0, JSONSchema_1.getRootSchema)(schema12));
|
|
142254
|
+
const keyNameFromDefinition = (0, lodash_1.findKey)(definitions, (_10) => _10 === schema12);
|
|
142255
142255
|
switch (type) {
|
|
142256
142256
|
case "ALL_OF":
|
|
142257
142257
|
return {
|
|
142258
|
-
comment:
|
|
142259
|
-
deprecated:
|
|
142258
|
+
comment: schema12.description,
|
|
142259
|
+
deprecated: schema12.deprecated,
|
|
142260
142260
|
keyName,
|
|
142261
|
-
standaloneName: standaloneName(
|
|
142262
|
-
params:
|
|
142261
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142262
|
+
params: schema12.allOf.map((_10) => parse11(_10, options8, undefined, processed, usedNames)),
|
|
142263
142263
|
type: "INTERSECTION"
|
|
142264
142264
|
};
|
|
142265
142265
|
case "ANY":
|
|
142266
|
-
return Object.assign(Object.assign({}, options8.unknownAny ? AST_1.T_UNKNOWN : AST_1.T_ANY), { comment:
|
|
142266
|
+
return Object.assign(Object.assign({}, options8.unknownAny ? AST_1.T_UNKNOWN : AST_1.T_ANY), { comment: schema12.description, deprecated: schema12.deprecated, keyName, standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8) });
|
|
142267
142267
|
case "ANY_OF":
|
|
142268
142268
|
return {
|
|
142269
|
-
comment:
|
|
142270
|
-
deprecated:
|
|
142269
|
+
comment: schema12.description,
|
|
142270
|
+
deprecated: schema12.deprecated,
|
|
142271
142271
|
keyName,
|
|
142272
|
-
standaloneName: standaloneName(
|
|
142273
|
-
params:
|
|
142272
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142273
|
+
params: schema12.anyOf.map((_10) => parse11(_10, options8, undefined, processed, usedNames)),
|
|
142274
142274
|
type: "UNION"
|
|
142275
142275
|
};
|
|
142276
142276
|
case "BOOLEAN":
|
|
142277
142277
|
return {
|
|
142278
|
-
comment:
|
|
142279
|
-
deprecated:
|
|
142278
|
+
comment: schema12.description,
|
|
142279
|
+
deprecated: schema12.deprecated,
|
|
142280
142280
|
keyName,
|
|
142281
|
-
standaloneName: standaloneName(
|
|
142281
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142282
142282
|
type: "BOOLEAN"
|
|
142283
142283
|
};
|
|
142284
142284
|
case "CUSTOM_TYPE":
|
|
142285
142285
|
return {
|
|
142286
|
-
comment:
|
|
142287
|
-
deprecated:
|
|
142286
|
+
comment: schema12.description,
|
|
142287
|
+
deprecated: schema12.deprecated,
|
|
142288
142288
|
keyName,
|
|
142289
|
-
params:
|
|
142290
|
-
standaloneName: standaloneName(
|
|
142289
|
+
params: schema12.tsType,
|
|
142290
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142291
142291
|
type: "CUSTOM_TYPE"
|
|
142292
142292
|
};
|
|
142293
142293
|
case "NAMED_ENUM":
|
|
142294
142294
|
return {
|
|
142295
|
-
comment:
|
|
142296
|
-
deprecated:
|
|
142295
|
+
comment: schema12.description,
|
|
142296
|
+
deprecated: schema12.deprecated,
|
|
142297
142297
|
keyName,
|
|
142298
|
-
standaloneName: standaloneName(
|
|
142299
|
-
params:
|
|
142298
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition !== null && keyNameFromDefinition !== undefined ? keyNameFromDefinition : keyName, usedNames, options8),
|
|
142299
|
+
params: schema12.enum.map((_10, n5) => ({
|
|
142300
142300
|
ast: parseLiteral(_10, undefined),
|
|
142301
|
-
keyName:
|
|
142301
|
+
keyName: schema12.tsEnumNames[n5]
|
|
142302
142302
|
})),
|
|
142303
142303
|
type: "ENUM"
|
|
142304
142304
|
};
|
|
142305
142305
|
case "NAMED_SCHEMA":
|
|
142306
|
-
return newInterface(
|
|
142306
|
+
return newInterface(schema12, options8, processed, usedNames, keyName);
|
|
142307
142307
|
case "NEVER":
|
|
142308
142308
|
return {
|
|
142309
|
-
comment:
|
|
142310
|
-
deprecated:
|
|
142309
|
+
comment: schema12.description,
|
|
142310
|
+
deprecated: schema12.deprecated,
|
|
142311
142311
|
keyName,
|
|
142312
|
-
standaloneName: standaloneName(
|
|
142312
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142313
142313
|
type: "NEVER"
|
|
142314
142314
|
};
|
|
142315
142315
|
case "NULL":
|
|
142316
142316
|
return {
|
|
142317
|
-
comment:
|
|
142318
|
-
deprecated:
|
|
142317
|
+
comment: schema12.description,
|
|
142318
|
+
deprecated: schema12.deprecated,
|
|
142319
142319
|
keyName,
|
|
142320
|
-
standaloneName: standaloneName(
|
|
142320
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142321
142321
|
type: "NULL"
|
|
142322
142322
|
};
|
|
142323
142323
|
case "NUMBER":
|
|
142324
142324
|
return {
|
|
142325
|
-
comment:
|
|
142326
|
-
deprecated:
|
|
142325
|
+
comment: schema12.description,
|
|
142326
|
+
deprecated: schema12.deprecated,
|
|
142327
142327
|
keyName,
|
|
142328
|
-
standaloneName: standaloneName(
|
|
142328
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142329
142329
|
type: "NUMBER"
|
|
142330
142330
|
};
|
|
142331
142331
|
case "OBJECT":
|
|
142332
142332
|
return {
|
|
142333
|
-
comment:
|
|
142333
|
+
comment: schema12.description,
|
|
142334
142334
|
keyName,
|
|
142335
|
-
standaloneName: standaloneName(
|
|
142335
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142336
142336
|
type: "OBJECT",
|
|
142337
|
-
deprecated:
|
|
142337
|
+
deprecated: schema12.deprecated
|
|
142338
142338
|
};
|
|
142339
142339
|
case "ONE_OF":
|
|
142340
142340
|
return {
|
|
142341
|
-
comment:
|
|
142342
|
-
deprecated:
|
|
142341
|
+
comment: schema12.description,
|
|
142342
|
+
deprecated: schema12.deprecated,
|
|
142343
142343
|
keyName,
|
|
142344
|
-
standaloneName: standaloneName(
|
|
142345
|
-
params:
|
|
142344
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142345
|
+
params: schema12.oneOf.map((_10) => parse11(_10, options8, undefined, processed, usedNames)),
|
|
142346
142346
|
type: "UNION"
|
|
142347
142347
|
};
|
|
142348
142348
|
case "REFERENCE":
|
|
142349
|
-
throw Error((0, util_1.format)("Refs should have been resolved by the resolver!",
|
|
142349
|
+
throw Error((0, util_1.format)("Refs should have been resolved by the resolver!", schema12));
|
|
142350
142350
|
case "STRING":
|
|
142351
142351
|
return {
|
|
142352
|
-
comment:
|
|
142353
|
-
deprecated:
|
|
142352
|
+
comment: schema12.description,
|
|
142353
|
+
deprecated: schema12.deprecated,
|
|
142354
142354
|
keyName,
|
|
142355
|
-
standaloneName: standaloneName(
|
|
142355
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142356
142356
|
type: "STRING"
|
|
142357
142357
|
};
|
|
142358
142358
|
case "TYPED_ARRAY":
|
|
142359
|
-
if (Array.isArray(
|
|
142360
|
-
const minItems2 =
|
|
142361
|
-
const maxItems2 =
|
|
142359
|
+
if (Array.isArray(schema12.items)) {
|
|
142360
|
+
const minItems2 = schema12.minItems;
|
|
142361
|
+
const maxItems2 = schema12.maxItems;
|
|
142362
142362
|
const arrayType = {
|
|
142363
|
-
comment:
|
|
142364
|
-
deprecated:
|
|
142363
|
+
comment: schema12.description,
|
|
142364
|
+
deprecated: schema12.deprecated,
|
|
142365
142365
|
keyName,
|
|
142366
142366
|
maxItems: maxItems2,
|
|
142367
142367
|
minItems: minItems2,
|
|
142368
|
-
standaloneName: standaloneName(
|
|
142369
|
-
params:
|
|
142368
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142369
|
+
params: schema12.items.map((_10) => parse11(_10, options8, undefined, processed, usedNames)),
|
|
142370
142370
|
type: "TUPLE"
|
|
142371
142371
|
};
|
|
142372
|
-
if (
|
|
142372
|
+
if (schema12.additionalItems === true) {
|
|
142373
142373
|
arrayType.spreadParam = options8.unknownAny ? AST_1.T_UNKNOWN : AST_1.T_ANY;
|
|
142374
|
-
} else if (
|
|
142375
|
-
arrayType.spreadParam = parse11(
|
|
142374
|
+
} else if (schema12.additionalItems) {
|
|
142375
|
+
arrayType.spreadParam = parse11(schema12.additionalItems, options8, undefined, processed, usedNames);
|
|
142376
142376
|
}
|
|
142377
142377
|
return arrayType;
|
|
142378
142378
|
} else {
|
|
142379
142379
|
return {
|
|
142380
|
-
comment:
|
|
142381
|
-
deprecated:
|
|
142380
|
+
comment: schema12.description,
|
|
142381
|
+
deprecated: schema12.deprecated,
|
|
142382
142382
|
keyName,
|
|
142383
|
-
standaloneName: standaloneName(
|
|
142384
|
-
params: parse11(
|
|
142383
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142384
|
+
params: parse11(schema12.items, options8, `{keyNameFromDefinition}Items`, processed, usedNames),
|
|
142385
142385
|
type: "ARRAY"
|
|
142386
142386
|
};
|
|
142387
142387
|
}
|
|
142388
142388
|
case "UNION":
|
|
142389
142389
|
return {
|
|
142390
|
-
comment:
|
|
142391
|
-
deprecated:
|
|
142390
|
+
comment: schema12.description,
|
|
142391
|
+
deprecated: schema12.deprecated,
|
|
142392
142392
|
keyName,
|
|
142393
|
-
standaloneName: standaloneName(
|
|
142394
|
-
params:
|
|
142395
|
-
const member = Object.assign(Object.assign({}, (0, lodash_1.omit)(
|
|
142393
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142394
|
+
params: schema12.type.map((type2) => {
|
|
142395
|
+
const member = Object.assign(Object.assign({}, (0, lodash_1.omit)(schema12, "$id", "description", "title")), { type: type2 });
|
|
142396
142396
|
(0, utils_1.maybeStripDefault)(member);
|
|
142397
142397
|
(0, applySchemaTyping_1.applySchemaTyping)(member);
|
|
142398
142398
|
return parse11(member, options8, undefined, processed, usedNames);
|
|
@@ -142401,80 +142401,80 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
142401
142401
|
};
|
|
142402
142402
|
case "UNNAMED_ENUM":
|
|
142403
142403
|
return {
|
|
142404
|
-
comment:
|
|
142405
|
-
deprecated:
|
|
142404
|
+
comment: schema12.description,
|
|
142405
|
+
deprecated: schema12.deprecated,
|
|
142406
142406
|
keyName,
|
|
142407
|
-
standaloneName: standaloneName(
|
|
142408
|
-
params:
|
|
142407
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142408
|
+
params: schema12.enum.map((_10) => parseLiteral(_10, undefined)),
|
|
142409
142409
|
type: "UNION"
|
|
142410
142410
|
};
|
|
142411
142411
|
case "UNNAMED_SCHEMA":
|
|
142412
|
-
return newInterface(
|
|
142412
|
+
return newInterface(schema12, options8, processed, usedNames, keyName, keyNameFromDefinition);
|
|
142413
142413
|
case "UNTYPED_ARRAY":
|
|
142414
|
-
const minItems =
|
|
142415
|
-
const maxItems = typeof
|
|
142414
|
+
const minItems = schema12.minItems;
|
|
142415
|
+
const maxItems = typeof schema12.maxItems === "number" ? schema12.maxItems : -1;
|
|
142416
142416
|
const params = options8.unknownAny ? AST_1.T_UNKNOWN : AST_1.T_ANY;
|
|
142417
142417
|
if (minItems > 0 || maxItems >= 0) {
|
|
142418
142418
|
return {
|
|
142419
|
-
comment:
|
|
142420
|
-
deprecated:
|
|
142419
|
+
comment: schema12.description,
|
|
142420
|
+
deprecated: schema12.deprecated,
|
|
142421
142421
|
keyName,
|
|
142422
|
-
maxItems:
|
|
142422
|
+
maxItems: schema12.maxItems,
|
|
142423
142423
|
minItems,
|
|
142424
142424
|
params: Array(Math.max(maxItems, minItems) || 0).fill(params),
|
|
142425
142425
|
spreadParam: maxItems >= 0 ? undefined : params,
|
|
142426
|
-
standaloneName: standaloneName(
|
|
142426
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142427
142427
|
type: "TUPLE"
|
|
142428
142428
|
};
|
|
142429
142429
|
}
|
|
142430
142430
|
return {
|
|
142431
|
-
comment:
|
|
142432
|
-
deprecated:
|
|
142431
|
+
comment: schema12.description,
|
|
142432
|
+
deprecated: schema12.deprecated,
|
|
142433
142433
|
keyName,
|
|
142434
142434
|
params,
|
|
142435
|
-
standaloneName: standaloneName(
|
|
142435
|
+
standaloneName: standaloneName(schema12, keyNameFromDefinition, usedNames, options8),
|
|
142436
142436
|
type: "ARRAY"
|
|
142437
142437
|
};
|
|
142438
142438
|
}
|
|
142439
142439
|
}
|
|
142440
|
-
function standaloneName(
|
|
142440
|
+
function standaloneName(schema12, keyNameFromDefinition, usedNames, options8) {
|
|
142441
142441
|
var _a7;
|
|
142442
|
-
const name2 = ((_a7 = options8.customName) === null || _a7 === undefined ? undefined : _a7.call(options8,
|
|
142442
|
+
const name2 = ((_a7 = options8.customName) === null || _a7 === undefined ? undefined : _a7.call(options8, schema12, keyNameFromDefinition)) || schema12.title || schema12.$id || keyNameFromDefinition;
|
|
142443
142443
|
if (name2) {
|
|
142444
142444
|
return (0, utils_1.generateName)(name2, usedNames);
|
|
142445
142445
|
}
|
|
142446
142446
|
}
|
|
142447
|
-
function newInterface(
|
|
142448
|
-
const name2 = standaloneName(
|
|
142447
|
+
function newInterface(schema12, options8, processed, usedNames, keyName, keyNameFromDefinition) {
|
|
142448
|
+
const name2 = standaloneName(schema12, keyNameFromDefinition, usedNames, options8);
|
|
142449
142449
|
return {
|
|
142450
|
-
comment:
|
|
142451
|
-
deprecated:
|
|
142450
|
+
comment: schema12.description,
|
|
142451
|
+
deprecated: schema12.deprecated,
|
|
142452
142452
|
keyName,
|
|
142453
|
-
params: parseSchema(
|
|
142453
|
+
params: parseSchema(schema12, options8, processed, usedNames, name2),
|
|
142454
142454
|
standaloneName: name2,
|
|
142455
|
-
superTypes: parseSuperTypes(
|
|
142455
|
+
superTypes: parseSuperTypes(schema12, options8, processed, usedNames),
|
|
142456
142456
|
type: "INTERFACE"
|
|
142457
142457
|
};
|
|
142458
142458
|
}
|
|
142459
|
-
function parseSuperTypes(
|
|
142460
|
-
const superTypes =
|
|
142459
|
+
function parseSuperTypes(schema12, options8, processed, usedNames) {
|
|
142460
|
+
const superTypes = schema12.extends;
|
|
142461
142461
|
if (!superTypes) {
|
|
142462
142462
|
return [];
|
|
142463
142463
|
}
|
|
142464
142464
|
return superTypes.map((_10) => parse11(_10, options8, undefined, processed, usedNames));
|
|
142465
142465
|
}
|
|
142466
|
-
function parseSchema(
|
|
142467
|
-
let asts = (0, lodash_1.map)(
|
|
142466
|
+
function parseSchema(schema12, options8, processed, usedNames, parentSchemaName) {
|
|
142467
|
+
let asts = (0, lodash_1.map)(schema12.properties, (value, key2) => ({
|
|
142468
142468
|
ast: parse11(value, options8, key2, processed, usedNames),
|
|
142469
142469
|
isPatternProperty: false,
|
|
142470
|
-
isRequired: (0, lodash_1.includes)(
|
|
142470
|
+
isRequired: (0, lodash_1.includes)(schema12.required || [], key2),
|
|
142471
142471
|
isUnreachableDefinition: false,
|
|
142472
142472
|
keyName: key2
|
|
142473
142473
|
}));
|
|
142474
142474
|
let singlePatternProperty = false;
|
|
142475
|
-
if (
|
|
142476
|
-
singlePatternProperty = !
|
|
142477
|
-
asts = asts.concat((0, lodash_1.map)(
|
|
142475
|
+
if (schema12.patternProperties) {
|
|
142476
|
+
singlePatternProperty = !schema12.additionalProperties && Object.keys(schema12.patternProperties).length === 1;
|
|
142477
|
+
asts = asts.concat((0, lodash_1.map)(schema12.patternProperties, (value, key2) => {
|
|
142478
142478
|
const ast = parse11(value, options8, key2, processed, usedNames);
|
|
142479
142479
|
const comment = `This interface was referenced by \`${parentSchemaName}\`'s JSON-Schema definition
|
|
142480
142480
|
via the \`patternProperty\` "${key2.replace("*/", "*\\/")}".`;
|
|
@@ -142484,14 +142484,14 @@ ${comment}` : comment;
|
|
|
142484
142484
|
return {
|
|
142485
142485
|
ast,
|
|
142486
142486
|
isPatternProperty: !singlePatternProperty,
|
|
142487
|
-
isRequired: singlePatternProperty || (0, lodash_1.includes)(
|
|
142487
|
+
isRequired: singlePatternProperty || (0, lodash_1.includes)(schema12.required || [], key2),
|
|
142488
142488
|
isUnreachableDefinition: false,
|
|
142489
142489
|
keyName: singlePatternProperty ? "[k: string]" : key2
|
|
142490
142490
|
};
|
|
142491
142491
|
}));
|
|
142492
142492
|
}
|
|
142493
142493
|
if (options8.unreachableDefinitions) {
|
|
142494
|
-
asts = asts.concat((0, lodash_1.map)(
|
|
142494
|
+
asts = asts.concat((0, lodash_1.map)(schema12.$defs, (value, key2) => {
|
|
142495
142495
|
const ast = parse11(value, options8, key2, processed, usedNames);
|
|
142496
142496
|
const comment = `This interface was referenced by \`${parentSchemaName}\`'s JSON-Schema
|
|
142497
142497
|
via the \`definition\` "${key2}".`;
|
|
@@ -142501,13 +142501,13 @@ ${comment}` : comment;
|
|
|
142501
142501
|
return {
|
|
142502
142502
|
ast,
|
|
142503
142503
|
isPatternProperty: false,
|
|
142504
|
-
isRequired: (0, lodash_1.includes)(
|
|
142504
|
+
isRequired: (0, lodash_1.includes)(schema12.required || [], key2),
|
|
142505
142505
|
isUnreachableDefinition: true,
|
|
142506
142506
|
keyName: key2
|
|
142507
142507
|
};
|
|
142508
142508
|
}));
|
|
142509
142509
|
}
|
|
142510
|
-
switch (
|
|
142510
|
+
switch (schema12.additionalProperties) {
|
|
142511
142511
|
case undefined:
|
|
142512
142512
|
case true:
|
|
142513
142513
|
if (singlePatternProperty) {
|
|
@@ -142524,7 +142524,7 @@ ${comment}` : comment;
|
|
|
142524
142524
|
return asts;
|
|
142525
142525
|
default:
|
|
142526
142526
|
return asts.concat({
|
|
142527
|
-
ast: parse11(
|
|
142527
|
+
ast: parse11(schema12.additionalProperties, options8, "[k: string]", processed, usedNames),
|
|
142528
142528
|
isPatternProperty: false,
|
|
142529
142529
|
isRequired: true,
|
|
142530
142530
|
isUnreachableDefinition: false,
|
|
@@ -142532,22 +142532,22 @@ ${comment}` : comment;
|
|
|
142532
142532
|
});
|
|
142533
142533
|
}
|
|
142534
142534
|
}
|
|
142535
|
-
function getDefinitions(
|
|
142536
|
-
if (processed.has(
|
|
142535
|
+
function getDefinitions(schema12, isSchema = true, processed = new Set) {
|
|
142536
|
+
if (processed.has(schema12)) {
|
|
142537
142537
|
return {};
|
|
142538
142538
|
}
|
|
142539
|
-
processed.add(
|
|
142540
|
-
if (Array.isArray(
|
|
142541
|
-
return
|
|
142539
|
+
processed.add(schema12);
|
|
142540
|
+
if (Array.isArray(schema12)) {
|
|
142541
|
+
return schema12.reduce((prev, cur) => Object.assign(Object.assign({}, prev), getDefinitions(cur, false, processed)), {});
|
|
142542
142542
|
}
|
|
142543
|
-
if ((0, lodash_1.isPlainObject)(
|
|
142544
|
-
return Object.assign(Object.assign({}, isSchema && hasDefinitions(
|
|
142543
|
+
if ((0, lodash_1.isPlainObject)(schema12)) {
|
|
142544
|
+
return Object.assign(Object.assign({}, isSchema && hasDefinitions(schema12) ? schema12.$defs : {}), Object.keys(schema12).reduce((prev, cur) => Object.assign(Object.assign({}, prev), getDefinitions(schema12[cur], false, processed)), {}));
|
|
142545
142545
|
}
|
|
142546
142546
|
return {};
|
|
142547
142547
|
}
|
|
142548
142548
|
var getDefinitionsMemoized = (0, lodash_1.memoize)(getDefinitions);
|
|
142549
|
-
function hasDefinitions(
|
|
142550
|
-
return "$defs" in
|
|
142549
|
+
function hasDefinitions(schema12) {
|
|
142550
|
+
return "$defs" in schema12;
|
|
142551
142551
|
}
|
|
142552
142552
|
});
|
|
142553
142553
|
|
|
@@ -144371,7 +144371,7 @@ var require_normalize_args = __commonJS((exports) => {
|
|
|
144371
144371
|
var options_js_1 = require_options();
|
|
144372
144372
|
function normalizeArgs(_args) {
|
|
144373
144373
|
let path18;
|
|
144374
|
-
let
|
|
144374
|
+
let schema12;
|
|
144375
144375
|
let options8;
|
|
144376
144376
|
let callback;
|
|
144377
144377
|
const args = Array.prototype.slice.call(_args);
|
|
@@ -144381,15 +144381,15 @@ var require_normalize_args = __commonJS((exports) => {
|
|
|
144381
144381
|
if (typeof args[0] === "string") {
|
|
144382
144382
|
path18 = args[0];
|
|
144383
144383
|
if (typeof args[2] === "object") {
|
|
144384
|
-
|
|
144384
|
+
schema12 = args[1];
|
|
144385
144385
|
options8 = args[2];
|
|
144386
144386
|
} else {
|
|
144387
|
-
|
|
144387
|
+
schema12 = undefined;
|
|
144388
144388
|
options8 = args[1];
|
|
144389
144389
|
}
|
|
144390
144390
|
} else {
|
|
144391
144391
|
path18 = "";
|
|
144392
|
-
|
|
144392
|
+
schema12 = args[0];
|
|
144393
144393
|
options8 = args[1];
|
|
144394
144394
|
}
|
|
144395
144395
|
try {
|
|
@@ -144397,12 +144397,12 @@ var require_normalize_args = __commonJS((exports) => {
|
|
|
144397
144397
|
} catch (e8) {
|
|
144398
144398
|
console.error(`JSON Schema Ref Parser: Error normalizing options: ${e8}`);
|
|
144399
144399
|
}
|
|
144400
|
-
if (!options8.mutateInputSchema && typeof
|
|
144401
|
-
|
|
144400
|
+
if (!options8.mutateInputSchema && typeof schema12 === "object") {
|
|
144401
|
+
schema12 = JSON.parse(JSON.stringify(schema12));
|
|
144402
144402
|
}
|
|
144403
144403
|
return {
|
|
144404
144404
|
path: path18,
|
|
144405
|
-
schema:
|
|
144405
|
+
schema: schema12,
|
|
144406
144406
|
options: options8,
|
|
144407
144407
|
callback
|
|
144408
144408
|
};
|
|
@@ -145191,12 +145191,12 @@ var require_resolver = __commonJS((exports) => {
|
|
|
145191
145191
|
var json_schema_ref_parser_1 = require_lib3();
|
|
145192
145192
|
var utils_1 = require_utils7();
|
|
145193
145193
|
function dereference(schema_1, _a7) {
|
|
145194
|
-
return __awaiter(this, arguments, undefined, function* (
|
|
145195
|
-
(0, utils_1.log)("green", "dereferencer", "Dereferencing input schema:", cwd,
|
|
145194
|
+
return __awaiter(this, arguments, undefined, function* (schema12, { cwd, $refOptions }) {
|
|
145195
|
+
(0, utils_1.log)("green", "dereferencer", "Dereferencing input schema:", cwd, schema12);
|
|
145196
145196
|
const parser2 = new json_schema_ref_parser_1.$RefParser;
|
|
145197
145197
|
const dereferencedPaths = new WeakMap;
|
|
145198
|
-
const dereferencedSchema = yield parser2.dereference(cwd,
|
|
145199
|
-
dereferencedPaths.set(
|
|
145198
|
+
const dereferencedSchema = yield parser2.dereference(cwd, schema12, Object.assign(Object.assign({}, $refOptions), { dereference: Object.assign(Object.assign({}, $refOptions.dereference), { onDereference($ref, schema13) {
|
|
145199
|
+
dereferencedPaths.set(schema13, $ref);
|
|
145200
145200
|
} }) }));
|
|
145201
145201
|
return { dereferencedPaths, dereferencedSchema };
|
|
145202
145202
|
});
|
|
@@ -145210,46 +145210,46 @@ var require_validator = __commonJS((exports) => {
|
|
|
145210
145210
|
exports.validate = undefined;
|
|
145211
145211
|
var utils_1 = require_utils7();
|
|
145212
145212
|
var rules = new Map;
|
|
145213
|
-
rules.set("Enum members and tsEnumNames must be of the same length", (
|
|
145214
|
-
if (
|
|
145213
|
+
rules.set("Enum members and tsEnumNames must be of the same length", (schema12) => {
|
|
145214
|
+
if (schema12.enum && schema12.tsEnumNames && schema12.enum.length !== schema12.tsEnumNames.length) {
|
|
145215
145215
|
return false;
|
|
145216
145216
|
}
|
|
145217
145217
|
});
|
|
145218
|
-
rules.set("tsEnumNames must be an array of strings", (
|
|
145219
|
-
if (
|
|
145218
|
+
rules.set("tsEnumNames must be an array of strings", (schema12) => {
|
|
145219
|
+
if (schema12.tsEnumNames && schema12.tsEnumNames.some((_10) => typeof _10 !== "string")) {
|
|
145220
145220
|
return false;
|
|
145221
145221
|
}
|
|
145222
145222
|
});
|
|
145223
|
-
rules.set("When both maxItems and minItems are present, maxItems >= minItems", (
|
|
145224
|
-
const { maxItems, minItems } =
|
|
145223
|
+
rules.set("When both maxItems and minItems are present, maxItems >= minItems", (schema12) => {
|
|
145224
|
+
const { maxItems, minItems } = schema12;
|
|
145225
145225
|
if (typeof maxItems === "number" && typeof minItems === "number") {
|
|
145226
145226
|
return maxItems >= minItems;
|
|
145227
145227
|
}
|
|
145228
145228
|
});
|
|
145229
|
-
rules.set("When maxItems exists, maxItems >= 0", (
|
|
145230
|
-
const { maxItems } =
|
|
145229
|
+
rules.set("When maxItems exists, maxItems >= 0", (schema12) => {
|
|
145230
|
+
const { maxItems } = schema12;
|
|
145231
145231
|
if (typeof maxItems === "number") {
|
|
145232
145232
|
return maxItems >= 0;
|
|
145233
145233
|
}
|
|
145234
145234
|
});
|
|
145235
|
-
rules.set("When minItems exists, minItems >= 0", (
|
|
145236
|
-
const { minItems } =
|
|
145235
|
+
rules.set("When minItems exists, minItems >= 0", (schema12) => {
|
|
145236
|
+
const { minItems } = schema12;
|
|
145237
145237
|
if (typeof minItems === "number") {
|
|
145238
145238
|
return minItems >= 0;
|
|
145239
145239
|
}
|
|
145240
145240
|
});
|
|
145241
|
-
rules.set("deprecated must be a boolean", (
|
|
145242
|
-
const typeOfDeprecated = typeof
|
|
145241
|
+
rules.set("deprecated must be a boolean", (schema12) => {
|
|
145242
|
+
const typeOfDeprecated = typeof schema12.deprecated;
|
|
145243
145243
|
return typeOfDeprecated === "boolean" || typeOfDeprecated === "undefined";
|
|
145244
145244
|
});
|
|
145245
|
-
function validate2(
|
|
145245
|
+
function validate2(schema12, filename) {
|
|
145246
145246
|
const errors5 = [];
|
|
145247
145247
|
rules.forEach((rule, ruleName) => {
|
|
145248
|
-
(0, utils_1.traverse)(
|
|
145249
|
-
if (rule(
|
|
145248
|
+
(0, utils_1.traverse)(schema12, (schema13, key2) => {
|
|
145249
|
+
if (rule(schema13) === false) {
|
|
145250
145250
|
errors5.push(`Error at key "${key2}" in file "${filename}": ${ruleName}`);
|
|
145251
145251
|
}
|
|
145252
|
-
return
|
|
145252
|
+
return schema13;
|
|
145253
145253
|
});
|
|
145254
145254
|
});
|
|
145255
145255
|
return errors5;
|
|
@@ -145263,25 +145263,25 @@ var require_linker = __commonJS((exports) => {
|
|
|
145263
145263
|
exports.link = undefined;
|
|
145264
145264
|
var JSONSchema_1 = require_JSONSchema();
|
|
145265
145265
|
var lodash_1 = require_lodash8();
|
|
145266
|
-
function link2(
|
|
145267
|
-
if (!Array.isArray(
|
|
145268
|
-
return
|
|
145266
|
+
function link2(schema12, parent = null) {
|
|
145267
|
+
if (!Array.isArray(schema12) && !(0, lodash_1.isPlainObject)(schema12)) {
|
|
145268
|
+
return schema12;
|
|
145269
145269
|
}
|
|
145270
|
-
if (
|
|
145271
|
-
return
|
|
145270
|
+
if (schema12.hasOwnProperty(JSONSchema_1.Parent)) {
|
|
145271
|
+
return schema12;
|
|
145272
145272
|
}
|
|
145273
|
-
Object.defineProperty(
|
|
145273
|
+
Object.defineProperty(schema12, JSONSchema_1.Parent, {
|
|
145274
145274
|
enumerable: false,
|
|
145275
145275
|
value: parent,
|
|
145276
145276
|
writable: false
|
|
145277
145277
|
});
|
|
145278
|
-
if (Array.isArray(
|
|
145279
|
-
|
|
145278
|
+
if (Array.isArray(schema12)) {
|
|
145279
|
+
schema12.forEach((child) => link2(child, schema12));
|
|
145280
145280
|
}
|
|
145281
|
-
for (const key2 in
|
|
145282
|
-
link2(
|
|
145281
|
+
for (const key2 in schema12) {
|
|
145282
|
+
link2(schema12[key2], schema12);
|
|
145283
145283
|
}
|
|
145284
|
-
return
|
|
145284
|
+
return schema12;
|
|
145285
145285
|
}
|
|
145286
145286
|
exports.link = link2;
|
|
145287
145287
|
});
|
|
@@ -145373,8 +145373,8 @@ var require_src3 = __commonJS((exports) => {
|
|
|
145373
145373
|
unknownAny: true
|
|
145374
145374
|
};
|
|
145375
145375
|
function compileFromFile(filename, options8 = exports.DEFAULT_OPTIONS) {
|
|
145376
|
-
const
|
|
145377
|
-
return compile(
|
|
145376
|
+
const schema12 = parseAsJSONSchema(filename);
|
|
145377
|
+
return compile(schema12, (0, utils_1.stripExtension)(filename), Object.assign({ cwd: (0, path_1.dirname)(filename) }, options8));
|
|
145378
145378
|
}
|
|
145379
145379
|
exports.compileFromFile = compileFromFile;
|
|
145380
145380
|
function parseAsJSONSchema(filename) {
|
|
@@ -145384,7 +145384,7 @@ var require_src3 = __commonJS((exports) => {
|
|
|
145384
145384
|
return (0, utils_1.parseFileAsJSONSchema)(filename, contents.toString());
|
|
145385
145385
|
}
|
|
145386
145386
|
function compile(schema_1, name_1) {
|
|
145387
|
-
return __awaiter(this, arguments, undefined, function* (
|
|
145387
|
+
return __awaiter(this, arguments, undefined, function* (schema12, name2, options8 = {}) {
|
|
145388
145388
|
(0, optionValidator_1.validateOptions)(options8);
|
|
145389
145389
|
const _options = (0, lodash_1.merge)({}, exports.DEFAULT_OPTIONS, options8);
|
|
145390
145390
|
const start = Date.now();
|
|
@@ -145394,7 +145394,7 @@ var require_src3 = __commonJS((exports) => {
|
|
|
145394
145394
|
if (!(0, lodash_1.endsWith)(_options.cwd, "/")) {
|
|
145395
145395
|
_options.cwd += "/";
|
|
145396
145396
|
}
|
|
145397
|
-
const _schema = (0, lodash_1.cloneDeep)(
|
|
145397
|
+
const _schema = (0, lodash_1.cloneDeep)(schema12);
|
|
145398
145398
|
const { dereferencedPaths, dereferencedSchema } = yield (0, resolver_1.dereference)(_schema, _options);
|
|
145399
145399
|
if (process.env.VERBOSE) {
|
|
145400
145400
|
if ((0, util_1.isDeepStrictEqual)(_schema, dereferencedSchema)) {
|
|
@@ -146124,7 +146124,7 @@ __export(exports_supports_color, {
|
|
|
146124
146124
|
createSupportsColor: () => createSupportsColor2
|
|
146125
146125
|
});
|
|
146126
146126
|
import process21 from "node:process";
|
|
146127
|
-
import
|
|
146127
|
+
import os10 from "node:os";
|
|
146128
146128
|
import tty4 from "node:tty";
|
|
146129
146129
|
function hasFlag2(flag, argv = globalThis.Deno ? globalThis.Deno.args : process21.argv) {
|
|
146130
146130
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
@@ -146190,7 +146190,7 @@ function _supportsColor2(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
146190
146190
|
return min;
|
|
146191
146191
|
}
|
|
146192
146192
|
if (process21.platform === "win32") {
|
|
146193
|
-
const osRelease =
|
|
146193
|
+
const osRelease = os10.release().split(".");
|
|
146194
146194
|
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
146195
146195
|
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
146196
146196
|
}
|
|
@@ -164110,7 +164110,7 @@ var require_view = __commonJS((exports, module) => {
|
|
|
164110
164110
|
var path18 = __require("node:path");
|
|
164111
164111
|
var fs28 = __require("node:fs");
|
|
164112
164112
|
var dirname20 = path18.dirname;
|
|
164113
|
-
var
|
|
164113
|
+
var basename7 = path18.basename;
|
|
164114
164114
|
var extname2 = path18.extname;
|
|
164115
164115
|
var join29 = path18.join;
|
|
164116
164116
|
var resolve13 = path18.resolve;
|
|
@@ -164149,7 +164149,7 @@ var require_view = __commonJS((exports, module) => {
|
|
|
164149
164149
|
var root2 = roots[i5];
|
|
164150
164150
|
var loc = resolve13(root2, name2);
|
|
164151
164151
|
var dir = dirname20(loc);
|
|
164152
|
-
var file2 =
|
|
164152
|
+
var file2 = basename7(loc);
|
|
164153
164153
|
path19 = this.resolve(dir, file2);
|
|
164154
164154
|
}
|
|
164155
164155
|
return path19;
|
|
@@ -164179,7 +164179,7 @@ var require_view = __commonJS((exports, module) => {
|
|
|
164179
164179
|
if (stat3 && stat3.isFile()) {
|
|
164180
164180
|
return path19;
|
|
164181
164181
|
}
|
|
164182
|
-
path19 = join29(dir,
|
|
164182
|
+
path19 = join29(dir, basename7(file2, ext), "index" + ext);
|
|
164183
164183
|
stat3 = tryStat(path19);
|
|
164184
164184
|
if (stat3 && stat3.isFile()) {
|
|
164185
164185
|
return path19;
|
|
@@ -167500,7 +167500,7 @@ var require_content_disposition = __commonJS((exports, module) => {
|
|
|
167500
167500
|
*/
|
|
167501
167501
|
module.exports = contentDisposition;
|
|
167502
167502
|
module.exports.parse = parse11;
|
|
167503
|
-
var
|
|
167503
|
+
var basename7 = __require("path").basename;
|
|
167504
167504
|
var ENCODE_URL_ATTR_CHAR_REGEXP = /[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g;
|
|
167505
167505
|
var HEX_ESCAPE_REGEXP = /%[0-9A-Fa-f]{2}/;
|
|
167506
167506
|
var HEX_ESCAPE_REPLACE_REGEXP = /%([0-9A-Fa-f]{2})/g;
|
|
@@ -167535,9 +167535,9 @@ var require_content_disposition = __commonJS((exports, module) => {
|
|
|
167535
167535
|
if (typeof fallback === "string" && NON_LATIN1_REGEXP.test(fallback)) {
|
|
167536
167536
|
throw new TypeError("fallback must be ISO-8859-1 string");
|
|
167537
167537
|
}
|
|
167538
|
-
var name2 =
|
|
167538
|
+
var name2 = basename7(filename);
|
|
167539
167539
|
var isQuotedString = TEXT_REGEXP.test(name2);
|
|
167540
|
-
var fallbackName = typeof fallback !== "string" ? fallback && getlatin1(name2) :
|
|
167540
|
+
var fallbackName = typeof fallback !== "string" ? fallback && getlatin1(name2) : basename7(fallback);
|
|
167541
167541
|
var hasFallback = typeof fallbackName === "string" && fallbackName !== name2;
|
|
167542
167542
|
if (hasFallback || !isQuotedString || HEX_ESCAPE_REGEXP.test(name2)) {
|
|
167543
167543
|
params["filename*"] = name2;
|
|
@@ -171168,15 +171168,15 @@ var require_tmp = __commonJS((exports, module) => {
|
|
|
171168
171168
|
* MIT Licensed
|
|
171169
171169
|
*/
|
|
171170
171170
|
var fs28 = __require("fs");
|
|
171171
|
-
var
|
|
171171
|
+
var os12 = __require("os");
|
|
171172
171172
|
var path18 = __require("path");
|
|
171173
171173
|
var crypto = __require("crypto");
|
|
171174
|
-
var _c3 = { fs: fs28.constants, os:
|
|
171174
|
+
var _c3 = { fs: fs28.constants, os: os12.constants };
|
|
171175
171175
|
var RANDOM_CHARS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
171176
171176
|
var TEMPLATE_PATTERN = /XXXXXX/;
|
|
171177
171177
|
var DEFAULT_TRIES = 3;
|
|
171178
171178
|
var CREATE_FLAGS = (_c3.O_CREAT || _c3.fs.O_CREAT) | (_c3.O_EXCL || _c3.fs.O_EXCL) | (_c3.O_RDWR || _c3.fs.O_RDWR);
|
|
171179
|
-
var IS_WIN32 =
|
|
171179
|
+
var IS_WIN32 = os12.platform() === "win32";
|
|
171180
171180
|
var EBADF = _c3.EBADF || _c3.os.errno.EBADF;
|
|
171181
171181
|
var ENOENT = _c3.ENOENT || _c3.os.errno.ENOENT;
|
|
171182
171182
|
var DIR_MODE = 448;
|
|
@@ -171434,8 +171434,8 @@ var require_tmp = __commonJS((exports, module) => {
|
|
|
171434
171434
|
const name2 = options8.name;
|
|
171435
171435
|
if (path18.isAbsolute(name2))
|
|
171436
171436
|
throw new Error(`name option must not contain an absolute path, found "${name2}".`);
|
|
171437
|
-
const
|
|
171438
|
-
if (
|
|
171437
|
+
const basename7 = path18.basename(name2);
|
|
171438
|
+
if (basename7 === ".." || basename7 === "." || basename7 !== name2)
|
|
171439
171439
|
throw new Error(`name option must not contain a path, found "${name2}".`);
|
|
171440
171440
|
}
|
|
171441
171441
|
if (!_isUndefined(options8.template) && !options8.template.match(TEMPLATE_PATTERN)) {
|
|
@@ -171519,10 +171519,10 @@ var require_tmp = __commonJS((exports, module) => {
|
|
|
171519
171519
|
_gracefulCleanup = true;
|
|
171520
171520
|
}
|
|
171521
171521
|
function _getTmpDir(options8, cb2) {
|
|
171522
|
-
return fs28.realpath(options8 && options8.tmpdir ||
|
|
171522
|
+
return fs28.realpath(options8 && options8.tmpdir || os12.tmpdir(), cb2);
|
|
171523
171523
|
}
|
|
171524
171524
|
function _getTmpDirSync(options8) {
|
|
171525
|
-
return fs28.realpathSync(options8 && options8.tmpdir ||
|
|
171525
|
+
return fs28.realpathSync(options8 && options8.tmpdir || os12.tmpdir());
|
|
171526
171526
|
}
|
|
171527
171527
|
process.addListener(EXIT, _garbageCollector);
|
|
171528
171528
|
Object.defineProperty(exports, "tmpdir", {
|
|
@@ -213566,7 +213566,7 @@ var require_utils12 = __commonJS((exports, module) => {
|
|
|
213566
213566
|
if (decode4)
|
|
213567
213567
|
return decode4(data, hint);
|
|
213568
213568
|
}
|
|
213569
|
-
function
|
|
213569
|
+
function basename7(path18) {
|
|
213570
213570
|
if (typeof path18 !== "string")
|
|
213571
213571
|
return "";
|
|
213572
213572
|
for (let i5 = path18.length - 1;i5 >= 0; --i5) {
|
|
@@ -214870,7 +214870,7 @@ var require_utils12 = __commonJS((exports, module) => {
|
|
|
214870
214870
|
-1
|
|
214871
214871
|
];
|
|
214872
214872
|
module.exports = {
|
|
214873
|
-
basename:
|
|
214873
|
+
basename: basename7,
|
|
214874
214874
|
convertToUTF8,
|
|
214875
214875
|
getDecoder,
|
|
214876
214876
|
parseContentType,
|
|
@@ -215278,7 +215278,7 @@ var require_multipart = __commonJS((exports, module) => {
|
|
|
215278
215278
|
var { Readable: Readable6, Writable: Writable4 } = __require("stream");
|
|
215279
215279
|
var StreamSearch = require_sbmh();
|
|
215280
215280
|
var {
|
|
215281
|
-
basename:
|
|
215281
|
+
basename: basename7,
|
|
215282
215282
|
convertToUTF8,
|
|
215283
215283
|
getDecoder,
|
|
215284
215284
|
parseContentType,
|
|
@@ -215540,7 +215540,7 @@ var require_multipart = __commonJS((exports, module) => {
|
|
|
215540
215540
|
else if (disp.params.filename)
|
|
215541
215541
|
filename = disp.params.filename;
|
|
215542
215542
|
if (filename !== undefined && !preservePath)
|
|
215543
|
-
filename =
|
|
215543
|
+
filename = basename7(filename);
|
|
215544
215544
|
}
|
|
215545
215545
|
if (header2["content-type"]) {
|
|
215546
215546
|
const conType = parseContentType(header2["content-type"][0]);
|
|
@@ -217441,7 +217441,7 @@ var require_mkdirp = __commonJS((exports, module) => {
|
|
|
217441
217441
|
// ../../node_modules/multer/storage/disk.js
|
|
217442
217442
|
var require_disk = __commonJS((exports, module) => {
|
|
217443
217443
|
var fs28 = __require("fs");
|
|
217444
|
-
var
|
|
217444
|
+
var os12 = __require("os");
|
|
217445
217445
|
var path18 = __require("path");
|
|
217446
217446
|
var crypto2 = __require("crypto");
|
|
217447
217447
|
var mkdirp = require_mkdirp();
|
|
@@ -217451,7 +217451,7 @@ var require_disk = __commonJS((exports, module) => {
|
|
|
217451
217451
|
});
|
|
217452
217452
|
}
|
|
217453
217453
|
function getDestination2(req, file2, cb2) {
|
|
217454
|
-
cb2(null,
|
|
217454
|
+
cb2(null, os12.tmpdir());
|
|
217455
217455
|
}
|
|
217456
217456
|
function DiskStorage(opts) {
|
|
217457
217457
|
this.getFilename = opts.filename || getFilename;
|
|
@@ -221535,7 +221535,7 @@ var PASSTHROUGH_LISTENERS_COUNT = 2;
|
|
|
221535
221535
|
var PASSTHROUGH_LISTENERS_PER_STREAM = 1;
|
|
221536
221536
|
|
|
221537
221537
|
// ../../node_modules/globby/index.js
|
|
221538
|
-
var
|
|
221538
|
+
var import_fast_glob3 = __toESM(require_out4(), 1);
|
|
221539
221539
|
|
|
221540
221540
|
// ../../node_modules/unicorn-magic/node.js
|
|
221541
221541
|
import { promisify } from "node:util";
|
|
@@ -221548,12 +221548,13 @@ function toPath(urlOrPath) {
|
|
|
221548
221548
|
var TEN_MEGABYTES_IN_BYTES = 10 * 1024 * 1024;
|
|
221549
221549
|
|
|
221550
221550
|
// ../../node_modules/globby/ignore.js
|
|
221551
|
-
var
|
|
221552
|
-
var
|
|
221551
|
+
var import_fast_glob2 = __toESM(require_out4(), 1);
|
|
221552
|
+
var import_ignore2 = __toESM(require_ignore(), 1);
|
|
221553
221553
|
import process2 from "node:process";
|
|
221554
221554
|
import fs2 from "node:fs";
|
|
221555
221555
|
import fsPromises from "node:fs/promises";
|
|
221556
221556
|
import path3 from "node:path";
|
|
221557
|
+
import os from "node:os";
|
|
221557
221558
|
|
|
221558
221559
|
// ../../node_modules/is-path-inside/index.js
|
|
221559
221560
|
import path from "node:path";
|
|
@@ -221572,11 +221573,56 @@ function slash(path2) {
|
|
|
221572
221573
|
}
|
|
221573
221574
|
|
|
221574
221575
|
// ../../node_modules/globby/utilities.js
|
|
221576
|
+
var import_fast_glob = __toESM(require_out4(), 1);
|
|
221577
|
+
var import_ignore = __toESM(require_ignore(), 1);
|
|
221575
221578
|
import fs from "node:fs";
|
|
221576
221579
|
import path2 from "node:path";
|
|
221577
221580
|
import { promisify as promisify2 } from "node:util";
|
|
221578
221581
|
var isNegativePattern = (pattern) => pattern[0] === "!";
|
|
221579
|
-
var normalizeAbsolutePatternToRelative = (pattern) =>
|
|
221582
|
+
var normalizeAbsolutePatternToRelative = (pattern) => {
|
|
221583
|
+
if (!pattern.startsWith("/")) {
|
|
221584
|
+
return pattern;
|
|
221585
|
+
}
|
|
221586
|
+
const inner = pattern.slice(1);
|
|
221587
|
+
const firstSlashIndex = inner.indexOf("/");
|
|
221588
|
+
const firstSegment = firstSlashIndex > 0 ? inner.slice(0, firstSlashIndex) : inner;
|
|
221589
|
+
if (firstSlashIndex > 0 && !import_fast_glob.default.isDynamicPattern(firstSegment)) {
|
|
221590
|
+
return pattern;
|
|
221591
|
+
}
|
|
221592
|
+
return inner;
|
|
221593
|
+
};
|
|
221594
|
+
var absolutePrefixesMatch = (positivePrefix, negativePrefix) => negativePrefix === positivePrefix;
|
|
221595
|
+
var getStaticAbsolutePathPrefix = (pattern) => {
|
|
221596
|
+
if (!path2.isAbsolute(pattern)) {
|
|
221597
|
+
return;
|
|
221598
|
+
}
|
|
221599
|
+
const staticSegments = [];
|
|
221600
|
+
for (const segment of pattern.split("/")) {
|
|
221601
|
+
if (!segment) {
|
|
221602
|
+
continue;
|
|
221603
|
+
}
|
|
221604
|
+
if (import_fast_glob.default.isDynamicPattern(segment)) {
|
|
221605
|
+
break;
|
|
221606
|
+
}
|
|
221607
|
+
staticSegments.push(segment);
|
|
221608
|
+
}
|
|
221609
|
+
return staticSegments.length === 0 ? undefined : `/${staticSegments.join("/")}`;
|
|
221610
|
+
};
|
|
221611
|
+
var normalizeNegativePattern = (pattern, positiveAbsolutePathPrefixes = [], hasRelativePositivePattern = false) => {
|
|
221612
|
+
if (!pattern.startsWith("/")) {
|
|
221613
|
+
return pattern;
|
|
221614
|
+
}
|
|
221615
|
+
const normalizedPattern = normalizeAbsolutePatternToRelative(pattern);
|
|
221616
|
+
if (normalizedPattern !== pattern) {
|
|
221617
|
+
return normalizedPattern;
|
|
221618
|
+
}
|
|
221619
|
+
if (hasRelativePositivePattern) {
|
|
221620
|
+
return pattern.slice(1);
|
|
221621
|
+
}
|
|
221622
|
+
const negativeAbsolutePathPrefix = getStaticAbsolutePathPrefix(pattern);
|
|
221623
|
+
const preserveAsAbsolutePattern = negativeAbsolutePathPrefix !== undefined && positiveAbsolutePathPrefixes.some((positiveAbsolutePathPrefix) => absolutePrefixesMatch(positiveAbsolutePathPrefix, negativeAbsolutePathPrefix));
|
|
221624
|
+
return preserveAsAbsolutePattern ? pattern : pattern.slice(1);
|
|
221625
|
+
};
|
|
221580
221626
|
var bindFsMethod = (object, methodName) => {
|
|
221581
221627
|
const method = object?.[methodName];
|
|
221582
221628
|
return typeof method === "function" ? method.bind(object) : undefined;
|
|
@@ -221727,21 +221773,111 @@ var getParentGitignorePaths = (gitRoot, cwd) => {
|
|
|
221727
221773
|
const chain = buildPathChain(path2.resolve(cwd), path2.resolve(gitRoot));
|
|
221728
221774
|
return [...chain].reverse().map((directory) => path2.join(directory, ".gitignore"));
|
|
221729
221775
|
};
|
|
221730
|
-
var
|
|
221731
|
-
|
|
221732
|
-
|
|
221776
|
+
var GITIGNORE_WILDCARDS = /(?<!\\)[*?[]/u;
|
|
221777
|
+
var hasGitignoreWildcards = (value) => GITIGNORE_WILDCARDS.test(value);
|
|
221778
|
+
var MICROMATCH_ONLY_SYNTAX = /[(){}|\\]/u;
|
|
221779
|
+
var unescapeGitignorePattern = (value) => value.replaceAll(/\\(.)/gu, "$1");
|
|
221780
|
+
var toLiteralPattern = (value) => import_fast_glob.default.escapePath(unescapeGitignorePattern(value));
|
|
221781
|
+
var finalSegment = (value) => value.replace(/\/+$/u, "").split("/").pop();
|
|
221782
|
+
var isInsideCwd = (relativePath) => relativePath !== "" && !relativePath.startsWith("..") && !path2.isAbsolute(relativePath);
|
|
221783
|
+
var anchorToCwd = (directory, body, cwd) => {
|
|
221784
|
+
const relativePath = slash(path2.relative(cwd, path2.join(directory, body)));
|
|
221785
|
+
return isInsideCwd(relativePath) ? relativePath : undefined;
|
|
221786
|
+
};
|
|
221787
|
+
var createNameComparer = () => {
|
|
221788
|
+
const nameMatchers = new Map;
|
|
221789
|
+
const matchesName = (pattern, name) => {
|
|
221790
|
+
let nameMatcher = nameMatchers.get(pattern);
|
|
221791
|
+
if (!nameMatcher) {
|
|
221792
|
+
nameMatcher = import_ignore.default().add([pattern]);
|
|
221793
|
+
nameMatchers.set(pattern, nameMatcher);
|
|
221794
|
+
}
|
|
221795
|
+
return nameMatcher.ignores(name);
|
|
221796
|
+
};
|
|
221797
|
+
return (pattern, name) => {
|
|
221798
|
+
if (hasGitignoreWildcards(pattern) && hasGitignoreWildcards(name)) {
|
|
221799
|
+
return true;
|
|
221800
|
+
}
|
|
221801
|
+
return hasGitignoreWildcards(name) ? matchesName(name, pattern) : matchesName(pattern, name);
|
|
221802
|
+
};
|
|
221803
|
+
};
|
|
221804
|
+
var getNegationFinalSegments = (rules) => rules.filter((rule) => isNegativePattern(rule.pattern)).map((rule) => finalSegment(rule.pattern.slice(1))).filter(Boolean);
|
|
221805
|
+
var negationsCouldRescue = (rules, names) => {
|
|
221806
|
+
if (names.length === 0) {
|
|
221807
|
+
return false;
|
|
221733
221808
|
}
|
|
221734
|
-
const
|
|
221735
|
-
|
|
221736
|
-
|
|
221737
|
-
|
|
221738
|
-
|
|
221739
|
-
|
|
221809
|
+
const couldNameTheSamePath = createNameComparer();
|
|
221810
|
+
return getNegationFinalSegments(rules).some((negation) => names.some((name) => couldNameTheSamePath(name, negation)));
|
|
221811
|
+
};
|
|
221812
|
+
var getRulePrune = ({ pattern, directory }, { cwd, matcher, hasNegations, canSkipAtAnyDepth, canMatchIgnoreFile, gitignoreOnlySearch }) => {
|
|
221813
|
+
if (isNegativePattern(pattern)) {
|
|
221814
|
+
return;
|
|
221815
|
+
}
|
|
221816
|
+
const isDirectoryPattern = pattern.endsWith("/");
|
|
221817
|
+
const clean = pattern.replace(/\/+$/u, "");
|
|
221818
|
+
if (!clean) {
|
|
221819
|
+
return;
|
|
221820
|
+
}
|
|
221821
|
+
const body = clean.startsWith("**/") && !clean.slice(3).includes("/") ? clean.slice(3) : clean;
|
|
221822
|
+
if (canMatchIgnoreFile(finalSegment(body))) {
|
|
221823
|
+
return;
|
|
221824
|
+
}
|
|
221825
|
+
const isGlob = hasGitignoreWildcards(body);
|
|
221826
|
+
if (isGlob && MICROMATCH_ONLY_SYNTAX.test(body)) {
|
|
221827
|
+
return;
|
|
221828
|
+
}
|
|
221829
|
+
const toFastGlob = (value) => normalizeDirectoryPatternForFastGlob(`/${value}${isDirectoryPattern ? "/" : ""}`).replace(/^\//u, "");
|
|
221830
|
+
if (!body.includes("/") && canSkipAtAnyDepth(body)) {
|
|
221831
|
+
const relativeDirectory = slash(path2.relative(cwd, directory));
|
|
221832
|
+
const prefix = isInsideCwd(relativeDirectory) ? `${import_fast_glob.default.escapePath(relativeDirectory)}/` : "";
|
|
221833
|
+
return { pattern: toFastGlob(`${prefix}**/${isGlob ? body : toLiteralPattern(body)}`), guardName: body };
|
|
221834
|
+
}
|
|
221835
|
+
const anchoredBody = body.replace(/^\//u, "");
|
|
221836
|
+
const target = anchorToCwd(directory, isGlob ? anchoredBody : unescapeGitignorePattern(anchoredBody), cwd);
|
|
221837
|
+
if (target === undefined) {
|
|
221838
|
+
return;
|
|
221839
|
+
}
|
|
221840
|
+
if (isGlob) {
|
|
221841
|
+
return hasNegations ? undefined : { pattern: toFastGlob(target), guardName: finalSegment(target) };
|
|
221842
|
+
}
|
|
221843
|
+
if (!matcher(path2.resolve(cwd, target) + path2.sep).ignored) {
|
|
221844
|
+
return;
|
|
221845
|
+
}
|
|
221846
|
+
const needsGuard = !gitignoreOnlySearch || target.includes("/");
|
|
221847
|
+
return {
|
|
221848
|
+
pattern: toFastGlob(import_fast_glob.default.escapePath(target)),
|
|
221849
|
+
guardName: needsGuard ? finalSegment(target) : undefined
|
|
221850
|
+
};
|
|
221851
|
+
};
|
|
221852
|
+
var buildPrunePatternsAndGuards = (rules, matcher, cwd, { gitignoreOnlySearch = false, searchesForGitignoreFiles = false } = {}) => {
|
|
221853
|
+
if (!matcher || !cwd || !rules || rules.length === 0) {
|
|
221854
|
+
return { patterns: [], guardNames: [] };
|
|
221855
|
+
}
|
|
221856
|
+
const negationNames = getNegationFinalSegments(rules);
|
|
221857
|
+
const couldNameTheSamePath = createNameComparer();
|
|
221858
|
+
const context = {
|
|
221859
|
+
cwd,
|
|
221860
|
+
matcher,
|
|
221861
|
+
hasNegations: negationNames.length > 0,
|
|
221862
|
+
canSkipAtAnyDepth: (pattern) => !negationNames.some((name) => couldNameTheSamePath(pattern, name)),
|
|
221863
|
+
canMatchIgnoreFile: (pattern) => searchesForGitignoreFiles && couldNameTheSamePath(pattern, ".gitignore"),
|
|
221864
|
+
gitignoreOnlySearch
|
|
221865
|
+
};
|
|
221866
|
+
const patterns = [];
|
|
221867
|
+
const guardNames = [];
|
|
221868
|
+
for (const rule of rules) {
|
|
221869
|
+
const prune = getRulePrune(rule, context);
|
|
221870
|
+
if (!prune) {
|
|
221871
|
+
continue;
|
|
221872
|
+
}
|
|
221873
|
+
patterns.push(prune.pattern);
|
|
221874
|
+
if (prune.guardName !== undefined) {
|
|
221875
|
+
guardNames.push(prune.guardName);
|
|
221740
221876
|
}
|
|
221741
|
-
result.push(normalizeDirectoryPatternForFastGlob2(pattern));
|
|
221742
221877
|
}
|
|
221743
|
-
return
|
|
221878
|
+
return { patterns, guardNames };
|
|
221744
221879
|
};
|
|
221880
|
+
var convertPatternsForFastGlob = (rules, matcher, cwd) => buildPrunePatternsAndGuards(rules, matcher, cwd).patterns;
|
|
221745
221881
|
|
|
221746
221882
|
// ../../node_modules/globby/ignore.js
|
|
221747
221883
|
var defaultIgnoredDirectories = [
|
|
@@ -221755,6 +221891,7 @@ var ignoreFilesGlobOptions = {
|
|
|
221755
221891
|
dot: true
|
|
221756
221892
|
};
|
|
221757
221893
|
var GITIGNORE_FILES_PATTERN = "**/.gitignore";
|
|
221894
|
+
var MAX_INCLUDE_DEPTH = 10;
|
|
221758
221895
|
var getReadFileMethod = (fsImplementation) => bindFsMethod(fsImplementation?.promises, "readFile") ?? bindFsMethod(fsPromises, "readFile") ?? promisifyFsMethod(fsImplementation, "readFile");
|
|
221759
221896
|
var getReadFileSyncMethod = (fsImplementation) => bindFsMethod(fsImplementation, "readFileSync") ?? bindFsMethod(fs2, "readFileSync");
|
|
221760
221897
|
var shouldSkipIgnoreFileError = (error, suppressErrors) => {
|
|
@@ -221766,13 +221903,15 @@ var shouldSkipIgnoreFileError = (error, suppressErrors) => {
|
|
|
221766
221903
|
}
|
|
221767
221904
|
return Boolean(suppressErrors);
|
|
221768
221905
|
};
|
|
221769
|
-
var
|
|
221906
|
+
var createReadError = (kind, filePath, error) => {
|
|
221907
|
+
const prefix = `Failed to read ${kind} at ${filePath}`;
|
|
221770
221908
|
if (error instanceof Error) {
|
|
221771
|
-
|
|
221772
|
-
return error;
|
|
221909
|
+
return new Error(`${prefix}: ${error.message}`, { cause: error });
|
|
221773
221910
|
}
|
|
221774
|
-
return new Error(
|
|
221911
|
+
return new Error(`${prefix}: ${String(error)}`);
|
|
221775
221912
|
};
|
|
221913
|
+
var createIgnoreFileReadError = (filePath, error) => createReadError("ignore file", filePath, error);
|
|
221914
|
+
var createGitConfigReadError = (filePath, error) => createReadError("git config", filePath, error);
|
|
221776
221915
|
var processIgnoreFileCore = (filePath, readMethod, suppressErrors) => {
|
|
221777
221916
|
try {
|
|
221778
221917
|
const content = readMethod(filePath, "utf8");
|
|
@@ -221813,17 +221952,35 @@ var globIgnoreFiles = (globFunction, patterns, normalizedOptions) => globFunctio
|
|
|
221813
221952
|
...normalizedOptions,
|
|
221814
221953
|
...ignoreFilesGlobOptions
|
|
221815
221954
|
});
|
|
221816
|
-
var
|
|
221817
|
-
|
|
221818
|
-
|
|
221819
|
-
|
|
221820
|
-
|
|
221955
|
+
var normalizeIgnoreFileLine = (line) => {
|
|
221956
|
+
line = line.replace(/^\uFEFF/u, "");
|
|
221957
|
+
let whitespaceStart = line.length;
|
|
221958
|
+
while (whitespaceStart > 0 && /\s/u.test(line[whitespaceStart - 1])) {
|
|
221959
|
+
whitespaceStart--;
|
|
221960
|
+
}
|
|
221961
|
+
if (whitespaceStart === line.length) {
|
|
221962
|
+
return line;
|
|
221963
|
+
}
|
|
221964
|
+
let backslashCount = 0;
|
|
221965
|
+
for (let index = whitespaceStart - 1;index >= 0 && line[index] === "\\"; index--) {
|
|
221966
|
+
backslashCount++;
|
|
221967
|
+
}
|
|
221968
|
+
return backslashCount % 2 === 1 ? line.slice(0, whitespaceStart) + " " : line.slice(0, whitespaceStart);
|
|
221969
|
+
};
|
|
221970
|
+
var readIgnoreFileLines = (content) => content.split(/\r?\n/).map((line) => normalizeIgnoreFileLine(line)).filter((line) => line && !line.startsWith("#"));
|
|
221971
|
+
var getIgnoreRules = (files) => files.flatMap((file) => {
|
|
221972
|
+
const directory = path3.dirname(file.filePath);
|
|
221973
|
+
return readIgnoreFileLines(file.content).map((pattern) => ({ pattern, directory }));
|
|
221974
|
+
});
|
|
221821
221975
|
var buildIgnoreResult = (files, normalizedOptions, gitRoot) => {
|
|
221822
221976
|
const baseDir = gitRoot || normalizedOptions.cwd;
|
|
221823
221977
|
const patterns = getPatternsFromIgnoreFiles(files, baseDir);
|
|
221978
|
+
const matcher = createIgnoreMatcher(patterns, normalizedOptions.cwd, baseDir);
|
|
221824
221979
|
return {
|
|
221825
221980
|
patterns,
|
|
221826
|
-
|
|
221981
|
+
rules: getIgnoreRules(files),
|
|
221982
|
+
matcher,
|
|
221983
|
+
predicate: (fileOrDirectory) => matcher(fileOrDirectory).ignored,
|
|
221827
221984
|
usingGitRoot: Boolean(gitRoot && gitRoot !== normalizedOptions.cwd)
|
|
221828
221985
|
};
|
|
221829
221986
|
};
|
|
@@ -221847,7 +222004,7 @@ var applyBaseToPattern = (pattern, base) => {
|
|
|
221847
222004
|
};
|
|
221848
222005
|
var parseIgnoreFile = (file, cwd) => {
|
|
221849
222006
|
const base = slash(path3.relative(cwd, path3.dirname(file.filePath)));
|
|
221850
|
-
return file.content
|
|
222007
|
+
return readIgnoreFileLines(file.content).map((pattern) => applyBaseToPattern(pattern, base));
|
|
221851
222008
|
};
|
|
221852
222009
|
var toRelativePath = (fileOrDirectory, cwd) => {
|
|
221853
222010
|
if (path3.isAbsolute(fileOrDirectory)) {
|
|
@@ -221865,21 +222022,29 @@ var toRelativePath = (fileOrDirectory, cwd) => {
|
|
|
221865
222022
|
}
|
|
221866
222023
|
return fileOrDirectory;
|
|
221867
222024
|
};
|
|
221868
|
-
var
|
|
221869
|
-
|
|
222025
|
+
var notIgnored = { ignored: false, unignored: false };
|
|
222026
|
+
var createIgnoreMatcher = (patterns, cwd, baseDir) => {
|
|
222027
|
+
const ignores = import_ignore2.default().add(patterns);
|
|
221870
222028
|
const resolvedCwd = path3.normalize(path3.resolve(cwd));
|
|
221871
222029
|
const resolvedBaseDir = path3.normalize(path3.resolve(baseDir));
|
|
221872
222030
|
return (fileOrDirectory) => {
|
|
221873
222031
|
fileOrDirectory = toPath(fileOrDirectory);
|
|
222032
|
+
const hasTrailingSeparator = /[/\\]$/.test(fileOrDirectory);
|
|
221874
222033
|
const normalizedPath = path3.normalize(path3.resolve(fileOrDirectory));
|
|
221875
222034
|
if (normalizedPath === resolvedCwd) {
|
|
221876
|
-
return
|
|
222035
|
+
return notIgnored;
|
|
221877
222036
|
}
|
|
221878
|
-
|
|
222037
|
+
let relativePath = toRelativePath(fileOrDirectory, resolvedBaseDir);
|
|
221879
222038
|
if (relativePath === undefined) {
|
|
221880
|
-
return
|
|
222039
|
+
return notIgnored;
|
|
221881
222040
|
}
|
|
221882
|
-
|
|
222041
|
+
if (!relativePath) {
|
|
222042
|
+
return notIgnored;
|
|
222043
|
+
}
|
|
222044
|
+
if (hasTrailingSeparator && !relativePath.endsWith(path3.sep)) {
|
|
222045
|
+
relativePath += path3.sep;
|
|
222046
|
+
}
|
|
222047
|
+
return ignores.test(slash(relativePath));
|
|
221883
222048
|
};
|
|
221884
222049
|
};
|
|
221885
222050
|
var normalizeOptions = (options = {}) => {
|
|
@@ -221897,23 +222062,464 @@ var normalizeOptions = (options = {}) => {
|
|
|
221897
222062
|
fs: options.fs
|
|
221898
222063
|
};
|
|
221899
222064
|
};
|
|
222065
|
+
var unescapeGitQuotedValue = (value) => value.replaceAll(/\\(["\\abfnrtv])/g, (_match, escapedCharacter) => {
|
|
222066
|
+
switch (escapedCharacter) {
|
|
222067
|
+
case "a": {
|
|
222068
|
+
return "\x07";
|
|
222069
|
+
}
|
|
222070
|
+
case "b": {
|
|
222071
|
+
return "\b";
|
|
222072
|
+
}
|
|
222073
|
+
case "f": {
|
|
222074
|
+
return "\f";
|
|
222075
|
+
}
|
|
222076
|
+
case "n": {
|
|
222077
|
+
return `
|
|
222078
|
+
`;
|
|
222079
|
+
}
|
|
222080
|
+
case "r": {
|
|
222081
|
+
return "\r";
|
|
222082
|
+
}
|
|
222083
|
+
case "t": {
|
|
222084
|
+
return "\t";
|
|
222085
|
+
}
|
|
222086
|
+
case "v": {
|
|
222087
|
+
return "\v";
|
|
222088
|
+
}
|
|
222089
|
+
default: {
|
|
222090
|
+
return escapedCharacter;
|
|
222091
|
+
}
|
|
222092
|
+
}
|
|
222093
|
+
});
|
|
222094
|
+
var parseGitConfigValue = (value) => {
|
|
222095
|
+
const trimmedValue = value.trim();
|
|
222096
|
+
const quotedMatch = trimmedValue.match(/^"((?:[^"\\]|\\.)*)"\s*(?:[#;].*)?$/);
|
|
222097
|
+
if (quotedMatch) {
|
|
222098
|
+
return unescapeGitQuotedValue(quotedMatch[1]);
|
|
222099
|
+
}
|
|
222100
|
+
return trimmedValue.replace(/\s[#;].*$/, "").trim();
|
|
222101
|
+
};
|
|
222102
|
+
var resolveConfigPath = (filePath, configPath) => {
|
|
222103
|
+
if (configPath.startsWith("~/")) {
|
|
222104
|
+
const homeDirectory = os.homedir();
|
|
222105
|
+
const resolved = path3.join(homeDirectory, configPath.slice(2));
|
|
222106
|
+
if (!isPathInside(resolved, homeDirectory)) {
|
|
222107
|
+
return path3.join(homeDirectory, ".globby-invalid-path-traversal");
|
|
222108
|
+
}
|
|
222109
|
+
return resolved;
|
|
222110
|
+
}
|
|
222111
|
+
if (path3.isAbsolute(configPath)) {
|
|
222112
|
+
return configPath;
|
|
222113
|
+
}
|
|
222114
|
+
return path3.resolve(path3.dirname(filePath), configPath);
|
|
222115
|
+
};
|
|
222116
|
+
var parseGitConfigSection = (line) => {
|
|
222117
|
+
if (!line.startsWith("[")) {
|
|
222118
|
+
return;
|
|
222119
|
+
}
|
|
222120
|
+
let inQuotes = false;
|
|
222121
|
+
let isEscaped = false;
|
|
222122
|
+
for (let index = 1;index < line.length; index++) {
|
|
222123
|
+
const character = line[index];
|
|
222124
|
+
if (isEscaped) {
|
|
222125
|
+
isEscaped = false;
|
|
222126
|
+
continue;
|
|
222127
|
+
}
|
|
222128
|
+
if (character === "\\") {
|
|
222129
|
+
isEscaped = true;
|
|
222130
|
+
continue;
|
|
222131
|
+
}
|
|
222132
|
+
if (character === '"') {
|
|
222133
|
+
inQuotes = !inQuotes;
|
|
222134
|
+
continue;
|
|
222135
|
+
}
|
|
222136
|
+
if (character === "]" && !inQuotes) {
|
|
222137
|
+
const remainder = line.slice(index + 1).trimStart();
|
|
222138
|
+
if (remainder && !remainder.startsWith("#") && !remainder.startsWith(";")) {
|
|
222139
|
+
return;
|
|
222140
|
+
}
|
|
222141
|
+
return line.slice(1, index).trim();
|
|
222142
|
+
}
|
|
222143
|
+
}
|
|
222144
|
+
return;
|
|
222145
|
+
};
|
|
222146
|
+
var parseGitConfigEntry = (line) => {
|
|
222147
|
+
const match = line.match(/^([A-Za-z\d-.]+)\s*=\s*(.*)$/);
|
|
222148
|
+
if (!match) {
|
|
222149
|
+
return;
|
|
222150
|
+
}
|
|
222151
|
+
return {
|
|
222152
|
+
key: match[1].toLowerCase(),
|
|
222153
|
+
value: parseGitConfigValue(match[2])
|
|
222154
|
+
};
|
|
222155
|
+
};
|
|
222156
|
+
var parseIncludeIfCondition = (section) => {
|
|
222157
|
+
if (!section) {
|
|
222158
|
+
return;
|
|
222159
|
+
}
|
|
222160
|
+
const match = section.match(/^includeif\s+"([^"]+)"$/i);
|
|
222161
|
+
return match ? match[1] : undefined;
|
|
222162
|
+
};
|
|
222163
|
+
var normalizeGitConfigConditionPattern = (pattern, configFilePath) => {
|
|
222164
|
+
if (pattern.startsWith("~/")) {
|
|
222165
|
+
pattern = path3.join(os.homedir(), pattern.slice(2));
|
|
222166
|
+
} else if (pattern.startsWith("./")) {
|
|
222167
|
+
pattern = path3.resolve(path3.dirname(configFilePath), pattern.slice(2));
|
|
222168
|
+
} else if (!path3.isAbsolute(pattern)) {
|
|
222169
|
+
pattern = `**/${pattern}`;
|
|
222170
|
+
}
|
|
222171
|
+
if (pattern.endsWith("/")) {
|
|
222172
|
+
pattern += "**";
|
|
222173
|
+
}
|
|
222174
|
+
return slash(pattern);
|
|
222175
|
+
};
|
|
222176
|
+
var gitConfigGlobToRegex = (pattern, flags) => {
|
|
222177
|
+
let regex = "";
|
|
222178
|
+
for (let index = 0;index < pattern.length; index++) {
|
|
222179
|
+
const character = pattern[index];
|
|
222180
|
+
const nextCharacter = pattern[index + 1];
|
|
222181
|
+
const nextNextCharacter = pattern[index + 2];
|
|
222182
|
+
if (character === "*" && nextCharacter === "*" && nextNextCharacter === "/") {
|
|
222183
|
+
regex += "(?:.*/)?";
|
|
222184
|
+
index += 2;
|
|
222185
|
+
continue;
|
|
222186
|
+
}
|
|
222187
|
+
if (character === "*" && nextCharacter === "*") {
|
|
222188
|
+
regex += ".*";
|
|
222189
|
+
index += 1;
|
|
222190
|
+
continue;
|
|
222191
|
+
}
|
|
222192
|
+
if (character === "*") {
|
|
222193
|
+
regex += "[^/]*";
|
|
222194
|
+
continue;
|
|
222195
|
+
}
|
|
222196
|
+
if (character === "?") {
|
|
222197
|
+
regex += "[^/]";
|
|
222198
|
+
continue;
|
|
222199
|
+
}
|
|
222200
|
+
if (character === "[") {
|
|
222201
|
+
const closingBracketIndex = pattern.indexOf("]", index + 1);
|
|
222202
|
+
if (closingBracketIndex !== -1) {
|
|
222203
|
+
const bracketContent = pattern.slice(index + 1, closingBracketIndex);
|
|
222204
|
+
if (bracketContent) {
|
|
222205
|
+
const negatedBracketContent = bracketContent[0] === "!" ? `^${bracketContent.slice(1)}` : bracketContent;
|
|
222206
|
+
regex += `[${negatedBracketContent}]`;
|
|
222207
|
+
index = closingBracketIndex;
|
|
222208
|
+
continue;
|
|
222209
|
+
}
|
|
222210
|
+
}
|
|
222211
|
+
}
|
|
222212
|
+
regex += /[|\\{}()[\]^$+?.]/.test(character) ? `\\${character}` : character;
|
|
222213
|
+
}
|
|
222214
|
+
try {
|
|
222215
|
+
return new RegExp(`^${regex}$`, flags);
|
|
222216
|
+
} catch {
|
|
222217
|
+
return /(?!)/;
|
|
222218
|
+
}
|
|
222219
|
+
};
|
|
222220
|
+
var matchesIncludeIfCondition = (condition, gitDirectory, configFilePath) => {
|
|
222221
|
+
if (!gitDirectory) {
|
|
222222
|
+
return false;
|
|
222223
|
+
}
|
|
222224
|
+
const match = condition.match(/^(gitdir|gitdir\/i):(.*)$/i);
|
|
222225
|
+
if (!match) {
|
|
222226
|
+
return false;
|
|
222227
|
+
}
|
|
222228
|
+
const [, keyword, rawPattern] = match;
|
|
222229
|
+
const pattern = normalizeGitConfigConditionPattern(rawPattern.trim(), configFilePath);
|
|
222230
|
+
const isCaseInsensitive = keyword.toLowerCase() === "gitdir/i";
|
|
222231
|
+
const regularExpression = gitConfigGlobToRegex(pattern, isCaseInsensitive ? "i" : undefined);
|
|
222232
|
+
const normalizedGitDirectory = slash(path3.resolve(gitDirectory));
|
|
222233
|
+
return regularExpression.test(normalizedGitDirectory);
|
|
222234
|
+
};
|
|
222235
|
+
var shouldIncludeConfigSection = (section, gitDirectory, configFilePath) => {
|
|
222236
|
+
if (section?.toLowerCase() === "include") {
|
|
222237
|
+
return true;
|
|
222238
|
+
}
|
|
222239
|
+
const condition = parseIncludeIfCondition(section);
|
|
222240
|
+
return condition ? matchesIncludeIfCondition(condition, gitDirectory, configFilePath) : false;
|
|
222241
|
+
};
|
|
222242
|
+
var createExcludesFileValue = (value, declaringFilePath) => ({
|
|
222243
|
+
value,
|
|
222244
|
+
declaringFilePath
|
|
222245
|
+
});
|
|
222246
|
+
var parseGitConfigForExcludesFile = (content, normalizedPath, gitDirectory) => {
|
|
222247
|
+
let currentSection;
|
|
222248
|
+
let excludesFile;
|
|
222249
|
+
const includePaths = [];
|
|
222250
|
+
for (const line of content.split(/\r?\n/)) {
|
|
222251
|
+
const trimmed = line.trim();
|
|
222252
|
+
if (!trimmed || trimmed.startsWith("#") || trimmed.startsWith(";")) {
|
|
222253
|
+
continue;
|
|
222254
|
+
}
|
|
222255
|
+
if (trimmed.startsWith("[")) {
|
|
222256
|
+
currentSection = parseGitConfigSection(trimmed);
|
|
222257
|
+
continue;
|
|
222258
|
+
}
|
|
222259
|
+
const entry = parseGitConfigEntry(trimmed);
|
|
222260
|
+
if (!entry) {
|
|
222261
|
+
continue;
|
|
222262
|
+
}
|
|
222263
|
+
if (currentSection?.toLowerCase() === "core" && entry.key === "excludesfile") {
|
|
222264
|
+
excludesFile = createExcludesFileValue(entry.value, normalizedPath);
|
|
222265
|
+
continue;
|
|
222266
|
+
}
|
|
222267
|
+
if (shouldIncludeConfigSection(currentSection, gitDirectory, normalizedPath) && entry.key === "path" && entry.value) {
|
|
222268
|
+
includePaths.push(resolveConfigPath(normalizedPath, entry.value));
|
|
222269
|
+
}
|
|
222270
|
+
}
|
|
222271
|
+
return { excludesFile, includePaths };
|
|
222272
|
+
};
|
|
222273
|
+
var readGitConfigFile = (normalizedPath, readMethod, suppressErrors) => {
|
|
222274
|
+
try {
|
|
222275
|
+
return readMethod(normalizedPath, "utf8");
|
|
222276
|
+
} catch (error) {
|
|
222277
|
+
if (shouldSkipIgnoreFileError(error, suppressErrors)) {
|
|
222278
|
+
return;
|
|
222279
|
+
}
|
|
222280
|
+
throw createGitConfigReadError(normalizedPath, error);
|
|
222281
|
+
}
|
|
222282
|
+
};
|
|
222283
|
+
var getExcludesFileFromGitConfigSync = (filePath, readFileSync, gitDirectory, options = {}) => {
|
|
222284
|
+
const { suppressErrors, includeStack = new Set, depth = 0 } = options;
|
|
222285
|
+
const normalizedPath = path3.resolve(filePath);
|
|
222286
|
+
if (includeStack.has(normalizedPath)) {
|
|
222287
|
+
return;
|
|
222288
|
+
}
|
|
222289
|
+
if (depth >= MAX_INCLUDE_DEPTH) {
|
|
222290
|
+
return;
|
|
222291
|
+
}
|
|
222292
|
+
includeStack.add(normalizedPath);
|
|
222293
|
+
const content = readGitConfigFile(normalizedPath, readFileSync, suppressErrors);
|
|
222294
|
+
if (content === undefined) {
|
|
222295
|
+
includeStack.delete(normalizedPath);
|
|
222296
|
+
return;
|
|
222297
|
+
}
|
|
222298
|
+
let { excludesFile, includePaths } = parseGitConfigForExcludesFile(content, normalizedPath, gitDirectory);
|
|
222299
|
+
for (const includePath of includePaths) {
|
|
222300
|
+
const includedExcludesFile = getExcludesFileFromGitConfigSync(includePath, readFileSync, gitDirectory, { suppressErrors, includeStack, depth: depth + 1 });
|
|
222301
|
+
if (includedExcludesFile !== undefined) {
|
|
222302
|
+
excludesFile = includedExcludesFile;
|
|
222303
|
+
}
|
|
222304
|
+
}
|
|
222305
|
+
includeStack.delete(normalizedPath);
|
|
222306
|
+
return excludesFile;
|
|
222307
|
+
};
|
|
222308
|
+
var getExcludesFileFromGitConfigAsync = async (filePath, readFile, gitDirectory, options = {}) => {
|
|
222309
|
+
const { suppressErrors, includeStack = new Set, depth = 0 } = options;
|
|
222310
|
+
const normalizedPath = path3.resolve(filePath);
|
|
222311
|
+
if (includeStack.has(normalizedPath)) {
|
|
222312
|
+
return;
|
|
222313
|
+
}
|
|
222314
|
+
if (depth >= MAX_INCLUDE_DEPTH) {
|
|
222315
|
+
return;
|
|
222316
|
+
}
|
|
222317
|
+
includeStack.add(normalizedPath);
|
|
222318
|
+
let content;
|
|
222319
|
+
try {
|
|
222320
|
+
content = await readFile(normalizedPath, "utf8");
|
|
222321
|
+
} catch (error) {
|
|
222322
|
+
includeStack.delete(normalizedPath);
|
|
222323
|
+
if (shouldSkipIgnoreFileError(error, suppressErrors)) {
|
|
222324
|
+
return;
|
|
222325
|
+
}
|
|
222326
|
+
throw createGitConfigReadError(normalizedPath, error);
|
|
222327
|
+
}
|
|
222328
|
+
let { excludesFile, includePaths } = parseGitConfigForExcludesFile(content, normalizedPath, gitDirectory);
|
|
222329
|
+
for (const includePath of includePaths) {
|
|
222330
|
+
const includedExcludesFile = await getExcludesFileFromGitConfigAsync(includePath, readFile, gitDirectory, { suppressErrors, includeStack, depth: depth + 1 });
|
|
222331
|
+
if (includedExcludesFile !== undefined) {
|
|
222332
|
+
excludesFile = includedExcludesFile;
|
|
222333
|
+
}
|
|
222334
|
+
}
|
|
222335
|
+
includeStack.delete(normalizedPath);
|
|
222336
|
+
return excludesFile;
|
|
222337
|
+
};
|
|
222338
|
+
var resolveGitDirectoryFromFile = (gitFilePath, content) => {
|
|
222339
|
+
const match = content.match(/^gitdir:\s*(.+?)\s*$/i);
|
|
222340
|
+
if (!match) {
|
|
222341
|
+
return gitFilePath;
|
|
222342
|
+
}
|
|
222343
|
+
return path3.resolve(path3.dirname(gitFilePath), match[1]);
|
|
222344
|
+
};
|
|
222345
|
+
var getGitDirectorySync = (gitRoot, readFileSync) => {
|
|
222346
|
+
if (!gitRoot) {
|
|
222347
|
+
return;
|
|
222348
|
+
}
|
|
222349
|
+
const gitFilePath = path3.join(gitRoot, ".git");
|
|
222350
|
+
try {
|
|
222351
|
+
return resolveGitDirectoryFromFile(gitFilePath, readFileSync(gitFilePath, "utf8"));
|
|
222352
|
+
} catch {
|
|
222353
|
+
return gitFilePath;
|
|
222354
|
+
}
|
|
222355
|
+
};
|
|
222356
|
+
var getGitDirectoryAsync = async (gitRoot, readFile) => {
|
|
222357
|
+
if (!gitRoot) {
|
|
222358
|
+
return;
|
|
222359
|
+
}
|
|
222360
|
+
const gitFilePath = path3.join(gitRoot, ".git");
|
|
222361
|
+
try {
|
|
222362
|
+
return resolveGitDirectoryFromFile(gitFilePath, await readFile(gitFilePath, "utf8"));
|
|
222363
|
+
} catch {
|
|
222364
|
+
return gitFilePath;
|
|
222365
|
+
}
|
|
222366
|
+
};
|
|
222367
|
+
var getXdgConfigHome = () => process2.env.XDG_CONFIG_HOME || path3.join(os.homedir(), ".config");
|
|
222368
|
+
var getGitConfigPaths = () => {
|
|
222369
|
+
if ("GIT_CONFIG_GLOBAL" in process2.env) {
|
|
222370
|
+
const value = process2.env.GIT_CONFIG_GLOBAL;
|
|
222371
|
+
return value ? [value] : [];
|
|
222372
|
+
}
|
|
222373
|
+
return [
|
|
222374
|
+
path3.join(getXdgConfigHome(), "git", "config"),
|
|
222375
|
+
path3.join(os.homedir(), ".gitconfig")
|
|
222376
|
+
];
|
|
222377
|
+
};
|
|
222378
|
+
var getDefaultGlobalGitignorePath = () => path3.join(getXdgConfigHome(), "git", "ignore");
|
|
222379
|
+
var resolveExcludesFilePath = (excludesFileConfig) => {
|
|
222380
|
+
if (excludesFileConfig?.value === "") {
|
|
222381
|
+
return;
|
|
222382
|
+
}
|
|
222383
|
+
if (excludesFileConfig === undefined) {
|
|
222384
|
+
return getDefaultGlobalGitignorePath();
|
|
222385
|
+
}
|
|
222386
|
+
return resolveConfigPath(excludesFileConfig.declaringFilePath, excludesFileConfig.value);
|
|
222387
|
+
};
|
|
222388
|
+
var readGlobalGitignoreContent = (filePath, readMethod, suppressErrors) => {
|
|
222389
|
+
try {
|
|
222390
|
+
const content = readMethod(filePath, "utf8");
|
|
222391
|
+
return { filePath, content };
|
|
222392
|
+
} catch (error) {
|
|
222393
|
+
if (shouldSkipIgnoreFileError(error, suppressErrors)) {
|
|
222394
|
+
return;
|
|
222395
|
+
}
|
|
222396
|
+
throw createIgnoreFileReadError(filePath, error);
|
|
222397
|
+
}
|
|
222398
|
+
};
|
|
222399
|
+
var getGlobalGitignoreFile = (options = {}) => {
|
|
222400
|
+
const cwd = toPath(options.cwd) ?? process2.cwd();
|
|
222401
|
+
const readFileSync = getReadFileSyncMethod(options.fs);
|
|
222402
|
+
const gitRoot = findGitRootSync(cwd, options.fs);
|
|
222403
|
+
const gitDirectory = getGitDirectorySync(gitRoot, readFileSync);
|
|
222404
|
+
let excludesFileConfig;
|
|
222405
|
+
for (const gitConfigPath of getGitConfigPaths()) {
|
|
222406
|
+
const value = getExcludesFileFromGitConfigSync(gitConfigPath, readFileSync, gitDirectory, { suppressErrors: options.suppressErrors });
|
|
222407
|
+
if (value !== undefined) {
|
|
222408
|
+
excludesFileConfig = value;
|
|
222409
|
+
}
|
|
222410
|
+
}
|
|
222411
|
+
const filePath = resolveExcludesFilePath(excludesFileConfig);
|
|
222412
|
+
return filePath === undefined ? undefined : readGlobalGitignoreContent(filePath, readFileSync, options.suppressErrors);
|
|
222413
|
+
};
|
|
222414
|
+
var getGlobalGitignoreFileAsync = async (options = {}) => {
|
|
222415
|
+
const cwd = toPath(options.cwd) ?? process2.cwd();
|
|
222416
|
+
const readFile = getReadFileMethod(options.fs);
|
|
222417
|
+
const gitRoot = await findGitRoot(cwd, options.fs);
|
|
222418
|
+
const gitDirectory = await getGitDirectoryAsync(gitRoot, readFile);
|
|
222419
|
+
const excludesFileValues = await Promise.all(getGitConfigPaths().map((gitConfigPath) => getExcludesFileFromGitConfigAsync(gitConfigPath, readFile, gitDirectory, { suppressErrors: options.suppressErrors })));
|
|
222420
|
+
const excludesFileConfig = excludesFileValues.findLast((value) => value !== undefined);
|
|
222421
|
+
const filePath = resolveExcludesFilePath(excludesFileConfig);
|
|
222422
|
+
if (filePath === undefined) {
|
|
222423
|
+
return;
|
|
222424
|
+
}
|
|
222425
|
+
try {
|
|
222426
|
+
const content = await readFile(filePath, "utf8");
|
|
222427
|
+
return { filePath, content };
|
|
222428
|
+
} catch (error) {
|
|
222429
|
+
if (shouldSkipIgnoreFileError(error, options.suppressErrors)) {
|
|
222430
|
+
return;
|
|
222431
|
+
}
|
|
222432
|
+
throw createIgnoreFileReadError(filePath, error);
|
|
222433
|
+
}
|
|
222434
|
+
};
|
|
222435
|
+
var buildGlobalMatcher = (globalIgnoreFile, cwd, rootDirectory = cwd) => {
|
|
222436
|
+
const patterns = parseIgnoreFile(globalIgnoreFile, path3.dirname(globalIgnoreFile.filePath));
|
|
222437
|
+
return createIgnoreMatcher(patterns, cwd, rootDirectory);
|
|
222438
|
+
};
|
|
222439
|
+
var getKnownIgnoreFilePaths = (patterns, normalizedOptions, gitRoot) => {
|
|
222440
|
+
const searchPatterns = [patterns].flat();
|
|
222441
|
+
const isGitignoreSearch = searchPatterns.includes(GITIGNORE_FILES_PATTERN);
|
|
222442
|
+
if (!isGitignoreSearch) {
|
|
222443
|
+
return [];
|
|
222444
|
+
}
|
|
222445
|
+
return gitRoot ? getParentGitignorePaths(gitRoot, normalizedOptions.cwd) : [path3.join(normalizedOptions.cwd, ".gitignore")];
|
|
222446
|
+
};
|
|
222447
|
+
var getKnownIgnoreFileSearchOptions = (patterns, normalizedOptions) => ({
|
|
222448
|
+
...normalizedOptions,
|
|
222449
|
+
ignore: [
|
|
222450
|
+
...normalizedOptions.ignore,
|
|
222451
|
+
...[patterns].flat().filter((pattern) => isNegativePattern(pattern)).map((pattern) => pattern.slice(1))
|
|
222452
|
+
]
|
|
222453
|
+
});
|
|
222454
|
+
var getKnownIgnoreFilePattern = (filePath, cwd) => {
|
|
222455
|
+
const pattern = isPathInside(filePath, cwd) ? path3.relative(cwd, filePath) : filePath;
|
|
222456
|
+
return import_fast_glob2.default.convertPathToPattern(pattern);
|
|
222457
|
+
};
|
|
222458
|
+
var getMatchingKnownIgnoreFilePaths = (knownPaths, matchingPaths) => {
|
|
222459
|
+
const matchingPathSet = new Set(matchingPaths.map((filePath) => path3.resolve(filePath)));
|
|
222460
|
+
return knownPaths.filter((filePath) => matchingPathSet.has(path3.resolve(filePath)));
|
|
222461
|
+
};
|
|
222462
|
+
var globKnownIgnoreFilePaths = (globFunction, knownPaths, patterns, normalizedOptions) => {
|
|
222463
|
+
if (knownPaths.length === 0) {
|
|
222464
|
+
return [];
|
|
222465
|
+
}
|
|
222466
|
+
return globIgnoreFiles(globFunction, knownPaths.map((filePath) => getKnownIgnoreFilePattern(filePath, normalizedOptions.cwd)), getKnownIgnoreFileSearchOptions(patterns, normalizedOptions));
|
|
222467
|
+
};
|
|
222468
|
+
var filterKnownIgnoreFilePathsAsync = async (knownPaths, patterns, normalizedOptions) => {
|
|
222469
|
+
const matchingPaths = await globKnownIgnoreFilePaths(import_fast_glob2.default, knownPaths, patterns, normalizedOptions);
|
|
222470
|
+
return getMatchingKnownIgnoreFilePaths(knownPaths, matchingPaths);
|
|
222471
|
+
};
|
|
222472
|
+
var filterKnownIgnoreFilePathsSync = (knownPaths, patterns, normalizedOptions) => {
|
|
222473
|
+
const matchingPaths = globKnownIgnoreFilePaths(import_fast_glob2.default.sync, knownPaths, patterns, normalizedOptions);
|
|
222474
|
+
return getMatchingKnownIgnoreFilePaths(knownPaths, matchingPaths);
|
|
222475
|
+
};
|
|
222476
|
+
var getIgnoreFileSearchPrune = (searchPatterns, files, normalizedOptions, gitRoot) => {
|
|
222477
|
+
if (files.length === 0) {
|
|
222478
|
+
return { patterns: [], guardNames: [] };
|
|
222479
|
+
}
|
|
222480
|
+
const { cwd } = normalizedOptions;
|
|
222481
|
+
const baseDir = gitRoot || cwd;
|
|
222482
|
+
const ignorePatterns = getPatternsFromIgnoreFiles(files, baseDir);
|
|
222483
|
+
const matcher = createIgnoreMatcher(ignorePatterns, cwd, baseDir);
|
|
222484
|
+
const searchPatternsArray = [searchPatterns].flat();
|
|
222485
|
+
const gitignoreOnlySearch = searchPatternsArray.every((pattern) => pattern === GITIGNORE_FILES_PATTERN);
|
|
222486
|
+
const searchesForGitignoreFiles = searchPatternsArray.includes(GITIGNORE_FILES_PATTERN);
|
|
222487
|
+
return buildPrunePatternsAndGuards(getIgnoreRules(files), matcher, cwd, { gitignoreOnlySearch, searchesForGitignoreFiles });
|
|
222488
|
+
};
|
|
222489
|
+
var withPrunedSearch = (normalizedOptions, prunePatterns) => prunePatterns.length === 0 ? normalizedOptions : { ...normalizedOptions, ignore: [...normalizedOptions.ignore, ...prunePatterns] };
|
|
222490
|
+
var getUnreadPaths = (childPaths, knownPaths) => {
|
|
222491
|
+
const alreadyRead = new Set(knownPaths.map((filePath) => path3.resolve(filePath)));
|
|
222492
|
+
return dedupePaths(childPaths).filter((filePath) => !alreadyRead.has(path3.resolve(filePath)));
|
|
222493
|
+
};
|
|
221900
222494
|
var collectIgnoreFileArtifactsAsync = async (patterns, options, includeParentIgnoreFiles) => {
|
|
221901
222495
|
const normalizedOptions = normalizeOptions(options);
|
|
221902
|
-
const childPaths = await globIgnoreFiles(import_fast_glob.default, patterns, normalizedOptions);
|
|
221903
|
-
const gitRoot = includeParentIgnoreFiles ? await findGitRoot(normalizedOptions.cwd, normalizedOptions.fs) : undefined;
|
|
221904
|
-
const allPaths = combineIgnoreFilePaths(gitRoot, normalizedOptions, childPaths);
|
|
221905
222496
|
const readFileMethod = getReadFileMethod(normalizedOptions.fs);
|
|
221906
|
-
const
|
|
221907
|
-
|
|
222497
|
+
const gitRoot = includeParentIgnoreFiles ? await findGitRoot(normalizedOptions.cwd, normalizedOptions.fs) : undefined;
|
|
222498
|
+
const knownPaths = await filterKnownIgnoreFilePathsAsync(getKnownIgnoreFilePaths(patterns, normalizedOptions, gitRoot), patterns, normalizedOptions);
|
|
222499
|
+
const knownFiles = await readIgnoreFilesSafely(knownPaths, readFileMethod, normalizedOptions.suppressErrors);
|
|
222500
|
+
const { patterns: prunePatterns, guardNames } = getIgnoreFileSearchPrune(patterns, knownFiles, normalizedOptions, gitRoot);
|
|
222501
|
+
const childPaths = await globIgnoreFiles(import_fast_glob2.default, patterns, withPrunedSearch(normalizedOptions, prunePatterns));
|
|
222502
|
+
let childFiles = await readIgnoreFilesSafely(getUnreadPaths(childPaths, knownPaths), readFileMethod, normalizedOptions.suppressErrors);
|
|
222503
|
+
if (negationsCouldRescue(getIgnoreRules(childFiles), guardNames)) {
|
|
222504
|
+
const allPaths = await globIgnoreFiles(import_fast_glob2.default, patterns, normalizedOptions);
|
|
222505
|
+
childFiles = await readIgnoreFilesSafely(getUnreadPaths(allPaths, knownPaths), readFileMethod, normalizedOptions.suppressErrors);
|
|
222506
|
+
}
|
|
222507
|
+
return { files: [...knownFiles, ...childFiles], normalizedOptions, gitRoot };
|
|
221908
222508
|
};
|
|
221909
222509
|
var collectIgnoreFileArtifactsSync = (patterns, options, includeParentIgnoreFiles) => {
|
|
221910
222510
|
const normalizedOptions = normalizeOptions(options);
|
|
221911
|
-
const childPaths = globIgnoreFiles(import_fast_glob.default.sync, patterns, normalizedOptions);
|
|
221912
|
-
const gitRoot = includeParentIgnoreFiles ? findGitRootSync(normalizedOptions.cwd, normalizedOptions.fs) : undefined;
|
|
221913
|
-
const allPaths = combineIgnoreFilePaths(gitRoot, normalizedOptions, childPaths);
|
|
221914
222511
|
const readFileSyncMethod = getReadFileSyncMethod(normalizedOptions.fs);
|
|
221915
|
-
const
|
|
221916
|
-
|
|
222512
|
+
const gitRoot = includeParentIgnoreFiles ? findGitRootSync(normalizedOptions.cwd, normalizedOptions.fs) : undefined;
|
|
222513
|
+
const knownPaths = filterKnownIgnoreFilePathsSync(getKnownIgnoreFilePaths(patterns, normalizedOptions, gitRoot), patterns, normalizedOptions);
|
|
222514
|
+
const knownFiles = readIgnoreFilesSafelySync(knownPaths, readFileSyncMethod, normalizedOptions.suppressErrors);
|
|
222515
|
+
const { patterns: prunePatterns, guardNames } = getIgnoreFileSearchPrune(patterns, knownFiles, normalizedOptions, gitRoot);
|
|
222516
|
+
const childPaths = globIgnoreFiles(import_fast_glob2.default.sync, patterns, withPrunedSearch(normalizedOptions, prunePatterns));
|
|
222517
|
+
let childFiles = readIgnoreFilesSafelySync(getUnreadPaths(childPaths, knownPaths), readFileSyncMethod, normalizedOptions.suppressErrors);
|
|
222518
|
+
if (negationsCouldRescue(getIgnoreRules(childFiles), guardNames)) {
|
|
222519
|
+
const allPaths = globIgnoreFiles(import_fast_glob2.default.sync, patterns, normalizedOptions);
|
|
222520
|
+
childFiles = readIgnoreFilesSafelySync(getUnreadPaths(allPaths, knownPaths), readFileSyncMethod, normalizedOptions.suppressErrors);
|
|
222521
|
+
}
|
|
222522
|
+
return { files: [...knownFiles, ...childFiles], normalizedOptions, gitRoot };
|
|
221917
222523
|
};
|
|
221918
222524
|
var getPatternsFromIgnoreFiles = (files, baseDir) => files.flatMap((file) => parseIgnoreFile(file, baseDir));
|
|
221919
222525
|
var getIgnorePatternsAndPredicate = async (patterns, options, includeParentIgnoreFiles = false) => {
|
|
@@ -221931,7 +222537,12 @@ var assertPatternsInput = (patterns) => {
|
|
|
221931
222537
|
throw new TypeError("Patterns must be a string or an array of strings");
|
|
221932
222538
|
}
|
|
221933
222539
|
};
|
|
221934
|
-
var getStatMethod = (fsImplementation) =>
|
|
222540
|
+
var getStatMethod = (fsImplementation) => {
|
|
222541
|
+
if (fsImplementation) {
|
|
222542
|
+
return bindFsMethod(fsImplementation.promises, "stat") ?? promisifyFsMethod(fsImplementation, "stat");
|
|
222543
|
+
}
|
|
222544
|
+
return bindFsMethod(fs3.promises, "stat");
|
|
222545
|
+
};
|
|
221935
222546
|
var getStatSyncMethod2 = (fsImplementation) => bindFsMethod(fsImplementation, "statSync") ?? bindFsMethod(fs3, "statSync");
|
|
221936
222547
|
var isDirectory = async (path4, fsImplementation) => {
|
|
221937
222548
|
try {
|
|
@@ -222036,73 +222647,216 @@ var getIgnoreFilesPatterns = (options) => {
|
|
|
222036
222647
|
}
|
|
222037
222648
|
return patterns;
|
|
222038
222649
|
};
|
|
222650
|
+
var isPathIgnored = (matcher, globalMatcher, path4) => {
|
|
222651
|
+
const globalResult = globalMatcher ? globalMatcher(path4) : undefined;
|
|
222652
|
+
const result = matcher ? matcher(path4) : undefined;
|
|
222653
|
+
if (result?.unignored) {
|
|
222654
|
+
return false;
|
|
222655
|
+
}
|
|
222656
|
+
return Boolean(result?.ignored || globalResult?.ignored);
|
|
222657
|
+
};
|
|
222658
|
+
var hasIgnoredAncestorDirectory = (matcher, globalMatcher, file) => {
|
|
222659
|
+
let currentPath = file;
|
|
222660
|
+
while (true) {
|
|
222661
|
+
const parentDirectory = nodePath.dirname(currentPath);
|
|
222662
|
+
if (parentDirectory === currentPath) {
|
|
222663
|
+
return false;
|
|
222664
|
+
}
|
|
222665
|
+
if (isPathIgnored(matcher, globalMatcher, `${parentDirectory}${nodePath.sep}`)) {
|
|
222666
|
+
return true;
|
|
222667
|
+
}
|
|
222668
|
+
currentPath = parentDirectory;
|
|
222669
|
+
}
|
|
222670
|
+
};
|
|
222671
|
+
var combinePredicate = (matcher, globalMatcher) => {
|
|
222672
|
+
if (!matcher && !globalMatcher) {
|
|
222673
|
+
return false;
|
|
222674
|
+
}
|
|
222675
|
+
return (file) => {
|
|
222676
|
+
const result = matcher ? matcher(file) : undefined;
|
|
222677
|
+
if (result?.unignored) {
|
|
222678
|
+
const globalResult = globalMatcher ? globalMatcher(file) : undefined;
|
|
222679
|
+
return globalResult?.ignored && hasIgnoredAncestorDirectory(matcher, globalMatcher, file);
|
|
222680
|
+
}
|
|
222681
|
+
return isPathIgnored(matcher, globalMatcher, file);
|
|
222682
|
+
};
|
|
222683
|
+
};
|
|
222684
|
+
var buildIgnoreFilterResult = ({ options, cwd, ignoreResult: { rules, matcher }, globalMatcher, createFilter }) => {
|
|
222685
|
+
const finalPredicate = combinePredicate(matcher, globalMatcher);
|
|
222686
|
+
const pruneIgnorePatterns = convertPatternsForFastGlob(rules, matcher, cwd);
|
|
222687
|
+
return {
|
|
222688
|
+
options,
|
|
222689
|
+
pruneIgnorePatterns,
|
|
222690
|
+
filter: createFilter(finalPredicate, cwd, options.fs)
|
|
222691
|
+
};
|
|
222692
|
+
};
|
|
222039
222693
|
var applyIgnoreFilesAndGetFilter = async (options) => {
|
|
222694
|
+
const cwd = options.cwd ?? process3.cwd();
|
|
222040
222695
|
const ignoreFilesPatterns = getIgnoreFilesPatterns(options);
|
|
222041
|
-
|
|
222696
|
+
const globalIgnoreFile = options.globalGitignore ? await getGlobalGitignoreFileAsync(options) : undefined;
|
|
222697
|
+
if (ignoreFilesPatterns.length === 0 && !globalIgnoreFile) {
|
|
222042
222698
|
return {
|
|
222043
222699
|
options,
|
|
222044
|
-
|
|
222700
|
+
pruneIgnorePatterns: [],
|
|
222701
|
+
filter: createFilterFunctionAsync(false, cwd, options.fs)
|
|
222045
222702
|
};
|
|
222046
222703
|
}
|
|
222047
222704
|
const includeParentIgnoreFiles = options.gitignore === true;
|
|
222048
|
-
const
|
|
222049
|
-
const
|
|
222050
|
-
const
|
|
222051
|
-
|
|
222052
|
-
|
|
222053
|
-
|
|
222054
|
-
|
|
222055
|
-
|
|
222056
|
-
|
|
222057
|
-
};
|
|
222705
|
+
const ignoreResult = ignoreFilesPatterns.length > 0 ? await getIgnorePatternsAndPredicate(ignoreFilesPatterns, options, includeParentIgnoreFiles) : { rules: [], matcher: false };
|
|
222706
|
+
const globalGitRoot = globalIgnoreFile ? await findGitRoot(cwd, options.fs) : undefined;
|
|
222707
|
+
const globalMatcher = globalIgnoreFile ? buildGlobalMatcher(globalIgnoreFile, cwd, globalGitRoot ?? cwd) : undefined;
|
|
222708
|
+
return buildIgnoreFilterResult({
|
|
222709
|
+
options,
|
|
222710
|
+
cwd,
|
|
222711
|
+
ignoreResult,
|
|
222712
|
+
globalMatcher,
|
|
222713
|
+
createFilter: createFilterFunctionAsync
|
|
222714
|
+
});
|
|
222058
222715
|
};
|
|
222059
222716
|
var applyIgnoreFilesAndGetFilterSync = (options) => {
|
|
222717
|
+
const cwd = options.cwd ?? process3.cwd();
|
|
222060
222718
|
const ignoreFilesPatterns = getIgnoreFilesPatterns(options);
|
|
222061
|
-
|
|
222719
|
+
const globalIgnoreFile = options.globalGitignore ? getGlobalGitignoreFile(options) : undefined;
|
|
222720
|
+
if (ignoreFilesPatterns.length === 0 && !globalIgnoreFile) {
|
|
222062
222721
|
return {
|
|
222063
222722
|
options,
|
|
222064
|
-
|
|
222723
|
+
pruneIgnorePatterns: [],
|
|
222724
|
+
filter: createFilterFunction(false, cwd, options.fs)
|
|
222065
222725
|
};
|
|
222066
222726
|
}
|
|
222067
222727
|
const includeParentIgnoreFiles = options.gitignore === true;
|
|
222068
|
-
const
|
|
222069
|
-
const
|
|
222070
|
-
const
|
|
222071
|
-
|
|
222072
|
-
|
|
222728
|
+
const ignoreResult = ignoreFilesPatterns.length > 0 ? getIgnorePatternsAndPredicateSync(ignoreFilesPatterns, options, includeParentIgnoreFiles) : { rules: [], matcher: false };
|
|
222729
|
+
const globalGitRoot = globalIgnoreFile ? findGitRootSync(cwd, options.fs) : undefined;
|
|
222730
|
+
const globalMatcher = globalIgnoreFile ? buildGlobalMatcher(globalIgnoreFile, cwd, globalGitRoot ?? cwd) : undefined;
|
|
222731
|
+
return buildIgnoreFilterResult({
|
|
222732
|
+
options,
|
|
222733
|
+
cwd,
|
|
222734
|
+
ignoreResult,
|
|
222735
|
+
globalMatcher,
|
|
222736
|
+
createFilter: createFilterFunction
|
|
222737
|
+
});
|
|
222738
|
+
};
|
|
222739
|
+
var assertGlobalGitignoreSyncSupport = (options) => {
|
|
222740
|
+
if (options.globalGitignore && options.fs && !options.fs.statSync) {
|
|
222741
|
+
throw new Error("The `globalGitignore` option in `globbySync()` requires `fs.statSync` when a custom `fs` is provided.");
|
|
222742
|
+
}
|
|
222743
|
+
};
|
|
222744
|
+
var globalGitignoreAsyncStatErrorMessage = "The `globalGitignore` option in `globby()` and `globbyStream()` requires `fs.promises.stat` or `fs.stat` when a custom `fs` is provided.";
|
|
222745
|
+
var assertGlobalGitignoreAsyncSupport = (options) => {
|
|
222746
|
+
if (!options.globalGitignore || !options.fs) {
|
|
222747
|
+
return;
|
|
222748
|
+
}
|
|
222749
|
+
if (!options.fs.promises?.stat && !options.fs.stat) {
|
|
222750
|
+
throw new Error(globalGitignoreAsyncStatErrorMessage);
|
|
222751
|
+
}
|
|
222752
|
+
};
|
|
222753
|
+
var createPathResolver = (cwd) => {
|
|
222754
|
+
const basePath = cwd || process3.cwd();
|
|
222755
|
+
const pathCache = new Map;
|
|
222756
|
+
return (pathKey) => {
|
|
222757
|
+
let absolutePath = pathCache.get(pathKey);
|
|
222758
|
+
if (absolutePath === undefined) {
|
|
222759
|
+
if (pathCache.size > 1e4) {
|
|
222760
|
+
pathCache.clear();
|
|
222761
|
+
}
|
|
222762
|
+
absolutePath = nodePath.isAbsolute(pathKey) ? pathKey : nodePath.resolve(basePath, pathKey);
|
|
222763
|
+
pathCache.set(pathKey, absolutePath);
|
|
222764
|
+
}
|
|
222765
|
+
return absolutePath;
|
|
222073
222766
|
};
|
|
222074
|
-
|
|
222075
|
-
|
|
222076
|
-
|
|
222767
|
+
};
|
|
222768
|
+
var createAsyncDirectoryCheck = (fsMethod) => {
|
|
222769
|
+
const directoryCache = new Map;
|
|
222770
|
+
return async (absolutePath) => {
|
|
222771
|
+
let isDirectory2 = directoryCache.get(absolutePath);
|
|
222772
|
+
if (isDirectory2 !== undefined) {
|
|
222773
|
+
return isDirectory2;
|
|
222774
|
+
}
|
|
222775
|
+
try {
|
|
222776
|
+
const stats = await fsMethod?.(absolutePath);
|
|
222777
|
+
isDirectory2 = Boolean(stats?.isDirectory());
|
|
222778
|
+
} catch {
|
|
222779
|
+
isDirectory2 = false;
|
|
222780
|
+
}
|
|
222781
|
+
if (directoryCache.size > 1e4) {
|
|
222782
|
+
directoryCache.clear();
|
|
222783
|
+
}
|
|
222784
|
+
directoryCache.set(absolutePath, isDirectory2);
|
|
222785
|
+
return isDirectory2;
|
|
222786
|
+
};
|
|
222787
|
+
};
|
|
222788
|
+
var createDirectoryCheck = (fsMethod) => {
|
|
222789
|
+
const directoryCache = new Map;
|
|
222790
|
+
return (absolutePath) => {
|
|
222791
|
+
let isDirectory2 = directoryCache.get(absolutePath);
|
|
222792
|
+
if (isDirectory2 !== undefined) {
|
|
222793
|
+
return isDirectory2;
|
|
222794
|
+
}
|
|
222795
|
+
try {
|
|
222796
|
+
isDirectory2 = Boolean(fsMethod?.(absolutePath)?.isDirectory());
|
|
222797
|
+
} catch {
|
|
222798
|
+
isDirectory2 = false;
|
|
222799
|
+
}
|
|
222800
|
+
if (directoryCache.size > 1e4) {
|
|
222801
|
+
directoryCache.clear();
|
|
222802
|
+
}
|
|
222803
|
+
directoryCache.set(absolutePath, isDirectory2);
|
|
222804
|
+
return isDirectory2;
|
|
222805
|
+
};
|
|
222806
|
+
};
|
|
222807
|
+
var createFilterFunctionAsync = (isIgnored, cwd, fsImplementation) => {
|
|
222808
|
+
const resolveAbsolutePath = createPathResolver(cwd);
|
|
222809
|
+
const isDirectoryEntry = createAsyncDirectoryCheck(getStatMethod(fsImplementation));
|
|
222810
|
+
return async (fastGlobResult) => {
|
|
222811
|
+
if (!isIgnored) {
|
|
222812
|
+
return true;
|
|
222813
|
+
}
|
|
222814
|
+
const absolutePath = resolveAbsolutePath(nodePath.normalize(fastGlobResult.path ?? fastGlobResult));
|
|
222815
|
+
if (isIgnored(absolutePath)) {
|
|
222816
|
+
return false;
|
|
222817
|
+
}
|
|
222818
|
+
return !(await isDirectoryEntry(absolutePath) && isIgnored(`${absolutePath}${nodePath.sep}`));
|
|
222077
222819
|
};
|
|
222078
222820
|
};
|
|
222079
|
-
var createFilterFunction = (isIgnored, cwd) => {
|
|
222821
|
+
var createFilterFunction = (isIgnored, cwd, fsImplementation) => {
|
|
222080
222822
|
const seen = new Set;
|
|
222081
|
-
const
|
|
222082
|
-
const
|
|
222823
|
+
const resolveAbsolutePath = createPathResolver(cwd);
|
|
222824
|
+
const isDirectoryEntry = createDirectoryCheck(getStatSyncMethod2(fsImplementation));
|
|
222083
222825
|
return (fastGlobResult) => {
|
|
222084
222826
|
const pathKey = nodePath.normalize(fastGlobResult.path ?? fastGlobResult);
|
|
222085
222827
|
if (seen.has(pathKey)) {
|
|
222086
222828
|
return false;
|
|
222087
222829
|
}
|
|
222088
222830
|
if (isIgnored) {
|
|
222089
|
-
|
|
222090
|
-
if (absolutePath === undefined) {
|
|
222091
|
-
absolutePath = nodePath.isAbsolute(pathKey) ? pathKey : nodePath.resolve(basePath, pathKey);
|
|
222092
|
-
pathCache.set(pathKey, absolutePath);
|
|
222093
|
-
if (pathCache.size > 1e4) {
|
|
222094
|
-
pathCache.clear();
|
|
222095
|
-
}
|
|
222096
|
-
}
|
|
222831
|
+
const absolutePath = resolveAbsolutePath(pathKey);
|
|
222097
222832
|
if (isIgnored(absolutePath)) {
|
|
222098
222833
|
return false;
|
|
222099
222834
|
}
|
|
222835
|
+
if (isDirectoryEntry(absolutePath) && isIgnored(`${absolutePath}${nodePath.sep}`)) {
|
|
222836
|
+
return false;
|
|
222837
|
+
}
|
|
222100
222838
|
}
|
|
222101
222839
|
seen.add(pathKey);
|
|
222102
222840
|
return true;
|
|
222103
222841
|
};
|
|
222104
222842
|
};
|
|
222105
222843
|
var unionFastGlobResults = (results, filter) => results.flat().filter((fastGlobResult) => filter(fastGlobResult));
|
|
222844
|
+
var unionFastGlobResultsAsync = async (results, filter) => {
|
|
222845
|
+
results = results.flat();
|
|
222846
|
+
const matches = await Promise.all(results.map((fastGlobResult) => filter(fastGlobResult)));
|
|
222847
|
+
const seen = new Set;
|
|
222848
|
+
return results.filter((fastGlobResult, index) => {
|
|
222849
|
+
if (!matches[index]) {
|
|
222850
|
+
return false;
|
|
222851
|
+
}
|
|
222852
|
+
const pathKey = nodePath.normalize(fastGlobResult.path ?? fastGlobResult);
|
|
222853
|
+
if (seen.has(pathKey)) {
|
|
222854
|
+
return false;
|
|
222855
|
+
}
|
|
222856
|
+
seen.add(pathKey);
|
|
222857
|
+
return true;
|
|
222858
|
+
});
|
|
222859
|
+
};
|
|
222106
222860
|
var convertNegativePatterns = (patterns, options) => {
|
|
222107
222861
|
if (patterns.length > 0 && patterns.every((pattern) => isNegativePattern(pattern))) {
|
|
222108
222862
|
if (options.expandNegationOnlyPatterns === false) {
|
|
@@ -222110,7 +222864,23 @@ var convertNegativePatterns = (patterns, options) => {
|
|
|
222110
222864
|
}
|
|
222111
222865
|
patterns = ["**/*", ...patterns];
|
|
222112
222866
|
}
|
|
222113
|
-
|
|
222867
|
+
const positiveAbsolutePathPrefixes = [];
|
|
222868
|
+
let hasRelativePositivePattern = false;
|
|
222869
|
+
const normalizedPatterns = [];
|
|
222870
|
+
for (const pattern of patterns) {
|
|
222871
|
+
if (isNegativePattern(pattern)) {
|
|
222872
|
+
normalizedPatterns.push(`!${normalizeNegativePattern(pattern.slice(1), positiveAbsolutePathPrefixes, hasRelativePositivePattern)}`);
|
|
222873
|
+
continue;
|
|
222874
|
+
}
|
|
222875
|
+
normalizedPatterns.push(pattern);
|
|
222876
|
+
const staticAbsolutePathPrefix = getStaticAbsolutePathPrefix(pattern);
|
|
222877
|
+
if (staticAbsolutePathPrefix === undefined) {
|
|
222878
|
+
hasRelativePositivePattern = true;
|
|
222879
|
+
continue;
|
|
222880
|
+
}
|
|
222881
|
+
positiveAbsolutePathPrefixes.push(staticAbsolutePathPrefix);
|
|
222882
|
+
}
|
|
222883
|
+
patterns = normalizedPatterns;
|
|
222114
222884
|
const tasks = [];
|
|
222115
222885
|
while (patterns.length > 0) {
|
|
222116
222886
|
const index = patterns.findIndex((pattern) => isNegativePattern(pattern));
|
|
@@ -222145,21 +222915,28 @@ var applyParentDirectoryIgnoreAdjustments = (tasks) => tasks.map((task) => ({
|
|
|
222145
222915
|
ignore: adjustIgnorePatternsForParentDirectories(task.patterns, task.options.ignore)
|
|
222146
222916
|
}
|
|
222147
222917
|
}));
|
|
222918
|
+
var appendPruneIgnorePatterns = (tasks, pruneIgnorePatterns) => pruneIgnorePatterns.length === 0 ? tasks : tasks.map((task) => ({
|
|
222919
|
+
patterns: task.patterns,
|
|
222920
|
+
options: {
|
|
222921
|
+
...task.options,
|
|
222922
|
+
ignore: [...task.options.ignore, ...pruneIgnorePatterns]
|
|
222923
|
+
}
|
|
222924
|
+
}));
|
|
222148
222925
|
var normalizeExpandDirectoriesOption = (options, cwd) => ({
|
|
222149
222926
|
...cwd ? { cwd } : {},
|
|
222150
222927
|
...Array.isArray(options) ? { files: options } : options
|
|
222151
222928
|
});
|
|
222152
|
-
var generateTasks = async (patterns, options) => {
|
|
222929
|
+
var generateTasks = async (patterns, options, pruneIgnorePatterns = []) => {
|
|
222153
222930
|
const globTasks = convertNegativePatterns(patterns, options);
|
|
222154
222931
|
const { cwd, expandDirectories, fs: fsImplementation } = options;
|
|
222155
222932
|
if (!expandDirectories) {
|
|
222156
|
-
return applyParentDirectoryIgnoreAdjustments(globTasks);
|
|
222933
|
+
return appendPruneIgnorePatterns(applyParentDirectoryIgnoreAdjustments(globTasks), pruneIgnorePatterns);
|
|
222157
222934
|
}
|
|
222158
222935
|
const directoryToGlobOptions = {
|
|
222159
222936
|
...normalizeExpandDirectoriesOption(expandDirectories, cwd),
|
|
222160
222937
|
fs: fsImplementation
|
|
222161
222938
|
};
|
|
222162
|
-
|
|
222939
|
+
const tasks = await Promise.all(globTasks.map(async (task) => {
|
|
222163
222940
|
let { patterns: patterns2, options: options2 } = task;
|
|
222164
222941
|
[
|
|
222165
222942
|
patterns2,
|
|
@@ -222171,48 +222948,62 @@ var generateTasks = async (patterns, options) => {
|
|
|
222171
222948
|
options2.ignore = adjustIgnorePatternsForParentDirectories(patterns2, options2.ignore);
|
|
222172
222949
|
return { patterns: patterns2, options: options2 };
|
|
222173
222950
|
}));
|
|
222951
|
+
return appendPruneIgnorePatterns(tasks, pruneIgnorePatterns);
|
|
222174
222952
|
};
|
|
222175
|
-
var generateTasksSync = (patterns, options) => {
|
|
222953
|
+
var generateTasksSync = (patterns, options, pruneIgnorePatterns = []) => {
|
|
222176
222954
|
const globTasks = convertNegativePatterns(patterns, options);
|
|
222177
222955
|
const { cwd, expandDirectories, fs: fsImplementation } = options;
|
|
222178
222956
|
if (!expandDirectories) {
|
|
222179
|
-
return applyParentDirectoryIgnoreAdjustments(globTasks);
|
|
222957
|
+
return appendPruneIgnorePatterns(applyParentDirectoryIgnoreAdjustments(globTasks), pruneIgnorePatterns);
|
|
222180
222958
|
}
|
|
222181
222959
|
const directoryToGlobSyncOptions = {
|
|
222182
222960
|
...normalizeExpandDirectoriesOption(expandDirectories, cwd),
|
|
222183
222961
|
fs: fsImplementation
|
|
222184
222962
|
};
|
|
222185
|
-
|
|
222963
|
+
const tasks = globTasks.map((task) => {
|
|
222186
222964
|
let { patterns: patterns2, options: options2 } = task;
|
|
222187
222965
|
patterns2 = directoryToGlobSync(patterns2, directoryToGlobSyncOptions);
|
|
222188
222966
|
options2.ignore = directoryToGlobSync(options2.ignore, { cwd, fs: fsImplementation });
|
|
222189
222967
|
options2.ignore = adjustIgnorePatternsForParentDirectories(patterns2, options2.ignore);
|
|
222190
222968
|
return { patterns: patterns2, options: options2 };
|
|
222191
222969
|
});
|
|
222970
|
+
return appendPruneIgnorePatterns(tasks, pruneIgnorePatterns);
|
|
222192
222971
|
};
|
|
222193
222972
|
var globby = normalizeArguments(async (patterns, options) => {
|
|
222194
|
-
|
|
222195
|
-
const
|
|
222196
|
-
const
|
|
222197
|
-
|
|
222973
|
+
assertGlobalGitignoreAsyncSupport(options);
|
|
222974
|
+
const { options: modifiedOptions, pruneIgnorePatterns, filter } = await applyIgnoreFilesAndGetFilter(options);
|
|
222975
|
+
const tasks = await generateTasks(patterns, modifiedOptions, pruneIgnorePatterns);
|
|
222976
|
+
const results = await Promise.all(tasks.map((task) => import_fast_glob3.default(task.patterns, task.options)));
|
|
222977
|
+
return unionFastGlobResultsAsync(results, filter);
|
|
222198
222978
|
});
|
|
222199
222979
|
var globbySync = normalizeArgumentsSync((patterns, options) => {
|
|
222200
|
-
|
|
222201
|
-
const
|
|
222202
|
-
const
|
|
222980
|
+
assertGlobalGitignoreSyncSupport(options);
|
|
222981
|
+
const { options: modifiedOptions, pruneIgnorePatterns, filter } = applyIgnoreFilesAndGetFilterSync(options);
|
|
222982
|
+
const tasks = generateTasksSync(patterns, modifiedOptions, pruneIgnorePatterns);
|
|
222983
|
+
const results = tasks.map((task) => import_fast_glob3.default.sync(task.patterns, task.options));
|
|
222203
222984
|
return unionFastGlobResults(results, filter);
|
|
222204
222985
|
});
|
|
222205
222986
|
var globbyStream = normalizeArgumentsSync((patterns, options) => {
|
|
222206
|
-
|
|
222207
|
-
const
|
|
222208
|
-
const
|
|
222209
|
-
|
|
222210
|
-
|
|
222211
|
-
|
|
222212
|
-
|
|
222987
|
+
assertGlobalGitignoreAsyncSupport(options);
|
|
222988
|
+
const seen = new Set;
|
|
222989
|
+
const stream = Readable.from(async function* () {
|
|
222990
|
+
const { options: modifiedOptions, pruneIgnorePatterns, filter } = await applyIgnoreFilesAndGetFilter(options);
|
|
222991
|
+
const tasks = await generateTasks(patterns, modifiedOptions, pruneIgnorePatterns);
|
|
222992
|
+
if (tasks.length === 0) {
|
|
222993
|
+
return;
|
|
222994
|
+
}
|
|
222995
|
+
const streams = tasks.map((task) => import_fast_glob3.default.stream(task.patterns, task.options));
|
|
222996
|
+
for await (const fastGlobResult of mergeStreams(streams)) {
|
|
222997
|
+
const pathKey = nodePath.normalize(fastGlobResult.path ?? fastGlobResult);
|
|
222998
|
+
if (!seen.has(pathKey) && await filter(fastGlobResult)) {
|
|
222999
|
+
seen.add(pathKey);
|
|
223000
|
+
yield fastGlobResult;
|
|
223001
|
+
}
|
|
223002
|
+
}
|
|
223003
|
+
}());
|
|
222213
223004
|
return stream;
|
|
222214
223005
|
});
|
|
222215
|
-
var isDynamicPattern = normalizeArgumentsSync((patterns, options) => patterns.some((pattern) =>
|
|
223006
|
+
var isDynamicPattern = normalizeArgumentsSync((patterns, options) => patterns.some((pattern) => import_fast_glob3.default.isDynamicPattern(pattern, options)));
|
|
222216
223007
|
var generateGlobTasks = normalizeArguments(generateTasks);
|
|
222217
223008
|
var generateGlobTasksSync = normalizeArgumentsSync(generateTasksSync);
|
|
222218
223009
|
|
|
@@ -238437,7 +239228,7 @@ var ansi_styles_default = ansiStyles;
|
|
|
238437
239228
|
|
|
238438
239229
|
// ../../node_modules/chalk/source/vendor/supports-color/index.js
|
|
238439
239230
|
import process5 from "node:process";
|
|
238440
|
-
import
|
|
239231
|
+
import os2 from "node:os";
|
|
238441
239232
|
import tty from "node:tty";
|
|
238442
239233
|
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process5.argv) {
|
|
238443
239234
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
@@ -238502,7 +239293,7 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
238502
239293
|
return min;
|
|
238503
239294
|
}
|
|
238504
239295
|
if (process5.platform === "win32") {
|
|
238505
|
-
const osRelease =
|
|
239296
|
+
const osRelease = os2.release().split(".");
|
|
238506
239297
|
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
238507
239298
|
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
238508
239299
|
}
|
|
@@ -244870,6 +245661,34 @@ var DeployResponseSchema = exports_external.object({
|
|
|
244870
245661
|
var PublishedUrlResponseSchema = exports_external.object({
|
|
244871
245662
|
url: exports_external.string()
|
|
244872
245663
|
});
|
|
245664
|
+
var CreateDeploymentResponseSchema = exports_external.object({
|
|
245665
|
+
deployment_id: exports_external.string(),
|
|
245666
|
+
asset_uploads: exports_external.object({
|
|
245667
|
+
type: exports_external.literal("s3"),
|
|
245668
|
+
uploads: exports_external.array(exports_external.object({
|
|
245669
|
+
path: exports_external.string(),
|
|
245670
|
+
content_type: exports_external.string(),
|
|
245671
|
+
content_length: exports_external.number(),
|
|
245672
|
+
url: exports_external.string()
|
|
245673
|
+
}))
|
|
245674
|
+
}).nullable().optional()
|
|
245675
|
+
}).transform((data) => ({
|
|
245676
|
+
deploymentId: data.deployment_id,
|
|
245677
|
+
assetUploads: data.asset_uploads == null ? null : {
|
|
245678
|
+
type: "s3",
|
|
245679
|
+
uploads: data.asset_uploads.uploads.map((upload) => ({
|
|
245680
|
+
path: upload.path,
|
|
245681
|
+
contentType: upload.content_type,
|
|
245682
|
+
contentLength: upload.content_length,
|
|
245683
|
+
url: upload.url
|
|
245684
|
+
}))
|
|
245685
|
+
}
|
|
245686
|
+
}));
|
|
245687
|
+
var FinalizeDeploymentResponseSchema = exports_external.object({
|
|
245688
|
+
deployment_id: exports_external.string()
|
|
245689
|
+
}).transform((data) => ({
|
|
245690
|
+
deploymentId: data.deployment_id
|
|
245691
|
+
}));
|
|
244873
245692
|
|
|
244874
245693
|
// src/core/project/api.ts
|
|
244875
245694
|
var PUBLIC_SETTINGS = {
|
|
@@ -247282,7 +248101,7 @@ var package_default = {
|
|
|
247282
248101
|
express: "^5.0.1",
|
|
247283
248102
|
"front-matter": "^4.0.2",
|
|
247284
248103
|
"get-port": "^7.1.0",
|
|
247285
|
-
globby: "^16.
|
|
248104
|
+
globby: "^16.2.2",
|
|
247286
248105
|
"http-proxy-middleware": "^3.0.5",
|
|
247287
248106
|
"json-schema-to-typescript": "^15.0.4",
|
|
247288
248107
|
json5: "^2.2.3",
|
|
@@ -247463,6 +248282,42 @@ async function uploadSite(archivePath) {
|
|
|
247463
248282
|
}
|
|
247464
248283
|
return result.data;
|
|
247465
248284
|
}
|
|
248285
|
+
async function createDeployment(request) {
|
|
248286
|
+
const appClient = getAppClient();
|
|
248287
|
+
let response;
|
|
248288
|
+
try {
|
|
248289
|
+
response = await appClient.post("deployments", {
|
|
248290
|
+
json: request,
|
|
248291
|
+
timeout: 120000
|
|
248292
|
+
});
|
|
248293
|
+
} catch (error48) {
|
|
248294
|
+
throw await ApiError.fromHttpError(error48, "creating deployment");
|
|
248295
|
+
}
|
|
248296
|
+
const result = CreateDeploymentResponseSchema.safeParse(await response.json());
|
|
248297
|
+
if (!result.success) {
|
|
248298
|
+
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
248299
|
+
}
|
|
248300
|
+
return result.data;
|
|
248301
|
+
}
|
|
248302
|
+
async function finalizeStaticDeployment(deploymentId, indexHtml) {
|
|
248303
|
+
const formData = new FormData;
|
|
248304
|
+
formData.append("index.html", new File([indexHtml], "index.html", { type: "text/html" }));
|
|
248305
|
+
return await postFinalize(deploymentId, formData);
|
|
248306
|
+
}
|
|
248307
|
+
async function postFinalize(deploymentId, formData) {
|
|
248308
|
+
const appClient = getAppClient();
|
|
248309
|
+
let response;
|
|
248310
|
+
try {
|
|
248311
|
+
response = await appClient.post(`deployments/${encodeURIComponent(deploymentId)}/finalize`, { body: formData, timeout: 180000 });
|
|
248312
|
+
} catch (error48) {
|
|
248313
|
+
throw await ApiError.fromHttpError(error48, "finalizing deployment");
|
|
248314
|
+
}
|
|
248315
|
+
const result = FinalizeDeploymentResponseSchema.safeParse(await response.json());
|
|
248316
|
+
if (!result.success) {
|
|
248317
|
+
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
248318
|
+
}
|
|
248319
|
+
return result.data;
|
|
248320
|
+
}
|
|
247466
248321
|
// src/core/site/config.ts
|
|
247467
248322
|
async function getSiteFilePaths(outputDir) {
|
|
247468
248323
|
return await globby("**/*", {
|
|
@@ -247509,74 +248364,10 @@ async function createArchive(pathToArchive, targetArchivePath) {
|
|
|
247509
248364
|
// src/core/site/deploy-app.ts
|
|
247510
248365
|
import { resolve as resolve3 } from "node:path";
|
|
247511
248366
|
|
|
247512
|
-
// src/core/
|
|
247513
|
-
|
|
247514
|
-
|
|
247515
|
-
deployment_id: exports_external.string(),
|
|
247516
|
-
asset_uploads: exports_external.object({
|
|
247517
|
-
type: exports_external.literal("s3"),
|
|
247518
|
-
uploads: exports_external.array(exports_external.object({
|
|
247519
|
-
path: exports_external.string(),
|
|
247520
|
-
content_type: exports_external.string(),
|
|
247521
|
-
content_length: exports_external.number(),
|
|
247522
|
-
url: exports_external.string()
|
|
247523
|
-
}))
|
|
247524
|
-
}).nullable().optional()
|
|
247525
|
-
}).transform((data) => ({
|
|
247526
|
-
deploymentId: data.deployment_id,
|
|
247527
|
-
assetUploads: data.asset_uploads == null ? null : {
|
|
247528
|
-
type: "s3",
|
|
247529
|
-
uploads: data.asset_uploads.uploads.map((upload) => ({
|
|
247530
|
-
path: upload.path,
|
|
247531
|
-
contentType: upload.content_type,
|
|
247532
|
-
contentLength: upload.content_length,
|
|
247533
|
-
url: upload.url
|
|
247534
|
-
}))
|
|
247535
|
-
}
|
|
247536
|
-
}));
|
|
247537
|
-
var FinalizeDeploymentResponseSchema = exports_external.object({
|
|
247538
|
-
deployment_id: exports_external.string()
|
|
247539
|
-
}).transform((data) => ({
|
|
247540
|
-
deploymentId: data.deployment_id
|
|
247541
|
-
}));
|
|
248367
|
+
// src/core/site/static-site.ts
|
|
248368
|
+
import { readFile as readFile4 } from "node:fs/promises";
|
|
248369
|
+
import { join as join16 } from "node:path";
|
|
247542
248370
|
|
|
247543
|
-
// src/core/deployments/api.ts
|
|
247544
|
-
async function createDeployment(request) {
|
|
247545
|
-
const appClient = getAppClient();
|
|
247546
|
-
let response;
|
|
247547
|
-
try {
|
|
247548
|
-
response = await appClient.post("deployments", {
|
|
247549
|
-
json: request,
|
|
247550
|
-
timeout: 120000
|
|
247551
|
-
});
|
|
247552
|
-
} catch (error48) {
|
|
247553
|
-
throw await ApiError.fromHttpError(error48, "creating deployment");
|
|
247554
|
-
}
|
|
247555
|
-
const result = CreateDeploymentResponseSchema.safeParse(await response.json());
|
|
247556
|
-
if (!result.success) {
|
|
247557
|
-
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
247558
|
-
}
|
|
247559
|
-
return result.data;
|
|
247560
|
-
}
|
|
247561
|
-
async function finalizeStaticDeployment(deploymentId, indexHtml) {
|
|
247562
|
-
const formData = new FormData;
|
|
247563
|
-
formData.append("index.html", new File([indexHtml], "index.html", { type: "text/html" }));
|
|
247564
|
-
return await postFinalize(deploymentId, formData);
|
|
247565
|
-
}
|
|
247566
|
-
async function postFinalize(deploymentId, formData) {
|
|
247567
|
-
const appClient = getAppClient();
|
|
247568
|
-
let response;
|
|
247569
|
-
try {
|
|
247570
|
-
response = await appClient.post(`deployments/${encodeURIComponent(deploymentId)}/finalize`, { body: formData, timeout: 180000 });
|
|
247571
|
-
} catch (error48) {
|
|
247572
|
-
throw await ApiError.fromHttpError(error48, "finalizing deployment");
|
|
247573
|
-
}
|
|
247574
|
-
const result = FinalizeDeploymentResponseSchema.safeParse(await response.json());
|
|
247575
|
-
if (!result.success) {
|
|
247576
|
-
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
247577
|
-
}
|
|
247578
|
-
return result.data;
|
|
247579
|
-
}
|
|
247580
248371
|
// ../../node_modules/is-plain-obj/index.js
|
|
247581
248372
|
function isPlainObject2(value) {
|
|
247582
248373
|
if (typeof value !== "object" || value === null) {
|
|
@@ -254073,38 +254864,28 @@ var {
|
|
|
254073
254864
|
getCancelSignal: getCancelSignal2
|
|
254074
254865
|
} = getIpcExport();
|
|
254075
254866
|
|
|
254076
|
-
// src/core/
|
|
254077
|
-
|
|
254078
|
-
|
|
254079
|
-
|
|
254080
|
-
throw new InvalidInputError(explicit ? `'${explicit}' is not a git commit hash.` : "Deployments are addressed by the commit that produced the build, and no git commit was found.", {
|
|
254081
|
-
hints: [
|
|
254082
|
-
{
|
|
254083
|
-
message: "Run the deploy from a git checkout, or pass the commit explicitly with --git-hash."
|
|
254084
|
-
}
|
|
254085
|
-
]
|
|
254086
|
-
});
|
|
254087
|
-
}
|
|
254088
|
-
return hash2;
|
|
254867
|
+
// src/core/utils/git.ts
|
|
254868
|
+
var GIT_HASH_PATTERN = /^[a-fA-F0-9]{7,64}$/;
|
|
254869
|
+
function isGitCommitHash(value) {
|
|
254870
|
+
return GIT_HASH_PATTERN.test(value);
|
|
254089
254871
|
}
|
|
254090
|
-
async function
|
|
254872
|
+
async function getGitHead(cwd) {
|
|
254091
254873
|
try {
|
|
254092
|
-
const { stdout } = await execa("git", ["rev-parse", "HEAD"], {
|
|
254093
|
-
cwd: projectRoot
|
|
254094
|
-
});
|
|
254874
|
+
const { stdout } = await execa("git", ["rev-parse", "HEAD"], { cwd });
|
|
254095
254875
|
return stdout.trim();
|
|
254096
254876
|
} catch {
|
|
254097
254877
|
return null;
|
|
254098
254878
|
}
|
|
254099
254879
|
}
|
|
254100
|
-
|
|
254880
|
+
|
|
254881
|
+
// src/core/site/manifest.ts
|
|
254101
254882
|
import { createHash } from "node:crypto";
|
|
254102
|
-
import {
|
|
254103
|
-
import { join as join15 } from "node:path";
|
|
254883
|
+
import { readFile as readFile2, stat } from "node:fs/promises";
|
|
254884
|
+
import { basename as basename4, join as join15 } from "node:path";
|
|
254104
254885
|
var MAX_ASSET_SIZE_BYTES = 25 * 1024 * 1024;
|
|
254105
254886
|
var MAX_ASSET_COUNT = 1e5;
|
|
254106
254887
|
var ASSETS_IGNORE_FILE = ".assetsignore";
|
|
254107
|
-
var
|
|
254888
|
+
var ALWAYS_IGNORED = new Set([
|
|
254108
254889
|
ASSETS_IGNORE_FILE,
|
|
254109
254890
|
"wrangler.json",
|
|
254110
254891
|
".dev.vars"
|
|
@@ -254112,63 +254893,17 @@ var ALWAYS_SKIPPED_FILES = new Set([
|
|
|
254112
254893
|
function hashAsset(appId, content) {
|
|
254113
254894
|
return createHash("sha256").update(Buffer.from(appId, "utf8")).update(content).digest("hex").slice(0, 32);
|
|
254114
254895
|
}
|
|
254115
|
-
function globToRegExp(glob) {
|
|
254116
|
-
let source = "";
|
|
254117
|
-
for (let i2 = 0;i2 < glob.length; i2++) {
|
|
254118
|
-
const char = glob[i2];
|
|
254119
|
-
if (char === "*") {
|
|
254120
|
-
if (glob[i2 + 1] === "*") {
|
|
254121
|
-
source += ".*";
|
|
254122
|
-
i2++;
|
|
254123
|
-
} else {
|
|
254124
|
-
source += "[^/]*";
|
|
254125
|
-
}
|
|
254126
|
-
} else if (char === "?") {
|
|
254127
|
-
source += "[^/]";
|
|
254128
|
-
} else {
|
|
254129
|
-
source += char.replace(/[.+^${}()|[\]\\]/g, "\\$&");
|
|
254130
|
-
}
|
|
254131
|
-
}
|
|
254132
|
-
return new RegExp(`^${source}$`);
|
|
254133
|
-
}
|
|
254134
|
-
function createIgnoreMatcher(lines) {
|
|
254135
|
-
const rules = lines.map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#")).map((line) => {
|
|
254136
|
-
const isDirOnly = line.endsWith("/");
|
|
254137
|
-
let pattern = isDirOnly ? line.slice(0, -1) : line;
|
|
254138
|
-
const anchored = pattern.includes("/");
|
|
254139
|
-
pattern = pattern.replace(/^\//, "");
|
|
254140
|
-
return { regex: globToRegExp(pattern), anchored, isDirOnly };
|
|
254141
|
-
});
|
|
254142
|
-
return (relativePath, isDirectory2) => {
|
|
254143
|
-
const segments = relativePath.split("/");
|
|
254144
|
-
return rules.some((rule) => {
|
|
254145
|
-
if (rule.anchored) {
|
|
254146
|
-
if (rule.isDirOnly ? isDirectory2 : true) {
|
|
254147
|
-
if (rule.regex.test(relativePath))
|
|
254148
|
-
return true;
|
|
254149
|
-
}
|
|
254150
|
-
return false;
|
|
254151
|
-
}
|
|
254152
|
-
const basename4 = segments[segments.length - 1];
|
|
254153
|
-
if (rule.isDirOnly && !isDirectory2)
|
|
254154
|
-
return false;
|
|
254155
|
-
return rule.regex.test(basename4);
|
|
254156
|
-
});
|
|
254157
|
-
};
|
|
254158
|
-
}
|
|
254159
|
-
async function loadIgnoreMatcher(assetsDir) {
|
|
254160
|
-
const ignorePath = join15(assetsDir, ASSETS_IGNORE_FILE);
|
|
254161
|
-
if (!await pathExists(ignorePath)) {
|
|
254162
|
-
return () => false;
|
|
254163
|
-
}
|
|
254164
|
-
const content = await readTextFile(ignorePath);
|
|
254165
|
-
return createIgnoreMatcher(content.split(/\r?\n/));
|
|
254166
|
-
}
|
|
254167
254896
|
async function buildAssetManifest(assetsDir, appId) {
|
|
254168
|
-
const isIgnored = await loadIgnoreMatcher(assetsDir);
|
|
254169
254897
|
const manifest = {};
|
|
254170
254898
|
const filesByHash = new Map;
|
|
254171
|
-
const
|
|
254899
|
+
const found = await globby("**/*", {
|
|
254900
|
+
cwd: assetsDir,
|
|
254901
|
+
dot: true,
|
|
254902
|
+
onlyFiles: true,
|
|
254903
|
+
followSymbolicLinks: false,
|
|
254904
|
+
ignoreFiles: [ASSETS_IGNORE_FILE]
|
|
254905
|
+
});
|
|
254906
|
+
const relativeFilePaths = found.filter((path16) => !ALWAYS_IGNORED.has(basename4(path16)));
|
|
254172
254907
|
if (relativeFilePaths.length > MAX_ASSET_COUNT) {
|
|
254173
254908
|
throw new InvalidInputError(`Too many static assets: found ${relativeFilePaths.length}, the limit is ${MAX_ASSET_COUNT} files.`);
|
|
254174
254909
|
}
|
|
@@ -254187,32 +254922,8 @@ async function buildAssetManifest(assetsDir, appId) {
|
|
|
254187
254922
|
}
|
|
254188
254923
|
return { manifest, filesByHash };
|
|
254189
254924
|
}
|
|
254190
|
-
async function collectFilePaths(dir, relativeDir, isIgnored) {
|
|
254191
|
-
const entries = await readdir2(dir, { withFileTypes: true });
|
|
254192
|
-
const results = [];
|
|
254193
|
-
for (const entry of entries) {
|
|
254194
|
-
const relativePath = relativeDir ? `${relativeDir}/${entry.name}` : entry.name;
|
|
254195
|
-
if (entry.isDirectory()) {
|
|
254196
|
-
if (isIgnored(relativePath, true))
|
|
254197
|
-
continue;
|
|
254198
|
-
results.push(...await collectFilePaths(join15(dir, entry.name), relativePath, isIgnored));
|
|
254199
|
-
continue;
|
|
254200
|
-
}
|
|
254201
|
-
if (!entry.isFile())
|
|
254202
|
-
continue;
|
|
254203
|
-
if (ALWAYS_SKIPPED_FILES.has(entry.name))
|
|
254204
|
-
continue;
|
|
254205
|
-
if (isIgnored(relativePath, false))
|
|
254206
|
-
continue;
|
|
254207
|
-
results.push(relativePath);
|
|
254208
|
-
}
|
|
254209
|
-
return results;
|
|
254210
|
-
}
|
|
254211
|
-
// src/core/deployments/static-site.ts
|
|
254212
|
-
import { readFile as readFile4 } from "node:fs/promises";
|
|
254213
|
-
import { join as join16 } from "node:path";
|
|
254214
254925
|
|
|
254215
|
-
// src/core/
|
|
254926
|
+
// src/core/site/upload.ts
|
|
254216
254927
|
import { readFile as readFile3 } from "node:fs/promises";
|
|
254217
254928
|
var UPLOAD_CONCURRENCY = 3;
|
|
254218
254929
|
var MAX_ATTEMPTS_PER_UPLOAD = 3;
|
|
@@ -254260,14 +254971,10 @@ function sleep3(ms) {
|
|
|
254260
254971
|
return new Promise((resolve3) => setTimeout(resolve3, ms));
|
|
254261
254972
|
}
|
|
254262
254973
|
|
|
254263
|
-
// src/core/
|
|
254264
|
-
var STATIC_DEPLOYMENTS_ENV = "BASE44_STATIC_DEPLOYMENTS";
|
|
254265
|
-
function staticDeploymentsEnabled(env2 = process.env) {
|
|
254266
|
-
const value = env2[STATIC_DEPLOYMENTS_ENV];
|
|
254267
|
-
return value === "1" || value === "true";
|
|
254268
|
-
}
|
|
254974
|
+
// src/core/site/static-site.ts
|
|
254269
254975
|
async function deployStaticSite(options) {
|
|
254270
|
-
const { outputDir,
|
|
254976
|
+
const { outputDir, projectRoot, progress } = options;
|
|
254977
|
+
const gitHash = await resolveGitHash(projectRoot, options.gitHash);
|
|
254271
254978
|
const assets = await buildAssetManifest(outputDir, getAppContext().id);
|
|
254272
254979
|
if (!assets.manifest["/index.html"]) {
|
|
254273
254980
|
throw new InvalidInputError(`No index.html found in "${outputDir}" — a static site needs one at the output directory root.`);
|
|
@@ -254288,26 +254995,40 @@ async function deployStaticSite(options) {
|
|
|
254288
254995
|
const finalized = await finalizeStaticDeployment(created.deploymentId, new Uint8Array(indexHtml));
|
|
254289
254996
|
return { deploymentId: finalized.deploymentId, gitHash };
|
|
254290
254997
|
}
|
|
254998
|
+
async function resolveGitHash(projectRoot, explicit) {
|
|
254999
|
+
const hash2 = explicit ?? await getGitHead(projectRoot);
|
|
255000
|
+
if (!hash2 || !isGitCommitHash(hash2)) {
|
|
255001
|
+
throw new InvalidInputError(explicit ? `'${explicit}' is not a git commit hash.` : "Deployments are addressed by the commit that produced the build, and no git commit was found.", {
|
|
255002
|
+
hints: [
|
|
255003
|
+
{
|
|
255004
|
+
message: "Run the deploy from a git checkout, or pass the commit explicitly: base44 site deploy --git-hash <commit>."
|
|
255005
|
+
}
|
|
255006
|
+
]
|
|
255007
|
+
});
|
|
255008
|
+
}
|
|
255009
|
+
return hash2;
|
|
255010
|
+
}
|
|
255011
|
+
|
|
254291
255012
|
// src/core/site/deploy-app.ts
|
|
254292
|
-
|
|
255013
|
+
function planAppDeploy(target, staticDeployments) {
|
|
254293
255014
|
const outputDirectory = target.site?.outputDirectory;
|
|
254294
255015
|
if (!outputDirectory) {
|
|
254295
255016
|
return { kind: "none" };
|
|
254296
255017
|
}
|
|
254297
255018
|
const outputDir = resolve3(target.root, outputDirectory);
|
|
254298
|
-
return
|
|
255019
|
+
return staticDeployments ? { kind: "static-deployment", outputDir } : { kind: "static", outputDir };
|
|
254299
255020
|
}
|
|
254300
|
-
|
|
254301
|
-
return
|
|
255021
|
+
function detectAppDeployKind(target, options = {}) {
|
|
255022
|
+
return planAppDeploy(target, options.staticDeployments ?? false).kind;
|
|
254302
255023
|
}
|
|
254303
255024
|
async function deployAppSite(target, options = {}) {
|
|
254304
|
-
const plan =
|
|
255025
|
+
const plan = planAppDeploy(target, options.staticDeployments ?? false);
|
|
254305
255026
|
switch (plan.kind) {
|
|
254306
255027
|
case "static-deployment": {
|
|
254307
|
-
const gitHash = await
|
|
254308
|
-
const { deploymentId } = await deployStaticSite({
|
|
255028
|
+
const { deploymentId, gitHash } = await deployStaticSite({
|
|
254309
255029
|
outputDir: plan.outputDir,
|
|
254310
|
-
|
|
255030
|
+
projectRoot: target.root,
|
|
255031
|
+
gitHash: options.gitHash,
|
|
254311
255032
|
progress: options.progress
|
|
254312
255033
|
});
|
|
254313
255034
|
return { kind: "static-deployment", deploymentId, gitHash };
|
|
@@ -254320,6 +255041,12 @@ async function deployAppSite(target, options = {}) {
|
|
|
254320
255041
|
return { kind: "none" };
|
|
254321
255042
|
}
|
|
254322
255043
|
}
|
|
255044
|
+
// src/core/site/gate.ts
|
|
255045
|
+
var STATIC_DEPLOYMENTS_ENV = "BASE44_STATIC_DEPLOYMENTS";
|
|
255046
|
+
function staticDeploymentsEnabled(env2 = process.env) {
|
|
255047
|
+
const value = env2[STATIC_DEPLOYMENTS_ENV];
|
|
255048
|
+
return value === "1" || value === "true";
|
|
255049
|
+
}
|
|
254323
255050
|
// src/core/project/deploy.ts
|
|
254324
255051
|
function hasResourcesToDeploy(projectData) {
|
|
254325
255052
|
const {
|
|
@@ -255702,7 +256429,7 @@ import fs18, { constants as fsConstants } from "node:fs/promises";
|
|
|
255702
256429
|
|
|
255703
256430
|
// ../../node_modules/is-wsl/index.js
|
|
255704
256431
|
import process14 from "node:process";
|
|
255705
|
-
import
|
|
256432
|
+
import os3 from "node:os";
|
|
255706
256433
|
import fs17 from "node:fs";
|
|
255707
256434
|
|
|
255708
256435
|
// ../../node_modules/is-inside-container/index.js
|
|
@@ -255755,7 +256482,7 @@ var isWsl = () => {
|
|
|
255755
256482
|
if (process14.platform !== "linux") {
|
|
255756
256483
|
return false;
|
|
255757
256484
|
}
|
|
255758
|
-
if (
|
|
256485
|
+
if (os3.release().toLowerCase().includes("microsoft")) {
|
|
255759
256486
|
if (isInsideContainer()) {
|
|
255760
256487
|
return false;
|
|
255761
256488
|
}
|
|
@@ -257033,7 +257760,7 @@ function getBuildCommand() {
|
|
|
257033
257760
|
}
|
|
257034
257761
|
|
|
257035
257762
|
// src/cli/commands/project/create.ts
|
|
257036
|
-
import { basename as
|
|
257763
|
+
import { basename as basename5, resolve as resolve9 } from "node:path";
|
|
257037
257764
|
var import_kebabCase = __toESM(require_kebabCase(), 1);
|
|
257038
257765
|
|
|
257039
257766
|
// src/cli/commands/project/scaffold-shared.ts
|
|
@@ -257194,8 +257921,8 @@ async function createInteractive(options, ctx) {
|
|
|
257194
257921
|
name: () => {
|
|
257195
257922
|
return options.name ? Promise.resolve(options.name) : Ze({
|
|
257196
257923
|
message: "What is the name of your project?",
|
|
257197
|
-
placeholder:
|
|
257198
|
-
initialValue:
|
|
257924
|
+
placeholder: basename5(process.cwd()),
|
|
257925
|
+
initialValue: basename5(process.cwd()),
|
|
257199
257926
|
validate: (value) => {
|
|
257200
257927
|
if (!value || value.trim().length === 0) {
|
|
257201
257928
|
return "Every project deserves a name";
|
|
@@ -257312,19 +258039,16 @@ var TASK_LABELS = {
|
|
|
257312
258039
|
error: "Deployment failed"
|
|
257313
258040
|
}
|
|
257314
258041
|
};
|
|
257315
|
-
async function runAppSiteDeploy({ runTask: runTask2, log }, target, options = {}) {
|
|
257316
|
-
const kind =
|
|
258042
|
+
async function runAppSiteDeploy({ runTask: runTask2, log, staticDeployments }, target, options = {}) {
|
|
258043
|
+
const kind = detectAppDeployKind(target, { staticDeployments });
|
|
257317
258044
|
if (kind === "none")
|
|
257318
258045
|
return { kind: "none" };
|
|
257319
258046
|
const labels = TASK_LABELS[kind];
|
|
257320
258047
|
const progressLines = [];
|
|
257321
|
-
const warnings = [];
|
|
257322
258048
|
const result = await runTask2(labels.start, async (updateMessage) => await deployAppSite(target, {
|
|
258049
|
+
staticDeployments,
|
|
257323
258050
|
gitHash: options.gitHash,
|
|
257324
258051
|
progress: {
|
|
257325
|
-
onWarning: (message) => {
|
|
257326
|
-
warnings.push(message);
|
|
257327
|
-
},
|
|
257328
258052
|
onAssets: ({ totalAssets, newAssets }) => {
|
|
257329
258053
|
const line = `Found ${totalAssets} static assets (${newAssets} new)`;
|
|
257330
258054
|
progressLines.push(line);
|
|
@@ -257341,9 +258065,6 @@ async function runAppSiteDeploy({ runTask: runTask2, log }, target, options = {}
|
|
|
257341
258065
|
for (const line of progressLines) {
|
|
257342
258066
|
log.message(theme.styles.dim(line));
|
|
257343
258067
|
}
|
|
257344
|
-
for (const warning of warnings) {
|
|
257345
|
-
log.warn(warning);
|
|
257346
|
-
}
|
|
257347
258068
|
return result;
|
|
257348
258069
|
}
|
|
257349
258070
|
|
|
@@ -257355,8 +258076,7 @@ async function deployAction(ctx, options = {}) {
|
|
|
257355
258076
|
}
|
|
257356
258077
|
const projectData = await readProjectConfig(options.projectRoot);
|
|
257357
258078
|
const { project: project2, entities, functions, agents, connectors, authConfig } = projectData;
|
|
257358
|
-
|
|
257359
|
-
if (!hasResourcesToDeploy(projectData) && plannedSite === "none") {
|
|
258079
|
+
if (!hasResourcesToDeploy(projectData)) {
|
|
257360
258080
|
return {
|
|
257361
258081
|
outroMessage: "No resources found to deploy"
|
|
257362
258082
|
};
|
|
@@ -257415,9 +258135,7 @@ ${summaryLines.join(`
|
|
|
257415
258135
|
formatDeployResult(r, log);
|
|
257416
258136
|
}
|
|
257417
258137
|
});
|
|
257418
|
-
const siteResult = await runAppSiteDeploy(ctx, project2
|
|
257419
|
-
gitHash: options.gitHash
|
|
257420
|
-
});
|
|
258138
|
+
const siteResult = await runAppSiteDeploy(ctx, project2);
|
|
257421
258139
|
const connectorResults = result.connectorResults ?? [];
|
|
257422
258140
|
await handleOAuthConnectors(connectorResults, isNonInteractive, options, log);
|
|
257423
258141
|
const stripeResult = connectorResults.find((r) => r.type === "stripe");
|
|
@@ -257445,7 +258163,7 @@ function printDeploymentSummary(deployment, log) {
|
|
|
257445
258163
|
log.message(`${theme.styles.header("Deployment")}: ${deployment.deploymentId} ${theme.styles.dim(`(commit ${deployment.gitHash.slice(0, 12)})`)}`);
|
|
257446
258164
|
}
|
|
257447
258165
|
function getDeployCommand2() {
|
|
257448
|
-
return new Base44Command("deploy").description("Deploy all project resources (entities, functions, agents, connectors, and site)").option("-y, --yes", "Skip confirmation prompt").option("--
|
|
258166
|
+
return new Base44Command("deploy").description("Deploy all project resources (entities, functions, agents, connectors, and site)").option("-y, --yes", "Skip confirmation prompt").option("--build", "Build the site before deploying (skips the prompt)").option("--no-build", "Deploy without building (skips the prompt)").action(deployAction);
|
|
257449
258167
|
}
|
|
257450
258168
|
async function handleOAuthConnectors(connectorResults, isNonInteractive, options, log) {
|
|
257451
258169
|
const needsOAuth = filterPendingOAuth(connectorResults);
|
|
@@ -257837,7 +258555,7 @@ function getLogsCommand() {
|
|
|
257837
258555
|
}
|
|
257838
258556
|
|
|
257839
258557
|
// src/cli/commands/project/scaffold.ts
|
|
257840
|
-
import { basename as
|
|
258558
|
+
import { basename as basename6, resolve as resolve10 } from "node:path";
|
|
257841
258559
|
function resolveAppId(options) {
|
|
257842
258560
|
const appId = options.appId;
|
|
257843
258561
|
if (!appId) {
|
|
@@ -257854,7 +258572,7 @@ async function scaffoldAction(ctx, name2, options, command2) {
|
|
|
257854
258572
|
const { log, runTask: runTask2 } = ctx;
|
|
257855
258573
|
const appId = resolveAppId(command2.optsWithGlobals());
|
|
257856
258574
|
const resolvedPath = resolve10("./");
|
|
257857
|
-
const projectName = (name2 ??
|
|
258575
|
+
const projectName = (name2 ?? basename6(resolvedPath)).trim();
|
|
257858
258576
|
const template2 = await getTemplateById("backend-only");
|
|
257859
258577
|
log.info(`Scaffolding project at ${resolvedPath}`);
|
|
257860
258578
|
const { projectId } = await runTask2("Setting up your project...", async () => {
|
|
@@ -258019,7 +258737,7 @@ function withSandboxAuthHint(error48) {
|
|
|
258019
258737
|
cause: error48
|
|
258020
258738
|
});
|
|
258021
258739
|
}
|
|
258022
|
-
async function callTool(appId, tool, payload,
|
|
258740
|
+
async function callTool(appId, tool, payload, schema12, context, timeout2 = 60000) {
|
|
258023
258741
|
const client = getSandboxClient(appId);
|
|
258024
258742
|
let response;
|
|
258025
258743
|
try {
|
|
@@ -258027,7 +258745,7 @@ async function callTool(appId, tool, payload, schema13, context, timeout2 = 6000
|
|
|
258027
258745
|
} catch (error48) {
|
|
258028
258746
|
throw withSandboxAuthHint(await ApiError.fromHttpError(error48, context));
|
|
258029
258747
|
}
|
|
258030
|
-
const result =
|
|
258748
|
+
const result = schema12.safeParse(await response.json());
|
|
258031
258749
|
if (!result.success) {
|
|
258032
258750
|
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
258033
258751
|
}
|
|
@@ -258316,8 +259034,8 @@ async function deployAction2(ctx, options) {
|
|
|
258316
259034
|
throw new InvalidInputError("--yes is required in non-interactive mode");
|
|
258317
259035
|
}
|
|
258318
259036
|
const { project: project2 } = await readProjectConfig();
|
|
258319
|
-
const
|
|
258320
|
-
if (
|
|
259037
|
+
const outputDirectory = project2.site?.outputDirectory;
|
|
259038
|
+
if (!outputDirectory) {
|
|
258321
259039
|
throw new ConfigNotFoundError("No site configuration found.", {
|
|
258322
259040
|
hints: [
|
|
258323
259041
|
{
|
|
@@ -258328,7 +259046,7 @@ async function deployAction2(ctx, options) {
|
|
|
258328
259046
|
}
|
|
258329
259047
|
if (!options.yes) {
|
|
258330
259048
|
const shouldDeploy = await Re({
|
|
258331
|
-
message: `Deploy site from ${
|
|
259049
|
+
message: `Deploy site from ${outputDirectory}?`
|
|
258332
259050
|
});
|
|
258333
259051
|
if (Ct(shouldDeploy) || !shouldDeploy) {
|
|
258334
259052
|
return { outroMessage: "Deployment cancelled" };
|
|
@@ -258350,8 +259068,12 @@ async function deployAction2(ctx, options) {
|
|
|
258350
259068
|
}
|
|
258351
259069
|
return { outroMessage: "Nothing to deploy" };
|
|
258352
259070
|
}
|
|
258353
|
-
function getSiteDeployCommand() {
|
|
258354
|
-
|
|
259071
|
+
function getSiteDeployCommand(staticDeployments = false) {
|
|
259072
|
+
const command2 = new Base44Command("deploy").description("Deploy built site files to Base44 hosting").option("-y, --yes", "Skip confirmation prompt").option("--build", "Build the site before deploying (skips the prompt)").option("--no-build", "Deploy without building (skips the prompt)");
|
|
259073
|
+
if (staticDeployments) {
|
|
259074
|
+
command2.addOption(new Option("--git-hash <hash>", "Commit the build came from (defaults to the checkout's HEAD)"));
|
|
259075
|
+
}
|
|
259076
|
+
return command2.action(deployAction2);
|
|
258355
259077
|
}
|
|
258356
259078
|
|
|
258357
259079
|
// src/cli/commands/site/open.ts
|
|
@@ -258369,8 +259091,8 @@ function getSiteOpenCommand() {
|
|
|
258369
259091
|
}
|
|
258370
259092
|
|
|
258371
259093
|
// src/cli/commands/site/index.ts
|
|
258372
|
-
function getSiteCommand() {
|
|
258373
|
-
return new Command("site").description("Manage app site (frontend app)").addCommand(getSiteDeployCommand()).addCommand(getSiteOpenCommand());
|
|
259094
|
+
function getSiteCommand(staticDeployments = false) {
|
|
259095
|
+
return new Command("site").description("Manage app site (frontend app)").addCommand(getSiteDeployCommand(staticDeployments)).addCommand(getSiteOpenCommand());
|
|
258374
259096
|
}
|
|
258375
259097
|
|
|
258376
259098
|
// src/core/types/generator.ts
|
|
@@ -258429,9 +259151,9 @@ async function generateContent(input) {
|
|
|
258429
259151
|
`);
|
|
258430
259152
|
}
|
|
258431
259153
|
async function compileEntity(entity2) {
|
|
258432
|
-
const { name: name2, source: _source, ...
|
|
259154
|
+
const { name: name2, source: _source, ...schema12 } = entity2;
|
|
258433
259155
|
const jsonSchema = {
|
|
258434
|
-
...
|
|
259156
|
+
...schema12,
|
|
258435
259157
|
title: name2,
|
|
258436
259158
|
additionalProperties: false
|
|
258437
259159
|
};
|
|
@@ -258700,7 +259422,7 @@ import { dirname as dirname23, join as join35 } from "node:path";
|
|
|
258700
259422
|
|
|
258701
259423
|
// ../../node_modules/get-port/index.js
|
|
258702
259424
|
import net from "node:net";
|
|
258703
|
-
import
|
|
259425
|
+
import os11 from "node:os";
|
|
258704
259426
|
|
|
258705
259427
|
class Locked extends Error {
|
|
258706
259428
|
constructor(port) {
|
|
@@ -258714,7 +259436,7 @@ var lockedPorts = {
|
|
|
258714
259436
|
var releaseOldLockedPortsIntervalMs = 1000 * 15;
|
|
258715
259437
|
var timeout2;
|
|
258716
259438
|
var getLocalHosts = () => {
|
|
258717
|
-
const interfaces =
|
|
259439
|
+
const interfaces = os11.networkInterfaces();
|
|
258718
259440
|
const results = new Set([undefined, "0.0.0.0"]);
|
|
258719
259441
|
for (const _interface of Object.values(interfaces)) {
|
|
258720
259442
|
for (const config13 of _interface) {
|
|
@@ -259721,22 +260443,22 @@ class Database {
|
|
|
259721
260443
|
this.schemas.clear();
|
|
259722
260444
|
}
|
|
259723
260445
|
validate(entityName, record2, partial2 = false) {
|
|
259724
|
-
const
|
|
259725
|
-
if (!
|
|
260446
|
+
const schema12 = this.schemas.get(this.normalizeName(entityName));
|
|
260447
|
+
if (!schema12) {
|
|
259726
260448
|
throw new Error(`Entity "${entityName}" not found`);
|
|
259727
260449
|
}
|
|
259728
|
-
return this.validator.validate(record2,
|
|
260450
|
+
return this.validator.validate(record2, schema12, partial2);
|
|
259729
260451
|
}
|
|
259730
260452
|
prepareRecord(entityName, record2, partial2 = false) {
|
|
259731
|
-
const
|
|
259732
|
-
if (!
|
|
260453
|
+
const schema12 = this.schemas.get(this.normalizeName(entityName));
|
|
260454
|
+
if (!schema12) {
|
|
259733
260455
|
throw new Error(`Entity "${entityName}" not found`);
|
|
259734
260456
|
}
|
|
259735
|
-
const filteredRecord = this.validator.filterFields(record2,
|
|
260457
|
+
const filteredRecord = this.validator.filterFields(record2, schema12);
|
|
259736
260458
|
if (partial2) {
|
|
259737
260459
|
return filteredRecord;
|
|
259738
260460
|
}
|
|
259739
|
-
return this.validator.applyDefaults(filteredRecord,
|
|
260461
|
+
return this.validator.applyDefaults(filteredRecord, schema12);
|
|
259740
260462
|
}
|
|
259741
260463
|
normalizeName(entityName) {
|
|
259742
260464
|
return entityName.toLowerCase();
|
|
@@ -260030,13 +260752,13 @@ function checkRLS(rule, record2, user) {
|
|
|
260030
260752
|
return false;
|
|
260031
260753
|
return evaluateCondition(rule, record2, user);
|
|
260032
260754
|
}
|
|
260033
|
-
function applyFLS(record2,
|
|
260755
|
+
function applyFLS(record2, schema12, user, operation) {
|
|
260034
260756
|
if (Array.isArray(record2)) {
|
|
260035
|
-
return record2.map((r5) => applyFLS(r5,
|
|
260757
|
+
return record2.map((r5) => applyFLS(r5, schema12, user, operation));
|
|
260036
260758
|
}
|
|
260037
260759
|
const result = {};
|
|
260038
260760
|
for (const [key2, value] of Object.entries(record2)) {
|
|
260039
|
-
const rule =
|
|
260761
|
+
const rule = schema12.properties[key2]?.rls?.[operation];
|
|
260040
260762
|
if (rule === undefined || checkRLS(rule, record2, user)) {
|
|
260041
260763
|
result[key2] = value;
|
|
260042
260764
|
}
|
|
@@ -260264,14 +260986,14 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260264
260986
|
res.status(404).json({ error: `Entity "${entityName}" not found` });
|
|
260265
260987
|
return;
|
|
260266
260988
|
}
|
|
260267
|
-
const
|
|
260268
|
-
if (!
|
|
260989
|
+
const schema12 = db2.getSchema(entityName);
|
|
260990
|
+
if (!schema12) {
|
|
260269
260991
|
res.status(404).json({ error: `Schema for "${entityName}" not found` });
|
|
260270
260992
|
return;
|
|
260271
260993
|
}
|
|
260272
260994
|
const currentUserResult = await resolveCurrentUser(db2, req);
|
|
260273
260995
|
const currentUser = currentUserResult.ok ? currentUserResult.user : undefined;
|
|
260274
|
-
await handler(req, res, collection,
|
|
260996
|
+
await handler(req, res, collection, schema12, currentUser);
|
|
260275
260997
|
};
|
|
260276
260998
|
}
|
|
260277
260999
|
function emit(appId, entityName, type, data) {
|
|
@@ -260289,19 +261011,19 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260289
261011
|
}
|
|
260290
261012
|
broadcast(appId, entityName, createData(data));
|
|
260291
261013
|
}
|
|
260292
|
-
function prepareCreateRecord(entityName, body,
|
|
261014
|
+
function prepareCreateRecord(entityName, body, schema12, currentUser, now) {
|
|
260293
261015
|
const { _id, ...recordBody } = body;
|
|
260294
261016
|
const ownerFields = {
|
|
260295
261017
|
created_by: currentUser?.email,
|
|
260296
261018
|
created_by_id: currentUser?.id
|
|
260297
261019
|
};
|
|
260298
|
-
if (!checkRLS(
|
|
261020
|
+
if (!checkRLS(schema12.rls?.create, {
|
|
260299
261021
|
...recordBody,
|
|
260300
261022
|
...ownerFields
|
|
260301
261023
|
}, currentUser)) {
|
|
260302
261024
|
return;
|
|
260303
261025
|
}
|
|
260304
|
-
const filteredBody = applyFLS(db2.prepareRecord(entityName, recordBody),
|
|
261026
|
+
const filteredBody = applyFLS(db2.prepareRecord(entityName, recordBody), schema12, currentUser, "write");
|
|
260305
261027
|
db2.validate(entityName, filteredBody);
|
|
260306
261028
|
return {
|
|
260307
261029
|
...filteredBody,
|
|
@@ -260313,7 +261035,7 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260313
261035
|
}
|
|
260314
261036
|
const userRouter = createUserRouter(db2, logger2);
|
|
260315
261037
|
router.use("/User", userRouter);
|
|
260316
|
-
router.get("/:entityName/:id", withCollection(async (req, res, collection,
|
|
261038
|
+
router.get("/:entityName/:id", withCollection(async (req, res, collection, schema12, currentUser) => {
|
|
260317
261039
|
const { entityName, id: id2 } = req.params;
|
|
260318
261040
|
try {
|
|
260319
261041
|
const doc2 = await collection.findOneAsync({ id: id2 });
|
|
@@ -260321,27 +261043,27 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260321
261043
|
res.status(404).json({ error: `Record with id "${id2}" not found` });
|
|
260322
261044
|
return;
|
|
260323
261045
|
}
|
|
260324
|
-
if (!checkRLS(
|
|
261046
|
+
if (!checkRLS(schema12.rls?.read, doc2, currentUser)) {
|
|
260325
261047
|
res.status(404).json({
|
|
260326
261048
|
message: `Entity ${entityName} with ID ${id2} not found`
|
|
260327
261049
|
});
|
|
260328
261050
|
return;
|
|
260329
261051
|
}
|
|
260330
|
-
const result = applyFLS(stripInternalFields(doc2),
|
|
261052
|
+
const result = applyFLS(stripInternalFields(doc2), schema12, currentUser, "read");
|
|
260331
261053
|
res.json(result);
|
|
260332
261054
|
} catch (error48) {
|
|
260333
261055
|
logger2.error(`Error in GET /${entityName}/${id2}:`, error48);
|
|
260334
261056
|
res.status(500).json({ error: "Internal server error" });
|
|
260335
261057
|
}
|
|
260336
261058
|
}));
|
|
260337
|
-
router.get("/:entityName", withCollection(async (req, res, collection,
|
|
261059
|
+
router.get("/:entityName", withCollection(async (req, res, collection, schema12, currentUser) => {
|
|
260338
261060
|
const { entityName } = req.params;
|
|
260339
261061
|
try {
|
|
260340
261062
|
let results = stripInternalFields(await queryEntity(collection, req.query));
|
|
260341
|
-
if (
|
|
260342
|
-
results = results.filter((doc2) => checkRLS(
|
|
261063
|
+
if (schema12.rls?.read !== undefined && schema12.rls.read !== true) {
|
|
261064
|
+
results = results.filter((doc2) => checkRLS(schema12.rls.read, doc2, currentUser));
|
|
260343
261065
|
}
|
|
260344
|
-
results = results.map((doc2) => applyFLS(doc2,
|
|
261066
|
+
results = results.map((doc2) => applyFLS(doc2, schema12, currentUser, "read"));
|
|
260345
261067
|
res.json(results);
|
|
260346
261068
|
} catch (error48) {
|
|
260347
261069
|
if (error48 instanceof InvalidInputError) {
|
|
@@ -260352,16 +261074,16 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260352
261074
|
}
|
|
260353
261075
|
}
|
|
260354
261076
|
}));
|
|
260355
|
-
router.post("/:entityName", parseBody, withCollection(async (req, res, collection,
|
|
261077
|
+
router.post("/:entityName", parseBody, withCollection(async (req, res, collection, schema12, currentUser) => {
|
|
260356
261078
|
const { appId, entityName } = req.params;
|
|
260357
261079
|
try {
|
|
260358
261080
|
const now = new Date().toISOString();
|
|
260359
|
-
const record2 = prepareCreateRecord(entityName, req.body,
|
|
261081
|
+
const record2 = prepareCreateRecord(entityName, req.body, schema12, currentUser, now);
|
|
260360
261082
|
if (!record2) {
|
|
260361
261083
|
res.status(403).json({ error: "Permission denied" });
|
|
260362
261084
|
return;
|
|
260363
261085
|
}
|
|
260364
|
-
const inserted = applyFLS(stripInternalFields(await collection.insertAsync(record2)),
|
|
261086
|
+
const inserted = applyFLS(stripInternalFields(await collection.insertAsync(record2)), schema12, currentUser, "read");
|
|
260365
261087
|
emit(appId, entityName, "create", inserted);
|
|
260366
261088
|
res.status(201).json(inserted);
|
|
260367
261089
|
} catch (error48) {
|
|
@@ -260373,7 +261095,7 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260373
261095
|
res.status(500).json({ error: "Internal server error" });
|
|
260374
261096
|
}
|
|
260375
261097
|
}));
|
|
260376
|
-
router.post("/:entityName/bulk", parseBody, withCollection(async (req, res, collection,
|
|
261098
|
+
router.post("/:entityName/bulk", parseBody, withCollection(async (req, res, collection, schema12, currentUser) => {
|
|
260377
261099
|
const { appId, entityName } = req.params;
|
|
260378
261100
|
if (!Array.isArray(req.body)) {
|
|
260379
261101
|
res.status(400).json({ error: "Request body must be an array" });
|
|
@@ -260383,14 +261105,14 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260383
261105
|
const now = new Date().toISOString();
|
|
260384
261106
|
const records = [];
|
|
260385
261107
|
for (const body of req.body) {
|
|
260386
|
-
const record2 = prepareCreateRecord(entityName, body,
|
|
261108
|
+
const record2 = prepareCreateRecord(entityName, body, schema12, currentUser, now);
|
|
260387
261109
|
if (!record2) {
|
|
260388
261110
|
res.status(403).json({ error: "Permission denied" });
|
|
260389
261111
|
return;
|
|
260390
261112
|
}
|
|
260391
261113
|
records.push(record2);
|
|
260392
261114
|
}
|
|
260393
|
-
const inserted = applyFLS(stripInternalFields(await collection.insertAsync(records)),
|
|
261115
|
+
const inserted = applyFLS(stripInternalFields(await collection.insertAsync(records)), schema12, currentUser, "read");
|
|
260394
261116
|
emit(appId, entityName, "create", inserted);
|
|
260395
261117
|
res.status(201).json(inserted);
|
|
260396
261118
|
} catch (error48) {
|
|
@@ -260402,24 +261124,24 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260402
261124
|
res.status(500).json({ error: "Internal server error" });
|
|
260403
261125
|
}
|
|
260404
261126
|
}));
|
|
260405
|
-
router.put("/:entityName/:id", parseBody, withCollection(async (req, res, collection,
|
|
261127
|
+
router.put("/:entityName/:id", parseBody, withCollection(async (req, res, collection, schema12, currentUser) => {
|
|
260406
261128
|
const { appId, entityName, id: id2 } = req.params;
|
|
260407
261129
|
const { id: _id, created_date: _created_date, ...body } = req.body;
|
|
260408
261130
|
try {
|
|
260409
|
-
if (
|
|
261131
|
+
if (schema12.rls?.update !== undefined) {
|
|
260410
261132
|
const existing = await collection.findOneAsync({ id: id2 });
|
|
260411
261133
|
if (!existing) {
|
|
260412
261134
|
res.status(404).json({ error: `Record with id "${id2}" not found` });
|
|
260413
261135
|
return;
|
|
260414
261136
|
}
|
|
260415
|
-
if (!checkRLS(
|
|
261137
|
+
if (!checkRLS(schema12.rls.update, existing, currentUser)) {
|
|
260416
261138
|
res.status(404).json({
|
|
260417
261139
|
message: `Entity ${entityName} with ID ${id2} not found`
|
|
260418
261140
|
});
|
|
260419
261141
|
return;
|
|
260420
261142
|
}
|
|
260421
261143
|
}
|
|
260422
|
-
const filteredBody = applyFLS(db2.prepareRecord(entityName, body, true),
|
|
261144
|
+
const filteredBody = applyFLS(db2.prepareRecord(entityName, body, true), schema12, currentUser, "write");
|
|
260423
261145
|
db2.validate(entityName, filteredBody, true);
|
|
260424
261146
|
const updateData = {
|
|
260425
261147
|
...filteredBody,
|
|
@@ -260430,7 +261152,7 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260430
261152
|
res.status(404).json({ error: `Record with id "${id2}" not found` });
|
|
260431
261153
|
return;
|
|
260432
261154
|
}
|
|
260433
|
-
const updated = applyFLS(stripInternalFields(result.affectedDocuments),
|
|
261155
|
+
const updated = applyFLS(stripInternalFields(result.affectedDocuments), schema12, currentUser, "read");
|
|
260434
261156
|
emit(appId, entityName, "update", updated);
|
|
260435
261157
|
res.json(updated);
|
|
260436
261158
|
} catch (error48) {
|
|
@@ -260442,7 +261164,7 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260442
261164
|
res.status(500).json({ error: "Internal server error" });
|
|
260443
261165
|
}
|
|
260444
261166
|
}));
|
|
260445
|
-
router.delete("/:entityName/:id", withCollection(async (req, res, collection,
|
|
261167
|
+
router.delete("/:entityName/:id", withCollection(async (req, res, collection, schema12, currentUser) => {
|
|
260446
261168
|
const { appId, entityName, id: id2 } = req.params;
|
|
260447
261169
|
try {
|
|
260448
261170
|
const doc2 = await collection.findOneAsync({ id: id2 });
|
|
@@ -260450,7 +261172,7 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260450
261172
|
res.status(404).json({ error: `Record with id "${id2}" not found` });
|
|
260451
261173
|
return;
|
|
260452
261174
|
}
|
|
260453
|
-
if (!checkRLS(
|
|
261175
|
+
if (!checkRLS(schema12.rls?.delete, doc2, currentUser)) {
|
|
260454
261176
|
res.status(404).json({
|
|
260455
261177
|
message: `Entity ${entityName} with ID ${id2} not found`
|
|
260456
261178
|
});
|
|
@@ -260464,11 +261186,11 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
260464
261186
|
res.status(500).json({ error: "Internal server error" });
|
|
260465
261187
|
}
|
|
260466
261188
|
}));
|
|
260467
|
-
router.delete("/:entityName", parseBody, withCollection(async (req, res, collection,
|
|
261189
|
+
router.delete("/:entityName", parseBody, withCollection(async (req, res, collection, schema12, currentUser) => {
|
|
260468
261190
|
const { entityName } = req.params;
|
|
260469
261191
|
try {
|
|
260470
261192
|
const query = req.body || {};
|
|
260471
|
-
const rlsDelete =
|
|
261193
|
+
const rlsDelete = schema12?.rls?.delete;
|
|
260472
261194
|
if (rlsDelete !== undefined && rlsDelete !== true) {
|
|
260473
261195
|
if (rlsDelete === false && currentUser?.is_service !== true) {
|
|
260474
261196
|
res.status(403).json({ error: "Permission denied" });
|
|
@@ -260589,11 +261311,11 @@ import { relative as relative6 } from "node:path";
|
|
|
260589
261311
|
// ../../node_modules/chokidar/index.js
|
|
260590
261312
|
import { EventEmitter as EventEmitter3 } from "node:events";
|
|
260591
261313
|
import { stat as statcb, Stats } from "node:fs";
|
|
260592
|
-
import { readdir as
|
|
261314
|
+
import { readdir as readdir3, stat as stat5 } from "node:fs/promises";
|
|
260593
261315
|
import * as sp3 from "node:path";
|
|
260594
261316
|
|
|
260595
261317
|
// ../../node_modules/readdirp/index.js
|
|
260596
|
-
import { lstat as lstat2, readdir as
|
|
261318
|
+
import { lstat as lstat2, readdir as readdir2, realpath, stat as stat3 } from "node:fs/promises";
|
|
260597
261319
|
import { join as pjoin, relative as prelative, resolve as presolve, sep as psep } from "node:path";
|
|
260598
261320
|
import { Readable as Readable6 } from "node:stream";
|
|
260599
261321
|
var EntryTypes = {
|
|
@@ -260746,7 +261468,7 @@ class ReaddirpStream extends Readable6 {
|
|
|
260746
261468
|
async _exploreDir(path19, depth) {
|
|
260747
261469
|
let files;
|
|
260748
261470
|
try {
|
|
260749
|
-
files = await
|
|
261471
|
+
files = await readdir2(path19, this._rdOptions);
|
|
260750
261472
|
} catch (error48) {
|
|
260751
261473
|
this._onError(error48);
|
|
260752
261474
|
}
|
|
@@ -260754,10 +261476,10 @@ class ReaddirpStream extends Readable6 {
|
|
|
260754
261476
|
}
|
|
260755
261477
|
async _formatEntry(dirent, path19) {
|
|
260756
261478
|
let entry;
|
|
260757
|
-
const
|
|
261479
|
+
const basename7 = this._isDirent ? dirent.name : dirent;
|
|
260758
261480
|
try {
|
|
260759
|
-
const fullPath = presolve(pjoin(path19,
|
|
260760
|
-
entry = { path: prelative(this._root, fullPath), fullPath, basename:
|
|
261481
|
+
const fullPath = presolve(pjoin(path19, basename7));
|
|
261482
|
+
entry = { path: prelative(this._root, fullPath), fullPath, basename: basename7 };
|
|
260761
261483
|
entry[this._statsProp] = this._isDirent ? dirent : await this._stat(fullPath);
|
|
260762
261484
|
} catch (err) {
|
|
260763
261485
|
this._onError(err);
|
|
@@ -261284,9 +262006,9 @@ class NodeFsHandler {
|
|
|
261284
262006
|
_watchWithNodeFs(path19, listener) {
|
|
261285
262007
|
const opts = this.fsw.options;
|
|
261286
262008
|
const directory = sp2.dirname(path19);
|
|
261287
|
-
const
|
|
262009
|
+
const basename8 = sp2.basename(path19);
|
|
261288
262010
|
const parent = this.fsw._getWatchedDir(directory);
|
|
261289
|
-
parent.add(
|
|
262011
|
+
parent.add(basename8);
|
|
261290
262012
|
const absolutePath = sp2.resolve(path19);
|
|
261291
262013
|
const options8 = {
|
|
261292
262014
|
persistent: opts.persistent
|
|
@@ -261296,7 +262018,7 @@ class NodeFsHandler {
|
|
|
261296
262018
|
let closer;
|
|
261297
262019
|
if (opts.usePolling) {
|
|
261298
262020
|
const enableBin = opts.interval !== opts.binaryInterval;
|
|
261299
|
-
options8.interval = enableBin && isBinaryPath(
|
|
262021
|
+
options8.interval = enableBin && isBinaryPath(basename8) ? opts.binaryInterval : opts.interval;
|
|
261300
262022
|
closer = setFsWatchFileListener(path19, absolutePath, options8, {
|
|
261301
262023
|
listener,
|
|
261302
262024
|
rawEmitter: this.fsw._emitRaw
|
|
@@ -261315,10 +262037,10 @@ class NodeFsHandler {
|
|
|
261315
262037
|
return;
|
|
261316
262038
|
}
|
|
261317
262039
|
const dirname22 = sp2.dirname(file2);
|
|
261318
|
-
const
|
|
262040
|
+
const basename8 = sp2.basename(file2);
|
|
261319
262041
|
const parent = this.fsw._getWatchedDir(dirname22);
|
|
261320
262042
|
let prevStats = stats;
|
|
261321
|
-
if (parent.has(
|
|
262043
|
+
if (parent.has(basename8))
|
|
261322
262044
|
return;
|
|
261323
262045
|
const listener = async (path19, newStats) => {
|
|
261324
262046
|
if (!this.fsw._throttle(THROTTLE_MODE_WATCH, file2, 5))
|
|
@@ -261343,9 +262065,9 @@ class NodeFsHandler {
|
|
|
261343
262065
|
prevStats = newStats2;
|
|
261344
262066
|
}
|
|
261345
262067
|
} catch (error48) {
|
|
261346
|
-
this.fsw._remove(dirname22,
|
|
262068
|
+
this.fsw._remove(dirname22, basename8);
|
|
261347
262069
|
}
|
|
261348
|
-
} else if (parent.has(
|
|
262070
|
+
} else if (parent.has(basename8)) {
|
|
261349
262071
|
const at13 = newStats.atimeMs;
|
|
261350
262072
|
const mt12 = newStats.mtimeMs;
|
|
261351
262073
|
if (!at13 || at13 <= mt12 || mt12 !== prevStats.mtimeMs) {
|
|
@@ -261673,7 +262395,7 @@ class DirEntry {
|
|
|
261673
262395
|
return;
|
|
261674
262396
|
const dir = this.path;
|
|
261675
262397
|
try {
|
|
261676
|
-
await
|
|
262398
|
+
await readdir3(dir);
|
|
261677
262399
|
} catch (err) {
|
|
261678
262400
|
if (this._removeWatcher) {
|
|
261679
262401
|
this._removeWatcher(sp3.dirname(dir), sp3.basename(dir));
|
|
@@ -262893,7 +263615,7 @@ function createProgram(context) {
|
|
|
262893
263615
|
program2.addCommand(getSecretsCommand());
|
|
262894
263616
|
program2.addCommand(getSandboxCommand());
|
|
262895
263617
|
program2.addCommand(getAuthCommand());
|
|
262896
|
-
program2.addCommand(getSiteCommand());
|
|
263618
|
+
program2.addCommand(getSiteCommand(context.staticDeployments));
|
|
262897
263619
|
program2.addCommand(getTypesCommand());
|
|
262898
263620
|
program2.addCommand(getExecCommand());
|
|
262899
263621
|
program2.addCommand(getDevCommand());
|
|
@@ -267117,6 +267839,7 @@ async function runCLI(options8) {
|
|
|
267117
267839
|
errorReporter,
|
|
267118
267840
|
isNonInteractive,
|
|
267119
267841
|
jsonMode,
|
|
267842
|
+
staticDeployments: staticDeploymentsEnabled(),
|
|
267120
267843
|
distribution: options8?.distribution ?? "npm",
|
|
267121
267844
|
log,
|
|
267122
267845
|
runTask: runTask2
|
|
@@ -267145,4 +267868,4 @@ export {
|
|
|
267145
267868
|
CLIExitError
|
|
267146
267869
|
};
|
|
267147
267870
|
|
|
267148
|
-
//# debugId=
|
|
267871
|
+
//# debugId=6BAACF0BD26B212664756E2164756E21
|