starboard-notebook
Version:
Starboard Notebook
13 lines • 535 kB
JavaScript
(self.webpackChunkstarboard_notebook=self.webpackChunkstarboard_notebook||[]).push([["babel-precompile"],{"./node_modules/@babel/helper-validator-identifier/lib/identifier.js":(B,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierStart=S,t.isIdentifierChar=T,t.isIdentifierName=N;let h="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",n="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F";const l=new RegExp("["+h+"]"),b=new RegExp("["+h+n+"]");h=n=null;const m=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],g=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function p(I,O){let _=65536;for(let L=0,x=O.length;L<x;L+=2){if(_+=O[L],_>I)return!1;if(_+=O[L+1],_>=I)return!0}return!1}function S(I){return I<65?I===36:I<=90?!0:I<97?I===95:I<=122?!0:I<=65535?I>=170&&l.test(String.fromCharCode(I)):p(I,m)}function T(I){return I<48?I===36:I<58?!0:I<65?!1:I<=90?!0:I<97?I===95:I<=122?!0:I<=65535?I>=170&&b.test(String.fromCharCode(I)):p(I,m)||p(I,g)}function N(I){let O=!0;for(let _=0;_<I.length;_++){let L=I.charCodeAt(_);if((L&64512)==55296&&_+1<I.length){const x=I.charCodeAt(++_);(x&64512)==56320&&(L=65536+((L&1023)<<10)+(x&1023))}if(O){if(O=!1,!S(L))return!1}else if(!T(L))return!1}return!O}},"./node_modules/@babel/helper-validator-identifier/lib/index.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return l.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return l.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return l.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return l.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return l.isKeyword}});var n=h("./node_modules/@babel/helper-validator-identifier/lib/identifier.js"),l=h("./node_modules/@babel/helper-validator-identifier/lib/keyword.js")},"./node_modules/@babel/helper-validator-identifier/lib/keyword.js":(B,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isReservedWord=m,t.isStrictReservedWord=g,t.isStrictBindOnlyReservedWord=p,t.isStrictBindReservedWord=S,t.isKeyword=T;const h={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},n=new Set(h.keyword),l=new Set(h.strict),b=new Set(h.strictBind);function m(N,I){return I&&N==="await"||N==="enum"}function g(N,I){return m(N,I)||l.has(N)}function p(N){return b.has(N)}function S(N,I){return g(N,I)||p(N)}function T(N){return n.has(N)}},"./node_modules/@babel/parser/lib/index.js":(B,t)=>{"use strict";var h;h={value:!0};const n=/\r\n?|[\n\u2028\u2029]/,l=new RegExp(n.source,"g");function b(y){switch(y){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const m=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,g=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,p=new RegExp("(?=("+g.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function S(y){switch(y){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class T{constructor(e,r){this.line=void 0,this.column=void 0,this.line=e,this.column=r}}class N{constructor(e,r){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=r}}function I(y,e){let r=1,o=0,u;for(l.lastIndex=0;(u=l.exec(y))&&u.index<e;)r++,o=l.lastIndex;return new T(r,e-o)}class O{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){return this.plugins.has(e)}getPluginOption(e,r){if(this.hasPlugin(e))return this.plugins.get(e)[r]}}function _(y,e){y.trailingComments===void 0?y.trailingComments=e:y.trailingComments.unshift(...e)}function L(y,e){y.leadingComments===void 0?y.leadingComments=e:y.leadingComments.unshift(...e)}function x(y,e){y.innerComments===void 0?y.innerComments=e:y.innerComments.unshift(...e)}function M(y,e,r){let o=null,u=e.length;for(;o===null&&u>0;)o=e[--u];o===null||o.start>r.start?x(y,r.comments):_(o,r.comments)}class w extends O{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){const{commentStack:r}=this.state,o=r.length;if(o===0)return;let u=o-1;const c=r[u];c.start===e.end&&(c.leadingNode=e,u--);const{start:f}=e;for(;u>=0;u--){const d=r[u],P=d.end;if(P>f)d.containingNode=e,this.finalizeComment(d),r.splice(u,1);else{P===f&&(d.trailingNode=e);break}}}finalizeComment(e){const{comments:r}=e;if(e.leadingNode!==null||e.trailingNode!==null)e.leadingNode!==null&&_(e.leadingNode,r),e.trailingNode!==null&&L(e.trailingNode,r);else{const{containingNode:o,start:u}=e;if(this.input.charCodeAt(u-1)===44)switch(o.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":M(o,o.properties,e);break;case"CallExpression":case"OptionalCallExpression":M(o,o.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":M(o,o.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":M(o,o.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":M(o,o.specifiers,e);break;default:x(o,r)}else x(o,r)}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let r=e.length-1;r>=0;r--)this.finalizeComment(e[r]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:r}=this.state,{length:o}=r;if(o===0)return;const u=r[o-1];u.leadingNode===e&&(u.leadingNode=null)}takeSurroundingComments(e,r,o){const{commentStack:u}=this.state,c=u.length;if(c===0)return;let f=c-1;for(;f>=0;f--){const d=u[f],P=d.end;if(d.start===o)d.leadingNode=e;else if(P===r)d.trailingNode=e;else if(P<r)break}}}const j=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),E=fe({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:"Hack-style pipe body cannot be an unparenthesized %0 expression; please wrap it in parentheses.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:`Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )
or a property of member expression (i.e. this.#p).`,UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},j.SyntaxError),G=fe({ImportMetaOutsideModule:`import.meta may appear only with 'sourceType: "module"'`,ImportOutsideModule:`'import' and 'export' may appear only with 'sourceType: "module"'`},j.SourceTypeModuleError);function se(y,e){return e==="flow"&&y==="PatternIsOptional"?"OptionalBindingPattern":y}function fe(y,e,r){const o={};return Object.keys(y).forEach(u=>{o[u]=Object.freeze({code:e,reasonCode:se(u,r),template:y[u]})}),Object.freeze(o)}class Se extends w{getLocationForPosition(e){let r;return e===this.state.start?r=this.state.startLoc:e===this.state.lastTokStart?r=this.state.lastTokStartLoc:e===this.state.end?r=this.state.endLoc:e===this.state.lastTokEnd?r=this.state.lastTokEndLoc:r=I(this.input,e),r}raise(e,{code:r,reasonCode:o,template:u},...c){return this.raiseWithData(e,{code:r,reasonCode:o},u,...c)}raiseOverwrite(e,{code:r,template:o},...u){const c=this.getLocationForPosition(e),f=o.replace(/%(\d+)/g,(d,P)=>u[P])+` (${c.line}:${c.column})`;if(this.options.errorRecovery){const d=this.state.errors;for(let P=d.length-1;P>=0;P--){const v=d[P];if(v.pos===e)return Object.assign(v,{message:f});if(v.pos<e)break}}return this._raise({code:r,loc:c,pos:e},f)}raiseWithData(e,r,o,...u){const c=this.getLocationForPosition(e),f=o.replace(/%(\d+)/g,(d,P)=>u[P])+` (${c.line}:${c.column})`;return this._raise(Object.assign({loc:c,pos:e},r),f)}_raise(e,r){const o=new SyntaxError(r);if(Object.assign(o,e),this.options.errorRecovery)return this.isLookahead||this.state.errors.push(o),o;throw o}}var _e=y=>class extends y{parseRegExpLiteral({pattern:e,flags:r}){let o=null;try{o=new RegExp(e,r)}catch(c){}const u=this.estreeParseLiteral(o);return u.regex={pattern:e,flags:r},u}parseBigIntLiteral(e){let r;try{r=BigInt(e)}catch(u){r=null}const o=this.estreeParseLiteral(r);return o.bigint=String(o.value||e),o}parseDecimalLiteral(e){const r=null,o=this.estreeParseLiteral(r);return o.decimal=String(o.value||e),o}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const r=e.value,o=this.startNodeAt(e.start,e.loc.start),u=this.startNodeAt(r.start,r.loc.start);return u.value=r.extra.expressionValue,u.raw=r.extra.raw,o.expression=this.finishNodeAt(u,"Literal",r.end,r.loc.end),o.directive=r.extra.raw.slice(1,-1),this.finishNodeAt(o,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,r){super.initFunction(e,r),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var r;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((r=e.expression.extra)!=null&&r.parenthesized)}parseBlockBody(e,...r){super.parseBlockBody(e,...r);const o=e.directives.map(u=>this.directiveToStmt(u));e.body=o.concat(e.body),delete e.directives}pushClassMethod(e,r,o,u,c,f){this.parseMethod(r,o,u,c,f,"ClassMethod",!0),r.typeParameters&&(r.value.typeParameters=r.typeParameters,delete r.typeParameters),e.body.push(r)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const r=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=r,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,r){const o=super.parseLiteral(e,r);return o.raw=o.extra.raw,delete o.extra,o}parseFunctionBody(e,r,o=!1){super.parseFunctionBody(e,r,o),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,r,o,u,c,f,d=!1){let P=this.startNode();return P.kind=e.kind,P=super.parseMethod(P,r,o,u,c,f,d),P.type="FunctionExpression",delete P.kind,e.value=P,f==="ClassPrivateMethod"&&(e.computed=!1),f="MethodDefinition",this.finishNode(e,f)}parseClassProperty(...e){const r=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&(r.type="PropertyDefinition"),r}parseClassPrivateProperty(...e){const r=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(r.type="PropertyDefinition",r.computed=!1),r}parseObjectMethod(e,r,o,u,c){const f=super.parseObjectMethod(e,r,o,u,c);return f&&(f.type="Property",f.kind==="method"&&(f.kind="init"),f.shorthand=!1),f}parseObjectProperty(e,r,o,u,c){const f=super.parseObjectProperty(e,r,o,u,c);return f&&(f.kind="init",f.type="Property"),f}isAssignable(e,r){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,r):super.isAssignable(e,r)}toAssignable(e,r=!1){return e!=null&&this.isObjectProperty(e)?(this.toAssignable(e.value,r),e):super.toAssignable(e,r)}toAssignableObjectExpressionProp(e,...r){e.kind==="get"||e.kind==="set"?this.raise(e.key.start,E.PatternHasAccessor):e.method?this.raise(e.key.start,E.PatternHasMethod):super.toAssignableObjectExpressionProp(e,...r)}finishCallExpression(e,r){if(super.finishCallExpression(e,r),e.callee.type==="Import"){if(e.type="ImportExpression",e.source=e.arguments[0],this.hasPlugin("importAssertions")){var o;e.attributes=(o=e.arguments[1])!=null?o:null}delete e.arguments,delete e.callee}return e}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e){switch(super.parseExport(e),e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":e.specifiers.length===1&&e.specifiers[0].type==="ExportNamespaceSpecifier"&&(e.type="ExportAllDeclaration",e.exported=e.specifiers[0].exported,delete e.specifiers);break}return e}parseSubscript(e,r,o,u,c){const f=super.parseSubscript(e,r,o,u,c);if(c.optionalChainMember){if((f.type==="OptionalMemberExpression"||f.type==="OptionalCallExpression")&&(f.type=f.type.substring(8)),c.stop){const d=this.startNodeAtNode(f);return d.expression=f,this.finishNode(d,"ChainExpression")}}else(f.type==="MemberExpression"||f.type==="CallExpression")&&(f.optional=!1);return f}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return e.type==="ChainExpression"}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}};class he{constructor(e,r){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!r}}const te={brace:new he("{"),template:new he("`",!0)},$=!0,R=!0,ve=!0,Ee=!0,ye=!0,Oe=!0;class ge{constructor(e,r={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.rightAssociative=!!r.rightAssociative,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop!=null?r.binop:null,this.updateContext=null}}const K=new Map;function k(y,e={}){e.keyword=y;const r=U(y,e);return K.set(y,r),r}function q(y,e){return U(y,{beforeExpr:$,binop:e})}let W=-1;const Q=[],ie=[],ue=[],re=[],le=[],me=[];function U(y,e={}){var r,o,u,c;return++W,ie.push(y),ue.push((r=e.binop)!=null?r:-1),re.push((o=e.beforeExpr)!=null?o:!1),le.push((u=e.startsExpr)!=null?u:!1),me.push((c=e.prefix)!=null?c:!1),Q.push(new ge(y,e)),W}function Z(y,e={}){var r,o,u,c;return++W,K.set(y,W),ie.push(y),ue.push((r=e.binop)!=null?r:-1),re.push((o=e.beforeExpr)!=null?o:!1),le.push((u=e.startsExpr)!=null?u:!1),me.push((c=e.prefix)!=null?c:!1),Q.push(new ge("name",e)),W}const Ce={bracketL:U("[",{beforeExpr:$,startsExpr:R}),bracketHashL:U("#[",{beforeExpr:$,startsExpr:R}),bracketBarL:U("[|",{beforeExpr:$,startsExpr:R}),bracketR:U("]"),bracketBarR:U("|]"),braceL:U("{",{beforeExpr:$,startsExpr:R}),braceBarL:U("{|",{beforeExpr:$,startsExpr:R}),braceHashL:U("#{",{beforeExpr:$,startsExpr:R}),braceR:U("}",{beforeExpr:$}),braceBarR:U("|}"),parenL:U("(",{beforeExpr:$,startsExpr:R}),parenR:U(")"),comma:U(",",{beforeExpr:$}),semi:U(";",{beforeExpr:$}),colon:U(":",{beforeExpr:$}),doubleColon:U("::",{beforeExpr:$}),dot:U("."),question:U("?",{beforeExpr:$}),questionDot:U("?."),arrow:U("=>",{beforeExpr:$}),template:U("template"),ellipsis:U("...",{beforeExpr:$}),backQuote:U("`",{startsExpr:R}),dollarBraceL:U("${",{beforeExpr:$,startsExpr:R}),at:U("@"),hash:U("#",{startsExpr:R}),interpreterDirective:U("#!..."),eq:U("=",{beforeExpr:$,isAssign:Ee}),assign:U("_=",{beforeExpr:$,isAssign:Ee}),slashAssign:U("_=",{beforeExpr:$,isAssign:Ee}),xorAssign:U("_=",{beforeExpr:$,isAssign:Ee}),moduloAssign:U("_=",{beforeExpr:$,isAssign:Ee}),incDec:U("++/--",{prefix:ye,postfix:Oe,startsExpr:R}),bang:U("!",{beforeExpr:$,prefix:ye,startsExpr:R}),tilde:U("~",{beforeExpr:$,prefix:ye,startsExpr:R}),pipeline:q("|>",0),nullishCoalescing:q("??",1),logicalOR:q("||",1),logicalAND:q("&&",2),bitwiseOR:q("|",3),bitwiseXOR:q("^",4),bitwiseAND:q("&",5),equality:q("==/!=/===/!==",6),lt:q("</>/<=/>=",7),gt:q("</>/<=/>=",7),relational:q("</>/<=/>=",7),bitShift:q("<</>>/>>>",8),plusMin:U("+/-",{beforeExpr:$,binop:9,prefix:ye,startsExpr:R}),modulo:U("%",{binop:10,startsExpr:R}),star:U("*",{binop:10}),slash:q("/",10),exponent:U("**",{beforeExpr:$,binop:11,rightAssociative:!0}),_in:k("in",{beforeExpr:$,binop:7}),_instanceof:k("instanceof",{beforeExpr:$,binop:7}),_break:k("break"),_case:k("case",{beforeExpr:$}),_catch:k("catch"),_continue:k("continue"),_debugger:k("debugger"),_default:k("default",{beforeExpr:$}),_else:k("else",{beforeExpr:$}),_finally:k("finally"),_function:k("function",{startsExpr:R}),_if:k("if"),_return:k("return",{beforeExpr:$}),_switch:k("switch"),_throw:k("throw",{beforeExpr:$,prefix:ye,startsExpr:R}),_try:k("try"),_var:k("var"),_const:k("const"),_with:k("with"),_new:k("new",{beforeExpr:$,startsExpr:R}),_this:k("this",{startsExpr:R}),_super:k("super",{startsExpr:R}),_class:k("class",{startsExpr:R}),_extends:k("extends",{beforeExpr:$}),_export:k("export"),_import:k("import",{startsExpr:R}),_null:k("null",{startsExpr:R}),_true:k("true",{startsExpr:R}),_false:k("false",{startsExpr:R}),_typeof:k("typeof",{beforeExpr:$,prefix:ye,startsExpr:R}),_void:k("void",{beforeExpr:$,prefix:ye,startsExpr:R}),_delete:k("delete",{beforeExpr:$,prefix:ye,startsExpr:R}),_do:k("do",{isLoop:ve,beforeExpr:$}),_for:k("for",{isLoop:ve}),_while:k("while",{isLoop:ve}),_as:Z("as",{startsExpr:R}),_assert:Z("assert",{startsExpr:R}),_async:Z("async",{startsExpr:R}),_await:Z("await",{startsExpr:R}),_from:Z("from",{startsExpr:R}),_get:Z("get",{startsExpr:R}),_let:Z("let",{startsExpr:R}),_meta:Z("meta",{startsExpr:R}),_of:Z("of",{startsExpr:R}),_sent:Z("sent",{startsExpr:R}),_set:Z("set",{startsExpr:R}),_static:Z("static",{startsExpr:R}),_yield:Z("yield",{startsExpr:R}),_asserts:Z("asserts",{startsExpr:R}),_checks:Z("checks",{startsExpr:R}),_exports:Z("exports",{startsExpr:R}),_global:Z("global",{startsExpr:R}),_implements:Z("implements",{startsExpr:R}),_intrinsic:Z("intrinsic",{startsExpr:R}),_infer:Z("infer",{startsExpr:R}),_is:Z("is",{startsExpr:R}),_mixins:Z("mixins",{startsExpr:R}),_proto:Z("proto",{startsExpr:R}),_require:Z("require",{startsExpr:R}),_keyof:Z("keyof",{startsExpr:R}),_readonly:Z("readonly",{startsExpr:R}),_unique:Z("unique",{startsExpr:R}),_abstract:Z("abstract",{startsExpr:R}),_declare:Z("declare",{startsExpr:R}),_enum:Z("enum",{startsExpr:R}),_module:Z("module",{startsExpr:R}),_namespace:Z("namespace",{startsExpr:R}),_interface:Z("interface",{startsExpr:R}),_type:Z("type",{startsExpr:R}),_opaque:Z("opaque",{startsExpr:R}),name:U("name",{startsExpr:R}),string:U("string",{startsExpr:R}),num:U("num",{startsExpr:R}),bigint:U("bigint",{startsExpr:R}),decimal:U("decimal",{startsExpr:R}),regexp:U("regexp",{startsExpr:R}),privateName:U("#name",{startsExpr:R}),eof:U("eof"),jsxName:U("jsxName"),jsxText:U("jsxText",{beforeExpr:!0}),jsxTagStart:U("jsxTagStart",{startsExpr:!0}),jsxTagEnd:U("jsxTagEnd"),placeholder:U("%%",{startsExpr:!0})};function ee(y){return y>=87&&y<=122}function qe(y){return y<=86}function Te(y){return y>=52&&y<=122}function Be(y){return y>=52&&y<=126}function yt(y){return re[y]}function et(y){return le[y]}function mt(y){return y>=27&&y<=31}function tt(y){return y>=119&&y<=121}function Tt(y){return y>=84&&y<=86}function Ge(y){return y>=52&&y<=86}function bt(y){return y>=35&&y<=53}function St(y){return y===32}function Et(y){return me[y]}function Pt(y){return y>=111&&y<=113}function gt(y){return y>=114&&y<=120}function Ae(y){return ie[y]}function Fe(y){return ue[y]}function At(y){return y===51}function Re(y){return Q[y]}function vt(y){return typeof y=="number"}Q[8].updateContext=y=>{y.pop()},Q[5].updateContext=Q[7].updateContext=Q[23].updateContext=y=>{y.push(te.brace)},Q[22].updateContext=y=>{y[y.length-1]===te.template?y.pop():y.push(te.template)},Q[132].updateContext=y=>{y.push(te.j_expr,te.j_oTag)};let Le="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Ke="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F";const It=new RegExp("["+Le+"]"),F=new RegExp("["+Le+Ke+"]");Le=Ke=null;const Ht=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],Cr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function Nt(y,e){let r=65536;for(let o=0,u=e.length;o<u;o+=2){if(r+=e[o],r>y)return!1;if(r+=e[o+1],r>=y)return!0}return!1}function we(y){return y<65?y===36:y<=90?!0:y<97?y===95:y<=122?!0:y<=65535?y>=170&&It.test(String.fromCharCode(y)):Nt(y,Ht)}function Ue(y){return y<48?y===36:y<58?!0:y<65?!1:y<=90?!0:y<97?y===95:y<=122?!0:y<=65535?y>=170&&F.test(String.fromCharCode(y)):Nt(y,Ht)||Nt(y,Cr)}const xt={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},wr=new Set(xt.keyword),Dr=new Set(xt.strict),_r=new Set(xt.strictBind);function qt(y,e){return e&&y==="await"||y==="enum"}function Gt(y,e){return qt(y,e)||Dr.has(y)}function $t(y){return _r.has(y)}function Qt(y,e){return Gt(y,e)||$t(y)}function Lr(y){return wr.has(y)}function jr(y,e){return y===64&&e===64}const Mr=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function kr(y){return Mr.has(y)}const Ve=0,$e=1,Ie=2,Ot=4,Zt=8,rt=16,er=32,je=64,tr=128,it=256,st=$e|Ie|it,Ne=1,Ye=2,rr=4,Xe=8,nt=16,ir=64,at=128,Ct=256,wt=512,Dt=1024,_t=2048,sr=Ne|Ye|Xe|at,be=Ne|0|Xe|0,ot=Ne|0|rr|0,nr=Ne|0|nt|0,Br=0|Ye|0|at,Fr=0|Ye|0|0,ar=Ne|Ye|Xe|Ct,or=0|0|0|Dt,Qe=0|0|0|ir,Rr=Ne|0|0|ir,Kr=ar|wt,Ur=0|0|0|Dt,Vr=_t,ut=4,Lt=2,jt=1,Mt=Lt|jt,Yr=Lt|ut,Xr=jt|ut,Jr=Lt,Wr=jt,ur=0;class kt{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}}class Bt{constructor(e,r){this.scopeStack=[],this.undefinedExports=new Map,this.undefinedPrivateNames=new Map,this.raise=e,this.inModule=r}get inFunction(){return(this.currentVarScopeFlags()&Ie)>0}get allowSuper(){return(this.currentThisScopeFlags()&rt)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&er)>0}get inClass(){return(this.currentThisScopeFlags()&je)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&je)>0&&(e&Ie)==0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:r}=this.scopeStack[e];if(r&tr)return!0;if(r&(st|je))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&Ie)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new kt(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&Ie||!this.inModule&&e.flags&$e)}declareName(e,r,o){let u=this.currentScope();if(r&Xe||r&nt)this.checkRedeclarationInScope(u,e,r,o),r&nt?u.functions.add(e):u.lexical.add(e),r&Xe&&this.maybeExportDefined(u,e);else if(r&rr)for(let c=this.scopeStack.length-1;c>=0&&(u=this.scopeStack[c],this.checkRedeclarationInScope(u,e,r,o),u.var.add(e),this.maybeExportDefined(u,e),!(u.flags&st));--c);this.inModule&&u.flags&$e&&this.undefinedExports.delete(e)}maybeExportDefined(e,r){this.inModule&&e.flags&$e&&this.undefinedExports.delete(r)}checkRedeclarationInScope(e,r,o,u){this.isRedeclaredInScope(e,r,o)&&this.raise(u,E.VarRedeclaration,r)}isRedeclaredInScope(e,r,o){return o&Ne?o&Xe?e.lexical.has(r)||e.functions.has(r)||e.var.has(r):o&nt?e.lexical.has(r)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(r):e.lexical.has(r)&&!(e.flags&Zt&&e.lexical.values().next().value===r)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(r):!1}checkLocalExport(e){const{name:r}=e,o=this.scopeStack[0];!o.lexical.has(r)&&!o.var.has(r)&&!o.functions.has(r)&&this.undefinedExports.set(r,e.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:r}=this.scopeStack[e];if(r&st)return r}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:r}=this.scopeStack[e];if(r&(st|je)&&!(r&Ot))return r}}}class zr extends kt{constructor(...e){super(...e);this.declareFunctions=new Set}}class Hr extends Bt{createScope(e){return new zr(e)}declareName(e,r,o){const u=this.currentScope();if(r&_t){this.checkRedeclarationInScope(u,e,r,o),this.maybeExportDefined(u,e),u.declareFunctions.add(e);return}super.declareName(...arguments)}isRedeclaredInScope(e,r,o){return super.isRedeclaredInScope(...arguments)?!0:o&_t?!e.declareFunctions.has(r)&&(e.lexical.has(r)||e.functions.has(r)):!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}class Ft{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=129,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.lastTokEnd=0,this.context=[te.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:e,sourceType:r,startLine:o,startColumn:u}){this.strict=e===!1?!1:e===!0?!0:r==="module",this.curLine=o,this.lineStart=-u,this.startLoc=this.endLoc=new T(o,u)}curPosition(){return new T(this.curLine,this.pos-this.lineStart)}clone(e){const r=new Ft,o=Object.keys(this);for(let u=0,c=o.length;u<c;u++){const f=o[u];let d=this[f];!e&&Array.isArray(d)&&(d=d.slice()),r[f]=d}return r}}var qr=function(e){return e>=48&&e<=57};const Gr=new Set([103,109,115,105,121,117,100]),lr={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},Pe={};Pe.bin=[48,49],Pe.oct=[...Pe.bin,50,51,52,53,54,55],Pe.dec=[...Pe.oct,56,57],Pe.hex=[...Pe.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Rt{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new N(e.startLoc,e.endLoc)}}class $r extends Se{constructor(e,r){super();this.isLookahead=void 0,this.tokens=[],this.state=new Ft,this.state.init(e),this.input=r,this.length=r.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Rt(this.state)),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return this.match(e)?(this.next(),!0):!1}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const r=this.state;return this.state=e,r}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return m.lastIndex=e,m.test(this.input)?m.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let r=this.input.charCodeAt(e);if((r&64512)==55296&&++e<this.input.length){const o=this.input.charCodeAt(e);(o&64512)==56320&&(r=65536+((r&1023)<<10)+(o&1023))}return r}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach((r,o)=>this.raise(o,r)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();if(e.preserveSpace||this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(129);return}e===te.template?this.readTmplToken():this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;this.isLookahead||(e=this.state.curPosition());const r=this.state.pos,o=this.input.indexOf("*/",r+2);if(o===-1)throw this.raise(r,E.UnterminatedComment);for(this.state.pos=o+2,l.lastIndex=r+2;l.test(this.input)&&l.lastIndex<=o;)++this.state.curLine,this.state.lineStart=l.lastIndex;if(this.isLookahead)return;const u={type:"CommentBlock",value:this.input.slice(r+2,o),start:r,end:o+2,loc:new N(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(u),u}skipLineComment(e){const r=this.state.pos;let o;this.isLookahead||(o=this.state.curPosition());let u=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!b(u)&&++this.state.pos<this.length;)u=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const c=this.state.pos,f=this.input.slice(r+e,c),d={type:"CommentLine",value:f,start:r,end:c,loc:new N(o,this.state.curPosition())};return this.options.tokens&&this.pushToken(d),d}skipSpace(){const e=this.state.pos,r=[];e:for(;this.state.pos<this.length;){const o=this.input.charCodeAt(this.state.pos);switch(o){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const u=this.skipBlockComment();u!==void 0&&(this.addComment(u),this.options.attachComment&&r.push(u));break}case 47:{const u=this.skipLineComment(2);u!==void 0&&(this.addComment(u),this.options.attachComment&&r.push(u));break}default:break e}break;default:if(S(o))++this.state.pos;else if(o===45&&!this.inModule){const u=this.state.pos;if(this.input.charCodeAt(u+1)===45&&this.input.charCodeAt(u+2)===62&&(e===0||this.state.lineStart>e)){const c=this.skipLineComment(3);c!==void 0&&(this.addComment(c),this.options.attachComment&&r.push(c))}else break e}else if(o===60&&!this.inModule){const u=this.state.pos;if(this.input.charCodeAt(u+1)===33&&this.input.charCodeAt(u+2)===45&&this.input.charCodeAt(u+3)===45){const c=this.skipLineComment(4);c!==void 0&&(this.addComment(c),this.options.attachComment&&r.push(c))}else break e}else break e}}if(r.length>0){const o=this.state.pos,u={start:e,end:o,comments:r,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(u)}}finishToken(e,r){this.state.end=this.state.pos;const o=this.state.type;this.state.type=e,this.state.value=r,this.isLookahead||(this.state.endLoc=this.state.curPosition(),this.updateContext(o))}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const e=this.state.pos+1,r=this.codePointAtPos(e);if(r>=48&&r<=57)throw this.raise(this.state.pos,E.UnexpectedDigitAfterHash);if(r===123||r===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")!=="hash")throw this.raise(this.state.pos,r===123?E.RecordExpressionHashIncorrectStartSyntaxType:E.TupleExpressionHashIncorrectStartSyntaxType);this.state.pos+=2,r===123?this.finishToken(7):this.finishToken(1)}else we(r)?(++this.state.pos,this.finishToken(128,this.readWord1(r))):r===92?(++this.state.pos,this.finishToken(128,this.readWord1())):this.finishOp(25,1)}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(!0);return}e===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(29,2):this.finishOp(50,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return!1;const r=this.state.pos;for(this.state.pos+=1;!b(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);const o=this.input.slice(r+2,this.state.pos);return this.finishToken(26,o),!0}readToken_mult_modulo(e){let r=e===42?49:48,o=1,u=this.input.charCodeAt(this.state.pos+1);e===42&&u===42&&(o++,u=this.input.charCodeAt(this.state.pos+2),r=51),u===61&&!this.state.inType&&(o++,r=e===37?31:28),this.finishOp(r,o)}readToken_pipe_amp(e){const r=this.input.charCodeAt(this.state.pos+1);if(r===e){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(28,3):this.finishOp(e===124?37:38,2);return}if(e===124){if(r===62){this.finishOp(35,2);return}if(this.hasPlugin("recordAndTuple")&&r===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(this.state.pos,E.RecordExpressionBarIncorrectEndSyntaxType);this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&r===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(this.state.pos,E.TupleExpressionBarIncorrectEndSyntaxType);this.state.pos+=2,this.finishToken(4);return}}if(r===61){this.finishOp(28,2);return}this.finishOp(e===124?39:41,1)}readToken_caret(){this.input.charCodeAt(this.state.pos+1)===61&&!this.state.inType?this.finishOp(30,2):this.finishOp(40,1)}readToken_plus_min(e){const r=this.input.charCodeAt(this.state.pos+1);if(r===e){this.finishOp(32,2);return}r===61?this.finishOp(28,2):this.finishOp(47,1)}readToken_lt(){const{pos:e}=this.state,r=this.input.charCodeAt(e+1);if(r===60){if(this.input.charCodeAt(e+2)===61){this.finishOp(28,3);return}this.finishOp(46,2);return}if(r===61){this.finishOp(45,2);return}this.finishOp(43,1)}readToken_gt(){const{pos:e}=this.state,r=this.input.charCodeAt(e+1);if(r===62){const o=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+o)===61){this.finishOp(28,o+1);return}this.finishOp(46,o);return}if(r===61){this.finishOp(45,2);return}this.finishOp(44,1)}readToken_eq_excl(e){const r=this.input.charCodeAt(this.state.pos+1);if(r===61){this.finishOp(42,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(e===61&&r===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(e===61?27:33,1)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1),r=this.input.charCodeAt(this.state.pos+2);e===63?r===61?this.finishOp(28,3):this.finishOp(36,2):e===46&&!(r>=48&&r<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(this.state.pos,E.TupleExpressionBarIncorrectStartSyntaxType);this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(this.state.pos,E.RecordExpressionBarIncorrectStartSyntaxType);this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:++this.state.pos,this.finishToken(22);return;case 48:{const r=this.input.charCodeAt(this.state.pos+1);if(r===120||r===88){this.readRadixNumber(16);return}if(r===111||r===79){this.readRadixNumber(8);return}if(r===98||r===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(34,1);return;case 64:++this.state.pos,this.finishToken(24);return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(we(e)){this.readWord(e);return}}throw this.raise(this.state.pos,E.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,r){const o=this.input.slice(this.state.pos,this.state.pos+r);this.state.pos+=r,this.finishToken(e,o)}readRegexp(){const e=this.state.start+1;let r,o,{pos:u}=this.state;for(;;++u){if(u>=this.length)throw this.raise(e,E.UnterminatedRegExp);const d=this.input.charCodeAt(u);if(b(d))throw this.raise(e,E.UnterminatedRegExp);if(r)r=!1;else{if(d===91)o=!0;else if(d===93&&o)o=!1;else if(d===47&&!o)break;r=d===92}}const c=this.input.slice(e,u);++u;let f="";for(;u<this.length;){const d=this.codePointAtPos(u),P=String.fromCharCode(d);if(Gr.has(d))f.includes(P)&&this.raise(u+1,E.DuplicateRegExpFlags);else if(Ue(d)||d===92)this.raise(u+1,E.MalformedRegExpFlags);else break;++u,f+=P}this.state.pos=u,this.finishToken(127,{pattern:c,flags:f})}readInt(e,r,o,u=!0){const c=this.state.pos,f=e===16?lr.hex:lr.decBinOct,d=e===16?Pe.hex:e===10?Pe.dec:e===8?Pe.oct:Pe.bin;let P=!1,v=0;for(let C=0,Y=r==null?1/0:r;C<Y;++C){const X=this.input.charCodeAt(this.state.pos);let H;if(X===95){const oe=this.input.charCodeAt(this.state.pos-1),ne=this.input.charCodeAt(this.state.pos+1);d.indexOf(ne)===-1?this.raise(this.state.pos,E.UnexpectedNumericSeparator):(f.indexOf(oe)>-1||f.indexOf(ne)>-1||Number.isNaN(ne))&&this.raise(this.state.pos,E.UnexpectedNumericSeparator),u||this.raise(this.state.pos,E.NumericSeparatorInEscapeSequence),++this.state.pos;continue}if(X>=97?H=X-97+10:X>=65?H=X-65+10:qr(X)?H=X-48:H=1/0,H>=e)if(this.options.errorRecovery&&H<=9)H=0,this.raise(this.state.start+C+2,E.InvalidDigit,e);else if(o)H=0,P=!0;else break;++this.state.pos,v=v*e+H}return this.state.pos===c||r!=null&&this.state.pos-c!==r||P?null:v}readRadixNumber(e){const r=this.state.pos;let o=!1;this.state.pos+=2;const u=this.readInt(e);u==null&&this.raise(this.state.start+2,E.InvalidDigit,e);const c=this.input.charCodeAt(this.state.pos);if(c===110)++this.state.pos,o=!0;else if(c===109)throw this.raise(r,E.InvalidDecimal);if(we(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,E.NumberIdentifier);if(o){const f=this.input.slice(r,this.state.pos).replace(/[_n]/g,"");this.finishToken(125,f);return}this.finishToken(124,u)}readNumber(e){const r=this.state.pos;let o=!1,u=!1,c=!1,f=!1,d=!1;!e&&this.readInt(10)===null&&this.raise(r,E.InvalidNumber);const P=this.state.pos-r>=2&&this.input.charCodeAt(r)===48;if(P){const X=this.input.slice(r,this.state.pos);if(this.recordStrictModeErrors(r,E.StrictOctalLiteral),!this.state.strict){const H=X.indexOf("_");H>0&&this.raise(H+r,E.ZeroDigitNumericSeparator)}d=P&&!/[89]/.test(X)}let v=this.input.charCodeAt(this.state.pos);if(v===46&&!d&&(++this.state.pos,this.readInt(10),o=!0,v=this.input.charCodeAt(this.state.pos)),(v===69||v===101)&&!d&&(v=this.input.charCodeAt(++this.state.pos),(v===43||v===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(r,E.InvalidOrMissingExponent),o=!0,f=!0,v=this.input.charCodeAt(this.state.pos)),v===110&&((o||P)&&this.raise(r,E.InvalidBigIntLiteral),++this.state.pos,u=!0),v===109&&(this.expectPlugin("decimal",this.state.pos),(f||P)&&this.raise(r,E.InvalidDecimal),++this.state.pos,c=!0),we(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,E.NumberIdentifier);const C=this.input.slice(r,this.state.pos).replace(/[_mn]/g,"");if(u){this.finishToken(125,C);return}if(c){this.finishToken(126,C);return}const Y=d?parseInt(C,8):parseFloat(C);this.finishToken(124,Y)}readCodePoint(e){const r=this.input.charCodeAt(this.state.pos);let o;if(r===123){const u=++this.state.pos;if(o=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,e),++this.state.pos,o!==null&&o>1114111)if(e)this.raise(u,E.InvalidCodePoint);else return null}else o=this.readHexChar(4,!1,e);return o}readString(e){let r="",o=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,E.UnterminatedString);const u=this.input.charCodeAt(this.state.pos);if(u===e)break;if(u===92)r+=this.input.slice(o,this.state.pos),r+=this.readEscapedChar(!1),o=this.state.pos;else if(u===8232||u===8233)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(b(u))throw this.raise(this.state.start,E.UnterminatedString);++this.state.pos}}r+=this.input.slice(o,this.state.pos++),this.finishToken(123,r)}readTmplToken(){let e="",r=this.state.pos,o=!1;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,E.UnterminatedTemplate);const u=this.input.charCodeAt(this.state.pos);if(u===96||u===36&&this.input.charCodeAt(this.state.pos+1)===123){if(this.state.pos===this.state.start&&this.match(20))if(u===36){this.state.pos+=2,this.finishToken(23);return}else{++this.state.pos,this.finishToken(22);return}e+=this.input.slice(r,this.state.pos),this.finishToken(20,o?null:e);return}if(u===92){e+=this.input.slice(r,this.state.pos);const c=this.readEscapedChar(!0);c===null?o=!0:e+=c,r=this.state.pos}else if(b(u)){switch(e+=this.input.slice(r,this.state.pos),++this.state.pos,u){case 13:this.input.charCodeAt(this.state.pos)===10&&++this.state.pos;case 10:e+=`
`;break;default:e+=String.fromCharCode(u);break}++this.state.curLine,this.state.lineStart=this.state.pos,r=this.state.pos}else++this.state.pos}}recordStrictModeErrors(e,r){this.state.strict&&!this.state.strictErrors.has(e)?this.raise(e,r):this.state.strictErrors.set(e,r)}readEscapedChar(e){const r=!e,o=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,o){case 110:return`
`;case 114:return"\r";case 120:{const u=this.readHexChar(2,!1,r);return u===null?null:String.fromCharCode(u)}case 117:{const u=this.readCodePoint(r);return u===null?null:String.fromCodePoint(u)}case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.state.pos)===10&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e)return null;this.recordStrictModeErrors(this.state.pos-1,E.StrictNumericEscape);default:if(o>=48&&o<=55){const u=this.state.pos-1;let f=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],d=parseInt(f,8);d>255&&(f=f.slice(0,-1),d=parseInt(f,8)),this.state.pos+=f.length-1;const P=this.input.charCodeAt(this.state.pos);if(f!=="0"||P===56||P===57){if(e)return null;this.recordStrictModeErrors(u,E.StrictNumericEscape)}return String.fromCharCode(d)}return String.fromCharCode(o)}}readHexChar(e,r,o){const u=this.state.pos,c=this.readInt(16,e,r,!1);return c===null&&(o?this.raise(u,E.InvalidEscapeSequence):this.state.pos=u-1),c}readWord1(e){this.state.containsEsc=!1;let r="";const o=this.state.pos;let u=this.state.pos;for(e!==void 0&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){const c=this.codePointAtPos(this.state.pos);if(Ue(c))this.state.pos+=c<=65535?1:2;else if(c===92){this.state.containsEsc=!0,r+=this.input.slice(u,this.state.pos);const f=this.state.pos,d=this.state.pos===o?we:Ue;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(this.state.pos,E.MissingUnicodeEscape),u=this.state.pos-1;continue}++this.state.pos;const P=this.readCodePoint(!0);P!==null&&(d(P)||this.raise(f,E.EscapedCharNotAnIdentifier),r+=String.fromCodePoint(P)),u=this.state.pos}else break}return r+this.input.slice(u,this.state.pos)}readWord(e){const r=this.readWord1(e),o=K.get(r);o!==void 0?this.finishToken(o,Ae(o)):this.finishToken(122,r)}checkKeywordEscapes(){const{type:e}=this.state;Ge(e)&&this.state.containsEsc&&this.raise(this.state.start,E.InvalidEscapedReservedWord,Ae(e))}updateContext(e){const{context:r,type:o}=this.state;switch(o){case 8:r.pop();break;case 5:case 7:case 23:r.push(te.brace);break;case 22:r[r.length-1]===te.template?r.pop():r.push(te.template);break}}}class Qr{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Zr{constructor(e){this.stack=[],this.undefinedPrivateNames=new Map,this.raise=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Qr)}exit(){const e=this.stack.pop(),r=this.current();for(const[o,u]of Array.from(e.undefinedPrivateNames))r?r.undefinedPrivateNames.has(o)||r.undefinedPrivateNames.set(o,u):this.raise(u,E.InvalidPrivateFieldResolution,o)}declarePrivateName(e,r,o){const u=this.current();let c=u.privateNames.has(e);if(r&Mt){const f=c&&u.loneAccessors.get(e);if(f){const d=f&ut,P=r&ut,v=f&Mt,C=r&Mt;c=v===C||d!==P,c||u.loneAccessors.delete(e)}else c||u.loneAccessors.set(e,r)}c&&this.raise(o,E.PrivateNameRedeclaration,e),u.privateNames.add(e),u.undefinedPrivateNames.delete(e)}usePrivateName(e,r){let o;for(o of this.stack)if(o.privateNames.has(e))return;o?o.undefinedPrivateNames.set(e,r):this.raise(r,E.InvalidPrivateFieldResolution,e)}}const ei=0,cr=1,Kt=2,pr=3;class lt{constructor(e=ei){this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return this.type===Kt||this.type===cr}isCertainlyParameterDeclaration(){return this.type===pr}}class fr extends lt{constructor(e){super(e);this.errors=new Map}recordDeclarationError(e,r){this.errors.set(e,r)}clearDeclarationError(e){this.errors.delete(e)}iterateErrors(e){this.errors.forEach(e)}}class ti{constructor(e){this.stack=[new lt],this.raise=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,r){const{stack:o}=this;let u=o.length-1,c=o[u];for(;!c.isCertainlyParameterDeclaration();){if(c.canBeArrowParameterDeclaration())c.recordDeclarationError(e,r);else return;c=o[--u]}this.raise(e,r)}recordParenthesizedIdentifierError(e,r){const{stack:o}=this,u=o[o.length-1];if(u.isCertainlyParameterDeclaration())this.raise(e,r);else if(u.canBeArrowParameterDeclaration())u.recordDeclarationError(e,r);else return}recordAsyncArrowParametersError(e,r){const{stack:o}=this;let u=o.length-1,c=o[u];for(;c.canBeArrowParameterDeclaration();)c.type===Kt&&c.recordDeclarationError(e,r),c=o[--u]}validateAsPattern(){const{stack:e}=this,r=e[e.length-1];!r.canBeArrowParameterDeclaration()||r.iterateErrors((o,u)=>{this.raise(u,o);let c=e.length-2,f=e[c];for(;f.canBeArrowParameterDeclaration();)f.clearDeclarationError(u),f=e[--c]})}}function ri(){return new lt(pr)}function ii(){return new fr(cr)}function si(){return new fr(Kt)}function dr(){return new lt}const Je=0,hr=1,ct=2,yr=4,We=8;class ni{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&ct)>0}get hasYield(){return(this.currentFlags()&hr)>0}get hasReturn(){return(this.currentFlags()&yr)>0}get hasIn(){return(this.currentFlags()&We)>0}}function pt(y,e){return(y?ct:0)|(e?hr:0)}class ai extends $r{addExtra(e,r,o){if(!e)return;const u=e.extra=e.extra||{};u[r]=o}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,r){const o=e+r.length;if(this.input.slice(e,o)===r){const u=this.input.charCodeAt(o);return!(Ue(u)||(u&64512)==55296)}return!1}isLookaheadContextual(e){const r=this.nextTokenStart();return this.isUnparsedContextual(r,e)}eatContextual(e){return this.isContextual(e)?(this.next(),!0):!1}expectContextual(e,r){this.eatContextual(e)||this.unexpected(null,r)}canInsertSemicolon(){return this.match(129)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return n.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return p.lastIndex=this.state.end,p.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(this.state.lastTokEnd,E.MissingSemicolon)}expect(e,r){this.eat(e)||this.unexpected(r,e)}assertNoSpace(e="Unexpected space."){this.state.start>this.state.lastTokEnd&&this.raise(this.state.lastTokEnd,{code:j.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}unexpected(e,r={code:j.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){throw vt(r)&&(r={code:j.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${Ae(r)}"`}),this.raise(e!=null?e:this.state.start,r)}expectPlugin(e,r){if(!this.hasPlugin(e))throw this.raiseWithData(r!=null?r:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`);return!0}expectOnePlugin(e,r){if(!e.some(o=>this.hasPlugin(o)))throw this.raiseWithData(r!=null?r:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}tryParse(e,r=this.state.clone()){const o={node:null};try{const u=e((c=null)=>{throw o.node=c,o});if(this.state.errors.length>r.errors.length){const c=this.state;return this.state=r,this.state.tokensLength=c.tokensLength,{node:u,error:c.errors[r.errors.length],thrown:!1,aborted:!1,failState:c}}return{node:u,error:null,thrown:!1,aborted:!1,failState:null}}catch(u){const c=this.state;if(this.state=r,u instanceof SyntaxError)return{node:null,error:u,thrown:!0,aborted:!1,failState:c};if(u===o)return{node:o.node,error:null,thrown:!1,aborted:!0,failState:c};throw u}}checkExpressionErrors(e,r){if(!e)return!1;const{shorthandAssign:o,doubleProto:u,optionalParameters:c}=e,f=o+u+c>-3;if(r)f&&(o>=0&&this.unexpected(o),u>=0&&this.raise(u,E.DuplicateProto),c>=0&&this.unexpected(c));else return f}isLiteralPropertyName(){return Be(this.state.type)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isOptionalChain(e){return e.type==="OptionalMemberExpression"||e.type==="OptionalCallExpression"}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const r=this.state.labels;this.state.labels=[];const o=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const u=this.inModule;this.inModule=e;const c=this.scope,f=this.getScopeHandler();this.scope=new f(this.raise.bind(this),this.inModule);const d=this.prodParam;this.prodParam=new ni;const P=this.classScope;this.classScope=new Zr(this.raise.bind(this));const v=this.expressionScope;return this.expressionScope=new ti(this.raise.bind(this)),()=>{this.state.labels=r,this.exportedIdentifiers=o,this.inModule=u,this.scope=c,this.prodParam=d,this.classScope=P,this.expressionScope=v}}enterInitialScopes(){let e=Je;this.inModule&&(e|=ct),this.scope.enter($e),this.prodParam.enter(e)}}class ft{constructor(){this.shorthandAssign=-1,this.doubleProto=-1,this.optionalParameters=-1}}class dt{constructor(e,r,o){this.type="",this.start=r,this.end=0,this.loc=new N(o),e!=null&&e.options.ranges&&(this.range=[r,0]),e!=null&&e.filename&&(this.loc.filename=e.filename)}}const Ut=dt.prototype;Ut.__clone=function(){const y=new dt,e=Object.keys(this);for(let r=0,o=e.length;r<o;r++){const u=e[r];u!=="leadingComments"&&u!=="trailingComments"&&u!=="innerComments"&&(y[u]=this[u])}return y};function oi(y){return xe(y)}function xe(y){const{type:e,start:r,end:o,loc:u,range:c,extra:f,name:d}=y,P=Object.create(Ut);return P.type=e,P.start=r,P.end=o,P.loc=u,P.range=c,P.extra=f,P.name=d,e==="Placeholder"&&(P.expectedNode=y.expectedNode),P}function ui(y){const{type:e,start:r,end:o,loc:u,range:c,extra:f}=y;if(e==="Placeholder")return oi(y);const d=Object.create(Ut);return d.type="StringLiteral",d.start=r,d.end=o,d.loc=u,d.range=c,d.extra=f,d.value=y.value,d}class li extends ai{startNode(){return new dt(this,this.state.start,this.state.startLoc)}startNodeAt(e,r){return new dt(this,e,r)}startNodeAtNode(e){return this.startNodeAt(e.start,e.loc.start)}finishNode(e,r){return this.finishNodeAt(e,r,this.state.lastTokEnd,this.state.lastTokEndLoc)}finishNodeAt(e,r,o,u){return e.type=r,e.end=o,e.loc.end=u,this.options.ranges&&(e.range[1]=o),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,r,o){e.start=r,e.loc.start=o,this.options.ranges&&(e.range[0]=r)}resetEndLocation(e,r=this.state.lastTokEnd,o=this.state.lastTokEndLoc){e.end=r,e.loc.end=o,this.options.ranges&&(e.range[1]=r)}resetStartLocationFromNode(e,r){this.resetStartLocation(e,r.start,r.loc.start)}}const ci=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),J=fe({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},j.SyntaxError,"flow");function pi(y){return y.type==="DeclareExportAllDeclaration"||y.type==="DeclareExportDeclaration"&&(!y.declaration||y.declaration.type!=="TypeAlias"&&y.declaration.type!=="InterfaceDeclaration")}function Vt(y){return y.importKind==="type"||y.importKind==="typeof"}function mr(y){return Te(y)&&y!==91}const fi={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function di(y,e){const r=[],o=[];for(let u=0;u<y.length;u++)(e(y[u],u,y)?r:o).push(y[u]);return[r,o]}const hi=/\*?\s*@((?:no)?flow)\b/;var yi=y=>class extends y{constructor(...e){super(...e);this.flowPragma=void 0}getScopeHandler(){return Hr}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,r){return e!==123&&e!==13&&e!==26&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,r)}addComment(e){if(this.flowPragma===void 0){const r=hi.exec(e.value);if(r)if(r[1]==="flow")this.flowPragma="flow";else if(r[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}return super.addComment(e)}flowParseTypeInitialiser(e){const r=this.state.inType;this.state.inType=!0,this.expect(e||14);const o=this.flowParseType();return this.state.inType=r,o}flowParsePredicate(){const e=this.startNode(),r=this.state.start;return this.next(),this.expectContextual(101),this.state.lastTokStart>r+1&&this.raise(r,J.UnexpectedSpaceBetweenModuloChecks),this.eat(10)?(e.value=this.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let r=null,o=null;return this.match(48)?(this.state.inType=e,o=this.flowParsePredicate()):(r=this.flowParseType(),this.state.inType=e,this.match(48)&&(o=this.flowParsePredicate())),[r,o]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const r=e.id=this.parseIdentifier(),o=this.startNode(),u=this.startNode();this.match(43)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,this.expect(10);const c=this.flowParseFunctionTypeParams();return o.params=c.params,o.rest=c.rest,o.this=c._this,this.expect(11),[o.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),u.typeAnnotation=this.finishNode(o,"FunctionTypeAnnotation"),r.typeAnnotation=this.finishNode(u,"TypeAnnotation"),this.resetEndLocation(r),this.semicolon(),this.scope.declareName(e.id.name,Vr,e.id.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,r){if(this.match(74))return this.flowParseDeclareClass(e);if(this.match(62))return this.flowParseDeclareFunction(e);if(this.match(68))return this.flowParseDeclareVariable(e);if(this.eatContextual(117))return this.match(16)?this.flowParseDeclareModuleExports(e):(r&&this.raise(this.state.lastTokStart,J.NestedDeclareModule),this.flowParseDeclareModule(e));if(this.isContextual(120))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(121))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(119))return this.flowParseDeclareInterface(e);if(this.match(76))return this.flowParseDeclareExportDeclaration(e,r);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,ot,e.id.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(Ve),this.match(123)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();const r=e.body=this.startNode(),o=r.body=[];for(this.expect(5);!this.match(8);){let f=this.startNode();this.match(77)?(this.next(),!this.isContextual(120)&&!this.match(81)&&this.raise(this.state.lastTokStart,J.InvalidNonTypeImportInDeclareModule),this.parseImport(f)):(this.expectContextual(115,J.UnsupportedStatementInDeclareModule),f=this.flowParseDeclare(f,!0)),o.push(f)}this.scope.exit(),this.expect(8),this.finishNode(r,"BlockStatement");let u=null,c=!1;return o.forEach(f=>{pi(f)?(u==="CommonJS"&&this.raise(f.start,J.AmbiguousDeclareModuleKind),u="ES"):f.type==="DeclareModuleExports"&&(c&&this.raise(f.start,J.DuplicateDeclareModuleExports),u==="ES"&&this.raise(f.start,J.AmbiguousDeclareModuleKind),u="CommonJS",c=!0)}),e.kind=u||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,r){if(this.expect(76),this.eat(59))return this.match(62)||this.match(74)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(69)||this.isLet()||(this.isContextual(120)||this.isContextual(119))&&!r){const o=this.state.value,u=fi[o];throw this.raise(this.state.start,J.UnsupportedDeclareExportKind,o,u)}if(this.match(68)||this.match(62)||this.match(74)||this.isContextual(121))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(49)||this.match(5)||this.isContextual(119)||this.isContextual(120)||this.isContextual(121))return e=this.parseExport(e),e.type==="ExportNamedDeclaration"&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(102),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){return this.next(),this.flowParseTypeAlias(e),e.type="DeclareTypeAlias",e}flowParseDeclareOpaqueType(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type="DeclareOpaqueType",e}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,r=!1){if(e.id=this.flowParseRestrictedIdentifier(!r,!0),this.scope.declareName(e.id.name,r?nr:be,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(75))do e.extends.push(this.flowParseInterfaceExtends());while(!r&&this.eat(12));if(this.isContextual(108)){this.next();do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12))}if(this.isContextual(104)){this.next();do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:r,allowExact:!1,allowSpread:!1,allowProto:r,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(43)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(this.state.start,J.UnexpectedReservedUnderscore)}checkReservedType(e,r,o){!ci.has(e)||this.raise(r,o?J.AssignReservedType:J.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,r){return this.checkReservedType(this.state.value,this.state.start,r),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,be,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(27),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,r){return this.expectContextual(120),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,be,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,r||(e.impltype=this.flowParseTypeInitialiser(27)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const r=this.state.start,o=this.startNode(),u=this.flowParseVariance(),c=this.flowParseTypeAnnotatableIdentifier();return o.name=c.name,o.variance=u,o.bound=c.typeAnnotation,this.match(27)?(this.eat(27),o.default=this.flowParseType()):e&&this.raise(r,J.MissingTypeParamDefault),this.finishNode(o,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,r=this.startNode();r.params=[],this.state.inType=!0,this.match(43)||this.match(132)?this.next():this.unexpected();let o=!1;do{const u=this.flowParseTypeParameter(o);r.params.push(u),u.default&&(o=!0),this.match(44)||this.expect(12)}while(!this.match(44));return this.expect(44),this.state.inType=e,this.finishNode(r,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),r=this.state.inType;e.params=[],this.state.inType=!0,this.expect(43);const o=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(44);)e.params.push(this.flowParseType()),this.match(44)||this.expect(12);return this.state.noAnonFunctionType=o,this.expect(44),this.state.inType=r,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),r=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(43);!this.match(44);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(44)||this.expect(12);return this.expect(44),this.state.inType=r,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(119),e.extends=[],this.eat(75))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(124)||this.match(123)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,r,o){return e.static=r,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=o,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,r){return e.static=r,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(43)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(72)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,r){const o=this.startNode();return e.static=r,e.value=this.flowParseObjectTypeMethodish(o),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:r,allowSpread:o,allowProto:u,allowInexact:c}){const f=this.state.inType;this.state.inType=!0;const d=this.startNode();d.callProperties=[],d.properties=[],d.indexers=[],d.internalSlots=[];let P,v,C=!1;for(r&&this.match(6)?(this.expect(6),P=9,v=!0):(this.expect(5),P=8,v=!1),d.exact=v;!this.match(P);){let X=!1,H=null,oe=null;const ne=this.startNode();if(u&&this.isContextual(109)){const pe=this.lookahead();pe.type!==14&&pe.type!==17&&(this.next(),H=this.state.start,e=!1)}if(e&&this.isContextual(98)){const pe=this.lookahead();pe.type!==14&&pe.type!==17&&(this.next(),X=!0)}const ce=this.flowParseVariance();if(this.eat(0))H!=null&&this.unexpected(H),this.eat(0)?(ce&&this.unexpected(ce.start),d.internalSlots.push(this.flowParseObjectTypeInternalSlot(ne,X))):d.indexers.push(this.flowParseObjectTypeIndexer(ne,X,ce));else if(this.match(10)||this.match(43))H!=null&&this.unexpected(H),ce&&this.unexpected(ce.start),d.callProperties.push(this.flowParseObjectTypeCallProperty(ne,X));else{let pe="init";if(this.isContextual(92)||this.isContextual(97)){const zt=this.lookahead();Be(zt.type)&&(pe=this.state.value,this.next())}const ht=this.flowParseObjectTypeProperty(ne,X,H,ce,pe,o,c!=null?c:!v);ht===null?(C=!0,oe=this.state.lastTokStart):d.properties.push(ht)}this.flowObjectTypeSemicolon(),oe&&!this.match(8)&&!this.match(9)&&this.raise(oe,J.UnexpectedExplicitInexactInObject)}this.expect(P),o&&(d.inexact=C);const Y=this.finishNode(d,"ObjectTypeAnnotation");return this.state.inType=f,Y}flowParseObjectTypeProperty(e,r,o,u,c,f,d){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(f?d||this.raise(this.state.lastTokStart,J.InexactInsideExact):this.raise(this.state.lastTokStart,J.InexactInsideNonObject),u&&this.raise(u.start,J.InexactVariance),null):(f||this.raise(this.state.lastTokStart,J.UnexpectedSpreadType),o!=null&&this.unexpected(o),u&&this.raise(u.start,J.SpreadVariance),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=r,e.proto=o!=null,e.kind=c;let P=!1;return this.match(43)||this.match(10)?(e.method=!0,o!=null&&this.unexpected(o),u&&this.unexpected(u.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),(c==="get"||c==="set")&&this.flowCheckGetterSetterParams(e),!f&&e.key.name==="constructor"&&e.value.this&&this.raise(e.value.this.start,J.ThisParamBannedInConstructor)):(c!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(P=!0),e.value=this.flowParseTypeInitialiser(),e.variance=u),e.optional=P,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const r=e.kind==="get"?0:1,o=e.start,u=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.value.this.start,e.kind==="get"?J.GetterMayNotHaveThisParam:J.SetterMayNotHaveThisParam),u!==r&&(e.kind==="get"?this.raise(o,E.BadGetterArity):this.raise(o,E.BadSetterArity)),e.kind==="set"&&e.value.rest&&this.raise(o,E.BadSetterRestParameter)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,r,o){e=e||this.state.start,r=r||this.state.startLoc;let u=o||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const c=this.startNodeAt(e,r);c.qualification=u,c.id=this.flowParseRestrictedIdentifier(!0),u=this.finishNode(c,"QualifiedTypeIdentifier")}return u}flowParseGenericType(e,r,o){const u=this.startNodeAt(e,r);return u.typeParameters=null,u.id=this.flowParseQualifiedTypeIdentifier(e,r,o),this.match(43)&&(u.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(u,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(81),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let r=null,o=!1,u=null;const c=this.startNode(),f=this.lookahead(),d=this.state.type===72;return f.type===14||f.type===17?(d&&!e&&this.raise(c.start,J.ThisParamMustBeFirst),r=this.parseIdentifier(d),this.eat(17)&&(o=!0,d&&this.raise(c.start,J.ThisParamMayNotBeOptional)),u=this.flowParseTypeInitialiser()):u=this.flowParseType(),c.name=r,c.optional=o,c.typeAnnotation=u,this.finishNode(c,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const r=this.startNodeAt(e.start,e.loc.start);return r.name=null,r.optional=!1,r.typeAnnotation=e,this.finishNode(r,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let r=null,o=null;for(this.match(72)&&(o=this.flowParseFunctionTypeParam(!0),o.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(r=this.flowParseFunctionTypeParam(!1)),{params:e,rest:r,_this:o}}flowIdentToTypeAnnotation(e,r,o,u){switch(u.name){case"any":return this.finishNode(o,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(o,"BooleanTypeAnnotation");case"mixed":return this.finishNode(o,"MixedTypeAnnotation");case"empty":return this.finishNode(o,"EmptyTypeAnnotation");case"number":return this.finishNode(o,"NumberTypeAnnotation");case"string":return this.finishNode(o,"StringTypeAnnotation");case"symbol":return this.finishNode(o,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(u.name),this.flowParseGenericType(e,r,u)}}flowParsePrimaryType(){const e=this.state.start,r=this.state.startLoc,o=this.startNode();let u,c,f=!1;const d=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,c=this.flowParseTupleType(),this.state.noAnonFunctionType=d,c;case 43:return o.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),u=this.flowParseFunctionTypeParams(),o.params=u.params,o.rest=u.rest,o.this=u._this,this.expect(11),this.expect(19),o.returnType=this.flowParseType(),this.finishNode(o,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(ee(this.state.type)||this.match(72)){const P=this.lookahead().type;f=P!==17&&P!==14}else f=!0;if(f){if(this.state.noAnonFunctionType=!1,c=this.flowParseType(),this.state.noAnonFunctionType=d,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),c;this.eat(12)}return c?u=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(c)]):u=this.flowParseFunctionTypeParams(),o.params=u.params,o.rest=u.rest,o.this=u._this,this.expect(11),this.expect(19),o.returnType=this.flowParseType(),o.typeParameters=null,this.finishNode(o,"FunctionTypeAnnotation");case 123:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 79:case 80:return o.value=this.match(79),this.next(),this.finishNode(o,"BooleanLiteralTypeAnnotation");case 47:if(this.state.value==="-"){if(this.next(),this.match(124))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",o);if(this.match(125))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",o);throw this.raise(this.state.start,J.UnexpectedSubtractionOperand)}throw this.unexpected();case 124:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 125:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 82:return this.next(),this.finishNode(o,"VoidTypeAnnotation");case 78:return this.next(),this.finishNode(o,"NullLiteralTypeAnnotation");case 72:return this.next(),this.finishNode(o,"ThisTypeAnnotation");case 49:return this.next(),this.finishNode(o,"ExistsTypeAnnotation");case 81:return this.flowParseTypeofType();default:if(Ge(this.state.type)){const P=Ae(this.state.type);return this.next(),super.createIdentifier(o,P)}else if(ee(this.state.type))return this.isContextual(119)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,r,o,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){const e=this.state.start,r=this.state.startLoc;let o=this.flowParsePrimaryType(),u=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const c=this.startNodeAt(e,r),f=this.eat(18);u=u||f,this.expect(0),!f&&this.match(3)?(c.elementType=o,this.next(),o=this.finishNode(c,"ArrayTypeAnnotation")):(c.objectType=o,c.indexType=this.flowParseType(),this.expect(3),u?(c.optional=f,o=this.finishNode(c,"OptionalIndexedAccessType")):o=this.finishNode(c,"IndexedAccessType"))}return o}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const r=this.startNodeAt(e.start,e.loc.start);return r.params=[this.reinterpretTypeAsFunctionTypeParam(e)],r.rest=null,r.this=null,r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(41);const r=this.flowParseAnonFunctionWithoutParens();for(e.types=[r];this.eat(41);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?r:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(39);const r=this.flowParseIntersectionType();for(e.types=[r];this.eat(39);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?r:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const r=this.flowParseUnionType();return this.state.inType=e,r}flowParseTypeOrImplicitInstantiation(){if(this.state.type===122&&this.state.value==="_"){const e=this.state.start,r=this.state.startLoc,o=this.parseIdentifier();return this.flowParseGenericType(e,r,o)}else return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const r=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(r)),r}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(47)&&(e=this.startNode(),this.state.value==="+"?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")),e}parseFunctionBody(e,r,o=!1){return r?this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,o)):super.parseFunctionBody(e,!1,o)}parseFunctionBodyAndFinish(e,r,o=!1){if(this.match(14)){const u=this.startNode();[u.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=u.typeAnnotation?this.finishNode(u,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,r,o)}parseStatement(e,r){if(this.state.strict&&this.isContextual(119)){const u=this.lookahead();if(Te(u.type)){const c=this.startNode();return this.next(),this.flowParseInterface(c)}}else if(this.shouldParseEnums()&&this.isContextual(116)){const u=this.startNode();return this.next(),this.flowParseEnumDeclaration(u)}const o=super.parseStatement(e,r);return this.flowPragma===void 0&&!this.isValidDirective(o)&&(this.flowPragma=null),o}parseExpressionStatement(e,r){if(r.type==="Identifier"){if(r.name==="declare"){if(this.match(74)||ee(this.state.type)||this.match(62)||this.match(68)||this.match(76))return this.flowParseDeclare(e)}else if(ee(this.state.type)){if(r.name==="interface")return this.flowParseInterface(e);if(r.name==="type")return this.flowParseTypeAlias(e);if(r.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,r)}shouldParseExportDeclaration(){const{type:e}=this.state;return tt(e)||this.shouldParseEnums()&&e===116?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return tt(e)||this.shouldParseEnums()&&e===116?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(116)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,r,o,u){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const X=this.lookaheadCharCode();if(X===44||X===61||X===58||X===41)return this.setOptionalParametersError(u),e}this.expect(17);const c=this.state.clone(),f=this.state.noArrowAt,d=this.startNodeAt(r,o);let{consequent:P,failed:v}=this.tryParseConditionalConsequent(),[C,Y]=this.getArrowLikeExpressions(P);if(v||Y.length>0){const X=[...f];if(Y.length>0){this.state=c,this.state.noArrowAt=X;for(let H=0;H<Y.length;H++)X.push(Y[H].start);({consequent:P,failed:v}=this.tryParseConditionalConsequent()),[C,Y]=this.getArrowLikeExpressions(P)}v&&C.length>1&&this.raise(c.start,J.AmbiguousConditionalArrow),v&&C.length===1&&(this.state=c,X.push(C[0].start),this.state.noArrowAt=X,{consequent:P,failed:v}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(P,!0),this.state.noArrowAt=f,this.expect(14),d.test=e,d.consequent=P,d.alternate=this.forwardNoArrowParamsConversionAt(d,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(d,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),r=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:r}}getArrowLikeExpressions(e,r){const o=[e],u=[];for(;o.length!==0;){const c=o.pop();c.type==="ArrowFunctionExpression"?(c.typeParameters||!c.returnType?this.finishArrowValidation(c):u.push(c),o.push(c.body)):c.type==="ConditionalExpression"&&(o.push(c.consequent),o.push(c.alternate))}return r?(u.forEach(c=>this.finishArrowValidation(c)),[u,[]]):di(u,c=>c.params.every(f=>this.isAssignable(f,!0)))}finishArrowValidation(e){var r;this.toAssignableList(e.params,(r=e.extra)==null?void 0:r.trailingComma,!1),this.scope.enter(Ie|Ot),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,r){let o;return this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),o=r(),this.state.noArrowParamsConversionAt.pop()):o=r(),o}parseParenItem(e,r,o){if(e=super.parseParenItem(e,r,o),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const u=this.startNodeAt(r,o);return u.expression=e,u.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(u,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExport(e){const r=super.parseExport(e);return(r.type==="ExportNamedDeclaration"||r.type==="ExportAllDeclaration")&&(r.exportKind=r.exportKind||"value"),r}parseExportDeclaration(e){if(this.isContextual(120)){e.exportKind="type";const r=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(e),null):this.flowParseTypeAlias(r)}else if(this.isContextual(121)){e.exportKind="type";const r=this.startNode();return this.next(),this.flowParseOpaqueType(r,!1)}else if(this.isContextual(119)){e.exportKind="type";const r=this.startNode();return this.next(),this.flowParseInterface(r)}else if(this.shouldParseEnums()&&this.isContextual(116)){e.exportKind="value";const r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(...arguments)?!0:this.isContextual(120)&&this.lookahead().type===49?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){const r=this.state.start,o=super.maybeParseExportNamespaceSpecifier(e);return o&&e.exportKind==="type"&&this.unexpected(r),o}parseClassId(e,r,o){super.parseClassId(e,r,o),this.match(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,r,o){const u=this.state.start;if(this.isContextual(115)){if(this.parseClassMemberFromModifier(e,r))return;r.declare=!0}super.parseClassMember(e,r,o),r.declare&&(r.type!=="ClassProperty"&&r.type!=="ClassPrivateProperty"&&r.type!=="PropertyDefinition"?this.raise(u,J.DeclareClassElement):r.value&&this.raise(r.value.start,J.DeclareClassFieldInitializer))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1(),r="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(this.state.pos,E.InvalidIdentifier,r),this.finishToken(122,r)}getTokenFromCode(e){const r=this.input.charCodeAt(this.state.pos+1);return e===123&&r===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?44:43,1):this.state.inType&&e===63?r===46?this.finishOp(18,2):this.finishOp(17,1):jr(e,r)?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,r){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,r):super.isAssignable(e,r)}toAssignable(e,r=!1){return e.type==="TypeCastExpression"?super.toAssignable(this.typeCastToParameter(e),r):super.toAssignable(e,r)}toAssignableList(e,r,o){for(let u=0;u<e.length;u++){const c=e[u];(c==null?void 0:c.type)==="TypeCastExpression"&&(e[u]=this.typeCastToParameter(c))}return super.toAssignableList(e,r,o)}toReferencedList(e,r){for(let u=0;u<e.length;u++){var o;const c=e[u];c&&c.type==="TypeCastExpression"&&!((o=c.extra)!=null&&o.parenthesized)&&(e.length>1||!r)&&this.raise(c.typeAnnotation.start,J.TypeCastInPattern)}return e}parseArrayLike(e,r,o,u){const c=super.parseArrayLike(e,r,o,u);return r&&!this.state.maybeInArrowParameters&&this.toReferencedList(c.elements),c}checkLVal(e,...r){if(e.type!=="TypeCastExpression")return super.checkLVal(e,...r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(43)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,r,o,u,c,f){if(r.variance&&this.unexpected(r.variance.start),delete r.variance,this.match(43)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,r,o,u,c,f),r.params&&c){const d=r.params;d.length>0&&this.isThisParam(d[0])&&this.raise(r.start,J.ThisParamBannedInConstructor)}else if(r.type==="MethodDefinition"&&c&&r.value.params){const d=r.value.params;d.length>0&&this.isThisParam(d[0])&&this.raise(r.start,J.ThisParamBannedInConstructor)}}pushClassPrivateMethod(e,r,o,u){r.variance&&this.unexpected(r.variance.start),delete r.variance,this.match(43)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,r,o,u)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(43)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(104)){this.next();const r=e.implements=[];do{const o=this.startNode();o.id=this.flowParseRestrictedIdentifier(!0),this.match(43)?o.typeParameters=this.flowParseTypeParameterInstantiation():o.typeParameters=null,r.push(this.finishNode(o,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const r=this.getObjectOrClassMethodParams(e);if(r.length>0){const o=r[0];this.isThisParam(o)&&e.kind==="get"?this.raise(o.start,J.GetterMayNotHaveThisParam):this.isThisParam(o)&&this.raise(o.start,J.SetterMayNotHaveThisParam)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,r,o,u,c,f,d,P){e.variance&&this.unexpected(e.variance.start),delete e.variance;let v;this.match(43)&&!d&&(v=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(e,r,o,u,c,f,d,P),v&&((e.value||e).typeParameters=v)}parseAssignableListItemTypes(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(e.start,J.PatternIsOptional),this.isThisParam(e)&&this.raise(e.start,J.ThisParamMayNotBeOptional),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(e.start,J.ThisParamAnnotationRequired),this.match(27)&&this.isThisParam(e)&&this.raise(e.start,J.ThisParamNoDefault),this.resetEndLocation(e),e}parseMaybeDefault(e,r,o){const u=super.parseMaybeDefault(e,r,o);return u.type==="AssignmentPattern"&&u.typeAnnotation&&u.right.start<u.typeAnnotation.start&&this.raise(u.typeAnnotation.start,J.TypeBeforeInitializer),u}shouldParseDefaultImport(e){return Vt(e)?mr(this.state.type):super.shouldParseDefaultImport(e)}parseImportSpecifierLocal(e,r,o,u){r.local=Vt(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),this.checkLVal(r.local,u,be),e.specifiers.push(this.finishNode(r,o))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let r=null;if(this.match(81)?r="typeof":this.isContextual(120)&&(r="type"),r){const o=this.lookahead(),{type:u}=o;r==="type"&&u===49&&this.unexpected(o.start),(mr(u)||u===5||u===49)&&(this.next(),e.importKind=r)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,r,o,u){const c=e.imported;let f=null;c.type==="Identifier"&&(c.name==="type"?f="type":c.name==="typeof"&&(f="typeof"));let d=!1;if(this.isContextual(87)&&!this.isLookaheadContextual("as")){const v=this.parseIdentifier(!0);f!==null&&!Te(this.state.type)?(e.imported=v,e.importKind=f,e.local=xe(v)):(e.imported=c,e.importKind=null,e.local=this.parseIdentifier())}else{if(f!==null&&Te(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=f;else{if(r)throw this.raise(e.start,E.ImportBindingIsString,c.value);e.imported=c,e.importKind=null}this.eatContextual(87)?e.local=this.parseIdentifier():(d=!0,e.local=xe(e.imported))}const P=Vt(e);return o&&P&&this.raise(e.start,J.ImportTypeShorthandOnlyInPureImport),(o||P)&&this.checkReservedType(e.local.name,e.local.start,!0),d&&!o&&!P&&this.checkReservedWord(e.local.name,e.start,!0,!0),this.checkLVal(e.local,"import specifier",be),this.finishNode(e,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 72:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(e,r){const o=e.kind;o!=="get"&&o!=="set"&&this.match(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,r)}parseVarId(e,r){super.parseVarId(e,r),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,r){if(this.match(14)){const o=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=o}return super.parseAsyncArrowFromCallExpression(e,r)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,r){var o;let u=null,c;if(this.hasPlugin("jsx")&&(this.match(132)||this.match(43))){if(u=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(e,r),u),!c.error)return c.node;const{context:P}=this.state,v=P[P.length-1];v===te.j_oTag?P.length-=2:v===te.j_expr&&(P.length-=1)}if((o=c)!=null&&o.error||this.match(43)){var f,d;u=u||this.state.clone();let P;const v=this.tryParse(Y=>{var X;P=this.flowParseTypeParameterDeclaration();const H=this.forwardNoArrowParamsConversionAt(P,()=>{const ne=super.parseMaybeAssign(e,r);return this.resetStartLocationFromNode(ne,P),ne});(X=H.extra)!=null&&X.parenthesized&&Y();const oe=this.maybeUnwrapTypeCastExpression(H);return oe.type!=="ArrowFunctionExpression"&&Y(),oe.typeParameters=P,this.resetStartLocationFromNode(oe,P),H},u);let C=null;if(v.node&&this.maybeUnwrapTypeCastExpression(v.node).type==="ArrowFunctionExpression"){if(!v.error&&!v.aborted)return v.node.async&&this.raise(P.start,J.UnexpectedTypeParameterBeforeAsyncArrowFunction),v.node;C=v.node}if((f=c)!=null&&f.node)return this.state=c.failState,c.node;if(C)return this.state=v.failState,C;throw(d=c)!=null&&d.thrown?c.error:v.thrown?v.error:this.raise(P.start,J.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,r)}parseArrow(e){if(this.match(14)){const r=this.tryParse(()=>{const o=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const u=this.startNode();return[u.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=o,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),u});if(r.thrown)return null;r.error&&(this.state=r.failState),e.returnType=r.node.typeAnnotation?this.finishNode(r.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,r){this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1?e.params=r:super.setArrowFunctionParameters(e,r)}checkParams(e,r,o){if(!(o&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1)){for(let u=0;u<e.params.length;u++)this.isThisParam(e.params[u])&&u>0&&this.raise(e.params[u].start,J.ThisParamMustBeFirst);return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,r,o,u){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(r)!==-1){this.next();const c=this.startNodeAt(r,o);c.callee=e,c.arguments=this.parseCallExpressionArguments(11,!1),e=this.finishNode(c,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(43)){const c=this.state.clone(),f=this.tryParse(P=>this.parseAsyncArrowWithTypeParameters(r,o)||P(),c);if(!f.error&&!f.aborted)return f.node;const d=this.tryParse(()=>super.parseSubscripts(e,r,o,u),c);if(d.node&&!d.error)return d.node;if(f.node)return this.state=f.failState,f.node;if(d.node)return this.state=d.failState,d.node;throw f.error||d.error}return super.parseSubscripts(e,r,o,u)}parseSubscript(e,r,o,u,c){if(this.match(18)&&this.isLookaheadToken_lt()){if(c.optionalChainMember=!0,u)return c.stop=!0,e;this.next();const f=this.startNodeAt(r,o);return f.callee=e,f.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),f.arguments=this.parseCallExpressionArguments(11,!1),f.optional=!0,this.finishCallExpression(f,!0)}else if(!u&&this.shouldParseTypes()&&this.match(43)){const f=this.startNodeAt(r,o);f.callee=e;const d=this.tryParse(()=>(f.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),f.arguments=this.parseCallExpressionArguments(11,!1),c.optionalChainMember&&(f.optional=!1),this.finishCallExpression(f,c.optionalChainMember)));if(d.node)return d.error&&(this.state=d.failState),d.node}return super.parseSubscript(e,r,o,u,c)}parseNewArguments(e){let r=null;this.shouldParseTypes()&&this.match(43)&&(r=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=r,super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,r){const o=this.startNodeAt(e,r);if(this.parseFunctionParams(o),!!this.parseArrow(o))return this.parseArrowExpression(o,void 0,!0)}readToken_mult_modulo(e){const r=this.input.charCodeAt(this.state.pos+1);if(e===42&&r===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const r=this.input.charCodeAt(this.state.pos+1);if(e===124&&r===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,r){const o=super.parseTopLevel(e,r);return this.state.hasFlowComment&&this.raise(this.state.pos,J.UnterminatedFlowComment),o}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){this.state.hasFlowComment&&this.unexpected(null,J.NestedFlowComment),this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),this.state.hasFlowComment=!0;return}if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);if(e===-1)throw this.raise(this.state.pos-2,E.UnterminatedComment);this.state.pos=e+3;return}return super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let r=2;for(;[32,9].includes(this.input.charCodeAt(e+r));)r++;const o=this.input.charCodeAt(r+e),u=this.input.charCodeAt(r+e+1);return o===58&&u===58?r+2:this.input.slice(r+e,r+e+12)==="flow-include"?r+12:o===58&&u!==58?r:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(this.state.pos,E.UnterminatedComment)}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:r,memberName:o}){this.raise(e,J.EnumBooleanMemberNotInitialized,o,r)}flowEnumErrorInvalidMemberName(e,{enumName:r,memberName:o}){const u=o[0].toUpperCase()+o.slice(1);this.raise(e,J.EnumInvalidMemberName,o,u,r)}flowEnumErrorDuplicateMemberName(e,{enumName:r,memberName:o}){this.raise(e,J.EnumDuplicateMemberName,o,r)}flowEnumErrorInconsistentMemberValues(e,{enumName:r}){this.raise(e,J.EnumInconsistentMemberValues,r)}flowEnumErrorInvalidExplicitType(e,{enumName:r,suppliedType:o}){return this.raise(e,o===null?J.EnumInvalidExplicitTypeUnknownSupplied:J.EnumInvalidExplicitType,r,o)}flowEnumErrorInvalidMemberInitializer(e,{enumName:r,explicitType:o,memberName:u}){let c=null;switch(o){case"boolean":case"number":case"string":c=J.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":c=J.EnumInvalidMemberInitializerSymbolType;break;default:c=J.EnumInvalidMemberInitializerUnknownType}return this.raise(e,c,r,u,o)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:r,memberName:o}){this.raise(e,J.EnumNumberMemberNotInitialized,r,o)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:r}){this.raise(e,J.EnumStringMemberInconsistentlyInitailized,r)}flowEnumMemberInit(){const e=this.state.start,r=()=>this.match(12)||this.match(8);switch(this.state.type){case 124:{const o=this.parseNumericLiteral(this.state.value);return r()?{type:"number",pos:o.start,value:o}:{type:"invalid",pos:e}}case 123:{const o=this.parseStringLiteral(this.state.value);return r()?{type:"string",pos:o.start,value:o}:{type:"invalid",pos:e}}case 79:case 80:{const o=this.parseBooleanLiteral(this.match(79));return r()?{type:"boolean",pos:o.start,value:o}:{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start,r=this.parseIdentifier(!0),o=this.eat(27)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:r,init:o}}flowEnumCheckExplicitTypeMismatch(e,r,o){const{explicitType:u}=r;u!==null&&u!==o&&this.flowEnumErrorInvalidMemberInitializer(e,r)}flowEnumMembers({enumName:e,explicitType:r}){const o=new Set,u={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let c=!1;for(;!this.match(8);){if(this.eat(21)){c=!0;break}const f=this.startNode(),{id:d,init:P}=this.flowEnumMemberRaw(),v=d.name;if(v==="")continue;/^[a-z]/.test(v)&&this.flowEnumErrorInvalidMemberName(d.start,{enumName:e,memberName:v}),o.has(v)&&this.flowEnumErrorDuplicateMemberName(d.start,{enumName:e,memberName:v}),o.add(v);const C={enumName:e,explicitType:r,memberName:v};switch(f.id=d,P.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(P.pos,C,"boolean"),f.init=P.value,u.booleanMembers.push(this.finishNode(f,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(P.pos,C,"number"),f.init=P.value,u.numberMembers.push(this.finishNode(f,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(P.pos,C,"string"),f.init=P.value,u.stringMembers.push(this.finishNode(f,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(P.pos,C);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(P.pos,C);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(P.pos,C);break;default:u.defaultedMembers.push(this.finishNode(f,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:u,hasUnknownMembers:c}}flowEnumStringMembers(e,r,{enumName:o}){if(e.length===0)return r;if(r.length===0)return e;if(r.length>e.length){for(const u of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(u.start,{enumName:o});return r}else{for(const u of r)this.flowEnumErrorStringMemberInconsistentlyInitailized(u.start,{enumName:o});return e}}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual(95)){if(!ee(this.state.type))throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null});const{value:r}=this.state;return this.next(),r!=="boolean"&&r!=="number"&&r!=="string"&&r!=="symbol"&&this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:r}),r}return null}flowEnumBody(e,{enumName:r,nameLoc:o}){const u=this.flowEnumParseExplicitType({enumName:r});this.expect(5);const{members:c,hasUnknownMembers:f}=this.flowEnumMembers({enumName:r,explicitType:u});switch(e.hasUnknownMembers=f,u){case"boolean":return e.explicitType=!0,e.members=c.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=c.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(c.stringMembers,c.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=c.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const d=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const P=c.booleanMembers.length,v=c.numberMembers.length,C=c.stringMembers.length,Y=c.defaultedMembers.length;if(!P&&!v&&!C&&!Y)return d();if(!P&&!v)return e.members=this.flowEnumStringMembers(c.stringMembers,c.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!v&&!C&&P>=Y){for(const X of c.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(X.start,{enumName:r,memberName:X.id.name});return e.members=c.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!P&&!C&&v>=Y){for(const X of c.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(X.start,{enumName:r,memberName:X.id.name});return e.members=c.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.flowEnumErrorInconsistentMemberValues(o,{enumName:r}),d()}}}flowParseEnumDeclaration(e){const r=this.parseIdentifier();return e.id=r,e.body=this.flowEnumBody(this.startNode(),{enumName:r.name,nameLoc:r.start}),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const r=this.input.charCodeAt(e+1);return r!==60&&r!==61}return!1}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}};const mi={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Ti=/^[\da-fA-F]+$/,bi=/^\d+$/,Me=fe({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"},j.SyntaxError,"jsx");te.j_oTag=new he("<tag"),te.j_cTag=new he("</tag"),te.j_expr=new he("<tag>...</tag>",!0);function De(y){return y?y.type==="JSXOpeningFragment"||y.type==="JSXClosingFragment":!1}function ze(y){if(y.type==="JSXIdentifier")return y.name;if(y.type==="JSXNamespacedName")return y.namespace.name+":"+y.name.name;if(y.type==="JSXMemberExpression")return ze(y.object)+"."+ze(y.property);throw new Error("Node had unexpected type: "+y.type)}var Si=y=>class extends y{jsxReadToken(){let e="",r=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Me.UnterminatedJsxContent);const o=this.input.charCodeAt(this.state.pos);switch(o){case 60:case 123:return this.state.pos===this.state.start?o===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(132)):super.getTokenFromCode(o):(e+=this.input.slice(r,this.state.pos),this.finishToken(131,e));case 38:e+=this.input.slice(r,this.state.pos),e+=this.jsxReadEntity(),r=this.state.pos;break;case 62:case 125:default:b(o)?(e+=this.input.slice(r,this.state.pos),e+=this.jsxReadNewLine(!0),r=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const r=this.input.charCodeAt(this.state.pos);let o;return++this.state.pos,r===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,o=e?`
`:`\r
`):o=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,o}jsxReadString(e){let r="",o=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,E.UnterminatedString);const u=this.input.charCodeAt(this.state.pos);if(u===e)break;u===38?(r+=this.input.slice(o,this.state.pos),r+=this.jsxReadEntity(),o=this.state.pos):b(u)?(r+=this.input.slice(o,this.state.pos),r+=this.jsxReadNewLine(!1),o=this.state.pos):++this.state.pos}return r+=this.input.slice(o,this.state.pos++),this.finishToken(123,r)}jsxReadEntity(){let e="",r=0,o,u=this.input[this.state.pos];const c=++this.state.pos;for(;this.state.pos<this.length&&r++<10;){if(u=this.input[this.state.pos++],u===";"){e[0]==="#"?e[1]==="x"?(e=e.substr(2),Ti.test(e)&&(o=String.fromCodePoint(parseInt(e,16)))):(e=e.substr(1),bi.test(e)&&(o=String.fromCodePoint(parseInt(e,10)))):o=mi[e];break}e+=u}return o||(this.state.pos=c,"&")}jsxReadWord(){let e;const r=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(Ue(e)||e===45);return this.finishToken(130,this.input.slice(r,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(130)?e.name=this.state.value:Ge(this.state.type)?e.name=Ae(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.start,r=this.state.startLoc,o=this.jsxParseIdentifier();if(!this.eat(14))return o;const u=this.startNodeAt(e,r);return u.namespace=o,u.name=this.jsxParseIdentifier(),this.finishNode(u,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.start,r=this.state.startLoc;let o=this.jsxParseNamespacedName();if(o.type==="JSXNamespacedName")return o;for(;this.eat(16);){const u=this.startNodeAt(e,r);u.object=o,u.property=this.jsxParseIdentifier(),o=this.finishNode(u,"JSXMemberExpression")}return o}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.next(),e=this.jsxParseExpressionContainer(e),e.expression.type==="JSXEmptyExpression"&&this.raise(e.start,Me.AttributeIsEmpty),e;case 132:case 123:return this.parseExprAtom();default:throw this.raise(this.state.start,Me.UnsupportedJsxValue)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEnd,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.start,this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const r=this.parseExpression();e.expression=r}return this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.eat(5)?(this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(27)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e,r){const o=this.startNodeAt(e,r);return this.match(133)?(this.expect(133),this.finishNode(o,"JSXOpeningFragment")):(o.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(o))}jsxParseOpeningElementAfterName(e){const r=[];for(;!this.match(50)&&!this.match(133);)r.push(this.jsxParseAttribute());return e.attributes=r,e.selfClosing=this.eat(50),this.expect(133),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,r){const o=this.startNodeAt(e,r);return this.match(133)?(this.expect(133),this.finishNode(o,"JSXClosingFragment")):(o.name=this.jsxParseElementName(),this.expect(133),this.finishNode(o,"JSXClosingElement"))}jsxParseElementAt(e,r){const o=this.startNodeAt(e,r),u=[],c=this.jsxParseOpeningElementAt(e,r);let f=null;if(!c.selfClosing){e:for(;;)switch(this.state.type){case 132:if(e=this.state.start,r=this.state.startLoc,this.next(),this.eat(50)){f=this.jsxParseClosingElementAt(e,r);break e}u.push(this.jsxParseElementAt(e,r));break;case 131:u.push(this.parseExprAtom());break;case 5:{const d=this.startNode();this.next(),this.match(21)?u.push(this.jsxParseSpreadChild(d)):u.push(this.jsxParseExpressionContainer(d));break}default:throw this.unexpected()}De(c)&&!De(f)?this.raise(f.start,Me.MissingClosingTagFragment):!De(c)&&De(f)?this.raise(f.start,Me.MissingClosingTagElement,ze(c.name)):!De(c)&&!De(f)&&ze(f.name)!==ze(c.name)&&this.raise(f.start,Me.MissingClosingTagElement,ze(c.name))}if(De(c)?(o.openingFragment=c,o.closingFragment=f):(o.openingElement=c,o.closingElement=f),o.children=u,this.match(43))throw this.raise(this.state.start,Me.UnwrappedAdjacentJSXElements);return De(c)?this.finishNode(o,"JSXFragment"):this.finishNode(o,"JSXElement")}jsxParseElement(){const e=this.state.start,r=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,r)}parseExprAtom(e){return this.match(131)?this.parseLiteral(this.state.value,"JSXText"):this.match(132)?this.jsxParseElement():this.match(43)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(132),this.jsxParseElement()):super.parseExprAtom(e)}getTokenFromCode(e){const r=this.curContext();if(r===te.j_expr)return this.jsxReadToken();if(r===te.j_oTag||r===te.j_cTag){if(we(e))return this.jsxReadWord();if(e===62)return++this.state.pos,this.finishToken(133);if((e===34||e===39)&&r===te.j_oTag)return this.jsxReadString(e)}return e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33?(++this.state.pos,this.finishToken(132)):super.getTokenFromCode(e)}updateContext(e){super.updateContext(e);const{context:r,type:o}=this.state;if(o===50&&e===132)r.splice(-2,2,te.j_cTag),this.state.canStartJSXElement=!1;else if(o===132)r.push(te.j_expr,te.j_oTag);else if(o===133){const u=r.pop();u===te.j_oTag&&e===50||u===te.j_cTag?(r.pop(),this.state.canStartJSXElement=r[r.length-1]===te.j_expr):this.state.canStartJSXElement=!0}else this.state.canStartJSXElement=yt(o)}};class Ei extends kt{constructor(...e){super(...e);this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class Pi extends Bt{createScope(e){return new Ei(e)}declareName(e,r,o){const u=this.currentScope();if(r&Dt){this.maybeExportDefined(u,e),u.exportOnlyBindings.add(e);return}super.declareName(...arguments),r&Ye&&(r&Ne||(this.checkRedeclarationInScope(u,e,r,o),this.maybeExportDefined(u,e)),u.types.add(e)),r&Ct&&u.enums.add(e),r&wt&&u.constEnums.add(e),r&at&&u.classes.add(e)}isRedeclaredInScope(e,r,o){if(e.enums.has(r)){if(o&Ct){const u=!!(o&wt),c=e.constEnums.has(r);return u!==c}return!0}return o&at&&e.classes.has(r)?e.lexical.has(r)?!!(o&Ne):!1:o&Ye&&e.types.has(r)?!0:super.isRedeclaredInScope(...arguments)}checkLocalExport(e){const r=this.scopeStack[0],{name:o}=e;!r.types.has(o)&&!r.exportOnlyBindings.has(o)&&super.checkLocalExport(e)}}function gi(y){if(y==null)throw new Error(`Unexpected ${y} value.`);return y}function Tr(y){if(!y)throw new Error("Assert fail")}const z=fe({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AbstractPropertyHasInitializer:"Property '%0' cannot have an initializer because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},j.SyntaxError,"typescript");function Ai(y){switch(y){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function br(y){return y==="private"||y==="public"||y==="protected"}var vi=y=>class extends y{getScopeHandler(){return Pi}tsIsIdentifier(){return ee(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(49)||this.match(21)||this.match(128)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,r){if(!ee(this.state.type))return;const o=this.state.value;if(e.indexOf(o)!==-1){if(r&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return o}}tsParseModifiers(e,r,o,u,c){const f=(P,v,C,Y)=>{v===C&&e[Y]&&this.raise(P,z.InvalidModifiersOrder,C,Y)},d=(P,v,C,Y)=>{(e[C]&&v===Y||e[Y]&&v===C)&&this.raise(P,z.IncompatibleModifiers,C,Y)};for(;;){const P=this.state.start,v=this.tsParseModifier(r.concat(o!=null?o:[]),c);if(!v)break;br(v)?e.accessibility?this.raise(P,z.DuplicateAccessibilityModifier):(f(P,v,v,"override"),f(P,v,v,"static"),f(P,v,v,"readonly"),e.accessibility=v):(Object.hasOwnProperty.call(e,v)?this.raise(P,z.DuplicateModifier,v):(f(P,v,"static","readonly"),f(P,v,"static","override"),f(P,v,"override","readonly"),f(P,v,"abstract","override"),d(P,v,"declare","override"),d(P,v,"static","abstract")),e[v]=!0),o!=null&&o.includes(v)&&this.raise(P,u,v)}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(44)}throw new Error("Unreachable")}tsParseList(e,r){const o=[];for(;!this.tsIsListTerminator(e);)o.push(r());return o}tsParseDelimitedList(e,r,o){return gi(this.tsParseDelimitedListWorker(e,r,!0,o))}tsParseDelimitedListWorker(e,r,o,u){const c=[];let f=-1;for(;!this.tsIsListTerminator(e);){f=-1;const d=r();if(d==null)return;if(c.push(d),this.eat(12)){f=this.state.lastTokStart;continue}if(this.tsIsListTerminator(e))break;o&&this.expect(12);return}return u&&(u.value=f),c}tsParseBracketedList(e,r,o,u,c){u||(o?this.expect(0):this.expect(43));const f=this.tsParseDelimitedList(e,r,c);return o?this.expect(3):this.expect(44),f}tsParseImportType(){const e=this.startNode();return this.expect(77),this.expect(10),this.match(123)||this.raise(this.state.start,z.UnsupportedImportTypeArgument),e.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(!0)),this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e){let r=this.parseIdentifier();for(;this.eat(16);){const o=this.startNodeAtNode(r);o.left=r,o.right=this.parseIdentifier(e),r=this.finishNode(o,"TSQualifiedName")}return r}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const r=this.startNodeAtNode(e);return r.parameterName=e,r.typeAnnotation=this.tsParseTypeAnnotation(!1),r.asserts=!1,this.finishNode(r,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(81),this.match(77)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(!0),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsEatThenParseType(75),e.default=this.tsEatThenParseType(27),this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.match(43))return this.tsParseTypeParameters()}tsParseTypeParameters(){const e=this.startNode();this.match(43)||this.match(132)?this.next():this.unexpected();const r={value:-1};return e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0,r),e.params.length===0&&this.raise(e.start,z.EmptyTypeParameters),r.value!==-1&&this.addExtra(e,"trailingComma",r.value),this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){return this.lookahead().type===69?(this.next(),this.tsParseTypeReference()):null}tsFillSignature(e,r){const o=e===19;r.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),r.parameters=this.tsParseBindingListForSignature(),o?r.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(r.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map(e=>(e.type!=="Identifier"&&e.type!=="RestElement"&&e.type!=="ObjectPattern"&&e.type!=="ArrayPattern"&&this.raise(e.start,z.UnsupportedSignatureParameterKind,e.type),e))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,r){return this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon(),this.finishNode(r,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),ee(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const r=this.parseIdentifier();r.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(r),this.expect(3),e.parameters=[r];const o=this.tsTryParseTypeAnnotation();return o&&(e.typeAnnotation=o),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,r){this.eat(17)&&(e.optional=!0);const o=e;if(this.match(10)||this.match(43)){r&&this.raise(e.start,z.ReadonlyForMethodSignature);const u=o;if(u.kind&&this.match(43)&&this.raise(this.state.pos,z.AccesorCannotHaveTypeParameters),this.tsFillSignature(14,u),this.tsParseTypeMemberSemicolon(),u.kind==="get")u.parameters.length>0&&(this.raise(this.state.pos,E.BadGetterArity),this.isThisParam(u.parameters[0])&&this.raise(this.state.pos,z.AccesorCannotDeclareThisParameter));else if(u.kind==="set"){if(u.parameters.length!==1)this.raise(this.state.pos,E.BadSetterArity);else{const c=u.parameters[0];this.isThisParam(c)&&this.raise(this.state.pos,z.AccesorCannotDeclareThisParameter),c.type==="Identifier"&&c.optional&&this.raise(this.state.pos,z.SetAccesorCannotHaveOptionalParameter),c.type==="RestElement"&&this.raise(this.state.pos,z.SetAccesorCannotHaveRestParameter)}u.typeAnnotation&&this.raise(u.typeAnnotation.start,z.SetAccesorCannotHaveReturnType)}else u.kind="method";return this.finishNode(u,"TSMethodSignature")}else{const u=o;r&&(u.readonly=!0);const c=this.tsTryParseTypeAnnotation();return c&&(u.typeAnnotation=c),this.tsParseTypeMemberSemicolon(),this.finishNode(u,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(43))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(71)){const o=this.startNode();return this.next(),this.match(10)||this.match(43)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(o,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],z.InvalidModifierOnTypeMember);const r=this.tsTryParseIndexSignature(e);return r||(this.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,this.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(47)?this.isContextual(112):(this.isContextual(112)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(52)))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(52),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(5),this.match(47)?(e.readonly=this.state.value,this.next(),this.expectContextual(112)):this.eatContextual(112)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(87)?this.tsParseType():null,this.expect(3),this.match(47)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let r=!1,o=null;return e.elementTypes.forEach(u=>{var c;let{type:f}=u;r&&f!=="TSRestType"&&f!=="TSOptionalType"&&!(f==="TSNamedTupleMember"&&u.optional)&&this.raise(u.start,z.OptionalTypeBeforeRequired),r=r||f==="TSNamedTupleMember"&&u.optional||f==="TSOptionalType",f==="TSRestType"&&(u=u.typeAnnotation,f=u.type);const d=f==="TSNamedTupleMember";o=(c=o)!=null?c:d,o!==d&&this.raise(u.start,z.MixedLabeledAndUnlabeledElements)}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:r}=this.state,o=this.eat(21);let u=this.tsParseType();const c=this.eat(17);if(this.eat(14)){const d=this.startNodeAtNode(u);d.optional=c,u.type==="TSTypeReference"&&!u.typeParameters&&u.typeName.type==="Identifier"?d.label=u.typeName:(this.raise(u.start,z.InvalidTupleMemberLabel),d.label=u),d.elementType=this.tsParseType(),u=this.finishNode(d,"TSNamedTupleMember")}else if(c){const d=this.startNodeAtNode(u);d.typeAnnotation=u,u=this.finishNode(d,"TSOptionalType")}if(o){const d=this.startNodeAt(e,r);d.typeAnnotation=u,u=this.finishNode(d,"TSRestType")}return u}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,r){const o=this.startNode();return e==="TSConstructorType"&&(o.abstract=!!r,r&&this.next(),this.next()),this.tsFillSignature(19,o),this.finishNode(o,e)}tsParseLiteralTypeNode(){const e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 124:case 125:case 123:case 79:case 80:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(107)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 123:case 124:case 125:case 79:case 80:return this.tsParseLiteralTypeNode();case 47:if(this.state.value==="-"){const e=this.startNode(),r=this.lookahead();if(r.type!==124&&r.type!==125)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 72:return this.tsParseThisTypeOrThisTypePredicate();case 81:return this.tsParseTypeQuery();case 77:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 22:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(ee(e)||e===82||e===78){const r=e===82?"TSVoidKeyword":e===78?"TSNullKeyword":Ai(this.state.value);if(r!==void 0&&this.lookaheadCharCode()!==46){const o=this.startNode();return this.next(),this.finishNode(o,r)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const r=this.startNodeAtNode(e);r.elementType=e,this.expect(3),e=this.finishNode(r,"TSArrayType")}else{const r=this.startNodeAtNode(e);r.objectType=e,r.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(r,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const e=this.startNode(),r=this.state.value;return this.next(),e.operator=r,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),r==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,z.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual(106);const r=this.startNode();return r.name=this.tsParseTypeParameterName(),e.typeParameter=this.finishNode(r,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){return Pt(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(106)?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,r,o){const u=this.startNode(),c=this.eat(o),f=[];do f.push(r());while(this.eat(o));return f.length===1&&!c?f[0]:(u.types=f,this.finishNode(u,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),41)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),39)}tsIsStartOfFunctionType(){return this.match(43)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(ee(this.state.type)||this.match(72))return this.next(),!0;if(this.match(5)){let e=1;for(this.next();e>0;)this.match(5)?++e:this.match(8)&&--e,this.next();return!0}if(this.match(0)){let e=1;for(this.next();e>0;)this.match(0)?++e:this.match(3)&&--e,this.next();return!0}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(27)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const r=this.startNode();this.expect(e);const o=this.startNode(),u=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(u&&this.match(72)){let d=this.tsParseThisTypeOrThisTypePredicate();return d.type==="TSThisType"?(o.parameterName=d,o.asserts=!0,o.typeAnnotation=null,d=this.finishNode(o,"TSTypePredicate")):(this.resetStartLocationFromNode(d,o),d.asserts=!0),r.typeAnnotation=d,this.finishNode(r,"TSTypeAnnotation")}const c=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!c)return u?(o.parameterName=this.parseIdentifier(),o.asserts=u,o.typeAnnotation=null,r.typeAnnotation=this.finishNode(o,"TSTypePredicate"),this.finishNode(r,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,r);const f=this.tsParseTypeAnnotation(!1);return o.parameterName=c,o.typeAnnotation=f,o.asserts=u,r.typeAnnotation=this.finishNode(o,"TSTypePredicate"),this.finishNode(r,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(107)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==100)return!1;const e=this.state.containsEsc;return this.next(),!ee(this.state.type)&&!this.match(72)?!1:(e&&this.raise(this.state.lastTokStart,E.InvalidEscapedReservedWord,"asserts"),!0)}tsParseTypeAnnotation(e=!0,r=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),r.typeAnnotation=this.tsParseType()}),this.finishNode(r,"TSTypeAnnotation")}tsParseType(){Tr(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(75))return e;const r=this.startNodeAtNode(e);return r.checkType=e,r.extendsType=this.tsParseNonConditionalType(),this.expect(17),r.trueType=this.tsParseType(),this.expect(14),r.falseType=this.tsParseType(),this.finishNode(r,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(114)&&this.lookahead().type===71}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(71)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(this.state.start,z.ReservedTypeAssertion);const e=this.startNode(),r=this.tsTryNextParseConstantContext();return e.typeAnnotation=r||this.tsNextThenParseType(),this.expect(44),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const r=this.state.start,o=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));return o.length||this.raise(r,z.EmptyHeritageClauseType,e),o}tsParseExpressionWithTypeArguments(){const e=this.startNode();return e.expression=this.tsParseEntityName(!1),this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){ee(this.state.type)?(e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript interface declaration",Br)):(e.id=null,this.raise(this.state.start,z.MissingInterfaceName)),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(75)&&(e.extends=this.tsParseHeritageClause("extends"));const r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript type alias",Fr),e.typeParameters=this.tsTryParseTypeParameters(),e.typeAnnotation=this.tsInType(()=>{if(this.expect(27),this.isContextual(105)&&this.lookahead().type!==16){const r=this.startNode();return this.next(),this.finishNode(r,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const r=this.state.context;this.state.context=[r[0]];try{return e()}finally{this.state.context=r}}tsInType(e){const r=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=r}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>(e(),this.tsParseType()))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(123)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(27)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,r){return r&&(e.const=!0),e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript enum declaration",r?Kr:ar),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(Ve),this.expect(5),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,r=!1){if(e.id=this.parseIdentifier(),r||this.checkLVal(e.id,"module or namespace declaration",Ur),this.eat(16)){const o=this.startNode();this.tsParseModuleOrNamespaceDeclaration(o,!0),e.body=o}else this.scope.enter(it),this.prodParam.enter(Je),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(103)?(e.global=!0,e.id=this.parseIdentifier()):this.match(123)?e.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(it),this.prodParam.enter(Je),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,r){e.isExport=r||!1,e.id=this.parseIdentifier(),this.checkLVal(e.id,"import equals declaration",be),this.expect(27);const o=this.tsParseModuleReference();return e.importKind==="type"&&o.type!=="TSExternalModuleReference"&&this.raise(o.start,z.ImportAliasHasImportType),e.moduleReference=o,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(110)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();if(this.expectContextual(110),this.expect(10),!this.match(123))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const r=this.state.clone(),o=e();return this.state=r,o}tsTryParseAndCatch(e){const r=this.tryParse(o=>e()||o());if(!(r.aborted||!r.node))return r.error&&(this.state=r.failState),r.node}tsTryParse(e){const r=this.state.clone(),o=e();if(o!==void 0&&o!==!1)return o;this.state=r}tsTryParseDeclare(e){if(this.isLineTerminator())return;let r=this.state.type,o;return this.isContextual(93)&&(r=68,o="let"),this.tsInAmbientContext(()=>{switch(r){case 62:return e.declare=!0,this.parseFunctionStatement(e,!1,!0);case 74:return e.declare=!0,this.parseClass(e,!0,!1);case 69:if(this.match(69)&&this.isLookaheadContextual("enum"))return this.expect(69),this.expectContextual(116),this.tsParseEnumDeclaration(e,!0);case 68:return o=o||this.state.value,this.parseVarStatement(e,o);case 103:return this.tsParseAmbientExternalModuleDeclaration(e);default:if(ee(r))return this.tsParseDeclaration(e,this.state.value,!0)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,r){switch(r.name){case"declare":{const o=this.tsTryParseDeclare(e);if(o)return o.declare=!0,o;break}case"global":if(this.match(5)){this.scope.enter(it),this.prodParam.enter(Je);const o=e;return o.global=!0,o.id=r,o.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(o,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,r.name,!1)}}tsParseDeclaration(e,r,o){switch(r){case"abstract":if(this.tsCheckLineTerminator(o)&&(this.match(74)||ee(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"enum":if(o||ee(this.state.type))return o&&this.next(),this.tsParseEnumDeclaration(e,!1);break;case"interface":if(this.tsCheckLineTerminator(o)&&ee(this.state.type))return this.tsParseInterfaceDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(o)){if(this.match(123))return this.tsParseAmbientExternalModuleDeclaration(e);if(ee(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(o)&&ee(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(o)&&ee(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,r){if(!this.match(43))return;const o=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const u=this.tsTryParseAndCatch(()=>{const c=this.startNodeAt(e,r);return c.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(c),c.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),c});if(this.state.maybeInArrowParameters=o,!!u)return this.parseArrowExpression(u,null,!0)}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(43),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0&&this.raise(e.start,z.EmptyTypeArguments),this.expect(44),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return gt(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(e,r){const o=this.state.start,u=this.state.startLoc;let c,f=!1,d=!1;if(e!==void 0){const C={};this.tsParseModifiers(C,["public","private","protected","override","readonly"]),c=C.accessibility,d=C.override,f=C.readonly,e===!1&&(c||f||d)&&this.raise(o,z.UnexpectedParameterModifier)}const P=this.parseMaybeDefault();this.parseAssignableListItemTypes(P);const v=this.parseMaybeDefault(P.start,P.loc.start,P);if(c||f||d){const C=this.startNodeAt(o,u);return r.length&&(C.decorators=r),c&&(C.accessibility=c),f&&(C.readonly=f),d&&(C.override=d),v.type!=="Identifier"&&v.type!=="AssignmentPattern"&&this.raise(C.start,z.UnsupportedParameterPropertyKind),C.parameter=v,this.finishNode(C,"TSParameterProperty")}return r.length&&(P.decorators=r),v}parseFunctionBodyAndFinish(e,r,o=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const u=r==="FunctionDeclaration"?"TSDeclareFunction":r==="ClassMethod"||r==="ClassPrivateMethod"?"TSDeclareMethod":void 0;if(u&&!this.match(5)&&this.isLineTerminator()){this.finishNode(e,u);return}if(u==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(e.start,z.DeclareFunctionHasImplementation),e.declare)){super.parseFunctionBodyAndFinish(e,u,o);return}super.parseFunctionBodyAndFinish(e,r,o)}registerFunctionStatementId(e){!e.body&&e.id?this.checkLVal(e.id,"function name",or):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(e){e.forEach(r=>{(r==null?void 0:r.type)==="TSTypeCastExpression"&&this.raise(r.typeAnnotation.start,z.UnexpectedTypeAnnotation)})}toReferencedList(e,r){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(...e){const r=super.parseArrayLike(...e);return r.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(r.elements),r}parseSubscript(e,r,o,u,c){if(!this.hasPrecedingLineBreak()&&this.match(33)){this.state.canStartJSXElement=!1,this.next();const d=this.startNodeAt(r,o);return d.expression=e,this.finishNode(d,"TSNonNullExpression")}let f=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(u)return c.stop=!0,e;c.optionalChainMember=f=!0,this.next()}if(this.match(43)){let d;const P=this.tsTryParseAndCatch(()=>{if(!u&&this.atPossibleAsyncArrow(e)){const Y=this.tsTryParseGenericAsyncArrowFunction(r,o);if(Y)return Y}const v=this.startNodeAt(r,o);v.callee=e;const C=this.tsParseTypeArguments();if(C){if(f&&!this.match(10)&&(d=this.state.pos,this.unexpected()),!u&&this.eat(10))return v.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(v.arguments),v.typeParameters=C,c.optionalChainMember&&(v.optional=f),this.finishCallExpression(v,c.optionalChainMember);if(this.match(22)){const Y=this.parseTaggedTemplateExpression(e,r,o,c);return Y.typeParameters=C,Y}}this.unexpected()});if(d&&this.unexpected(d,10),P)return P}return super.parseSubscript(e,r,o,u,c)}parseNewArguments(e){if(this.match(43)){const r=this.tsTryParseAndCatch(()=>{const o=this.tsParseTypeArguments();return this.match(10)||this.unexpected(),o});r&&(e.typeParameters=r)}super.parseNewArguments(e)}parseExprOp(e,r,o,u){if(Fe(52)>u&&!this.hasPrecedingLineBreak()&&this.isContextual(87)){const c=this.startNodeAt(r,o);c.expression=e;const f=this.tsTryNextParseConstantContext();return f?c.typeAnnotation=f:c.typeAnnotation=this.tsNextThenParseType(),this.finishNode(c,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(c,r,o,u)}return super.parseExprOp(e,r,o,u)}checkReservedWord(e,r,o,u){}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",ee(this.state.type)||this.match(49)||this.match(5)){let o=this.lookahead();if(this.isContextual(120)&&o.type!==12&&o.type!==91&&o.type!==27&&(e.importKind="type",this.next(),o=this.lookahead()),ee(this.state.type)&&o.type===27)return this.tsParseImportEqualsDeclaration(e)}const r=super.parseImport(e);return r.importKind==="type"&&r.specifiers.length>1&&r.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(r.start,z.TypeImportCannotSpecifyDefaultAndNamed),r}parseExport(e){if(this.match(77))return this.next(),this.isContextual(120)&&this.lookaheadCharCode()!==61?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(27)){const r=e;return r.expression=this.parseExpression(),this.semicolon(),this.finishNode(r,"TSExportAssignment")}else if(this.eatContextual(87)){const r=e;return this.expectContextual(118),r.id=this.parseIdentifier(),this.semicolon(),this.finishNode(r,"TSNamespaceExportDeclaration")}else return this.isContextual(120)&&this.lookahead().type===5?(this.next(),e.exportKind="type"):e.exportKind="value",super.parseExport(e)}isAbstractClass(){return this.isContextual(114)&&this.lookahead().type===74}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(this.match(119)){const e=this.startNode();this.next();const r=this.tsParseInterfaceDeclaration(e);if(r)return r}return super.parseExportDefaultExpression()}parseStatementContent(e,r){if(this.state.type===69&&this.lookahead().type===116){const u=this.startNode();return this.next(),this.expectContextual(116),this.tsParseEnumDeclaration(u,!0)}return super.parseStatementContent(e,r)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,r){return r.some(o=>br(o)?e.accessibility===o:!!e[o])}tsIsStartOfStaticBlocks(){return this.isContextual(98)&&this.lookaheadCharCode()===123}parseClassMember(e,r,o){const u=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers(r,u,void 0,void 0,!0);const c=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(r,u)&&this.raise(this.state.pos,z.StaticBlockCannotHaveModifier),this.parseClassStaticBlock(e,r)):this.parseClassMemberWithIsStatic(e,r,o,!!r.static)};r.declare?this.tsInAmbientContext(c):c()}parseClassMemberWithIsStatic(e,r,o,u){const c=this.tsTryParseIndexSignature(r);if(c){e.body.push(c),r.abstract&&this.raise(r.start,z.IndexSignatureHasAbstract),r.accessibility&&this.raise(r.start,z.IndexSignatureHasAccessibility,r.accessibility),r.declare&&this.raise(r.start,z.IndexSignatureHasDeclare),r.override&&this.raise(r.start,z.IndexSignatureHasOverride);return}!this.state.inAbstractClass&&r.abstract&&this.raise(r.start,z.NonAbstractClassHasAbstractMethod),r.override&&(o.hadSuperClass||this.raise(r.start,z.OverrideNotInSubClass)),super.parseClassMemberWithIsStatic(e,r,o,u)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(e.start,z.ClassMethodHasReadonly),e.declare&&this.match(10)&&this.raise(e.start,z.ClassMethodHasDeclare)}parseExpressionStatement(e,r){return(r.type==="Identifier"?this.tsParseExpressionStatement(e,r):void 0)||super.parseExpressionStatement(e,r)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,r,o,u){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,r,o,u);const c=this.tryParse(()=>super.parseConditional(e,r,o));return c.node?(c.error&&(this.state=c.failState),c.node):(c.error&&super.setOptionalParametersError(u,c.error),e)}parseParenItem(e,r,o){if(e=super.parseParenItem(e,r,o),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const u=this.startNodeAt(r,o);return u.expression=e,u.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(u,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const r=this.state.start,o=this.state.startLoc,u=this.eatContextual(115);if(u&&(this.isContextual(115)||!this.shouldParseExportDeclaration()))throw this.raise(this.state.start,z.ExpectedAmbientAfterExportDeclare);let c;return ee(this.state.type)&&(c=this.tsTryParseExportDeclaration()),c||(c=super.parseExportDeclaration(e)),c&&(c.type==="TSInterfaceDeclaration"||c.type==="TSTypeAliasDeclaration"||u)&&(e.exportKind="type"),c&&u&&(this.resetStartLocation(c,r,o),c.declare=!0),c}parseClassId(e,r,o){if((!r||o)&&this.isContextual(104))return;super.parseClassId(e,r,o,e.declare?or:sr);const u=this.tsTryParseTypeParameters();u&&(e.typeParameters=u)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(33)&&(e.definite=!0);const r=this.tsTryParseTypeAnnotation();r&&(e.typeAnnotation=r)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(27)&&this.raise(this.state.start,z.DeclareClassFieldHasInitializer),e.abstract&&this.match(27)){const{key:r}=e;this.raise(this.state.start,z.AbstractPropertyHasInitializer,r.type==="Identifier"&&!e.computed?r.name:`[${this.input.slice(r.start,r.end)}]`)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(e.start,z.PrivateElementHasAbstract),e.accessibility&&this.raise(e.start,z.PrivateElementHasAccessibility,e.accessibility),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,r,o,u,c,f){const d=this.tsTryParseTypeParameters();d&&c&&this.raise(d.start,z.ConstructorHasTypeParameters),r.declare&&(r.kind==="get"||r.kind==="set")&&this.raise(r.start,z.DeclareAccessor,r.kind),d&&(r.typeParameters=d),super.pushClassMethod(e,r,o,u,c,f)}pushClassPrivateMethod(e,r,o,u){const c=this.tsTryParseTypeParameters();c&&(r.typeParameters=c),super.pushClassPrivateMethod(e,r,o,u)}declareClassPrivateMethodInScope(e,r){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&!e.value.body||super.declareClassPrivateMethodInScope(e,r))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&this.match(43)&&(e.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual(104)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,...r){const o=this.tsTryParseTypeParameters();o&&(e.typeParameters=o),super.parseObjPropValue(e,...r)}parseFunctionParams(e,r){const o=this.tsTryParseTypeParameters();o&&(e.typeParameters=o),super.parseFunctionParams(e,r)}parseVarId(e,r){super.parseVarId(e,r),e.id.type==="Identifier"&&this.eat(33)&&(e.definite=!0);const o=this.tsTryParseTypeAnnotation();o&&(e.id.typeAnnotation=o,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,r){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,r)}parseMaybeAssign(...e){var r,o,u,c,f,d,P;let v,C,Y;if(this.hasPlugin("jsx")&&(this.match(132)||this.match(43))){if(v=this.state.clone(),C=this.tryParse(()=>super.parseMaybeAssign(...e),v),!C.error)return C.node;const{context:oe}=this.state;oe[oe.length-1]===te.j_oTag?oe.length-=2:oe[oe.length-1]===te.j_expr&&(oe.length-=1)}if(!((r=C)!=null&&r.error)&&!this.match(43))return super.parseMaybeAssign(...e);let X;v=v||this.state.clone();const H=this.tryParse(oe=>{var ne,ce;X=this.tsParseTypeParameters();const pe=super.parseMaybeAssign(...e);return(pe.type!=="ArrowFunctionExpression"||(ne=pe.extra)!=null&&ne.parenthesized)&&oe(),((ce=X)==null?void 0:ce.params.length)!==0&&this.resetStartLocationFromNode(pe,X),pe.typeParameters=X,pe},v);if(!H.error&&!H.aborted)return X&&this.reportReservedArrowTypeParam(X),H.node;if(!C&&(Tr(!this.hasPlugin("jsx")),Y=this.tryParse(()=>super.parseMaybeAssign(...e),v),!Y.error))return Y.node;if((o=C)!=null&&o.node)return this.state=C.failState,C.node;if(H.node)return this.state=H.failState,X&&this.reportReservedArrowTypeParam(X),H.node;if((u=Y)!=null&&u.node)return this.state=Y.failState,Y.node;throw(c=C)!=null&&c.thrown?C.error:H.thrown?H.error:(f=Y)!=null&&f.thrown?Y.error:((d=C)==null?void 0:d.error)||H.error||((P=Y)==null?void 0:P.error)}reportReservedArrowTypeParam(e){var r;e.params.length===1&&!((r=e.extra)!=null&&r.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(e.start,z.ReservedArrowTypeParam)}parseMaybeUnary(e){return!this.hasPlugin("jsx")&&this.match(43)?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}parseArrow(e){if(this.match(14)){const r=this.tryParse(o=>{const u=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&o(),u});if(r.aborted)return;r.thrown||(r.error&&(this.state=r.failState),e.returnType=r.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e){this.eat(17)&&(e.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType&&this.raise(e.start,z.PatternIsOptional),e.optional=!0);const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.resetEndLocation(e),e}isAssignable(e,r){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,r);case"TSParameterProperty":return!0;default:return super.isAssignable(e,r)}}toAssignable(e,r=!1){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),r);case"TSParameterProperty":return super.toAssignable(e,r);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,r);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return e.expression=this.toAssignable(e.expression,r),e;default:return super.toAssignable(e,r)}}toAssignableParenthesizedExpression(e,r){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return e.expression=this.toAssignable(e.expression,r),e;default:return super.toAssignable(e,r)}}checkLVal(e,r,...o){var u;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":this.checkLVal(e.parameter,"parameter property",...o);return;case"TSAsExpression":case"TSTypeAssertion":if(!o[0]&&r!=="parenthesized expression"&&!((u=e.extra)!=null&&u.parenthesized)){this.raise(e.start,E.InvalidLhs,r);break}this.checkLVal(e.expression,"parenthesized expression",...o);return;case"TSNonNullExpression":this.checkLVal(e.expression,r,...o);return;default:super.checkLVal(e,r,...o);return}}parseBindingAtom(){switch(this.state.type){case 72:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.match(43)){const r=this.tsParseTypeArguments();if(this.match(10)){const o=super.parseMaybeDecoratorArguments(e);return o.typeParameters=r,o}this.unexpected(this.state.start,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?this.next():super.checkCommaAfterRest(e)}isClassMethod(){return this.match(43)||super.isClassMethod()}isClassProperty(){return this.match(33)||this.match(14)||super.isClassProperty()}parseMaybeDefault(...e){const r=super.parseMaybeDefault(...e);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(r.typeAnnotation.start,z.TypeAnnotationAfterAssign),r}getTokenFromCode(e){if(this.state.inType){if(e===62)return this.finishOp(44,1);if(e===60)return this.finishOp(43,1)}return super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;e===43?(this.state.pos-=1,this.readToken_lt()):e===44&&(this.state.pos-=1,this.readToken_gt())}toAssignableList(e){for(let r=0;r<e.length;r++){const o=e[r];if(!!o)switch(o.type){case"TSTypeCastExpression":e[r]=this.typeCastToParameter(o);break;case"TSAsExpression":case"TSTypeAssertion":this.state.maybeInArrowParameters?this.raise(o.start,z.UnexpectedTypeCastInParameter):e[r]=this.typeCastToParameter(o);break}}return super.toAssignableList(...arguments)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(r=>this.isAssignable(r,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(43)){const r=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());r&&(e.typeParameters=r)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const r=super.getGetterSetterExpectedParamCount(e),u=this.getObjectOrClassMethodParams(e)[0];return u&&this.isThisParam(u)?r+1:r}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r,this.resetEndLocation(e)),e}tsInAmbientContext(e){const r=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=r}}parseClass(e,...r){const o=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...r)}finally{this.state.inAbstractClass=o}}tsParseAbstractDeclaration(e){if(this.match(74))return e.abstract=!0,this.parseClass(e,!0,!1);if(this.isContextual(119)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(e.start,z.NonClassMethodPropertyHasAbstractModifer),this.next(),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,74)}parseMethod(...e){const r=super.parseMethod(...e);if(r.abstract&&(this.hasPlugin("estree")?!!r.value.body:!!r.body)){const{key:u}=r;this.raise(r.start,z.AbstractMethodHasImplementation,u.type==="Identifier"&&!r.computed?u.name:`[${this.input.slice(u.start,u.end)}]`)}return r}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,r,o,u){return!r&&u?(this.parseTypeOnlyImportExportSpecifier(e,!1,o),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,r,o,u))}parseImportSpecifier(e,r,o,u){return!r&&u?(this.parseTypeOnlyImportExportSpecifier(e,!0,o),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,r,o,u))}parseTypeOnlyImportExportSpecifier(e,r,o){const u=r?"imported":"local",c=r?"local":"exported";let f=e[u],d,P=!1,v=!0;const C=f.start;if(this.isContextual(87)){const X=this.parseIdentifier();if(this.isContextual(87)){const H=this.parseIdentifier();Te(this.state.type)?(P=!0,f=X,d=this.parseIdentifier(),v=!1):(d=H,v=!1)}else Te(this.state.type)?(v=!1,d=this.parseIdentifier()):(P=!0,f=X)}else Te(this.state.type)&&(P=!0,f=this.parseIdentifier());P&&o&&this.raise(C,r?z.TypeModifierIsUsedInTypeImports:z.TypeModifierIsUsedInTypeExports),e[u]=f,e[c]=d;const Y=r?"importKind":"exportKind";e[Y]=P?"type":"value",v&&this.eatContextual(87)&&(e[c]=r?this.parseIdentifier():this.parseModuleExportName()),e[c]||(e[c]=xe(e[u])),r&&this.checkLVal(e[c],"import specifier",be)}};const Ii=fe({ClassNameIsRequired:"A class name is required."},j.SyntaxError);var Ni=y=>class extends y{parsePlaceholder(e){if(this.match(134)){const r=this.startNode();return this.next(),this.assertNoSpace("Unexpected space in placeholder."),r.name=super.parseIdentifier(!0),this.assertNoSpace("Unexpected space in placeholder."),this.expect(134),this.finishPlaceholder(r,e)}}finishPlaceholder(e,r){const o=!!(e.expectedNode&&e.type==="Placeholder");return e.expectedNode=r,o?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){return e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(134,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){e!==void 0&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){e.type!=="Placeholder"&&super.checkLVal(...arguments)}toAssignable(e){return e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?(e.expectedNode="Pattern",e):super.toAssignable(...arguments)}isLet(e){return super.isLet(e)?!0:!this.isContextual(93)||e?!1:this.lookahead().type===134}verifyBreakContinue(e){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,r){if(r.type!=="Placeholder"||r.extra&&r.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){const o=e;return o.label=this.finishPlaceholder(r,"Identifier"),this.next(),o.body=this.parseStatement("label"),this.finishNode(o,"LabeledStatement")}return this.semicolon(),e.name=r.name,this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,r,o){const u=r?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(e);const c=this.state.strict,f=this.parsePlaceholder("Identifier");if(f)if(this.match(75)||this.match(134)||this.match(5))e.id=f;else{if(o||!r)return e.id=null,e.body=this.finishPlaceholder(f,"ClassBody"),this.finishNode(e,u);this.unexpected(null,Ii.ClassNameIsRequired)}else this.parseClassId(e,r,o);return this.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,c),this.finishNode(e,u)}parseExport(e){const r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(...arguments);if(!this.isContextual(91)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const o=this.startNode();return o.exported=r,e.specifiers=[this.finishNode(o,"ExportDefaultSpecifier")],super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(59)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(Ae(134),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return e.specifiers&&e.specifiers.length>0?!0:super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:r}=e;r!=null&&r.length&&(e.specifiers=r.filter(o=>o.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=r}parseImport(e){const r=this.parsePlaceholder("Identifier");if(!r)return super.parseImport(...arguments);if(e.specifiers=[],!this.isContextual(91)&&!this.match(12))return e.source=this.finishPlaceholder(r,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const o=this.startNodeAtNode(r);return o.local=r,this.finishNode(o,"ImportDefaultSpecifier"),e.specifiers.push(o),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(91),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}},xi=y=>class extends y{parseV8Intrinsic(){if(this.match(48)){const e=this.state.start,r=this.startNode();if(this.next(),ee(this.state.type)){const o=this.parseIdentifierName(this.state.start),u=this.createIdentifier(r,o);if(u.type="V8IntrinsicIdentifier",this.match(10))return u}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}};function de(y,e){return y.some(r=>Array.isArray(r)?r[0]===e:r===e)}function He(y,e,r){const o=y.find(u=>Array.isArray(u)?u[0]===e:u===e);return o&&Array.isArray(o)?o[1][r]:null}const Sr=["minimal","fsharp","hack","smart"],Er=["^","%","#"],Pr=["hash","bar"];function Oi(y){if(de(y,"decorators")){if(de(y,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const e=He(y,"decorators","decoratorsBeforeExport");if(e==null)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if(typeof e!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(de(y,"flow")&&de(y,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(de(y,"placeholders")&&de(y,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(de(y,"pipelineOperator")){const e=He(y,"pipelineOperator","proposal");if(!Sr.includes(e)){const o=Sr.map(u=>`"${u}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${o}.`)}const r=de(y,"recordAndTuple")&&He(y,"recordAndTuple","syntaxType")==="hash";if(e==="hack"){if(de(y,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(de(y,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const o=He(y,"pipelineOperator","topicToken");if(!Er.includes(o)){const u=Er.map(c=>`"${c}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${u}.`)}if(o==="#"&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(e==="smart"&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(de(y,"moduleAttributes")){if(de(y,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(He(y,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(de(y,"recordAndTuple")&&!Pr.includes(He(y,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Pr.map(e=>`'${e}'`).join(", "));if(de(y,"asyncDoExpressions")&&!de(y,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}const gr={estree:_e,jsx:Si,flow:yi,typescript:vi,v8intrinsic:xi,placeholders:Ni},Ci=Object.keys(gr),Ar={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};function wi(y){const e={};for(const r of Object.keys(Ar))e[r]=y&&y[r]!=null?y[r]:Ar[r];return e}const Yt=y=>y.type==="ParenthesizedExpression"?Yt(y.expression):y;class Di extends li{toAssignable(e,r=!1){var o,u;let c;switch((e.type==="ParenthesizedExpression"||(o=e.extra)!=null&&o.parenthesized)&&(c=Yt(e),r?c.type==="Identifier"?this.expressionScope.recordParenthesizedIdentifierError(e.start,E.InvalidParenthesizedAssignment):c.type!=="MemberExpression"&&this.raise(e.start,E.InvalidParenthesizedAssignment):this.raise(e.start,E.InvalidParenthesizedAssignment)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let d=0,P=e.properties.length,v=P-1;d<P;d++){var f;const C=e.properties[d],Y=d===v;this.toAssignableObjectExpressionProp(C,Y,r),Y&&C.type==="RestElement"&&(f=e.extra)!=null&&f.trailingComma&&this.raiseRestNotLast(e.extra.trailingComma)}break;case"ObjectProperty":this.toAssignable(e.value,r);break;case"SpreadElement":{this.checkToRestConversion(e),e.type="RestElement";const d=e.argument;this.toAssignable(d,r);break}case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,(u=e.extra)==null?void 0:u.trailingComma,r);break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,E.MissingEqInAssignment),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,r);break;case"ParenthesizedExpression":this.toAssignable(c,r);break}return e}toAssignableObjectExpressionProp(e,r,o){if(e.type==="ObjectMethod"){const u=e.kind==="get"||e.kind==="set"?E.PatternHasAccessor:E.PatternHasMethod;this.raise(e.key.start,u)}else e.type==="SpreadElement"&&!r?this.raiseRestNotLast(e.start):this.toAssignable(e,o)}toAssignableList(e,r,o){let u=e.length;if(u){const c=e[u-1];if((c==null?void 0:c.type)==="RestElement")--u;else if((c==null?void 0:c.type)==="SpreadElement"){c.type="RestElement";let f=c.argument;this.toAssignable(f,o),f=Yt(f),f.type!=="Identifier"&&f.type!=="MemberExpression"&&f.type!=="ArrayPattern"&&f.type!=="ObjectPattern"&&this.unexpected(f.start),r&&this.raiseTrailingCommaAfterRest(r),--u}}for(let c=0;c<u;c++){const f=e[c];f&&(this.toAssignable(f,o),f.type==="RestElement"&&this.raiseRestNotLast(f.start))}return e}isAssignable(e,r){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const o=e.properties.length-1;return e.properties.every((u,c)=>u.type!=="ObjectMethod"&&(c===o||u.type!=="SpreadElement")&&this.isAssignable(u))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(o=>o===null||this.isAssignable(o));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!r;default:return!1}}toReferencedList(e,r){return e}toReferencedListDeep(e,r){this.toReferencedList(e,r);for(const o of e)(o==null?void 0:o.type)==="ArrayExpression"&&this.toReferencedListDeep(o.elements)}parseSpread(e,r){const o=this.startNode();return this.next(),o.argument=this.parseMaybeAssignAllowIn(e,void 0,r),this.finishNode(o,"SpreadElement")}parseRestBinding(){const e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,!0),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,r,o,u){const c=[];let f=!0;for(;!this.eat(e);)if(f?f=!1:this.expect(12),o&&this.match(12))c.push(null);else{if(this.eat(e))break;if(this.match(21)){c.push(this.parseAssignableListItemTypes(this.parseRestBinding())),this.checkCommaAfterRest(r),this.expect(e);break}else{const d=[];for(this.match(24)&&this.hasPlugin("decorators")&&this.raise(this.state.start,E.UnsupportedParameterDecorator);this.match(24);)d.push(this.parseDecorator());c.push(this.parseAssignableListItem(u,d))}}return c}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode(),{type:r,start:o,startLoc:u}=this.state;return r===21?this.parseBindingRestProperty(e):(this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,o,u,!1,!1,!0,!1),e)}parseAssignableListItem(e,r){const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const u=this.parseMaybeDefault(o.start,o.loc.start,o);return r.length&&(o.decorators=r),u}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,r,o){var u,c,f;if(r=(u=r)!=null?u:this.state.startLoc,e=(c=e)!=null?c:this.state.start,o=(f=o)!=null?f:this.parseBindingAtom(),!this.eat(27))return o;const d=this.startNodeAt(e,r);return d.left=o,d.right=this.parseMaybeAssignAllowIn(),this.finishNode(d,"AssignmentPattern")}checkLVal(e,r,o=Qe,u,c,f=!1){switch(e.type){case"Identifier":{const{name:d}=e;this.state.strict&&(f?Qt(d,this.inModule):$t(d))&&this.raise(e.start,o===Qe?E.StrictEvalArguments:E.StrictEvalArgumentsBinding,d),u&&(u.has(d)?this.raise(e.start,E.ParamDupe):u.add(d)),c&&d==="let"&&this.raise(e.start,E.LetInLexicalBinding),o&Qe||this.scope.declareName(d,o,e.start);break}case"MemberExpression":o!==Qe&&this.raise(e.start,E.InvalidPropertyBindingPattern);break;case"ObjectPattern":for(let d of e.properties){if(this.isObjectProperty(d))d=d.value;else if(this.isObjectMethod(d))continue;this.checkLVal(d,"object destructuring pattern",o,u,c)}break;case"ArrayPattern":for(const d of e.elements)d&&this.checkLVal(d,"array destructuring pattern",o,u,c);break;case"AssignmentPattern":this.checkLVal(e.left,"assignment pattern",o,u);break;case"RestElement":this.checkLVal(e.argument,"rest element",o,u);break;case"ParenthesizedExpression":this.checkLVal(e.expression,"parenthesized expression",o,u);break;default:this.raise(e.start,o===Qe?E.InvalidLhs:E.InvalidLhsBinding,r)}}checkToRestConversion(e){e.argument.type!=="Identifier"&&e.argument.type!=="MemberExpression"&&this.raise(e.argument.start,E.InvalidRestAssignmentPattern)}checkCommaAfterRest(e){this.match(12)&&(this.lookaheadCharCode()===e?this.raiseTrailingCommaAfterRest(this.state.start):this.raiseRestNotLast(this.state.start))}raiseRestNotLast(e){throw this.raise(e,E.ElementAfterRest)}raiseTrailingCommaAfterRest(e){this.raise(e,E.RestTrailingComma)}}const vr=new Map([["ArrowFunctionExpression","arrow function"],["AssignmentExpression","assignment"],["ConditionalExpression","conditional"],["YieldExpression","yield"]]);class _i extends Di{checkProto(e,r,o,u){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand)return;const c=e.key;if((c.type==="Identifier"?c.name:c.value)==="__proto__"){if(r){this.raise(c.start,E.RecordNoProto);return}o.used&&(u?u.doubleProto===-1&&(u.doubleProto=c.start):this.raise(c.start,E.DuplicateProto)),o.used=!0}}shouldExitDescending(e,r){return e.type==="ArrowFunctionExpression"&&e.start===r}getExpression(){this.enterInitialScopes(),this.nextToken();const e=this.parseExpression();return this.match(129)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,r){return e?this.disallowInAnd(()=>this.parseExpressionBase(r)):this.allowInAnd(()=>this.parseExpressionBase(r))}parseExpressionBase(e){const r=this.state.start,o=this.state.startLoc,u=this.parseMaybeAssign(e);if(this.match(12)){const c=this.startNodeAt(r,o);for(c.expressions=[u];this.eat(12);)c.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(c.expressions),this.finishNode(c,"SequenceExpression")}return u}parseMaybeAssignDisallowIn(e,r){return this.disallowInAnd(()=>this.parseMaybeAssign(e,r))}parseMaybeAssignAllowIn(e,r){return this.allowInAnd(()=>this.parseMaybeAssign(e,r))}setOptionalParametersError(e,r){var o;e.optionalParameters=(o=r==null?void 0:r.pos)!=null?o:this.state.start}parseMaybeAssign(e,r){const o=this.state.start,u=this.state.startLoc;if(this.isContextual(99)&&this.prodParam.hasYield){let P=this.parseYield();return r&&(P=r.call(this,P,o,u)),P}let c;e?c=!1:(e=new ft,c=!0);const{type:f}=this.state;(f===10||ee(f))&&(this.state.potentialArrowAt=this.state.start);let d=this.parseMaybeConditional(e);if(r&&(d=r.call(this,d,o,u)),mt(this.state.type)){const P=this.startNodeAt(o,u),v=this.state.value;return P.operator=v,this.match(27)?(P.left=this.toAssignable(d,!0),e.doubleProto>=o&&(e.doubleProto=-1),e.shorthandAssign>=o&&(e.shorthandAssign=-1)):P.left=d,this.checkLVal(d,"assignment expression"),this.next(),P.right=this.parseMaybeAssign(),this.finishNode(P,"AssignmentExpression")}else c&&this.checkExpressionErrors(e,!0);return d}parseMaybeConditional(e){const r=this.state.start,o=this.state.startLoc,u=this.state.potentialArrowAt,c=this.parseExprOps(e);return this.shouldExitDescending(c,u)?c:this.parseConditional(c,r,o,e)}parseConditional(e,r,o,u){if(this.eat(17)){const c=this.startNodeAt(r,o);return c.test=e,c.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),c.alternate=this.parseMaybeAssign(),this.finishNode(c,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(128)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const r=this.state.start,o=this.state.startLoc,u=this.state.potentialArrowAt,c=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(c,u)?c:this.parseExprOp(c,r,o,-1)}parseExprOp(e,r,o,u){if(this.isPrivateName(e)){const f=this.getPrivateNameSV(e),{start:d}=e;(u>=Fe(52)||!this.prodParam.hasIn||!this.match(52))&&this.raise(d,E.PrivateInExpectedIn,f),this.classScope.usePrivateName(f,d)}const c=this.state.type;if(bt(c)&&(this.prodParam.hasIn||!this.match(52))){let f=Fe(c);if(f>u){if(c===35){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,r)}const d=this.startNodeAt(r,o);d.left=e,d.operator=this.state.value;const P=c===37||c===38,v=c===36;if(v&&(f=Fe(38)),this.next(),c===35&&this.getPluginOption("pipelineOperator","proposal")==="minimal"&&this.state.type===90&&this.prodParam.hasAwait)throw this.raise(this.state.start,E.UnexpectedAwaitAfterPipelineBody);d.right=this.parseExprOpRightExpr(c,f),this.finishNode(d,P||v?"LogicalExpression":"BinaryExpression");const C=this.state.type;if(v&&(C===37||C===38)||P&&C===36)throw this.raise(this.state.start,E.MixingCoalesceWithLogical);return this.parseExprOp(d,r,o,u)}}return e}parseExprOpRightExpr(e,r){const o=this.state.start,u=this.state.startLoc;switch(e){case 35:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(99))throw this.raise(this.state.start,E.PipeBodyIsTighter,this.state.value);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,r),o,u)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(r))}default:return this.parseExprOpBaseRightExpr(e,r)}}parseExprOpBaseRightExpr(e,r){const o=this.state.start,u=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),o,u,At(e)?r-1:r)}parseHackPipeBody(){var e;const{start:r}=this.state,o=this.parseMaybeAssign();return vr.has(o.type)&&!((e=o.extra)!=null&&e.parenthesized)&&this.raise(r,E.PipeUnparenthesizedBody,vr.get(o.type)),this.topicReferenceWasUsedInCurrentContext()||this.raise(r,E.PipeTopicUnused),o}checkExponentialAfterUnary(e){this.match(51)&&this.raise(e.argument.start,E.UnexpectedTokenUnaryExponentiation)}parseMaybeUnary(e,r){const o=this.state.start,u=this.state.startLoc,c=this.isContextual(90);if(c&&this.isAwaitAllowed()){this.next();const v=this.parseAwait(o,u);return r||this.checkExponentialAfterUnary(v),v}const f=this.match(32),d=this.startNode();if(Et(this.state.type)){d.operator=this.state.value,d.prefix=!0,this.match(66)&&this.expectPlugin("throwExpressions");const v=this.match(83);if(this.next(),d.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&v){const C=d.argument;C.type==="Identifier"?this.raise(d.start,E.StrictDelete):this.hasPropertyAsPrivateName(C)&&this.raise(d.start,E.DeletePrivateField)}if(!f)return r||this.checkExponentialAfterUnary(d),this.finishNode(d,"UnaryExpression")}const P=this.parseUpdate(d,f,e);if(c){const{type:v}=this.state;if((this.hasPlugin("v8intrinsic")?et(v):et(v)&&!this.match(48))&&!this.isAmbiguousAwait())return this.raiseOverwrite(o,E.AwaitNotInAsyncContext),this.parseAwait(o,u)}return P}parseUpdate(e,r,o){if(r)return this.checkLVal(e.argument,"prefix operation"),this.finishNode(e,"UpdateExpression");const u=this.state.start,c=this.state.startLoc;let f=this.parseExprSubscripts(o);if(this.checkExpressionErrors(o,!1))return f;for(;St(this.state.type)&&!this.canInsertSemicolon();){const d=this.startNodeAt(u,c);d.operator=this.state.value,d.prefix=!1,d.argument=f,this.checkLVal(f,"postfix operation"),this.next(),f=this.finishNode(d,"UpdateExpression")}return f}parseExprSubscripts(e){const r=this.state.start,o=this.state.startLoc,u=this.state.potentialArrowAt,c=this.parseExprAtom(e);return this.shouldExitDescending(c,u)?c:this.parseSubscripts(c,r,o)}parseSubscripts(e,r,o,u){const c={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do e=this.parseSubscript(e,r,o,u,c),c.maybeAsyncArrow=!1;while(!c.stop);return e}parseSubscript(e,r,o,u,c){if(!u&&this.eat(15))return this.parseBind(e,r,o,u,c);if(this.match(22))return this.parseTaggedTemplateExpression(e,r,o,c);let f=!1;if(this.match(18)){if(u&&this.lookaheadCharCode()===40)return c.stop=!0,e;c.optionalChainMember=f=!0,this.next()}if(!u&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,r,o,c,f);{const d=this.eat(0);return d||f||this.eat(16)?this.parseMember(e,r,o,c,d,f):(c.stop=!0,e)}}parseMember(e,r,o,u,c,f){const d=this.startNodeAt(r,o);d.object=e,d.computed=c;const P=!c&&this.match(128)&&this.state.value,v=c?this.parseExpression():P?this.parsePrivateName():this.parseIdentifier(!0);return P!==!1&&(d.object.type==="Super"&&this.raise(r,E.SuperPrivateField),this.classScope.usePrivateName(P,v.start)),d.property=v,c&&this.expect(3),u.optionalChainMember?(d.optional=f,this.finishNode(d,"OptionalMemberExpression")):this.finishNode(d,"MemberExpression")}parseBind(e,r,o,u,c){const f=this.startNodeAt(r,o);return f.object=e,f.callee=this.parseNoCallExpr(),c.stop=!0,this.parseSubscripts(this.finishNode(f,"BindExpression"),r,o,u)}parseCoverCallAndAsyncArrowHead(e,r,o,u,c){const f=this.state.maybeInArrowParameters;let d=null;this.state.maybeInArrowParameters=!0,this.next();let P=this.startNodeAt(r,o);return P.callee=e,u.maybeAsyncArrow&&(this.expressionScope.enter(si()),d=new ft),u.optionalChainMember&&(P.optional=c),c?P.arguments=this.parseCallExpressionArguments(11):P.arguments=this.parseCallExpressionArguments(11,e.type==="Import",e.type!=="Super",P,d),this.finishCallExpression(P,u.optionalChainMember),u.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!c?(u.stop=!0,this.expressionScope.validateAsPattern(),this.expressionScope.exit(),P=this.parseAsyncArrowFromCallExpression(this.startNodeAt(r,o),P)):(u.maybeAsyncArrow&&(this.checkExpressionErrors(d,!0),this.expressionScope.exit()),this.toReferencedArguments(P)),this.state.maybeInArrowParameters=f,P}toReferencedArguments(e,r){this.toReferencedListDeep(e.arguments,r)}parseTaggedTemplateExpression(e,r,o,u){const c=this.startNodeAt(r,o);return c.tag=e,c.quasi=this.parseTemplate(!0),u.optionalChainMember&&this.raise(r,E.OptionalChainingNoTemplate),this.finishNode(c,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,r){if(e.callee.type==="Import")if(e.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),e.arguments.length===0||e.arguments.length>2)this.raise(e.start,E.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument");else for(const o of e.arguments)o.type==="SpreadElement"&&this.raise(o.start,E.ImportCallSpreadArgument);return this.finishNode(e,r?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,r,o,u,c){const f=[];let d=!0;const P=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(d)d=!1;else if(this.expect(12),this.match(e)){r&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(this.state.lastTokStart,E.ImportCallArgumentTrailingComma),u&&this.addExtra(u,"trailingComma",this.state.lastTokStart),this.next();break}f.push(this.parseExprListItem(!1,c,o))}return this.state.inFSharpPipelineDirectBody=P,f}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,r){var o;return this.resetPreviousNodeTrailingComments(r),this.expect(19),this.parseArrowExpression(e,r.arguments,!0,(o=r.extra)==null?void 0:o.trailingComma),r.innerComments&&x(e,r.innerComments),r.callee.trailingComments&&x(e,r.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.start,r=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,r,!0)}parseExprAtom(e){let r;const{type:o}=this.state;switch(o){case 73:return this.parseSuper();case 77:return r=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(r):(this.match(10)||this.raise(this.state.lastTokStart,E.UnsupportedImport),this.finishNode(r,"Import"));case 72:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case 84:return this.parseDo(this.startNode(),!1);case 50:case 29:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 124:return this.parseNumericLiteral(this.state.value);case 125:return this.parseBigIntLiteral(this.state.value);case 126:return this.parseDecimalLiteral(this.state.value);case 123:return this.parseStringLiteral(this.state.value);case 78:return this.parseNullLiteral();case 79:return this.parseBooleanLiteral(!0);case 80:return this.parseBooleanLiteral(!1);case 10:{const u=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(u)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 62:return this.parseFunctionOrFunctionSent();case 24:this.parseDecorators();case 74:return r=this.startNode(),this.takeDecorators(r),this.parseClass(r,!1);case 71:return this.parseNewOrNewTarget();case 22:return this.parseTemplate(!1);case 15:{r=this.startNode(),this.next(),r.object=null;const u=r.callee=this.parseNoCallExpr();if(u.type==="MemberExpression")return this.finishNode(r,"BindExpression");throw this.raise(u.start,E.UnsupportedBind)}case 128:return this.raise(this.state.start,E.PrivateInExpectedIn,this.state.value),this.parsePrivateName();case 31:return this.parseTopicReferenceThenEqualsSign(48,"%");case 30:return this.parseTopicReferenceThenEqualsSign(40,"^");case 40:case 48:case 25:{const u=this.getPluginOption("pipelineOperator","proposal");if(u)return this.parseTopicReference(u);throw this.unexpected()}case 43:{const u=this.input.codePointAt(this.nextTokenStart());if(we(u)||u===62){this.expectOnePlugin(["jsx","flow","typescript"]);break}else throw this.unexpected()}default:if(ee(o)){if(this.isContextual(117)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();const u=this.state.potentialArrowAt===this.state.start,c=this.state.containsEsc,f=this.parseIdentifier();if(!c&&f.name==="async"&&!this.canInsertSemicolon()){const{type:d}=this.state;if(d===62)return this.resetPreviousNodeTrailingComments(f),this.next(),this.parseFunction(this.startNodeAtNode(f),void 0,!0);if(ee(d))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(f)):f;if(d===84)return this.resetPreviousNodeTrailingComments(f),this.parseDo(this.startNodeAtNode(f),!0)}return u&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(f),[f],!1)):f}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,r){const o=this.getPluginOption("pipelineOperator","proposal");if(o)return this.state.type=e,this.state.value=r,this.state.pos--,this.state.end--,this.state.endLoc.column--,this.parseTopicReference(o);throw this.unexpected()}parseTopicReference(e){const r=this.startNode(),o=this.state.start,u=this.state.type;return this.next(),this.finishTopicReference(r,o,e,u)}finishTopicReference(e,r,o,u){if(this.testTopicReferenceConfiguration(o,r,u)){let c;return o==="smart"?c="PipelinePrimaryTopicReference":c="TopicReference",this.topicReferenceIsAllowedInCurrentContext()||(o==="smart"?this.raise(r,E.PrimaryTopicNotAllowed):this.raise(r,E.PipeTopicUnbound)),this.registerTopicReference(),this.finishNode(e,c)}else throw this.raise(r,E.PipeTopicUnconfiguredToken,Ae(u))}testTopicReferenceConfiguration(e,r,o){switch(e){case"hack":{const u=this.getPluginOption("pipelineOperator","topicToken");return Ae(o)===u}case"smart":return o===25;default:throw this.raise(r,E.PipeTopicRequiresHackPipes)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(pt(!0,this.prodParam.hasYield));const r=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(this.state.pos,E.LineTerminatorBeforeArrow),this.expect(19),this.parseArrowExpression(e,r,!0),e}parseDo(e,r){this.expectPlugin("doExpressions"),r&&this.expectPlugin("asyncDoExpressions"),e.async=r,this.next();const o=this.state.labels;return this.state.labels=[],r?(this.prodParam.enter(ct),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=o,this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(e.start,E.SuperNotAllowed):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(e.start,E.UnexpectedSuper),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(e.start,E.UnsupportedSuper),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),r=this.startNodeAt(this.state.start+1,new T(this.state.curLine,this.state.start+1-this.state.lineStart)),o=this.state.value;return this.next(),e.id=this.createIdentifier(r,o),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const r=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(96)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,r,"sent")}return this.parseFunction(e)}parseMetaProperty(e,r,o){e.meta=r;const u=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==o||u)&&this.raise(e.property.start,E.UnsupportedMetaProperty,r.name,o),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const r=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(94)&&(this.inModule||this.raise(r.start,G.ImportMetaOutsideModule),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,r,"meta")}parseLiteralAtNode(e,r,o){return this.addExtra(o,"rawValue",e),this.addExtra(o,"raw",this.input.slice(o.start,this.state.end)),o.value=e,this.next(),this.finishNode(o,r)}parseLiteral(e,r){const o=this.startNode();return this.parseLiteralAtNode(e,r,o)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const r=this.parseLiteral(e.value,"RegExpLiteral");return r.pattern=e.pattern,r.flags=e.flags,r}parseBooleanLiteral(e){const r=this.startNode();return r.value=e,this.next(),this.finishNode(r,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const r=this.state.start,o=this.state.startLoc;let u;this.next(),this.expressionScope.enter(ii());const c=this.state.maybeInArrowParameters,f=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const d=this.state.start,P=this.state.startLoc,v=[],C=new ft;let Y=!0,X,H;for(;!this.match(11);){if(Y)Y=!1;else if(this.expect(12,C.optionalParameters===-1?null:C.optionalParameters),this.match(11)){H=this.state.start;break}if(this.match(21)){const ht=this.state.start,zt=this.state.startLoc;X=this.state.start,v.push(this.parseParenItem(this.parseRestBinding(),ht,zt)),this.checkCommaAfterRest(41);break}else v.push(this.parseMaybeAssignAllowIn(C,this.parseParenItem))}const oe=this.state.lastTokEnd,ne=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=c,this.state.inFSharpPipelineDirectBody=f;let ce=this.startNodeAt(r,o);if(e&&this.shouldParseArrow(v)&&(ce=this.parseArrow(ce)))return this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(ce,v,!1),ce;if(this.expressionScope.exit(),v.length||this.unexpected(this.state.lastTokStart),H&&this.unexpected(H),X&&this.unexpected(X),this.checkExpressionErrors(C,!0),this.toReferencedListDeep(v,!0),v.length>1?(u=this.startNodeAt(d,P),u.expressions=v,this.finishNode(u,"SequenceExpression"),this.resetEndLocation(u,oe,ne)):u=v[0],!this.options.createParenthesizedExpressions)return this.addExtra(u,"parenthesized",!0),this.addExtra(u,"parenStart",r),this.takeSurroundingComments(u,r,this.state.lastTokEnd),u;const pe=this.startNodeAt(r,o);return pe.expression=u,this.finishNode(pe,"ParenthesizedExpression"),pe}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,r,o){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(16)){const r=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const o=this.parseMetaProperty(e,r,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&this.raise(o.start,E.UnexpectedNewTarget),o}return this.parseNew(e)}parseNew(e){return e.callee=this.parseNoCallExpr(),e.callee.type==="Import"?this.raise(e.callee.start,E.ImportCallNotNewExpression):this.isOptionalChain(e.callee)?this.raise(this.state.lastTokEnd,E.OptionalChainingNoNew):this.eat(18)&&this.raise(this.state.start,E.OptionalChainingNoNew),this.parseNewArguments(e),this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(10)){const r=this.parseExprList(11);this.toReferencedList(r),e.arguments=r}else e.arguments=[]}parseTemplateElement(e){const r=this.startNode();return this.state.value===null&&(e||this.raise(this.state.start+1,E.InvalidEscapeSequenceTemplate)),r.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,`
`),cooked:this.state.value},this.next(),r.tail=this.match(22),this.finishNode(r,"TemplateElement")}parseTemplate(e){const r=this.startNode();this.next(),r.expressions=[];let o=this.parseTemplateElement(e);for(r.quasis=[o];!o.tail;)this.expect(23),r.expressions.push(this.parseTemplateSubstitution()),this.expect(8),r.quasis.push(o=this.parseTemplateElement(e));return this.next(),this.finishNode(r,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,r,o,u){o&&this.expectPlugin("recordAndTuple");const c=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const f=Object.create(null);let d=!0;const P=this.startNode();for(P.properties=[],this.next();!this.match(e);){if(d)d=!1;else if(this.expect(12),this.match(e)){this.addExtra(P,"trailingComma",this.state.lastTokStart);break}let C;r?C=this.parseBindingProperty():(C=this.parsePropertyDefinition(u),this.checkProto(C,o,f,u)),o&&!this.isObjectProperty(C)&&C.type!=="SpreadElement"&&this.raise(C.start,E.InvalidRecordProperty),C.shorthand&&this.addExtra(C,"shorthand",!0),P.properties.push(C)}this.next(),this.state.inFSharpPipelineDirectBody=c;let v="ObjectExpression";return r?v="ObjectPattern":o&&(v="RecordExpression"),this.finishNode(P,v)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(49))}parsePropertyDefinition(e){let r=[];if(this.match(24))for(this.hasPlugin("decorators")&&this.raise(this.state.start,E.UnsupportedPropertyDecorator);this.match(24);)r.push(this.parseDecorator());const o=this.startNode();let u=!1,c=!1,f,d;if(this.match(21))return r.length&&this.unexpected(),this.parseSpread();r.length&&(o.decorators=r,r=[]),o.method=!1,e&&(f=this.state.start,d=this.state.startLoc);let P=this.eat(49);this.parsePropertyNamePrefixOperator(o);const v=this.state.containsEsc,C=this.parsePropertyName(o);if(!P&&!v&&this.maybeAsyncOrAccessorProp(o)){const Y=C.name;Y==="async"&&!this.hasPrecedingLineBreak()&&(u=!0,this.resetPreviousNodeTrailingComments(C),P=this.eat(49),this.parsePropertyName(o)),(Y==="get"||Y==="set")&&(c=!0,this.resetPreviousNodeTrailingComments(C),o.kind=Y,this.match(49)&&(P=!0,this.raise(this.state.pos,E.AccessorIsGenerator,Y),this.next()),this.parsePropertyName(o))}return this.parseObjPropValue(o,f,d,P,u,!1,c,e),o}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var r;const o=this.getGetterSetterExpectedParamCount(e),u=this.getObjectOrClassMethodParams(e),c=e.start;u.length!==o&&(e.kind==="get"?this.raise(c,E.BadGetterArity):this.raise(c,E.BadSetterArity)),e.kind==="set"&&((r=u[u.length-1])==null?void 0:r.type)==="RestElement"&&this.raise(c,E.BadSetterRestParameter)}parseObjectMethod(e,r,o,u,c){if(c)return this.parseMethod(e,r,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e;if(o||r||this.match(10))return u&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,r,o,!1,!1,"ObjectMethod")}parseObjectProperty(e,r,o,u,c){if(e.shorthand=!1,this.eat(14))return e.value=u?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(c),this.finishNode(e,"ObjectProperty");if(!e.computed&&e.key.type==="Identifier")return this.checkReservedWord(e.key.name,e.key.start,!0,!1),u?e.value=this.parseMaybeDefault(r,o,xe(e.key)):this.match(27)&&c?(c.shorthandAssign===-1&&(c.shorthandAssign=this.state.start),e.value=this.parseMaybeDefault(r,o,xe(e.key))):e.value=xe(e.key),e.shorthand=!0,this.finishNode(e,"ObjectProperty")}parseObjPropValue(e,r,o,u,c,f,d,P){const v=this.parseObjectMethod(e,u,c,f,d)||this.parseObjectProperty(e,r,o,f,P);return v||this.unexpected(),v}parsePropertyName(e){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:r,value:o}=this.state;let u;if(Te(r))u=this.parseIdentifier(!0);else switch(r){case 124:u=this.parseNumericLiteral(o);break;case 123:u=this.parseStringLiteral(o);break;case 125:u=this.parseBigIntLiteral(o);break;case 126:u=this.parseDecimalLiteral(o);break;case 128:{const c=this.state.start+1;this.raise(c,E.UnexpectedPrivateField),u=this.parsePrivateName();break}default:throw this.unexpected()}e.key=u,r!==128&&(e.computed=!1)}return e.key}initFunction(e,r){e.id=null,e.generator=!1,e.async=!!r}parseMethod(e,r,o,u,c,f,d=!1){this.initFunction(e,o),e.generator=!!r;const P=u;return this.scope.enter(Ie|rt|(d?je:0)|(c?er:0)),this.prodParam.enter(pt(o,e.generator)),this.parseFunctionParams(e,P),this.parseFunctionBodyAndFinish(e,f,!0),this.prodParam.exit(),this.scope.exit(),e}parseArrayLike(e,r,o,u){o&&this.expectPlugin("recordAndTuple");const c=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const f=this.startNode();return this.next(),f.elements=this.parseExprList(e,!o,u,f),this.state.inFSharpPipelineDirectBody=c,this.finishNode(f,o?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,r,o,u){this.scope.enter(Ie|Ot);let c=pt(o,!1);!this.match(0)&&this.prodParam.hasIn&&(c|=We),this.prodParam.enter(c),this.initFunction(e,o);const f=this.state.maybeInArrowParameters;return r&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,r,u)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=f,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,r,o){e.params=this.toAssignableList(r,o,!1)}parseFunctionBodyAndFinish(e,r,o=!1){this.parseFunctionBody(e,!1,o),this.finishNode(e,r)}parseFunctionBody(e,r,o=!1){const u=r&&!this.match(5);if(this.expressionScope.enter(dr()),u)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,r,!1);else{const c=this.state.strict,f=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|yr),e.body=this.parseBlock(!0,!1,d=>{const P=!this.isSimpleParamList(e.params);if(d&&P){const C=(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.end:e.start;this.raise(C,E.IllegalLanguageModeDirective)}const v=!c&&this.state.strict;this.checkParams(e,!this.state.strict&&!r&&!o&&!P,r,v),this.state.strict&&e.id&&this.checkLVal(e.id,"function name",Rr,void 0,void 0,v)}),this.prodParam.exit(),this.state.labels=f}this.expressionScope.exit()}isSimpleParamList(e){for(let r=0,o=e.length;r<o;r++)if(e[r].type!=="Identifier")return!1;return!0}checkParams(e,r,o,u=!0){const c=new Set;for(const f of e.params)this.checkLVal(f,"function parameter list",ot,r?null:c,void 0,u)}parseExprList(e,r,o,u){const c=[];let f=!0;for(;!this.eat(e);){if(f)f=!1;else if(this.expect(12),this.match(e)){u&&this.addExtra(u,"trailingComma",this.state.lastTokStart),this.next();break}c.push(this.parseExprListItem(r,o))}return c}parseExprListItem(e,r,o){let u;if(this.match(12))e||this.raise(this.state.pos,E.UnexpectedToken,","),u=null;else if(this.match(21)){const c=this.state.start,f=this.state.startLoc;u=this.parseParenItem(this.parseSpread(r),c,f)}else if(this.match(17)){this.expectPlugin("partialApplication"),o||this.raise(this.state.start,E.UnexpectedArgumentPlaceholder);const c=this.startNode();this.next(),u=this.finishNode(c,"ArgumentPlaceholder")}else u=this.parseMaybeAssignAllowIn(r,this.parseParenItem);return u}parseIdentifier(e){const r=this.startNode(),o=this.parseIdentifierName(r.start,e);return this.createIdentifier(r,o)}createIdentifier(e,r){return e.name=r,e.loc.identifierName=r,this.finishNode(e,"Identifier")}parseIdentifierName(e,r){let o;const{start:u,type:c}=this.state;if(Te(c))o=this.state.value;else throw this.unexpected();const f=qe(c);return r?f&&this.replaceToken(122):this.checkReservedWord(o,u,f,!1),this.next(),o}checkReservedWord(e,r,o,u){if(e.length>10||!kr(e))return;if(e==="yield"){if(this.prodParam.hasYield){this.raise(r,E.YieldBindingIdentifier);return}}else if(e==="await")if(this.prodParam.hasAwait){this.raise(r,E.AwaitBindingIdentifier);return}else if(this.scope.inStaticBlock){this.raise(r,E.AwaitBindingIdentifierInStaticBlock);return}else this.expressionScope.recordAsyncArrowParametersError(r,E.AwaitBindingIdentifier);else if(e==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(r,E.ArgumentsInClass);return}if(o&&Lr(e)){this.raise(r,E.UnexpectedKeyword,e);return}(this.state.strict?u?Qt:Gt:qt)(e,this.inModule)&&this.raise(r,E.UnexpectedReservedWord,e)}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(e,r){const o=this.startNodeAt(e,r);return this.expressionScope.recordParameterInitializerError(o.start,E.AwaitExpressionFormalParameter),this.eat(49)&&this.raise(o.start,E.ObsoleteAwaitStar),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(o.argument=this.parseMaybeUnary(null,!0)),this.finishNode(o,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(47)||this.match(10)||this.match(0)||this.match(22)||this.match(127)||this.match(50)||this.hasPlugin("v8intrinsic")&&this.match(48)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,E.YieldInParameter),this.next();let r=!1,o=null;if(!this.hasPrecedingLineBreak())switch(r=this.eat(49),this.state.type){case 13:case 129:case 8:case 11:case 3:case 9:case 14:case 12:if(!r)break;default:o=this.parseMaybeAssign()}return e.delegate=r,e.argument=o,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,r){this.getPluginOption("pipelineOperator","proposal")==="smart"&&e.type==="SequenceExpression"&&this.raise(r,E.PipelineHeadSequenceExpression)}checkHackPipeBodyEarlyErrors(e){this.topicReferenceWasUsedInCurrentContext()||this.raise(e,E.PipeTopicUnused)}parseSmartPipelineBodyInStyle(e,r,o){const u=this.startNodeAt(r,o);return this.isSimpleReference(e)?(u.callee=e,this.finishNode(u,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(r),u.expression=e,this.finishNode(u,"PipelineTopicExpression"))}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(this.state.start,E.PipelineBodyNoArrow);this.topicReferenceWasUsedInCurrentContext()||this.raise(e,E.PipelineTopicUnused)}withTopicBindingContext(e){const r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=r}}withSmartMixTopicForbiddingContext(e){if(this.getPluginOption("pipelineOperator","proposal")==="smart"){const o=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=o}}else return e()}withSoloAwaitPermittingContext(e){const r=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=r}}allowInAnd(e){const r=this.prodParam.currentFlags();if(We&~r){this.prodParam.enter(r|We);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const r=this.prodParam.currentFlags();if(We&r){this.prodParam.enter(r&~We);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const r=this.state.start,o=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const u=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const c=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,o,e);return this.state.inFSharpPipelineDirectBody=u,c}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.eat(5);const r=this.initializeScopes(!0);this.enterInitialScopes();const o=this.startNode();try{e.body=this.parseProgram(o,8,"module")}finally{r()}return this.eat(8),this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const Xt={kind:"loop"},Li={kind:"switch"},ji=0,Jt=1,Ir=2,Nr=4,Mi=/[\uD800-\uDFFF]/u,Wt=/in(?:stanceof)?/y;function ki(y){for(let e=0;e<y.length;e++){const r=y[e],{type:o}=r;if(o===128){const{loc:u,start:c,value:f,end:d}=r,P=c+1,v=new T(u.start.line,u.start.column+1);y.splice(e,1,new Rt({type:Re(25),value:"#",start:c,end:P,startLoc:u.start,endLoc:v}),new Rt({type:Re(122),value:f,start:P,end:d,startLoc:v,endLoc:u.end})),e++;continue}typeof o=="number"&&(r.type=Re(o))}return y}class Bi extends _i{parseTopLevel(e,r){return e.program=this.parseProgram(r),e.comments=this.state.comments,this.options.tokens&&(e.tokens=ki(this.tokens)),this.finishNode(e,"File")}parseProgram(e,r=129,o=this.options.sourceType){if(e.sourceType=o,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,r),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[u]of Array.from(this.scope.undefinedExports)){const c=this.scope.undefinedExports.get(u);this.raise(c,E.ModuleExportUndefined,u)}return this.finishNode(e,"Program")}stmtToDirective(e){const r=e;r.type="Directive",r.value=r.expression,delete r.expression;const o=r.value,u=o.value,c=this.input.slice(o.start,o.end),f=o.value=c.slice(1,-1);return this.addExtra(o,"raw",c),this.addExtra(o,"rawValue",f),this.addExtra(o,"expressionValue",u),o.type="DirectiveLiteral",r}parseInterpreterDirective(){if(!this.match(26))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(e){return this.isContextual(93)?this.isLetKeyword(e):!1}isLetKeyword(e){const r=this.nextTokenStart(),o=this.codePointAtPos(r);if(o===92||o===91)return!0;if(e)return!1;if(o===123)return!0;if(we(o)){if(Wt.lastIndex=r,Wt.test(this.input)){const u=this.codePointAtPos(Wt.lastIndex);if(!Ue(u)&&u!==92)return!1}return!0}return!1}parseStatement(e,r){return this.match(24)&&this.parseDecorators(!0),this.parseStatementContent(e,r)}parseStatementContent(e,r){let o=this.state.type;const u=this.startNode();let c;switch(this.isLet(e)&&(o=68,c="let"),o){case 54:return this.parseBreakContinueStatement(u,!0);case 57:return this.parseBreakContinueStatement(u,!1);case 58:return this.parseDebuggerStatement(u);case 84:return this.parseDoStatement(u);case 85:return this.parseForStatement(u);case 62:if(this.lookaheadCharCode()===46)break;return e&&(this.state.strict?this.raise(this.state.start,E.StrictFunction):e!=="if"&&e!=="label"&&this.raise(this.state.start,E.SloppyFunction)),this.parseFunctionStatement(u,!1,!e);case 74:return e&&this.unexpected(),this.parseClass(u,!0);case 63:return this.parseIfStatement(u);case 64:return this.parseReturnStatement(u);case 65:return this.parseSwitchStatement(u);case 66:return this.parseThrowStatement(u);case 67:return this.parseTryStatement(u);case 69:case 68:return c=c||this.state.value,e&&c!=="var"&&this.raise(this.state.start,E.UnexpectedLexicalDeclaration),this.parseVarStatement(u,c);case 86:return this.parseWhileStatement(u);case 70:return this.parseWithStatement(u);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(u);case 77:{const P=this.lookaheadCharCode();if(P===40||P===46)break}case 76:{!this.options.allowImportExportEverywhere&&!r&&this.raise(this.state.start,E.UnexpectedImportExport),this.next();let P;return o===77?(P=this.parseImport(u),P.type==="ImportDeclaration"&&(!P.importKind||P.importKind==="value")&&(this.sawUnambiguousESM=!0)):(P=this.parseExport(u),(P.type==="ExportNamedDeclaration"&&(!P.exportKind||P.exportKind==="value")||P.type==="ExportAllDeclaration"&&(!P.exportKind||P.exportKind==="value")||P.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(u),P}default:if(this.isAsyncFunction())return e&&this.raise(this.state.start,E.AsyncFunctionInSingleStatementContext),this.next(),this.parseFunctionStatement(u,!0,!e)}const f=this.state.value,d=this.parseExpression();return ee(o)&&d.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(u,f,d,e):this.parseExpressionStatement(u,d)}assertModuleNodeAllowed(e){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(e.start,G.ImportOutsideModule)}takeDecorators(e){const r=this.state.decoratorStack[this.state.decoratorStack.length-1];r.length&&(e.decorators=r,this.resetStartLocationFromNode(e,r[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(74)}parseDecorators(e){const r=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(24);){const o=this.parseDecorator();r.push(o)}if(this.match(76))e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,E.DecoratorExportClass);else if(!this.canHaveLeadingDecorator())throw this.raise(this.state.start,E.UnexpectedLeadingDecorator)}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const r=this.state.start,o=this.state.startLoc;let u;if(this.eat(10))u=this.parseExpression(),this.expect(11);else for(u=this.parseIdentifier(!1);this.eat(16);){const c=this.startNodeAt(r,o);c.object=u,c.property=this.parseIdentifier(!0),c.computed=!1,u=this.finishNode(c,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(u),this.state.decoratorStack.pop()}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const r=this.startNodeAtNode(e);return r.callee=e,r.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(r.arguments),this.finishNode(r,"CallExpression")}return e}parseBreakContinueStatement(e,r){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,r),this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,r){let o;for(o=0;o<this.state.labels.length;++o){const u=this.state.labels[o];if((e.label==null||u.name===e.label.name)&&(u.kind!=null&&(r||u.kind==="loop")||e.label&&r))break}o===this.state.labels.length&&this.raise(e.start,E.IllegalBreakContinue,r?"break":"continue")}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoStatement(e){return this.next(),this.state.labels.push(Xt),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("do")),this.state.labels.pop(),this.expect(86),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(Xt);let r=-1;if(this.isAwaitAllowed()&&this.eatContextual(90)&&(r=this.state.lastTokStart),this.scope.enter(Ve),this.expect(10),this.match(13))return r>-1&&this.unexpected(r),this.parseFor(e,null);const o=this.isContextual(93),u=o&&this.isLetKeyword();if(this.match(68)||this.match(69)||u){const v=this.startNode(),C=u?"let":this.state.value;return this.next(),this.parseVar(v,!0,C),this.finishNode(v,"VariableDeclaration"),(this.match(52)||this.isContextual(95))&&v.declarations.length===1?this.parseForIn(e,v,r):(r>-1&&this.unexpected(r),this.parseFor(e,v))}const c=this.isContextual(89),f=new ft,d=this.parseExpression(!0,f),P=this.isContextual(95);if(P&&(o?this.raise(d.start,E.ForOfLet):r===-1&&c&&d.type==="Identifier"&&this.raise(d.start,E.ForOfAsync)),P||this.match(52)){this.toAssignable(d,!0);const v=P?"for-of statement":"for-in statement";return this.checkLVal(d,v),this.parseForIn(e,d,r)}else this.checkExpressionErrors(f,!0);return r>-1&&this.unexpected(r),this.parseFor(e,d)}parseFunctionStatement(e,r,o){return this.next(),this.parseFunction(e,Jt|(o?0:Ir),r)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(60)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(this.state.start,E.IllegalReturn),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();const r=e.cases=[];this.expect(5),this.state.labels.push(Li),this.scope.enter(Ve);let o;for(let u;!this.match(8);)if(this.match(55)||this.match(59)){const c=this.match(55);o&&this.finishNode(o,"SwitchCase"),r.push(o=this.startNode()),o.consequent=[],this.next(),c?o.test=this.parseExpression():(u&&this.raise(this.state.lastTokStart,E.MultipleDefaultsInSwitch),u=!0,o.test=null),this.expect(14)}else o?o.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),o&&this.finishNode(o,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(this.state.lastTokEnd,E.NewlineAfterThrow),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom(),r=e.type==="Identifier";return this.scope.enter(r?Zt:0),this.checkLVal(e,"catch clause",be),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(56)){const r=this.startNode();this.next(),this.match(10)?(this.expect(10),r.param=this.parseCatchClauseParam(),this.expect(11)):(r.param=null,this.scope.enter(Ve)),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(r,"CatchClause")}return e.finalizer=this.eat(61)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,E.NoCatchOrFinally),this.finishNode(e,"TryStatement")}parseVarStatement(e,r){return this.next(),this.parseVar(e,!1,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Xt),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while")),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(this.state.start,E.StrictWith),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with")),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,r,o,u){for(const f of this.state.labels)f.name===r&&this.raise(o.start,E.LabelRedeclaration,r);const c=Tt(this.state.type)?"loop":this.match(65)?"switch":null;for(let f=this.state.labels.length-1;f>=0;f--){const d=this.state.labels[f];if(d.statementStart===e.start)d.statementStart=this.state.start,d.kind=c;else break}return this.state.labels.push({name:r,kind:c,statementStart:this.state.start}),e.body=this.parseStatement(u?u.indexOf("label")===-1?u+"label":u:"label"),this.state.labels.pop(),e.label=o,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,r){return e.expression=r,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,r=!0,o){const u=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),r&&this.scope.enter(Ve),this.parseBlockBody(u,e,!1,8,o),r&&this.scope.exit(),this.finishNode(u,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,r,o,u,c){const f=e.body=[],d=e.directives=[];this.parseBlockOrModuleBlockBody(f,r?d:void 0,o,u,c)}parseBlockOrModuleBlockBody(e,r,o,u,c){const f=this.state.strict;let d=!1,P=!1;for(;!this.match(u);){const v=this.parseStatement(null,o);if(r&&!P){if(this.isValidDirective(v)){const C=this.stmtToDirective(v);r.push(C),!d&&C.value.value==="use strict"&&(d=!0,this.setStrict(!0));continue}P=!0,this.state.strictErrors.clear()}e.push(v)}c&&c.call(this,d),f||this.setStrict(!1),this.next()}parseFor(e,r){return e.init=r,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,r,o){const u=this.match(52);return this.next(),u?o>-1&&this.unexpected(o):e.await=o>-1,r.type==="VariableDeclaration"&&r.declarations[0].init!=null&&(!u||this.state.strict||r.kind!=="var"||r.declarations[0].id.type!=="Identifier")?this.raise(r.start,E.ForInOfLoopInitializer,u?"for-in":"for-of"):r.type==="AssignmentPattern"&&this.raise(r.start,E.InvalidLhs,"for-loop"),e.left=r,e.right=u?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,u?"ForInStatement":"ForOfStatement")}parseVar(e,r,o){const u=e.declarations=[],c=this.hasPlugin("typescript");for(e.kind=o;;){const f=this.startNode();if(this.parseVarId(f,o),this.eat(27)?f.init=r?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():(o==="const"&&!(this.match(52)||this.isContextual(95))?c||this.raise(this.state.lastTokEnd,E.DeclarationMissingInitializer,"Const declarations"):f.id.type!=="Identifier"&&!(r&&(this.match(52)||this.isContextual(95)))&&this.raise(this.state.lastTokEnd,E.DeclarationMissingInitializer,"Complex binding patterns"),f.init=null),u.push(this.finishNode(f,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,r){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"variable declaration",r==="var"?ot:be,void 0,r!=="var")}parseFunction(e,r=ji,o=!1){const u=r&Jt,c=r&Ir,f=!!u&&!(r&Nr);this.initFunction(e,o),this.match(49)&&c&&this.raise(this.state.start,E.GeneratorInSingleStatementContext),e.generator=this.eat(49),u&&(e.id=this.parseFunctionId(f));const d=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Ie),this.prodParam.enter(pt(o,e.generator)),u||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,u?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),u&&!c&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=d,e}parseFunctionId(e){return e||ee(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,r){this.expect(10),this.expressionScope.enter(ri()),e.params=this.parseBindingList(11,41,!1,r),this.expressionScope.exit()}registerFunctionStatementId(e){!e.id||this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?ot:be:nr,e.id.start)}parseClass(e,r,o){this.next(),this.takeDecorators(e);const u=this.state.strict;return this.state.strict=!0,this.parseClassId(e,r,o),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,u),this.finishNode(e,r?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(27)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,r){this.classScope.enter();const o={hadConstructor:!1,hadSuperClass:e};let u=[];const c=this.startNode();if(c.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(u.length>0)throw this.raise(this.state.lastTokEnd,E.DecoratorSemicolon);continue}if(this.match(24)){u.push(this.parseDecorator());continue}const f=this.startNode();u.length&&(f.decorators=u,this.resetStartLocationFromNode(f,u[0]),u=[]),this.parseClassMember(c,f,o),f.kind==="constructor"&&f.decorators&&f.decorators.length>0&&this.raise(f.start,E.DecoratorConstructor)}}),this.state.strict=r,this.next(),u.length)throw this.raise(this.state.start,E.TrailingDecorator);return this.classScope.exit(),this.finishNode(c,"ClassBody")}parseClassMemberFromModifier(e,r){const o=this.parseIdentifier(!0);if(this.isClassMethod()){const u=r;return u.kind="method",u.computed=!1,u.key=o,u.static=!1,this.pushClassMethod(e,u,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const u=r;return u.computed=!1,u.key=o,u.static=!1,e.body.push(this.parseClassProperty(u)),!0}return this.resetPreviousNodeTrailingComments(o),!1}parseClassMember(e,r,o){const u=this.isContextual(98);if(u){if(this.parseClassMemberFromModifier(e,r))return;if(this.eat(5)){this.parseClassStaticBlock(e,r);return}}this.parseClassMemberWithIsStatic(e,r,o,u)}parseClassMemberWithIsStatic(e,r,o,u){const c=r,f=r,d=r,P=r,v=c,C=c;if(r.static=u,this.parsePropertyNamePrefixOperator(r),this.eat(49)){v.kind="method";const ne=this.match(128);if(this.parseClassElementName(v),ne){this.pushClassPrivateMethod(e,f,!0,!1);return}this.isNonstaticConstructor(c)&&this.raise(c.key.start,E.ConstructorIsGenerator),this.pushClassMethod(e,c,!0,!1,!1,!1);return}const Y=ee(this.state.type)&&!this.state.containsEsc,X=this.match(128),H=this.parseClassElementName(r),oe=this.state.start;if(this.parsePostMemberNameModifiers(C),this.isClassMethod()){if(v.kind="method",X){this.pushClassPrivateMethod(e,f,!1,!1);return}const ne=this.isNonstaticConstructor(c);let ce=!1;ne&&(c.kind="constructor",o.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(H.start,E.DuplicateConstructor),ne&&this.hasPlugin("typescript")&&r.override&&this.raise(H.start,E.OverrideOnConstructor),o.hadConstructor=!0,ce=o.hadSuperClass),this.pushClassMethod(e,c,!1,!1,ne,ce)}else if(this.isClassProperty())X?this.pushClassPrivateProperty(e,P):this.pushClassProperty(e,d);else if(Y&&H.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(H);const ne=this.eat(49);C.optional&&this.unexpected(oe),v.kind="method";const ce=this.match(128);this.parseClassElementName(v),this.parsePostMemberNameModifiers(C),ce?this.pushClassPrivateMethod(e,f,ne,!0):(this.isNonstaticConstructor(c)&&this.raise(c.key.start,E.ConstructorIsAsync),this.pushClassMethod(e,c,ne,!0,!1,!1))}else if(Y&&(H.name==="get"||H.name==="set")&&!(this.match(49)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(H),v.kind=H.name;const ne=this.match(128);this.parseClassElementName(c),ne?this.pushClassPrivateMethod(e,f,!1,!1):(this.isNonstaticConstructor(c)&&this.raise(c.key.start,E.ConstructorIsAccessor),this.pushClassMethod(e,c,!1,!1,!1,!1)),this.checkGetterSetterParams(c)}else this.isLineTerminator()?X?this.pushClassPrivateProperty(e,P):this.pushClassProperty(e,d):this.unexpected()}parseClassElementName(e){const{type:r,value:o,start:u}=this.state;if((r===122||r===123)&&e.static&&o==="prototype"&&this.raise(u,E.StaticPrototype),r===128){o==="constructor"&&this.raise(u,E.ConstructorClassPrivateField);const c=this.parsePrivateName();return e.key=c,c}return this.parsePropertyName(e)}parseClassStaticBlock(e,r){var o;this.scope.enter(je|tr|rt);const u=this.state.labels;this.state.labels=[],this.prodParam.enter(Je);const c=r.body=[];this.parseBlockOrModuleBlockBody(c,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=u,e.body.push(this.finishNode(r,"StaticBlock")),(o=r.decorators)!=null&&o.length&&this.raise(r.start,E.DecoratorStaticBlock)}pushClassProperty(e,r){!r.computed&&(r.key.name==="constructor"||r.key.value==="constructor")&&this.raise(r.key.start,E.ConstructorClassField),e.body.push(this.parseClassProperty(r))}pushClassPrivateProperty(e,r){const o=this.parseClassPrivateProperty(r);e.body.push(o),this.classScope.declarePrivateName(this.getPrivateNameSV(o.key),ur,o.key.start)}pushClassMethod(e,r,o,u,c,f){e.body.push(this.parseMethod(r,o,u,c,f,"ClassMethod",!0))}pushClassPrivateMethod(e,r,o,u){const c=this.parseMethod(r,o,u,!1,!1,"ClassPrivateMethod",!0);e.body.push(c);const f=c.kind==="get"?c.static?Yr:Jr:c.kind==="set"?c.static?Xr:Wr:ur;this.declareClassPrivateMethodInScope(c,f)}declareClassPrivateMethodInScope(e,r){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),r,e.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(je|rt),this.expressionScope.enter(dr()),this.prodParam.enter(Je),e.value=this.eat(27)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,r,o,u=sr){ee(this.state.type)?(e.id=this.parseIdentifier(),r&&this.checkLVal(e.id,"class name",u)):o||!r?e.id=null:this.unexpected(null,E.MissingClassName)}parseClassSuper(e){e.superClass=this.eat(75)?this.parseExprSubscripts():null}parseExport(e){const r=this.maybeParseExportDefaultSpecifier(e),o=!r||this.eat(12),u=o&&this.eatExportStar(e),c=u&&this.maybeParseExportNamespaceSpecifier(e),f=o&&(!c||this.eat(12)),d=r||u;if(u&&!c)return r&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");const P=this.maybeParseExportNamedSpecifiers(e);if(r&&o&&!u&&!P||c&&f&&!P)throw this.unexpected(null,5);let v;if(d||P?(v=!1,this.parseExportFrom(e,d)):v=this.maybeParseExportDeclaration(e),d||P||v)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(59))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(e){return this.eat(49)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const r=this.startNode();return r.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(87)){e.specifiers||(e.specifiers=[]);const r=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),r.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);const r=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(r)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0):!1}isAsyncFunction(){if(!this.isContextual(89))return!1;const e=this.nextTokenStart();return!n.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode(),r=this.isAsyncFunction();if(this.match(62)||r)return this.next(),r&&this.next(),this.parseFunction(e,Jt|Nr,r);if(this.match(74))return this.parseClass(e,!0,!0);if(this.match(24))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,E.DecoratorBeforeExport),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(69)||this.match(68)||this.isLet())throw this.raise(this.state.start,E.UnsupportedDefaultExport);{const o=this.parseMaybeAssignAllowIn();return this.semicolon(),o}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){const{type:e}=this.state;if(ee(e)){if(e===89&&!this.state.containsEsc||e===93)return!1;if((e===120||e===119)&&!this.state.containsEsc){const{type:u}=this.lookahead();if(ee(u)&&u!==91||u===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(59))return!1;const r=this.nextTokenStart(),o=this.isUnparsedContextual(r,"from");if(this.input.charCodeAt(r)===44||ee(this.state.type)&&o)return!0;if(this.match(59)&&o){const u=this.input.charCodeAt(this.nextTokenStartSince(r+4));return u===34||u===39}return!1}parseExportFrom(e,r){if(this.eatContextual(91)){e.source=this.parseImportSource(),this.checkExport(e);const o=this.maybeParseImportAssertions();o&&(e.assertions=o)}else r&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(e===24&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators")))if(this.getPluginOption("decorators","decoratorsBeforeExport"))this.unexpected(this.state.start,E.DecoratorBeforeExport);else return!0;return e===68||e===69||e===62||e===74||this.isLet()||this.isAsyncFunction()}checkExport(e,r,o,u){if(r){if(o){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var c;const d=e.declaration;d.type==="Identifier"&&d.name==="from"&&d.end-d.start==4&&!((c=d.extra)!=null&&c.parenthesized)&&this.raise(d.start,E.ExportDefaultFromAsIdentifier)}}else if(e.specifiers&&e.specifiers.length)for(const d of e.specifiers){const{exported:P}=d,v=P.type==="Identifier"?P.name:P.value;if(this.checkDuplicateExports(d,v),!u&&d.local){const{local:C}=d;C.type!=="Identifier"?this.raise(d.start,E.ExportBindingIsString,C.value,v):(this.checkReservedWord(C.name,C.start,!0,!1),this.scope.checkLocalExport(C))}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const d=e.declaration.id;if(!d)throw new Error("Assertion failure");this.checkDuplicateExports(e,d.name)}else if(e.declaration.type==="VariableDeclaration")for(const d of e.declaration.declarations)this.checkDeclaration(d.id)}}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(e.start,E.UnsupportedDecoratorExport)}checkDeclaration(e){if(e.type==="Identifier")this.checkDuplicateExports(e,e.name);else if(e.type==="ObjectPattern")for(const r of e.properties)this.checkDeclaration(r);else if(e.type==="ArrayPattern")for(const r of e.elements)r&&this.checkDeclaration(r);else e.type==="ObjectProperty"?this.checkDeclaration(e.value):e.type==="RestElement"?this.checkDeclaration(e.argument):e.type==="AssignmentPattern"&&this.checkDeclaration(e.left)}checkDuplicateExports(e,r){this.exportedIdentifiers.has(r)&&this.raise(e.start,r==="default"?E.DuplicateDefaultExport:E.DuplicateExport,r),this.exportedIdentifiers.add(r)}parseExportSpecifiers(e){const r=[];let o=!0;for(this.expect(5);!this.eat(8);){if(o)o=!1;else if(this.expect(12),this.eat(8))break;const u=this.isContextual(120),c=this.match(123),f=this.startNode();f.local=this.parseModuleExportName(),r.push(this.parseExportSpecifier(f,c,e,u))}return r}parseExportSpecifier(e,r,o,u){return this.eatContextual(87)?e.exported=this.parseModuleExportName():r?e.exported=ui(e.local):e.exported||(e.exported=xe(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(123)){const e=this.parseStringLiteral(this.state.value),r=e.value.match(Mi);return r&&this.raise(e.start,E.ModuleExportNameHasLoneSurrogate,r[0].charCodeAt(0).toString(16)),e}return this.parseIdentifier(!0)}parseImport(e){if(e.specifiers=[],!this.match(123)){const u=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),c=u&&this.maybeParseStarImportSpecifier(e);u&&!c&&this.parseNamedImportSpecifiers(e),this.expectContextual(91)}e.source=this.parseImportSource();const r=this.maybeParseImportAssertions();if(r)e.assertions=r;else{const o=this.maybeParseModuleAttributes();o&&(e.attributes=o)}return this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(123)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return ee(this.state.type)}parseImportSpecifierLocal(e,r,o,u){r.local=this.parseIdentifier(),this.checkLVal(r.local,u,be),e.specifiers.push(this.finishNode(r,o))}parseAssertEntries(){const e=[],r=new Set;do{if(this.match(8))break;const o=this.startNode(),u=this.state.value;if(r.has(u)&&this.raise(this.state.start,E.ModuleAttributesWithDuplicateKeys,u),r.add(u),this.match(123)?o.key=this.parseStringLiteral(u):o.key=this.parseIdentifier(!0),this.expect(14),!this.match(123))throw this.unexpected(this.state.start,E.ModuleAttributeInvalidValue);o.value=this.parseStringLiteral(this.state.value),this.finishNode(o,"ImportAttribute"),e.push(o)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(this.match(70)&&!this.hasPrecedingLineBreak())this.expectPlugin("moduleAttributes"),this.next();else return this.hasPlugin("moduleAttributes")?[]:null;const e=[],r=new Set;do{const o=this.startNode();if(o.key=this.parseIdentifier(!0),o.key.name!=="type"&&this.raise(o.key.start,E.ModuleAttributeDifferentFromType,o.key.name),r.has(o.key.name)&&this.raise(o.key.start,E.ModuleAttributesWithDuplicateKeys,o.key.name),r.add(o.key.name),this.expect(14),!this.match(123))throw this.unexpected(this.state.start,E.ModuleAttributeInvalidValue);o.value=this.parseStringLiteral(this.state.value),this.finishNode(o,"ImportAttribute"),e.push(o)}while(this.eat(12));return e}maybeParseImportAssertions(){if(this.isContextual(88)&&!this.hasPrecedingLineBreak())this.expectPlugin("importAssertions"),this.next();else return this.hasPlugin("importAssertions")?[]:null;this.eat(5);const e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return this.shouldParseDefaultImport(e)?(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier"),!0):!1}maybeParseStarImportSpecifier(e){if(this.match(49)){const r=this.startNode();return this.next(),this.expectContextual(87),this.parseImportSpecifierLocal(e,r,"ImportNamespaceSpecifier","import namespace specifier"),!0}return!1}parseNamedImportSpecifiers(e){let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else{if(this.eat(14))throw this.raise(this.state.start,E.DestructureNamedImport);if(this.expect(12),this.eat(8))break}const o=this.startNode(),u=this.match(123),c=this.isContextual(120);o.imported=this.parseModuleExportName();const f=this.parseImportSpecifier(o,u,e.importKind==="type"||e.importKind==="typeof",c);e.specifiers.push(f)}}parseImportSpecifier(e,r,o,u){if(this.eatContextual(87))e.local=this.parseIdentifier();else{const{imported:c}=e;if(r)throw this.raise(e.start,E.ImportBindingIsString,c.value);this.checkReservedWord(c.name,e.start,!0,!0),e.local||(e.local=xe(c))}return this.checkLVal(e.local,"import specifier",be),this.finishNode(e,"ImportSpecifier")}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class xr extends Bi{constructor(e,r){e=wi(e);super(e,r);this.options=e,this.initializeScopes(),this.plugins=Fi(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return Bt}parse(){this.enterInitialScopes();const e=this.startNode(),r=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,r),e.errors=this.state.errors,e}}function Fi(y){const e=new Map;for(const r of y){const[o,u]=Array.isArray(r)?r:[r,{}];e.has(o)||e.set(o,u||{})}return e}function Ri(y,e){var r;if(((r=e)==null?void 0:r.sourceType)==="unambiguous"){e=Object.assign({},e);try{e.sourceType="module";const o=Ze(e,y),u=o.parse();if(o.sawUnambiguousESM)return u;if(o.ambiguousScriptDifferentAst)try{return e.sourceType="script",Ze(e,y).parse()}catch(c){}else u.program.sourceType="script";return u}catch(o){try{return e.sourceType="script",Ze(e,y).parse()}catch(u){}throw o}}else return Ze(e,y).parse()}function Ki(y,e){const r=Ze(e,y);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function Ui(y){const e={};for(const r of Object.keys(y))e[r]=Re(y[r]);return e}const Vi=Ui(Ce);function Ze(y,e){let r=xr;return y!=null&&y.plugins&&(Oi(y.plugins),r=Yi(y.plugins)),new r(y,e)}const Or={};function Yi(y){const e=Ci.filter(u=>de(y,u)),r=e.join("/");let o=Or[r];if(!o){o=xr;for(const u of e)o=gr[u](o);Or[r]=o}return o}t.Qc=Ri,h=Ki,h=Vi},"./node_modules/@babel/types/lib/asserts/assertNode.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/validators/isNode.js");function l(b){if(!(0,n.default)(b)){var m;const g=(m=b==null?void 0:b.type)!=null?m:JSON.stringify(b);throw new TypeError(`Not a valid node of type "${g}"`)}}},"./node_modules/@babel/types/lib/asserts/generated/index.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertAnyTypeAnnotation=Ie,t.assertArgumentPlaceholder=pi,t.assertArrayExpression=b,t.assertArrayPattern=Ge,t.assertArrayTypeAnnotation=Ot,t.assertArrowFunctionExpression=bt,t.assertAssignmentExpression=m,t.assertAssignmentPattern=Tt,t.assertAwaitExpression=_r,t.assertBigIntLiteral=Gt,t.assertBinary=Wi,t.assertBinaryExpression=g,t.assertBindExpression=Vt,t.assertBlock=V,t.assertBlockParent=D,t.assertBlockStatement=N,t.assertBooleanLiteral=ye,t.assertBooleanLiteralTypeAnnotation=rt,t.assertBooleanTypeAnnotation=Zt,t.assertBreakStatement=I,t.assertCallExpression=O,t.assertCatchClause=_,t.assertClass=hs,t.assertClassBody=St,t.assertClassDeclaration=Pt,t.assertClassExpression=Et,t.assertClassImplements=je,t.assertClassMethod=Ht,t.assertClassPrivateMethod=kr,t.assertClassPrivateProperty=Mr,t.assertClassProperty=jr,t.assertCompletionStatement=Xi,t.assertConditional=zi,t.assertConditionalExpression=L,t.assertContinueStatement=x,t.assertDebuggerStatement=M,t.assertDecimalLiteral=Ti,t.assertDeclaration=rs,t.assertDeclareClass=tr,t.assertDeclareExportAllDeclaration=at,t.assertDeclareExportDeclaration=ir,t.assertDeclareFunction=it,t.assertDeclareInterface=st,t.assertDeclareModule=Ne,t.assertDeclareModuleExports=Ye,t.assertDeclareOpaqueType=Xe,t.assertDeclareTypeAlias=rr,t.assertDeclareVariable=nt,t.assertDeclaredPredicate=Ct,t.assertDecorator=fi,t.assertDirective=S,t.assertDirectiveLiteral=T,t.assertDoExpression=di,t.assertDoWhileStatement=w,t.assertEmptyStatement=j,t.assertEmptyTypeAnnotation=or,t.assertEnumBody=vs,t.assertEnumBooleanBody=ei,t.assertEnumBooleanMember=lt,t.assertEnumDeclaration=Zr,t.assertEnumDefaultedMember=ri,t.assertEnumMember=Is,t.assertEnumNumberBody=cr,t.assertEnumNumberMember=fr,t.assertEnumStringBody=Kt,t.assertEnumStringMember=ti,t.assertEnumSymbolBody=pr,t.assertExistsTypeAnnotation=wt,t.assertExportAllDeclaration=gt,t.assertExportDeclaration=ms,t.assertExportDefaultDeclaration=Ae,t.assertExportDefaultSpecifier=hi,t.assertExportNamedDeclaration=Fe,t.assertExportNamespaceSpecifier=$t,t.assertExportSpecifier=At,t.assertExpression=Ji,t.assertExpressionStatement=E,t.assertExpressionWrapper=Gi,t.assertFile=G,t.assertFlow=Ss,t.assertFlowBaseAnnotation=Ps,t.assertFlowDeclaration=gs,t.assertFlowPredicate=As,t.assertFlowType=Es,t.assertFor=$i,t.assertForInStatement=se,t.assertForOfStatement=Re,t.assertForStatement=fe,t.assertForXStatement=Qi,t.assertFunction=Zi,t.assertFunctionDeclaration=Se,t.assertFunctionExpression=_e,t.assertFunctionParent=es,t.assertFunctionTypeAnnotation=Dt,t.assertFunctionTypeParam=_t,t.assertGenericTypeAnnotation=sr,t.assertIdentifier=he,t.assertIfStatement=te,t.assertImmutable=os,t.assertImport=qt,t.assertImportAttribute=mr,t.assertImportDeclaration=vt,t.assertImportDefaultSpecifier=Le,t.assertImportNamespaceSpecifier=Ke,t.assertImportSpecifier=It,t.assertIndexedAccessType=ii,t.assertInferredPredicate=be,t.assertInterfaceDeclaration=nr,t.assertInterfaceExtends=ot,t.assertInterfaceTypeAnnotation=Br,t.assertInterpreterDirective=p,t.assertIntersectionTypeAnnotation=Fr,t.assertJSX=Ns,t.assertJSXAttribute=dr,t.assertJSXClosingElement=Je,t.assertJSXClosingFragment=ui,t.assertJSXElement=hr,t.assertJSXEmptyExpression=ct,t.assertJSXExpressionContainer=yr,t.assertJSXFragment=oi,t.assertJSXIdentifier=ni,t.assertJSXMemberExpression=pt,t.assertJSXNamespacedName=ai,t.assertJSXOpeningElement=ft,t.assertJSXOpeningFragment=xe,t.assertJSXSpreadAttribute=dt,t.assertJSXSpreadChild=We,t.assertJSXText=Ut,t.assertLVal=ss,t.assertLabeledStatement=$,t.assertLiteral=as,t.assertLogicalExpression=ge,t.assertLoop=Hi,t.assertMemberExpression=K,t.assertMetaProperty=F,t.assertMethod=ls,t.assertMiscellaneous=xs,t.assertMixedTypeAnnotation=ar,t.assertModuleDeclaration=ys,t.assertModuleExpression=bi,t.assertModuleSpecifier=Ts,t.assertNewExpression=k,t.assertNoop=li,t.assertNullLiteral=Ee,t.assertNullLiteralTypeAnnotation=er,t.assertNullableTypeAnnotation=Qe,t.assertNumberLiteral=_s,t.assertNumberLiteralTypeAnnotation=Rr,t.assertNumberTypeAnnotation=Kr,t.assertNumericLiteral=ve,t.assertObjectExpression=W,t.assertObjectMember=cs,t.assertObjectMethod=Q,t.assertObjectPattern=Cr,t.assertObjectProperty=ie,t.assertObjectTypeAnnotation=Ur,t.assertObjectTypeCallProperty=ut,t.assertObjectTypeIndexer=Lt,t.assertObjectTypeInternalSlot=Vr,t.assertObjectTypeProperty=jt,t.assertObjectTypeSpreadProperty=Mt,t.assertOpaqueType=Yr,t.assertOptionalCallExpression=Lr,t.assertOptionalIndexedAccessType=si,t.assertOptionalMemberExpression=Qt,t.assertParenthesizedExpression=me,t.assertPattern=ds,t.assertPatternLike=is,t.assertPipelineBareFunction=ze,t.assertPipelinePrimaryTopicReference=Si,t.assertPipelineTopicExpression=De,t.assertPlaceholder=ci,t.assertPrivate=bs,t.assertPrivateName=Ve,t.assertProgram=q,t.assertProperty=ps,t.assertPureish=ts,t.assertQualifiedTypeIdentifier=Xr,t.assertRecordExpression=yi,t.assertRegExpLiteral=Oe,t.assertRegexLiteral=Ls,t.assertRestElement=ue,t.assertRestProperty=js,t.assertReturnStatement=re,t.assertScopable=A,t.assertSequenceExpression=le,t.assertSpreadElement=Nt,t.assertSpreadProperty=a,t.assertStandardized=zt,t.assertStatement=ae,t.assertStaticBlock=$e,t.assertStringLiteral=R,t.assertStringLiteralTypeAnnotation=Jr,t.assertStringTypeAnnotation=Wr,t.assertSuper=we,t.assertSwitchCase=U,t.assertSwitchStatement=Z,t.assertSymbolTypeAnnotation=ur,t.assertTSAnyKeyword=Ni,t.assertTSArrayType=Ir,t.assertTSAsExpression=o,t.assertTSBaseType=Ds,t.assertTSBigIntKeyword=de,t.assertTSBooleanKeyword=xi,t.assertTSCallSignatureDeclaration=z,t.assertTSConditionalType=Fi,t.assertTSConstructSignatureDeclaration=Ai,t.assertTSConstructorType=_i,t.assertTSDeclareFunction=Pi,t.assertTSDeclareMethod=gi,t.assertTSEntityName=ns,t.assertTSEnumDeclaration=c,t.assertTSEnumMember=f,t.assertTSExportAssignment=H,t.assertTSExpressionWithTypeArguments=Yi,t.assertTSExternalModuleReference=Y,t.assertTSFunctionType=vr,t.assertTSImportEqualsDeclaration=C,t.assertTSImportType=v,t.assertTSIndexSignature=Ii,t.assertTSIndexedAccessType=Vi,t.assertTSInferType=Ri,t.assertTSInterfaceBody=e,t.assertTSInterfaceDeclaration=y,t.assertTSIntersectionType=xr,t.assertTSIntrinsicKeyword=He,t.assertTSLiteralType=Or,t.assertTSMappedType=Ze,t.assertTSMethodSignature=vi,t.assertTSModuleBlock=P,t.assertTSModuleDeclaration=d,t.assertTSNamedTupleMember=ki,t.assertTSNamespaceExportDeclaration=oe,t.assertTSNeverKeyword=Sr,t.assertTSNonNullExpression=X,t.assertTSNullKeyword=Er,t.assertTSNumberKeyword=Pr,t.assertTSObjectKeyword=Oi,t.assertTSOptionalType=Mi,t.assertTSParameterProperty=Ei,t.assertTSParenthesizedType=Ki,t.assertTSPropertySignature=br,t.assertTSQualifiedName=Tr,t.assertTSRestType=Wt,t.assertTSStringKeyword=gr,t.assertTSSymbolKeyword=Ci,t.assertTSThisType=Di,t.assertTSTupleType=Nr,t.assertTSType=ws,t.assertTSTypeAliasDeclaration=r,t.assertTSTypeAnnotation=ne,t.assertTSTypeAssertion=u,t.assertTSTypeElement=Cs,t.assertTSTypeLiteral=Jt,t.assertTSTypeOperator=Ui,t.assertTSTypeParameter=ht,t.assertTSTypeParameterDeclaration=pe,t.assertTSTypeParameterInstantiation=ce,t.assertTSTypePredicate=Li,t.assertTSTypeQuery=ji,t.assertTSTypeReference=Xt,t.assertTSUndefinedKeyword=Ar,t.assertTSUnionType=Bi,t.assertTSUnknownKeyword=wi,t.assertTSVoidKeyword=Yt,t.assertTaggedTemplateExpression=Ue,t.assertTemplateElement=xt,t.assertTemplateLiteral=wr,t.assertTerminatorless=ke,t.assertThisExpression=Ce,t.assertThisTypeAnnotation=kt,t.assertThrowStatement=ee,t.assertTopicReference=Me,t.assertTryStatement=qe,t.assertTupleExpression=mi,t.assertTupleTypeAnnotation=Bt,t.assertTypeAlias=Hr,t.assertTypeAnnotation=Ft,t.assertTypeCastExpression=qr,t.assertTypeParameter=Gr,t.assertTypeParameterDeclaration=lr,t.assertTypeParameterInstantiation=Pe,t.assertTypeScript=Os,t.assertTypeofTypeAnnotation=zr,t.assertUnaryExpression=Te,t.assertUnaryLike=fs,t.assertUnionTypeAnnotation=Rt,t.assertUpdateExpression=Be,t.assertUserWhitespacable=us,t.assertV8IntrinsicIdentifier=J,t.assertVariableDeclaration=yt,t.assertVariableDeclarator=et,t.assertVariance=$r,t.assertVoidTypeAnnotation=Qr,t.assertWhile=qi,t.assertWhileStatement=mt,t.assertWithStatement=tt,t.assertYieldExpression=Dr;var n=h("./node_modules/@babel/types/lib/validators/is.js");function l(s,i,Ms){if(!(0,n.default)(s,i,Ms))throw new Error(`Expected type "${s}" with option ${JSON.stringify(Ms)}, but instead got "${i.type}".`)}function b(s,i){l("ArrayExpression",s,i)}function m(s,i){l("AssignmentExpression",s,i)}function g(s,i){l("BinaryExpression",s,i)}function p(s,i){l("InterpreterDirective",s,i)}function S(s,i){l("Directive",s,i)}function T(s,i){l("DirectiveLiteral",s,i)}function N(s,i){l("BlockStatement",s,i)}function I(s,i){l("BreakStatement",s,i)}function O(s,i){l("CallExpression",s,i)}function _(s,i){l("CatchClause",s,i)}function L(s,i){l("ConditionalExpression",s,i)}function x(s,i){l("ContinueStatement",s,i)}function M(s,i){l("DebuggerStatement",s,i)}function w(s,i){l("DoWhileStatement",s,i)}function j(s,i){l("EmptyStatement",s,i)}function E(s,i){l("ExpressionStatement",s,i)}function G(s,i){l("File",s,i)}function se(s,i){l("ForInStatement",s,i)}function fe(s,i){l("ForStatement",s,i)}function Se(s,i){l("FunctionDeclaration",s,i)}function _e(s,i){l("FunctionExpression",s,i)}function he(s,i){l("Identifier",s,i)}function te(s,i){l("IfStatement",s,i)}function $(s,i){l("LabeledStatement",s,i)}function R(s,i){l("StringLiteral",s,i)}function ve(s,i){l("NumericLiteral",s,i)}function Ee(s,i){l("NullLiteral",s,i)}function ye(s,i){l("BooleanLiteral",s,i)}function Oe(s,i){l("RegExpLiteral",s,i)}function ge(s,i){l("LogicalExpression",s,i)}function K(s,i){l("MemberExpression",s,i)}function k(s,i){l("NewExpression",s,i)}function q(s,i){l("Program",s,i)}function W(s,i){l("ObjectExpression",s,i)}function Q(s,i){l("ObjectMethod",s,i)}function ie(s,i){l("ObjectProperty",s,i)}function ue(s,i){l("RestElement",s,i)}function re(s,i){l("ReturnStatement",s,i)}function le(s,i){l("SequenceExpression",s,i)}function me(s,i){l("ParenthesizedExpression",s,i)}function U(s,i){l("SwitchCase",s,i)}function Z(s,i){l("SwitchStatement",s,i)}function Ce(s,i){l("ThisExpression",s,i)}function ee(s,i){l("ThrowStatement",s,i)}function qe(s,i){l("TryStatement",s,i)}function Te(s,i){l("UnaryExpression",s,i)}function Be(s,i){l("UpdateExpression",s,i)}function yt(s,i){l("VariableDeclaration",s,i)}function et(s,i){l("VariableDeclarator",s,i)}function mt(s,i){l("WhileStatement",s,i)}function tt(s,i){l("WithStatement",s,i)}function Tt(s,i){l("AssignmentPattern",s,i)}function Ge(s,i){l("ArrayPattern",s,i)}function bt(s,i){l("ArrowFunctionExpression",s,i)}function St(s,i){l("ClassBody",s,i)}function Et(s,i){l("ClassExpression",s,i)}function Pt(s,i){l("ClassDeclaration",s,i)}function gt(s,i){l("ExportAllDeclaration",s,i)}function Ae(s,i){l("ExportDefaultDeclaration",s,i)}function Fe(s,i){l("ExportNamedDeclaration",s,i)}function At(s,i){l("ExportSpecifier",s,i)}function Re(s,i){l("ForOfStatement",s,i)}function vt(s,i){l("ImportDeclaration",s,i)}function Le(s,i){l("ImportDefaultSpecifier",s,i)}function Ke(s,i){l("ImportNamespaceSpecifier",s,i)}function It(s,i){l("ImportSpecifier",s,i)}function F(s,i){l("MetaProperty",s,i)}function Ht(s,i){l("ClassMethod",s,i)}function Cr(s,i){l("ObjectPattern",s,i)}function Nt(s,i){l("SpreadElement",s,i)}function we(s,i){l("Super",s,i)}function Ue(s,i){l("TaggedTemplateExpression",s,i)}function xt(s,i){l("TemplateElement",s,i)}function wr(s,i){l("TemplateLiteral",s,i)}function Dr(s,i){l("YieldExpression",s,i)}function _r(s,i){l("AwaitExpression",s,i)}function qt(s,i){l("Import",s,i)}function Gt(s,i){l("BigIntLiteral",s,i)}function $t(s,i){l("ExportNamespaceSpecifier",s,i)}function Qt(s,i){l("OptionalMemberExpression",s,i)}function Lr(s,i){l("OptionalCallExpression",s,i)}function jr(s,i){l("ClassProperty",s,i)}function Mr(s,i){l("ClassPrivateProperty",s,i)}function kr(s,i){l("ClassPrivateMethod",s,i)}function Ve(s,i){l("PrivateName",s,i)}function $e(s,i){l("StaticBlock",s,i)}function Ie(s,i){l("AnyTypeAnnotation",s,i)}function Ot(s,i){l("ArrayTypeAnnotation",s,i)}function Zt(s,i){l("BooleanTypeAnnotation",s,i)}function rt(s,i){l("BooleanLiteralTypeAnnotation",s,i)}function er(s,i){l("NullLiteralTypeAnnotation",s,i)}function je(s,i){l("ClassImplements",s,i)}function tr(s,i){l("DeclareClass",s,i)}function it(s,i){l("DeclareFunction",s,i)}function st(s,i){l("DeclareInterface",s,i)}function Ne(s,i){l("DeclareModule",s,i)}function Ye(s,i){l("DeclareModuleExports",s,i)}function rr(s,i){l("DeclareTypeAlias",s,i)}function Xe(s,i){l("DeclareOpaqueType",s,i)}function nt(s,i){l("DeclareVariable",s,i)}function ir(s,i){l("DeclareExportDeclaration",s,i)}function at(s,i){l("DeclareExportAllDeclaration",s,i)}function Ct(s,i){l("DeclaredPredicate",s,i)}function wt(s,i){l("ExistsTypeAnnotation",s,i)}function Dt(s,i){l("FunctionTypeAnnotation",s,i)}function _t(s,i){l("FunctionTypeParam",s,i)}function sr(s,i){l("GenericTypeAnnotation",s,i)}function be(s,i){l("InferredPredicate",s,i)}function ot(s,i){l("InterfaceExtends",s,i)}function nr(s,i){l("InterfaceDeclaration",s,i)}function Br(s,i){l("InterfaceTypeAnnotation",s,i)}function Fr(s,i){l("IntersectionTypeAnnotation",s,i)}function ar(s,i){l("MixedTypeAnnotation",s,i)}function or(s,i){l("EmptyTypeAnnotation",s,i)}function Qe(s,i){l("NullableTypeAnnotation",s,i)}function Rr(s,i){l("NumberLiteralTypeAnnotation",s,i)}function Kr(s,i){l("NumberTypeAnnotation",s,i)}function Ur(s,i){l("ObjectTypeAnnotation",s,i)}function Vr(s,i){l("ObjectTypeInternalSlot",s,i)}function ut(s,i){l("ObjectTypeCallProperty",s,i)}function Lt(s,i){l("ObjectTypeIndexer",s,i)}function jt(s,i){l("ObjectTypeProperty",s,i)}function Mt(s,i){l("ObjectTypeSpreadProperty",s,i)}function Yr(s,i){l("OpaqueType",s,i)}function Xr(s,i){l("QualifiedTypeIdentifier",s,i)}function Jr(s,i){l("StringLiteralTypeAnnotation",s,i)}function Wr(s,i){l("StringTypeAnnotation",s,i)}function ur(s,i){l("SymbolTypeAnnotation",s,i)}function kt(s,i){l("ThisTypeAnnotation",s,i)}function Bt(s,i){l("TupleTypeAnnotation",s,i)}function zr(s,i){l("TypeofTypeAnnotation",s,i)}function Hr(s,i){l("TypeAlias",s,i)}function Ft(s,i){l("TypeAnnotation",s,i)}function qr(s,i){l("TypeCastExpression",s,i)}function Gr(s,i){l("TypeParameter",s,i)}function lr(s,i){l("TypeParameterDeclaration",s,i)}function Pe(s,i){l("TypeParameterInstantiation",s,i)}function Rt(s,i){l("UnionTypeAnnotation",s,i)}function $r(s,i){l("Variance",s,i)}function Qr(s,i){l("VoidTypeAnnotation",s,i)}function Zr(s,i){l("EnumDeclaration",s,i)}function ei(s,i){l("EnumBooleanBody",s,i)}function cr(s,i){l("EnumNumberBody",s,i)}function Kt(s,i){l("EnumStringBody",s,i)}function pr(s,i){l("EnumSymbolBody",s,i)}function lt(s,i){l("EnumBooleanMember",s,i)}function fr(s,i){l("EnumNumberMember",s,i)}function ti(s,i){l("EnumStringMember",s,i)}function ri(s,i){l("EnumDefaultedMember",s,i)}function ii(s,i){l("IndexedAccessType",s,i)}function si(s,i){l("OptionalIndexedAccessType",s,i)}function dr(s,i){l("JSXAttribute",s,i)}function Je(s,i){l("JSXClosingElement",s,i)}function hr(s,i){l("JSXElement",s,i)}function ct(s,i){l("JSXEmptyExpression",s,i)}function yr(s,i){l("JSXExpressionContainer",s,i)}function We(s,i){l("JSXSpreadChild",s,i)}function ni(s,i){l("JSXIdentifier",s,i)}function pt(s,i){l("JSXMemberExpression",s,i)}function ai(s,i){l("JSXNamespacedName",s,i)}function ft(s,i){l("JSXOpeningElement",s,i)}function dt(s,i){l("JSXSpreadAttribute",s,i)}function Ut(s,i){l("JSXText",s,i)}function oi(s,i){l("JSXFragment",s,i)}function xe(s,i){l("JSXOpeningFragment",s,i)}function ui(s,i){l("JSXClosingFragment",s,i)}function li(s,i){l("Noop",s,i)}function ci(s,i){l("Placeholder",s,i)}function J(s,i){l("V8IntrinsicIdentifier",s,i)}function pi(s,i){l("ArgumentPlaceholder",s,i)}function Vt(s,i){l("BindExpression",s,i)}function mr(s,i){l("ImportAttribute",s,i)}function fi(s,i){l("Decorator",s,i)}function di(s,i){l("DoExpression",s,i)}function hi(s,i){l("ExportDefaultSpecifier",s,i)}function yi(s,i){l("RecordExpression",s,i)}function mi(s,i){l("TupleExpression",s,i)}function Ti(s,i){l("DecimalLiteral",s,i)}function bi(s,i){l("ModuleExpression",s,i)}function Me(s,i){l("TopicReference",s,i)}function De(s,i){l("PipelineTopicExpression",s,i)}function ze(s,i){l("PipelineBareFunction",s,i)}function Si(s,i){l("PipelinePrimaryTopicReference",s,i)}function Ei(s,i){l("TSParameterProperty",s,i)}function Pi(s,i){l("TSDeclareFunction",s,i)}function gi(s,i){l("TSDeclareMethod",s,i)}function Tr(s,i){l("TSQualifiedName",s,i)}function z(s,i){l("TSCallSignatureDeclaration",s,i)}function Ai(s,i){l("TSConstructSignatureDeclaration",s,i)}function br(s,i){l("TSPropertySignature",s,i)}function vi(s,i){l("TSMethodSignature",s,i)}function Ii(s,i){l("TSIndexSignature",s,i)}function Ni(s,i){l("TSAnyKeyword",s,i)}function xi(s,i){l("TSBooleanKeyword",s,i)}function de(s,i){l("TSBigIntKeyword",s,i)}function He(s,i){l("TSIntrinsicKeyword",s,i)}function Sr(s,i){l("TSNeverKeyword",s,i)}function Er(s,i){l("TSNullKeyword",s,i)}function Pr(s,i){l("TSNumberKeyword",s,i)}function Oi(s,i){l("TSObjectKeyword",s,i)}function gr(s,i){l("TSStringKeyword",s,i)}function Ci(s,i){l("TSSymbolKeyword",s,i)}function Ar(s,i){l("TSUndefinedKeyword",s,i)}function wi(s,i){l("TSUnknownKeyword",s,i)}function Yt(s,i){l("TSVoidKeyword",s,i)}function Di(s,i){l("TSThisType",s,i)}function vr(s,i){l("TSFunctionType",s,i)}function _i(s,i){l("TSConstructorType",s,i)}function Xt(s,i){l("TSTypeReference",s,i)}function Li(s,i){l("TSTypePredicate",s,i)}function ji(s,i){l("TSTypeQuery",s,i)}function Jt(s,i){l("TSTypeLiteral",s,i)}function Ir(s,i){l("TSArrayType",s,i)}function Nr(s,i){l("TSTupleType",s,i)}function Mi(s,i){l("TSOptionalType",s,i)}function Wt(s,i){l("TSRestType",s,i)}function ki(s,i){l("TSNamedTupleMember",s,i)}function Bi(s,i){l("TSUnionType",s,i)}function xr(s,i){l("TSIntersectionType",s,i)}function Fi(s,i){l("TSConditionalType",s,i)}function Ri(s,i){l("TSInferType",s,i)}function Ki(s,i){l("TSParenthesizedType",s,i)}function Ui(s,i){l("TSTypeOperator",s,i)}function Vi(s,i){l("TSIndexedAccessType",s,i)}function Ze(s,i){l("TSMappedType",s,i)}function Or(s,i){l("TSLiteralType",s,i)}function Yi(s,i){l("TSExpressionWithTypeArguments",s,i)}function y(s,i){l("TSInterfaceDeclaration",s,i)}function e(s,i){l("TSInterfaceBody",s,i)}function r(s,i){l("TSTypeAliasDeclaration",s,i)}function o(s,i){l("TSAsExpression",s,i)}function u(s,i){l("TSTypeAssertion",s,i)}function c(s,i){l("TSEnumDeclaration",s,i)}function f(s,i){l("TSEnumMember",s,i)}function d(s,i){l("TSModuleDeclaration",s,i)}function P(s,i){l("TSModuleBlock",s,i)}function v(s,i){l("TSImportType",s,i)}function C(s,i){l("TSImportEqualsDeclaration",s,i)}function Y(s,i){l("TSExternalModuleReference",s,i)}function X(s,i){l("TSNonNullExpression",s,i)}function H(s,i){l("TSExportAssignment",s,i)}function oe(s,i){l("TSNamespaceExportDeclaration",s,i)}function ne(s,i){l("TSTypeAnnotation",s,i)}function ce(s,i){l("TSTypeParameterInstantiation",s,i)}function pe(s,i){l("TSTypeParameterDeclaration",s,i)}function ht(s,i){l("TSTypeParameter",s,i)}function zt(s,i){l("Standardized",s,i)}function Ji(s,i){l("Expression",s,i)}function Wi(s,i){l("Binary",s,i)}function A(s,i){l("Scopable",s,i)}function D(s,i){l("BlockParent",s,i)}function V(s,i){l("Block",s,i)}function ae(s,i){l("Statement",s,i)}function ke(s,i){l("Terminatorless",s,i)}function Xi(s,i){l("CompletionStatement",s,i)}function zi(s,i){l("Conditional",s,i)}function Hi(s,i){l("Loop",s,i)}function qi(s,i){l("While",s,i)}function Gi(s,i){l("ExpressionWrapper",s,i)}function $i(s,i){l("For",s,i)}function Qi(s,i){l("ForXStatement",s,i)}function Zi(s,i){l("Function",s,i)}function es(s,i){l("FunctionParent",s,i)}function ts(s,i){l("Pureish",s,i)}function rs(s,i){l("Declaration",s,i)}function is(s,i){l("PatternLike",s,i)}function ss(s,i){l("LVal",s,i)}function ns(s,i){l("TSEntityName",s,i)}function as(s,i){l("Literal",s,i)}function os(s,i){l("Immutable",s,i)}function us(s,i){l("UserWhitespacable",s,i)}function ls(s,i){l("Method",s,i)}function cs(s,i){l("ObjectMember",s,i)}function ps(s,i){l("Property",s,i)}function fs(s,i){l("UnaryLike",s,i)}function ds(s,i){l("Pattern",s,i)}function hs(s,i){l("Class",s,i)}function ys(s,i){l("ModuleDeclaration",s,i)}function ms(s,i){l("ExportDeclaration",s,i)}function Ts(s,i){l("ModuleSpecifier",s,i)}function bs(s,i){l("Private",s,i)}function Ss(s,i){l("Flow",s,i)}function Es(s,i){l("FlowType",s,i)}function Ps(s,i){l("FlowBaseAnnotation",s,i)}function gs(s,i){l("FlowDeclaration",s,i)}function As(s,i){l("FlowPredicate",s,i)}function vs(s,i){l("EnumBody",s,i)}function Is(s,i){l("EnumMember",s,i)}function Ns(s,i){l("JSX",s,i)}function xs(s,i){l("Miscellaneous",s,i)}function Os(s,i){l("TypeScript",s,i)}function Cs(s,i){l("TSTypeElement",s,i)}function ws(s,i){l("TSType",s,i)}function Ds(s,i){l("TSBaseType",s,i)}function _s(s,i){console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),l("NumberLiteral",s,i)}function Ls(s,i){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),l("RegexLiteral",s,i)}function js(s,i){console.trace("The node type RestProperty has been renamed to RestElement"),l("RestProperty",s,i)}function a(s,i){console.trace("The node type SpreadProperty has been renamed to SpreadElement"),l("SpreadProperty",s,i)}},"./node_modules/@babel/types/lib/ast-types/generated/index.js":()=>{},"./node_modules/@babel/types/lib/builders/builder.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/definitions/index.js"),l=h("./node_modules/@babel/types/lib/validators/validate.js");function b(){const m=this,g=n.BUILDER_KEYS[m],p=arguments.length;if(p>g.length)throw new Error(`${m}: Too many arguments passed. Received ${p} but can receive no more than ${g.length}`);const S={type:m};for(let T=0;T<g.length;++T){const N=g[T],I=n.NODE_FIELDS[m][N];let O;T<p&&(O=arguments[T]),O===void 0&&(O=Array.isArray(I.default)?[]:I.default),S[N]=O}for(const T in S)(0,l.default)(S,T,S[T]);return S}},"./node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/builders/generated/index.js"),l=h("./node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js");function b(m){const g=(0,l.default)(m);return g.length===1?g[0]:(0,n.unionTypeAnnotation)(g)}},"./node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h("./node_modules/@babel/types/lib/builders/generated/index.js"),l=b;t.default=l;function b(m){switch(m){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+m)}},"./node_modules/@babel/types/lib/builders/generated/index.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.anyTypeAnnotation=$e,t.argumentPlaceholder=J,t.arrayExpression=l,t.arrayPattern=Tt,t.arrayTypeAnnotation=Ie,t.arrowFunctionExpression=Ge,t.assignmentExpression=b,t.assignmentPattern=tt,t.awaitExpression=Dr,t.bigIntLiteral=qt,t.binaryExpression=m,t.bindExpression=pi,t.blockStatement=T,t.booleanLiteral=Ee,t.booleanLiteralTypeAnnotation=Zt,t.booleanTypeAnnotation=Ot,t.breakStatement=N,t.callExpression=I,t.catchClause=O,t.classBody=bt,t.classDeclaration=Et,t.classExpression=St,t.classImplements=er,t.classMethod=F,t.classPrivateMethod=Mr,t.classPrivateProperty=jr,t.classProperty=Lr,t.conditionalExpression=_,t.continueStatement=L,t.debuggerStatement=x,t.decimalLiteral=mi,t.declareClass=je,t.declareExportAllDeclaration=ir,t.declareExportDeclaration=nt,t.declareFunction=tr,t.declareInterface=it,t.declareModule=st,t.declareModuleExports=Ne,t.declareOpaqueType=rr,t.declareTypeAlias=Ye,t.declareVariable=Xe,t.declaredPredicate=at,t.decorator=mr,t.directive=p,t.directiveLiteral=S,t.doExpression=fi,t.doWhileStatement=M,t.emptyStatement=w,t.emptyTypeAnnotation=ar,t.enumBooleanBody=Zr,t.enumBooleanMember=pr,t.enumDeclaration=Qr,t.enumDefaultedMember=ti,t.enumNumberBody=ei,t.enumNumberMember=lt,t.enumStringBody=cr,t.enumStringMember=fr,t.enumSymbolBody=Kt,t.existsTypeAnnotation=Ct,t.exportAllDeclaration=Pt,t.exportDefaultDeclaration=gt,t.exportDefaultSpecifier=di,t.exportNamedDeclaration=Ae,t.exportNamespaceSpecifier=Gt,t.exportSpecifier=Fe,t.expressionStatement=j,t.file=E,t.forInStatement=G,t.forOfStatement=At,t.forStatement=se,t.functionDeclaration=fe,t.functionExpression=Se,t.functionTypeAnnotation=wt,t.functionTypeParam=Dt,t.genericTypeAnnotation=_t,t.identifier=_e,t.ifStatement=he,t.import=_r,t.importAttribute=Vt,t.importDeclaration=Re,t.importDefaultSpecifier=vt,t.importNamespaceSpecifier=Le,t.importSpecifier=Ke,t.indexedAccessType=ri,t.inferredPredicate=sr,t.interfaceDeclaration=ot,t.interfaceExtends=be,t.interfaceTypeAnnotation=nr,t.interpreterDirective=g,t.intersectionTypeAnnotation=Br,t.jSXAttribute=t.jsxAttribute=si,t.jSXClosingElement=t.jsxClosingElement=dr,t.jSXClosingFragment=t.jsxClosingFragment=xe,t.jSXElement=t.jsxElement=Je,t.jSXEmptyExpression=t.jsxEmptyExpression=hr,t.jSXExpressionContainer=t.jsxExpressionContainer=ct,t.jSXFragment=t.jsxFragment=Ut,t.jSXIdentifier=t.jsxIdentifier=We,t.jSXMemberExpression=t.jsxMemberExpression=ni,t.jSXNamespacedName=t.jsxNamespacedName=pt,t.jSXOpeningElement=t.jsxOpeningElement=ai,t.jSXOpeningFragment=t.jsxOpeningFragment=oi,t.jSXSpreadAttribute=t.jsxSpreadAttribute=ft,t.jSXSpreadChild=t.jsxSpreadChild=yr,t.jSXText=t.jsxText=dt,t.labeledStatement=te,t.logicalExpression=Oe,t.memberExpression=ge,t.metaProperty=It,t.mixedTypeAnnotation=Fr,t.moduleExpression=Ti,t.newExpression=K,t.noop=ui,t.nullLiteral=ve,t.nullLiteralTypeAnnotation=rt,t.nullableTypeAnnotation=or,t.numberLiteral=ht,t.numberLiteralTypeAnnotation=Qe,t.numberTypeAnnotation=Rr,t.numericLiteral=R,t.objectExpression=q,t.objectMethod=W,t.objectPattern=Ht,t.objectProperty=Q,t.objectTypeAnnotation=Kr,t.objectTypeCallProperty=Vr,t.objectTypeIndexer=ut,t.objectTypeInternalSlot=Ur,t.objectTypeProperty=Lt,t.objectTypeSpreadProperty=jt,t.opaqueType=Mt,t.optionalCallExpression=Qt,t.optionalIndexedAccessType=ii,t.optionalMemberExpression=$t,t.parenthesizedExpression=le,t.pipelineBareFunction=De,t.pipelinePrimaryTopicReference=ze,t.pipelineTopicExpression=Me,t.placeholder=li,t.privateName=kr,t.program=k,t.qualifiedTypeIdentifier=Yr,t.recordExpression=hi,t.regExpLiteral=ye,t.regexLiteral=zt,t.restElement=ie,t.restProperty=Ji,t.returnStatement=ue,t.sequenceExpression=re,t.spreadElement=Cr,t.spreadProperty=Wi,t.staticBlock=Ve,t.stringLiteral=$,t.stringLiteralTypeAnnotation=Xr,t.stringTypeAnnotation=Jr,t.super=Nt,t.switchCase=me,t.switchStatement=U,t.symbolTypeAnnotation=Wr,t.taggedTemplateExpression=we,t.templateElement=Ue,t.templateLiteral=xt,t.thisExpression=Z,t.thisTypeAnnotation=ur,t.throwStatement=Ce,t.topicReference=bi,t.tryStatement=ee,t.tSAnyKeyword=t.tsAnyKeyword=Ii,t.tSArrayType=t.tsArrayType=Jt,t.tSAsExpression=t.tsAsExpression=r,t.tSBigIntKeyword=t.tsBigIntKeyword=xi,t.tSBooleanKeyword=t.tsBooleanKeyword=Ni,t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=Tr,t.tSConditionalType=t.tsConditionalType=xr,t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=z,t.tSConstructorType=t.tsConstructorType=vr,t.tSDeclareFunction=t.tsDeclareFunction=Ei,t.tSDeclareMethod=t.tsDeclareMethod=Pi,t.tSEnumDeclaration=t.tsEnumDeclaration=u,t.tSEnumMember=t.tsEnumMember=c,t.tSExportAssignment=t.tsExportAssignment=X,t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=Or,t.tSExternalModuleReference=t.tsExternalModuleReference=C,t.tSFunctionType=t.tsFunctionType=Di,t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=v,t.tSImportType=t.tsImportType=P,t.tSIndexSignature=t.tsIndexSignature=vi,t.tSIndexedAccessType=t.tsIndexedAccessType=Ui,t.tSInferType=t.tsInferType=Fi,t.tSInterfaceBody=t.tsInterfaceBody=y,t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=Yi,t.tSIntersectionType=t.tsIntersectionType=Bi,t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=de,t.tSLiteralType=t.tsLiteralType=Ze,t.tSMappedType=t.tsMappedType=Vi,t.tSMethodSignature=t.tsMethodSignature=br,t.tSModuleBlock=t.tsModuleBlock=d,t.tSModuleDeclaration=t.tsModuleDeclaration=f,t.tSNamedTupleMember=t.tsNamedTupleMember=Wt,t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=H,t.tSNeverKeyword=t.tsNeverKeyword=He,t.tSNonNullExpression=t.tsNonNullExpression=Y,t.tSNullKeyword=t.tsNullKeyword=Sr,t.tSNumberKeyword=t.tsNumberKeyword=Er,t.tSObjectKeyword=t.tsObjectKeyword=Pr,t.tSOptionalType=t.tsOptionalType=Nr,t.tSParameterProperty=t.tsParameterProperty=Si,t.tSParenthesizedType=t.tsParenthesizedType=Ri,t.tSPropertySignature=t.tsPropertySignature=Ai,t.tSQualifiedName=t.tsQualifiedName=gi,t.tSRestType=t.tsRestType=Mi,t.tSStringKeyword=t.tsStringKeyword=Oi,t.tSSymbolKeyword=t.tsSymbolKeyword=gr,t.tSThisType=t.tsThisType=Yt,t.tSTupleType=t.tsTupleType=Ir,t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=e,t.tSTypeAnnotation=t.tsTypeAnnotation=oe,t.tSTypeAssertion=t.tsTypeAssertion=o,t.tSTypeLiteral=t.tsTypeLiteral=ji,t.tSTypeOperator=t.tsTypeOperator=Ki,t.tSTypeParameter=t.tsTypeParameter=pe,t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=ce,t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=ne,t.tSTypePredicate=t.tsTypePredicate=Xt,t.tSTypeQuery=t.tsTypeQuery=Li,t.tSTypeReference=t.tsTypeReference=_i,t.tSUndefinedKeyword=t.tsUndefinedKeyword=Ci,t.tSUnionType=t.tsUnionType=ki,t.tSUnknownKeyword=t.tsUnknownKeyword=Ar,t.tSVoidKeyword=t.tsVoidKeyword=wi,t.tupleExpression=yi,t.tupleTypeAnnotation=kt,t.typeAlias=zr,t.typeAnnotation=Hr,t.typeCastExpression=Ft,t.typeParameter=qr,t.typeParameterDeclaration=Gr,t.typeParameterInstantiation=lr,t.typeofTypeAnnotation=Bt,t.unaryExpression=qe,t.unionTypeAnnotation=Pe,t.updateExpression=Te,t.v8IntrinsicIdentifier=ci,t.variableDeclaration=Be,t.variableDeclarator=yt,t.variance=Rt,t.voidTypeAnnotation=$r,t.whileStatement=et,t.withStatement=mt,t.yieldExpression=wr;var n=h("./node_modules/@babel/types/lib/builders/builder.js");function l(A){return n.default.apply("ArrayExpression",arguments)}function b(A,D,V){return n.default.apply("AssignmentExpression",arguments)}function m(A,D,V){return n.default.apply("BinaryExpression",arguments)}function g(A){return n.default.apply("InterpreterDirective",arguments)}function p(A){return n.default.apply("Directive",arguments)}function S(A){return n.default.apply("DirectiveLiteral",arguments)}function T(A,D){return n.default.apply("BlockStatement",arguments)}function N(A){return n.default.apply("BreakStatement",arguments)}function I(A,D){return n.default.apply("CallExpression",arguments)}function O(A,D){return n.default.apply("CatchClause",arguments)}function _(A,D,V){return n.default.apply("ConditionalExpression",arguments)}function L(A){return n.default.apply("ContinueStatement",arguments)}function x(){return n.default.apply("DebuggerStatement",arguments)}function M(A,D){return n.default.apply("DoWhileStatement",arguments)}function w(){return n.default.apply("EmptyStatement",arguments)}function j(A){return n.default.apply("ExpressionStatement",arguments)}function E(A,D,V){return n.default.apply("File",arguments)}function G(A,D,V){return n.default.apply("ForInStatement",arguments)}function se(A,D,V,ae){return n.default.apply("ForStatement",arguments)}function fe(A,D,V,ae,ke){return n.default.apply("FunctionDeclaration",arguments)}function Se(A,D,V,ae,ke){return n.default.apply("FunctionExpression",arguments)}function _e(A){return n.default.apply("Identifier",arguments)}function he(A,D,V){return n.default.apply("IfStatement",arguments)}function te(A,D){return n.default.apply("LabeledStatement",arguments)}function $(A){return n.default.apply("StringLiteral",arguments)}function R(A){return n.default.apply("NumericLiteral",arguments)}function ve(){return n.default.apply("NullLiteral",arguments)}function Ee(A){return n.default.apply("BooleanLiteral",arguments)}function ye(A,D){return n.default.apply("RegExpLiteral",arguments)}function Oe(A,D,V){return n.default.apply("LogicalExpression",arguments)}function ge(A,D,V,ae){return n.default.apply("MemberExpression",arguments)}function K(A,D){return n.default.apply("NewExpression",arguments)}function k(A,D,V,ae){return n.default.apply("Program",arguments)}function q(A){return n.default.apply("ObjectExpression",arguments)}function W(A,D,V,ae,ke,Xi,zi){return n.default.apply("ObjectMethod",arguments)}function Q(A,D,V,ae,ke){return n.default.apply("ObjectProperty",arguments)}function ie(A){return n.default.apply("RestElement",arguments)}function ue(A){return n.default.apply("ReturnStatement",arguments)}function re(A){return n.default.apply("SequenceExpression",arguments)}function le(A){return n.default.apply("ParenthesizedExpression",arguments)}function me(A,D){return n.default.apply("SwitchCase",arguments)}function U(A,D){return n.default.apply("SwitchStatement",arguments)}function Z(){return n.default.apply("ThisExpression",arguments)}function Ce(A){return n.default.apply("ThrowStatement",arguments)}function ee(A,D,V){return n.default.apply("TryStatement",arguments)}function qe(A,D,V){return n.default.apply("UnaryExpression",arguments)}function Te(A,D,V){return n.default.apply("UpdateExpression",arguments)}function Be(A,D){return n.default.apply("VariableDeclaration",arguments)}function yt(A,D){return n.default.apply("VariableDeclarator",arguments)}function et(A,D){return n.default.apply("WhileStatement",arguments)}function mt(A,D){return n.default.apply("WithStatement",arguments)}function tt(A,D){return n.default.apply("AssignmentPattern",arguments)}function Tt(A){return n.default.apply("ArrayPattern",arguments)}function Ge(A,D,V){return n.default.apply("ArrowFunctionExpression",arguments)}function bt(A){return n.default.apply("ClassBody",arguments)}function St(A,D,V,ae){return n.default.apply("ClassExpression",arguments)}function Et(A,D,V,ae){return n.default.apply("ClassDeclaration",arguments)}function Pt(A){return n.default.apply("ExportAllDeclaration",arguments)}function gt(A){return n.default.apply("ExportDefaultDeclaration",arguments)}function Ae(A,D,V){return n.default.apply("ExportNamedDeclaration",arguments)}function Fe(A,D){return n.default.apply("ExportSpecifier",arguments)}function At(A,D,V,ae){return n.default.apply("ForOfStatement",arguments)}function Re(A,D){return n.default.apply("ImportDeclaration",arguments)}function vt(A){return n.default.apply("ImportDefaultSpecifier",arguments)}function Le(A){return n.default.apply("ImportNamespaceSpecifier",arguments)}function Ke(A,D){return n.default.apply("ImportSpecifier",arguments)}function It(A,D){return n.default.apply("MetaProperty",arguments)}function F(A,D,V,ae,ke,Xi,zi,Hi){return n.default.apply("ClassMethod",arguments)}function Ht(A){return n.default.apply("ObjectPattern",arguments)}function Cr(A){return n.default.apply("SpreadElement",arguments)}function Nt(){return n.default.apply("Super",arguments)}function we(A,D){return n.default.apply("TaggedTemplateExpression",arguments)}function Ue(A,D){return n.default.apply("TemplateElement",arguments)}function xt(A,D){return n.default.apply("TemplateLiteral",arguments)}function wr(A,D){return n.default.apply("YieldExpression",arguments)}function Dr(A){return n.default.apply("AwaitExpression",arguments)}function _r(){return n.default.apply("Import",arguments)}function qt(A){return n.default.apply("BigIntLiteral",arguments)}function Gt(A){return n.default.apply("ExportNamespaceSpecifier",arguments)}function $t(A,D,V,ae){return n.default.apply("OptionalMemberExpression",arguments)}function Qt(A,D,V){return n.default.apply("OptionalCallExpression",arguments)}function Lr(A,D,V,ae,ke,Xi){return n.default.apply("ClassProperty",arguments)}function jr(A,D,V,ae){return n.default.apply("ClassPrivateProperty",arguments)}function Mr(A,D,V,ae,ke){return n.default.apply("ClassPrivateMethod",arguments)}function kr(A){return n.default.apply("PrivateName",arguments)}function Ve(A){return n.default.apply("StaticBlock",arguments)}function $e(){return n.default.apply("AnyTypeAnnotation",arguments)}function Ie(A){return n.default.apply("ArrayTypeAnnotation",arguments)}function Ot(){return n.default.apply("BooleanTypeAnnotation",arguments)}function Zt(A){return n.default.apply("BooleanLiteralTypeAnnotation",arguments)}function rt(){return n.default.apply("NullLiteralTypeAnnotation",arguments)}function er(A,D){return n.default.apply("ClassImplements",arguments)}function je(A,D,V,ae){return n.default.apply("DeclareClass",arguments)}function tr(A){return n.default.apply("DeclareFunction",arguments)}function it(A,D,V,ae){return n.default.apply("DeclareInterface",arguments)}function st(A,D,V){return n.default.apply("DeclareModule",arguments)}function Ne(A){return n.default.apply("DeclareModuleExports",arguments)}function Ye(A,D,V){return n.default.apply("DeclareTypeAlias",arguments)}function rr(A,D,V){return n.default.apply("DeclareOpaqueType",arguments)}function Xe(A){return n.default.apply("DeclareVariable",arguments)}function nt(A,D,V){return n.default.apply("DeclareExportDeclaration",arguments)}function ir(A){return n.default.apply("DeclareExportAllDeclaration",arguments)}function at(A){return n.default.apply("DeclaredPredicate",arguments)}function Ct(){return n.default.apply("ExistsTypeAnnotation",arguments)}function wt(A,D,V,ae){return n.default.apply("FunctionTypeAnnotation",arguments)}function Dt(A,D){return n.default.apply("FunctionTypeParam",arguments)}function _t(A,D){return n.default.apply("GenericTypeAnnotation",arguments)}function sr(){return n.default.apply("InferredPredicate",arguments)}function be(A,D){return n.default.apply("InterfaceExtends",arguments)}function ot(A,D,V,ae){return n.default.apply("InterfaceDeclaration",arguments)}function nr(A,D){return n.default.apply("InterfaceTypeAnnotation",arguments)}function Br(A){return n.default.apply("IntersectionTypeAnnotation",arguments)}function Fr(){return n.default.apply("MixedTypeAnnotation",arguments)}function ar(){return n.default.apply("EmptyTypeAnnotation",arguments)}function or(A){return n.default.apply("NullableTypeAnnotation",arguments)}function Qe(A){return n.default.apply("NumberLiteralTypeAnnotation",arguments)}function Rr(){return n.default.apply("NumberTypeAnnotation",arguments)}function Kr(A,D,V,ae,ke){return n.default.apply("ObjectTypeAnnotation",arguments)}function Ur(A,D,V,ae,ke){return n.default.apply("ObjectTypeInternalSlot",arguments)}function Vr(A){return n.default.apply("ObjectTypeCallProperty",arguments)}function ut(A,D,V,ae){return n.default.apply("ObjectTypeIndexer",arguments)}function Lt(A,D,V){return n.default.apply("ObjectTypeProperty",arguments)}function jt(A){return n.default.apply("ObjectTypeSpreadProperty",arguments)}function Mt(A,D,V,ae){return n.default.apply("OpaqueType",arguments)}function Yr(A,D){return n.default.apply("QualifiedTypeIdentifier",arguments)}function Xr(A){return n.default.apply("StringLiteralTypeAnnotation",arguments)}function Jr(){return n.default.apply("StringTypeAnnotation",arguments)}function Wr(){return n.default.apply("SymbolTypeAnnotation",arguments)}function ur(){return n.default.apply("ThisTypeAnnotation",arguments)}function kt(A){return n.default.apply("TupleTypeAnnotation",arguments)}function Bt(A){return n.default.apply("TypeofTypeAnnotation",arguments)}function zr(A,D,V){return n.default.apply("TypeAlias",arguments)}function Hr(A){return n.default.apply("TypeAnnotation",arguments)}function Ft(A,D){return n.default.apply("TypeCastExpression",arguments)}function qr(A,D,V){return n.default.apply("TypeParameter",arguments)}function Gr(A){return n.default.apply("TypeParameterDeclaration",arguments)}function lr(A){return n.default.apply("TypeParameterInstantiation",arguments)}function Pe(A){return n.default.apply("UnionTypeAnnotation",arguments)}function Rt(A){return n.default.apply("Variance",arguments)}function $r(){return n.default.apply("VoidTypeAnnotation",arguments)}function Qr(A,D){return n.default.apply("EnumDeclaration",arguments)}function Zr(A){return n.default.apply("EnumBooleanBody",arguments)}function ei(A){return n.default.apply("EnumNumberBody",arguments)}function cr(A){return n.default.apply("EnumStringBody",arguments)}function Kt(A){return n.default.apply("EnumSymbolBody",arguments)}function pr(A){return n.default.apply("EnumBooleanMember",arguments)}function lt(A,D){return n.default.apply("EnumNumberMember",arguments)}function fr(A,D){return n.default.apply("EnumStringMember",arguments)}function ti(A){return n.default.apply("EnumDefaultedMember",arguments)}function ri(A,D){return n.default.apply("IndexedAccessType",arguments)}function ii(A,D){return n.default.apply("OptionalIndexedAccessType",arguments)}function si(A,D){return n.default.apply("JSXAttribute",arguments)}function dr(A){return n.default.apply("JSXClosingElement",arguments)}function Je(A,D,V,ae){return n.default.apply("JSXElement",arguments)}function hr(){return n.default.apply("JSXEmptyExpression",arguments)}function ct(A){return n.default.apply("JSXExpressionContainer",arguments)}function yr(A){return n.default.apply("JSXSpreadChild",arguments)}function We(A){return n.default.apply("JSXIdentifier",arguments)}function ni(A,D){return n.default.apply("JSXMemberExpression",arguments)}function pt(A,D){return n.default.apply("JSXNamespacedName",arguments)}function ai(A,D,V){return n.default.apply("JSXOpeningElement",arguments)}function ft(A){return n.default.apply("JSXSpreadAttribute",arguments)}function dt(A){return n.default.apply("JSXText",arguments)}function Ut(A,D,V){return n.default.apply("JSXFragment",arguments)}function oi(){return n.default.apply("JSXOpeningFragment",arguments)}function xe(){return n.default.apply("JSXClosingFragment",arguments)}function ui(){return n.default.apply("Noop",arguments)}function li(A,D){return n.default.apply("Placeholder",arguments)}function ci(A){return n.default.apply("V8IntrinsicIdentifier",arguments)}function J(){return n.default.apply("ArgumentPlaceholder",arguments)}function pi(A,D){return n.default.apply("BindExpression",arguments)}function Vt(A,D){return n.default.apply("ImportAttribute",arguments)}function mr(A){return n.default.apply("Decorator",arguments)}function fi(A,D){return n.default.apply("DoExpression",arguments)}function di(A){return n.default.apply("ExportDefaultSpecifier",arguments)}function hi(A){return n.default.apply("RecordExpression",arguments)}function yi(A){return n.default.apply("TupleExpression",arguments)}function mi(A){return n.default.apply("DecimalLiteral",arguments)}function Ti(A){return n.default.apply("ModuleExpression",arguments)}function bi(){return n.default.apply("TopicReference",arguments)}function Me(A){return n.default.apply("PipelineTopicExpression",arguments)}function De(A){return n.default.apply("PipelineBareFunction",arguments)}function ze(){return n.default.apply("PipelinePrimaryTopicReference",arguments)}function Si(A){return n.default.apply("TSParameterProperty",arguments)}function Ei(A,D,V,ae){return n.default.apply("TSDeclareFunction",arguments)}function Pi(A,D,V,ae,ke){return n.default.apply("TSDeclareMethod",arguments)}function gi(A,D){return n.default.apply("TSQualifiedName",arguments)}function Tr(A,D,V){return n.default.apply("TSCallSignatureDeclaration",arguments)}function z(A,D,V){return n.default.apply("TSConstructSignatureDeclaration",arguments)}function Ai(A,D,V){return n.default.apply("TSPropertySignature",arguments)}function br(A,D,V,ae){return n.default.apply("TSMethodSignature",arguments)}function vi(A,D){return n.default.apply("TSIndexSignature",arguments)}function Ii(){return n.default.apply("TSAnyKeyword",arguments)}function Ni(){return n.default.apply("TSBooleanKeyword",arguments)}function xi(){return n.default.apply("TSBigIntKeyword",arguments)}function de(){return n.default.apply("TSIntrinsicKeyword",arguments)}function He(){return n.default.apply("TSNeverKeyword",arguments)}function Sr(){return n.default.apply("TSNullKeyword",arguments)}function Er(){return n.default.apply("TSNumberKeyword",arguments)}function Pr(){return n.default.apply("TSObjectKeyword",arguments)}function Oi(){return n.default.apply("TSStringKeyword",arguments)}function gr(){return n.default.apply("TSSymbolKeyword",arguments)}function Ci(){return n.default.apply("TSUndefinedKeyword",arguments)}function Ar(){return n.default.apply("TSUnknownKeyword",arguments)}function wi(){return n.default.apply("TSVoidKeyword",arguments)}function Yt(){return n.default.apply("TSThisType",arguments)}function Di(A,D,V){return n.default.apply("TSFunctionType",arguments)}function vr(A,D,V){return n.default.apply("TSConstructorType",arguments)}function _i(A,D){return n.default.apply("TSTypeReference",arguments)}function Xt(A,D,V){return n.default.apply("TSTypePredicate",arguments)}function Li(A){return n.default.apply("TSTypeQuery",arguments)}function ji(A){return n.default.apply("TSTypeLiteral",arguments)}function Jt(A){return n.default.apply("TSArrayType",arguments)}function Ir(A){return n.default.apply("TSTupleType",arguments)}function Nr(A){return n.default.apply("TSOptionalType",arguments)}function Mi(A){return n.default.apply("TSRestType",arguments)}function Wt(A,D,V){return n.default.apply("TSNamedTupleMember",arguments)}function ki(A){return n.default.apply("TSUnionType",arguments)}function Bi(A){return n.default.apply("TSIntersectionType",arguments)}function xr(A,D,V,ae){return n.default.apply("TSConditionalType",arguments)}function Fi(A){return n.default.apply("TSInferType",arguments)}function Ri(A){return n.default.apply("TSParenthesizedType",arguments)}function Ki(A){return n.default.apply("TSTypeOperator",arguments)}function Ui(A,D){return n.default.apply("TSIndexedAccessType",arguments)}function Vi(A,D,V){return n.default.apply("TSMappedType",arguments)}function Ze(A){return n.default.apply("TSLiteralType",arguments)}function Or(A,D){return n.default.apply("TSExpressionWithTypeArguments",arguments)}function Yi(A,D,V,ae){return n.default.apply("TSInterfaceDeclaration",arguments)}function y(A){return n.default.apply("TSInterfaceBody",arguments)}function e(A,D,V){return n.default.apply("TSTypeAliasDeclaration",arguments)}function r(A,D){return n.default.apply("TSAsExpression",arguments)}function o(A,D){return n.default.apply("TSTypeAssertion",arguments)}function u(A,D){return n.default.apply("TSEnumDeclaration",arguments)}function c(A,D){return n.default.apply("TSEnumMember",arguments)}function f(A,D){return n.default.apply("TSModuleDeclaration",arguments)}function d(A){return n.default.apply("TSModuleBlock",arguments)}function P(A,D,V){return n.default.apply("TSImportType",arguments)}function v(A,D){return n.default.apply("TSImportEqualsDeclaration",arguments)}function C(A){return n.default.apply("TSExternalModuleReference",arguments)}function Y(A){return n.default.apply("TSNonNullExpression",arguments)}function X(A){return n.default.apply("TSExportAssignment",arguments)}function H(A){return n.default.apply("TSNamespaceExportDeclaration",arguments)}function oe(A){return n.default.apply("TSTypeAnnotation",arguments)}function ne(A){return n.default.apply("TSTypeParameterInstantiation",arguments)}function ce(A){return n.default.apply("TSTypeParameterDeclaration",arguments)}function pe(A,D,V){return n.default.apply("TSTypeParameter",arguments)}function ht(A){return console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),n.default.apply("NumberLiteral",arguments)}function zt(A,D){return console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),n.default.apply("RegexLiteral",arguments)}function Ji(A){return console.trace("The node type RestProperty has been renamed to RestElement"),n.default.apply("RestProperty",arguments)}function Wi(A){return console.trace("The node type SpreadProperty has been renamed to SpreadElement"),n.default.apply("SpreadProperty",arguments)}},"./node_modules/@babel/types/lib/builders/generated/uppercase.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:!0,get:function(){return n.anyTypeAnnotation}}),Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:!0,get:function(){return n.argumentPlaceholder}}),Object.defineProperty(t,"ArrayExpression",{enumerable:!0,get:function(){return n.arrayExpression}}),Object.defineProperty(t,"ArrayPattern",{enumerable:!0,get:function(){return n.arrayPattern}}),Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return n.arrayTypeAnnotation}}),Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:!0,get:function(){return n.arrowFunctionExpression}}),Object.defineProperty(t,"AssignmentExpression",{enumerable:!0,get:function(){return n.assignmentExpression}}),Object.defineProperty(t,"AssignmentPattern",{enumerable:!0,get:function(){return n.assignmentPattern}}),Object.defineProperty(t,"AwaitExpression",{enumerable:!0,get:function(){return n.awaitExpression}}),Object.defineProperty(t,"BigIntLiteral",{enumerable:!0,get:function(){return n.bigIntLiteral}}),Object.defineProperty(t,"BinaryExpression",{enumerable:!0,get:function(){return n.binaryExpression}}),Object.defineProperty(t,"BindExpression",{enumerable:!0,get:function(){return n.bindExpression}}),Object.defineProperty(t,"BlockStatement",{enumerable:!0,get:function(){return n.blockStatement}}),Object.defineProperty(t,"BooleanLiteral",{enumerable:!0,get:function(){return n.booleanLiteral}}),Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.booleanLiteralTypeAnnotation}}),Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return n.booleanTypeAnnotation}}),Object.defineProperty(t,"BreakStatement",{enumerable:!0,get:function(){return n.breakStatement}}),Object.defineProperty(t,"CallExpression",{enumerable:!0,get:function(){return n.callExpression}}),Object.defineProperty(t,"CatchClause",{enumerable:!0,get:function(){return n.catchClause}}),Object.defineProperty(t,"ClassBody",{enumerable:!0,get:function(){return n.classBody}}),Object.defineProperty(t,"ClassDeclaration",{enumerable:!0,get:function(){return n.classDeclaration}}),Object.defineProperty(t,"ClassExpression",{enumerable:!0,get:function(){return n.classExpression}}),Object.defineProperty(t,"ClassImplements",{enumerable:!0,get:function(){return n.classImplements}}),Object.defineProperty(t,"ClassMethod",{enumerable:!0,get:function(){return n.classMethod}}),Object.defineProperty(t,"ClassPrivateMethod",{enumerable:!0,get:function(){return n.classPrivateMethod}}),Object.defineProperty(t,"ClassPrivateProperty",{enumerable:!0,get:function(){return n.classPrivateProperty}}),Object.defineProperty(t,"ClassProperty",{enumerable:!0,get:function(){return n.classProperty}}),Object.defineProperty(t,"ConditionalExpression",{enumerable:!0,get:function(){return n.conditionalExpression}}),Object.defineProperty(t,"ContinueStatement",{enumerable:!0,get:function(){return n.continueStatement}}),Object.defineProperty(t,"DebuggerStatement",{enumerable:!0,get:function(){return n.debuggerStatement}}),Object.defineProperty(t,"DecimalLiteral",{enumerable:!0,get:function(){return n.decimalLiteral}}),Object.defineProperty(t,"DeclareClass",{enumerable:!0,get:function(){return n.declareClass}}),Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return n.declareExportAllDeclaration}}),Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:!0,get:function(){return n.declareExportDeclaration}}),Object.defineProperty(t,"DeclareFunction",{enumerable:!0,get:function(){return n.declareFunction}}),Object.defineProperty(t,"DeclareInterface",{enumerable:!0,get:function(){return n.declareInterface}}),Object.defineProperty(t,"DeclareModule",{enumerable:!0,get:function(){return n.declareModule}}),Object.defineProperty(t,"DeclareModuleExports",{enumerable:!0,get:function(){return n.declareModuleExports}}),Object.defineProperty(t,"DeclareOpaqueType",{enumerable:!0,get:function(){return n.declareOpaqueType}}),Object.defineProperty(t,"DeclareTypeAlias",{enumerable:!0,get:function(){return n.declareTypeAlias}}),Object.defineProperty(t,"DeclareVariable",{enumerable:!0,get:function(){return n.declareVariable}}),Object.defineProperty(t,"DeclaredPredicate",{enumerable:!0,get:function(){return n.declaredPredicate}}),Object.defineProperty(t,"Decorator",{enumerable:!0,get:function(){return n.decorator}}),Object.defineProperty(t,"Directive",{enumerable:!0,get:function(){return n.directive}}),Object.defineProperty(t,"DirectiveLiteral",{enumerable:!0,get:function(){return n.directiveLiteral}}),Object.defineProperty(t,"DoExpression",{enumerable:!0,get:function(){return n.doExpression}}),Object.defineProperty(t,"DoWhileStatement",{enumerable:!0,get:function(){return n.doWhileStatement}}),Object.defineProperty(t,"EmptyStatement",{enumerable:!0,get:function(){return n.emptyStatement}}),Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return n.emptyTypeAnnotation}}),Object.defineProperty(t,"EnumBooleanBody",{enumerable:!0,get:function(){return n.enumBooleanBody}}),Object.defineProperty(t,"EnumBooleanMember",{enumerable:!0,get:function(){return n.enumBooleanMember}}),Object.defineProperty(t,"EnumDeclaration",{enumerable:!0,get:function(){return n.enumDeclaration}}),Object.defineProperty(t,"EnumDefaultedMember",{enumerable:!0,get:function(){return n.enumDefaultedMember}}),Object.defineProperty(t,"EnumNumberBody",{enumerable:!0,get:function(){return n.enumNumberBody}}),Object.defineProperty(t,"EnumNumberMember",{enumerable:!0,get:function(){return n.enumNumberMember}}),Object.defineProperty(t,"EnumStringBody",{enumerable:!0,get:function(){return n.enumStringBody}}),Object.defineProperty(t,"EnumStringMember",{enumerable:!0,get:function(){return n.enumStringMember}}),Object.defineProperty(t,"EnumSymbolBody",{enumerable:!0,get:function(){return n.enumSymbolBody}}),Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return n.existsTypeAnnotation}}),Object.defineProperty(t,"ExportAllDeclaration",{enumerable:!0,get:function(){return n.exportAllDeclaration}}),Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return n.exportDefaultDeclaration}}),Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return n.exportDefaultSpecifier}}),Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:!0,get:function(){return n.exportNamedDeclaration}}),Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return n.exportNamespaceSpecifier}}),Object.defineProperty(t,"ExportSpecifier",{enumerable:!0,get:function(){return n.exportSpecifier}}),Object.defineProperty(t,"ExpressionStatement",{enumerable:!0,get:function(){return n.expressionStatement}}),Object.defineProperty(t,"File",{enumerable:!0,get:function(){return n.file}}),Object.defineProperty(t,"ForInStatement",{enumerable:!0,get:function(){return n.forInStatement}}),Object.defineProperty(t,"ForOfStatement",{enumerable:!0,get:function(){return n.forOfStatement}}),Object.defineProperty(t,"ForStatement",{enumerable:!0,get:function(){return n.forStatement}}),Object.defineProperty(t,"FunctionDeclaration",{enumerable:!0,get:function(){return n.functionDeclaration}}),Object.defineProperty(t,"FunctionExpression",{enumerable:!0,get:function(){return n.functionExpression}}),Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return n.functionTypeAnnotation}}),Object.defineProperty(t,"FunctionTypeParam",{enumerable:!0,get:function(){return n.functionTypeParam}}),Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:!0,get:function(){return n.genericTypeAnnotation}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return n.identifier}}),Object.defineProperty(t,"IfStatement",{enumerable:!0,get:function(){return n.ifStatement}}),Object.defineProperty(t,"Import",{enumerable:!0,get:function(){return n.import}}),Object.defineProperty(t,"ImportAttribute",{enumerable:!0,get:function(){return n.importAttribute}}),Object.defineProperty(t,"ImportDeclaration",{enumerable:!0,get:function(){return n.importDeclaration}}),Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return n.importDefaultSpecifier}}),Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return n.importNamespaceSpecifier}}),Object.defineProperty(t,"ImportSpecifier",{enumerable:!0,get:function(){return n.importSpecifier}}),Object.defineProperty(t,"IndexedAccessType",{enumerable:!0,get:function(){return n.indexedAccessType}}),Object.defineProperty(t,"InferredPredicate",{enumerable:!0,get:function(){return n.inferredPredicate}}),Object.defineProperty(t,"InterfaceDeclaration",{enumerable:!0,get:function(){return n.interfaceDeclaration}}),Object.defineProperty(t,"InterfaceExtends",{enumerable:!0,get:function(){return n.interfaceExtends}}),Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return n.interfaceTypeAnnotation}}),Object.defineProperty(t,"InterpreterDirective",{enumerable:!0,get:function(){return n.interpreterDirective}}),Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return n.intersectionTypeAnnotation}}),Object.defineProperty(t,"JSXAttribute",{enumerable:!0,get:function(){return n.jsxAttribute}}),Object.defineProperty(t,"JSXClosingElement",{enumerable:!0,get:function(){return n.jsxClosingElement}}),Object.defineProperty(t,"JSXClosingFragment",{enumerable:!0,get:function(){return n.jsxClosingFragment}}),Object.defineProperty(t,"JSXElement",{enumerable:!0,get:function(){return n.jsxElement}}),Object.defineProperty(t,"JSXEmptyExpression",{enumerable:!0,get:function(){return n.jsxEmptyExpression}}),Object.defineProperty(t,"JSXExpressionContainer",{enumerable:!0,get:function(){return n.jsxExpressionContainer}}),Object.defineProperty(t,"JSXFragment",{enumerable:!0,get:function(){return n.jsxFragment}}),Object.defineProperty(t,"JSXIdentifier",{enumerable:!0,get:function(){return n.jsxIdentifier}}),Object.defineProperty(t,"JSXMemberExpression",{enumerable:!0,get:function(){return n.jsxMemberExpression}}),Object.defineProperty(t,"JSXNamespacedName",{enumerable:!0,get:function(){return n.jsxNamespacedName}}),Object.defineProperty(t,"JSXOpeningElement",{enumerable:!0,get:function(){return n.jsxOpeningElement}}),Object.defineProperty(t,"JSXOpeningFragment",{enumerable:!0,get:function(){return n.jsxOpeningFragment}}),Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:!0,get:function(){return n.jsxSpreadAttribute}}),Object.defineProperty(t,"JSXSpreadChild",{enumerable:!0,get:function(){return n.jsxSpreadChild}}),Object.defineProperty(t,"JSXText",{enumerable:!0,get:function(){return n.jsxText}}),Object.defineProperty(t,"LabeledStatement",{enumerable:!0,get:function(){return n.labeledStatement}}),Object.defineProperty(t,"LogicalExpression",{enumerable:!0,get:function(){return n.logicalExpression}}),Object.defineProperty(t,"MemberExpression",{enumerable:!0,get:function(){return n.memberExpression}}),Object.defineProperty(t,"MetaProperty",{enumerable:!0,get:function(){return n.metaProperty}}),Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:!0,get:function(){return n.mixedTypeAnnotation}}),Object.defineProperty(t,"ModuleExpression",{enumerable:!0,get:function(){return n.moduleExpression}}),Object.defineProperty(t,"NewExpression",{enumerable:!0,get:function(){return n.newExpression}}),Object.defineProperty(t,"Noop",{enumerable:!0,get:function(){return n.noop}}),Object.defineProperty(t,"NullLiteral",{enumerable:!0,get:function(){return n.nullLiteral}}),Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.nullLiteralTypeAnnotation}}),Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:!0,get:function(){return n.nullableTypeAnnotation}}),Object.defineProperty(t,"NumberLiteral",{enumerable:!0,get:function(){return n.numberLiteral}}),Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.numberLiteralTypeAnnotation}}),Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:!0,get:function(){return n.numberTypeAnnotation}}),Object.defineProperty(t,"NumericLiteral",{enumerable:!0,get:function(){return n.numericLiteral}}),Object.defineProperty(t,"ObjectExpression",{enumerable:!0,get:function(){return n.objectExpression}}),Object.defineProperty(t,"ObjectMethod",{enumerable:!0,get:function(){return n.objectMethod}}),Object.defineProperty(t,"ObjectPattern",{enumerable:!0,get:function(){return n.objectPattern}}),Object.defineProperty(t,"ObjectProperty",{enumerable:!0,get:function(){return n.objectProperty}}),Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return n.objectTypeAnnotation}}),Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return n.objectTypeCallProperty}}),Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:!0,get:function(){return n.objectTypeIndexer}}),Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return n.objectTypeInternalSlot}}),Object.defineProperty(t,"ObjectTypeProperty",{enumerable:!0,get:function(){return n.objectTypeProperty}}),Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return n.objectTypeSpreadProperty}}),Object.defineProperty(t,"OpaqueType",{enumerable:!0,get:function(){return n.opaqueType}}),Object.defineProperty(t,"OptionalCallExpression",{enumerable:!0,get:function(){return n.optionalCallExpression}}),Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return n.optionalIndexedAccessType}}),Object.defineProperty(t,"OptionalMemberExpression",{enumerable:!0,get:function(){return n.optionalMemberExpression}}),Object.defineProperty(t,"ParenthesizedExpression",{enumerable:!0,get:function(){return n.parenthesizedExpression}}),Object.defineProperty(t,"PipelineBareFunction",{enumerable:!0,get:function(){return n.pipelineBareFunction}}),Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return n.pipelinePrimaryTopicReference}}),Object.defineProperty(t,"PipelineTopicExpression",{enumerable:!0,get:function(){return n.pipelineTopicExpression}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return n.placeholder}}),Object.defineProperty(t,"PrivateName",{enumerable:!0,get:function(){return n.privateName}}),Object.defineProperty(t,"Program",{enumerable:!0,get:function(){return n.program}}),Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return n.qualifiedTypeIdentifier}}),Object.defineProperty(t,"RecordExpression",{enumerable:!0,get:function(){return n.recordExpression}}),Object.defineProperty(t,"RegExpLiteral",{enumerable:!0,get:function(){return n.regExpLiteral}}),Object.defineProperty(t,"RegexLiteral",{enumerable:!0,get:function(){return n.regexLiteral}}),Object.defineProperty(t,"RestElement",{enumerable:!0,get:function(){return n.restElement}}),Object.defineProperty(t,"RestProperty",{enumerable:!0,get:function(){return n.restProperty}}),Object.defineProperty(t,"ReturnStatement",{enumerable:!0,get:function(){return n.returnStatement}}),Object.defineProperty(t,"SequenceExpression",{enumerable:!0,get:function(){return n.sequenceExpression}}),Object.defineProperty(t,"SpreadElement",{enumerable:!0,get:function(){return n.spreadElement}}),Object.defineProperty(t,"SpreadProperty",{enumerable:!0,get:function(){return n.spreadProperty}}),Object.defineProperty(t,"StaticBlock",{enumerable:!0,get:function(){return n.staticBlock}}),Object.defineProperty(t,"StringLiteral",{enumerable:!0,get:function(){return n.stringLiteral}}),Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.stringLiteralTypeAnnotation}}),Object.defineProperty(t,"StringTypeAnnotation",{enumerable:!0,get:function(){return n.stringTypeAnnotation}}),Object.defineProperty(t,"Super",{enumerable:!0,get:function(){return n.super}}),Object.defineProperty(t,"SwitchCase",{enumerable:!0,get:function(){return n.switchCase}}),Object.defineProperty(t,"SwitchStatement",{enumerable:!0,get:function(){return n.switchStatement}}),Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return n.symbolTypeAnnotation}}),Object.defineProperty(t,"TSAnyKeyword",{enumerable:!0,get:function(){return n.tsAnyKeyword}}),Object.defineProperty(t,"TSArrayType",{enumerable:!0,get:function(){return n.tsArrayType}}),Object.defineProperty(t,"TSAsExpression",{enumerable:!0,get:function(){return n.tsAsExpression}}),Object.defineProperty(t,"TSBigIntKeyword",{enumerable:!0,get:function(){return n.tsBigIntKeyword}}),Object.defineProperty(t,"TSBooleanKeyword",{enumerable:!0,get:function(){return n.tsBooleanKeyword}}),Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return n.tsCallSignatureDeclaration}}),Object.defineProperty(t,"TSConditionalType",{enumerable:!0,get:function(){return n.tsConditionalType}}),Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return n.tsConstructSignatureDeclaration}}),Object.defineProperty(t,"TSConstructorType",{enumerable:!0,get:function(){return n.tsConstructorType}}),Object.defineProperty(t,"TSDeclareFunction",{enumerable:!0,get:function(){return n.tsDeclareFunction}}),Object.defineProperty(t,"TSDeclareMethod",{enumerable:!0,get:function(){return n.tsDeclareMethod}}),Object.defineProperty(t,"TSEnumDeclaration",{enumerable:!0,get:function(){return n.tsEnumDeclaration}}),Object.defineProperty(t,"TSEnumMember",{enumerable:!0,get:function(){return n.tsEnumMember}}),Object.defineProperty(t,"TSExportAssignment",{enumerable:!0,get:function(){return n.tsExportAssignment}}),Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return n.tsExpressionWithTypeArguments}}),Object.defineProperty(t,"TSExternalModuleReference",{enumerable:!0,get:function(){return n.tsExternalModuleReference}}),Object.defineProperty(t,"TSFunctionType",{enumerable:!0,get:function(){return n.tsFunctionType}}),Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return n.tsImportEqualsDeclaration}}),Object.defineProperty(t,"TSImportType",{enumerable:!0,get:function(){return n.tsImportType}}),Object.defineProperty(t,"TSIndexSignature",{enumerable:!0,get:function(){return n.tsIndexSignature}}),Object.defineProperty(t,"TSIndexedAccessType",{enumerable:!0,get:function(){return n.tsIndexedAccessType}}),Object.defineProperty(t,"TSInferType",{enumerable:!0,get:function(){return n.tsInferType}}),Object.defineProperty(t,"TSInterfaceBody",{enumerable:!0,get:function(){return n.tsInterfaceBody}}),Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return n.tsInterfaceDeclaration}}),Object.defineProperty(t,"TSIntersectionType",{enumerable:!0,get:function(){return n.tsIntersectionType}}),Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return n.tsIntrinsicKeyword}}),Object.defineProperty(t,"TSLiteralType",{enumerable:!0,get:function(){return n.tsLiteralType}}),Object.defineProperty(t,"TSMappedType",{enumerable:!0,get:function(){return n.tsMappedType}}),Object.defineProperty(t,"TSMethodSignature",{enumerable:!0,get:function(){return n.tsMethodSignature}}),Object.defineProperty(t,"TSModuleBlock",{enumerable:!0,get:function(){return n.tsModuleBlock}}),Object.defineProperty(t,"TSModuleDeclaration",{enumerable:!0,get:function(){return n.tsModuleDeclaration}}),Object.defineProperty(t,"TSNamedTupleMember",{enumerable:!0,get:function(){return n.tsNamedTupleMember}}),Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return n.tsNamespaceExportDeclaration}}),Object.defineProperty(t,"TSNeverKeyword",{enumerable:!0,get:function(){return n.tsNeverKeyword}}),Object.defineProperty(t,"TSNonNullExpression",{enumerable:!0,get:function(){return n.tsNonNullExpression}}),Object.defineProperty(t,"TSNullKeyword",{enumerable:!0,get:function(){return n.tsNullKeyword}}),Object.defineProperty(t,"TSNumberKeyword",{enumerable:!0,get:function(){return n.tsNumberKeyword}}),Object.defineProperty(t,"TSObjectKeyword",{enumerable:!0,get:function(){return n.tsObjectKeyword}}),Object.defineProperty(t,"TSOptionalType",{enumerable:!0,get:function(){return n.tsOptionalType}}),Object.defineProperty(t,"TSParameterProperty",{enumerable:!0,get:function(){return n.tsParameterProperty}}),Object.defineProperty(t,"TSParenthesizedType",{enumerable:!0,get:function(){return n.tsParenthesizedType}}),Object.defineProperty(t,"TSPropertySignature",{enumerable:!0,get:function(){return n.tsPropertySignature}}),Object.defineProperty(t,"TSQualifiedName",{enumerable:!0,get:function(){return n.tsQualifiedName}}),Object.defineProperty(t,"TSRestType",{enumerable:!0,get:function(){return n.tsRestType}}),Object.defineProperty(t,"TSStringKeyword",{enumerable:!0,get:function(){return n.tsStringKeyword}}),Object.defineProperty(t,"TSSymbolKeyword",{enumerable:!0,get:function(){return n.tsSymbolKeyword}}),Object.defineProperty(t,"TSThisType",{enumerable:!0,get:function(){return n.tsThisType}}),Object.defineProperty(t,"TSTupleType",{enumerable:!0,get:function(){return n.tsTupleType}}),Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return n.tsTypeAliasDeclaration}}),Object.defineProperty(t,"TSTypeAnnotation",{enumerable:!0,get:function(){return n.tsTypeAnnotation}}),Object.defineProperty(t,"TSTypeAssertion",{enumerable:!0,get:function(){return n.tsTypeAssertion}}),Object.defineProperty(t,"TSTypeLiteral",{enumerable:!0,get:function(){return n.tsTypeLiteral}}),Object.defineProperty(t,"TSTypeOperator",{enumerable:!0,get:function(){return n.tsTypeOperator}}),Object.defineProperty(t,"TSTypeParameter",{enumerable:!0,get:function(){return n.tsTypeParameter}}),Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return n.tsTypeParameterDeclaration}}),Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return n.tsTypeParameterInstantiation}}),Object.defineProperty(t,"TSTypePredicate",{enumerable:!0,get:function(){return n.tsTypePredicate}}),Object.defineProperty(t,"TSTypeQuery",{enumerable:!0,get:function(){return n.tsTypeQuery}}),Object.defineProperty(t,"TSTypeReference",{enumerable:!0,get:function(){return n.tsTypeReference}}),Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:!0,get:function(){return n.tsUndefinedKeyword}}),Object.defineProperty(t,"TSUnionType",{enumerable:!0,get:function(){return n.tsUnionType}}),Object.defineProperty(t,"TSUnknownKeyword",{enumerable:!0,get:function(){return n.tsUnknownKeyword}}),Object.defineProperty(t,"TSVoidKeyword",{enumerable:!0,get:function(){return n.tsVoidKeyword}}),Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:!0,get:function(){return n.taggedTemplateExpression}}),Object.defineProperty(t,"TemplateElement",{enumerable:!0,get:function(){return n.templateElement}}),Object.defineProperty(t,"TemplateLiteral",{enumerable:!0,get:function(){return n.templateLiteral}}),Object.defineProperty(t,"ThisExpression",{enumerable:!0,get:function(){return n.thisExpression}}),Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:!0,get:function(){return n.thisTypeAnnotation}}),Object.defineProperty(t,"ThrowStatement",{enumerable:!0,get:function(){return n.throwStatement}}),Object.defineProperty(t,"TopicReference",{enumerable:!0,get:function(){return n.topicReference}}),Object.defineProperty(t,"TryStatement",{enumerable:!0,get:function(){return n.tryStatement}}),Object.defineProperty(t,"TupleExpression",{enumerable:!0,get:function(){return n.tupleExpression}}),Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:!0,get:function(){return n.tupleTypeAnnotation}}),Object.defineProperty(t,"TypeAlias",{enumerable:!0,get:function(){return n.typeAlias}}),Object.defineProperty(t,"TypeAnnotation",{enumerable:!0,get:function(){return n.typeAnnotation}}),Object.defineProperty(t,"TypeCastExpression",{enumerable:!0,get:function(){return n.typeCastExpression}}),Object.defineProperty(t,"TypeParameter",{enumerable:!0,get:function(){return n.typeParameter}}),Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:!0,get:function(){return n.typeParameterDeclaration}}),Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:!0,get:function(){return n.typeParameterInstantiation}}),Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return n.typeofTypeAnnotation}}),Object.defineProperty(t,"UnaryExpression",{enumerable:!0,get:function(){return n.unaryExpression}}),Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:!0,get:function(){return n.unionTypeAnnotation}}),Object.defineProperty(t,"UpdateExpression",{enumerable:!0,get:function(){return n.updateExpression}}),Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return n.v8IntrinsicIdentifier}}),Object.defineProperty(t,"VariableDeclaration",{enumerable:!0,get:function(){return n.variableDeclaration}}),Object.defineProperty(t,"VariableDeclarator",{enumerable:!0,get:function(){return n.variableDeclarator}}),Object.defineProperty(t,"Variance",{enumerable:!0,get:function(){return n.variance}}),Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:!0,get:function(){return n.voidTypeAnnotation}}),Object.defineProperty(t,"WhileStatement",{enumerable:!0,get:function(){return n.whileStatement}}),Object.defineProperty(t,"WithStatement",{enumerable:!0,get:function(){return n.withStatement}}),Object.defineProperty(t,"YieldExpression",{enumerable:!0,get:function(){return n.yieldExpression}});var n=h("./node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/@babel/types/lib/builders/react/buildChildren.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js"),l=h("./node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js");function b(m){const g=[];for(let p=0;p<m.children.length;p++){let S=m.children[p];if((0,n.isJSXText)(S)){(0,l.default)(S,g);continue}(0,n.isJSXExpressionContainer)(S)&&(S=S.expression),!(0,n.isJSXEmptyExpression)(S)&&g.push(S)}return g}},"./node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/builders/generated/index.js"),l=h("./node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js");function b(m){const g=m.map(S=>S.typeAnnotation),p=(0,l.default)(g);return p.length===1?p[0]:(0,n.tsUnionType)(p)}},"./node_modules/@babel/types/lib/clone/clone.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/clone/cloneNode.js");function l(b){return(0,n.default)(b,!1)}},"./node_modules/@babel/types/lib/clone/cloneDeep.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/clone/cloneNode.js");function l(b){return(0,n.default)(b)}},"./node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/clone/cloneNode.js");function l(b){return(0,n.default)(b,!0,!0)}},"./node_modules/@babel/types/lib/clone/cloneNode.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var n=h("./node_modules/@babel/types/lib/definitions/index.js"),l=h("./node_modules/@babel/types/lib/validators/generated/index.js");const b=Function.call.bind(Object.prototype.hasOwnProperty);function m(T,N,I){return T&&typeof T.type=="string"?p(T,N,I):T}function g(T,N,I){return Array.isArray(T)?T.map(O=>m(O,N,I)):m(T,N,I)}function p(T,N=!0,I=!1){if(!T)return T;const{type:O}=T,_={type:T.type};if((0,l.isIdentifier)(T))_.name=T.name,b(T,"optional")&&typeof T.optional=="boolean"&&(_.optional=T.optional),b(T,"typeAnnotation")&&(_.typeAnnotation=N?g(T.typeAnnotation,!0,I):T.typeAnnotation);else if(b(n.NODE_FIELDS,O))for(const L of Object.keys(n.NODE_FIELDS[O]))b(T,L)&&(N?_[L]=(0,l.isFile)(T)&&L==="comments"?S(T.comments,N,I):g(T[L],!0,I):_[L]=T[L]);else throw new Error(`Unknown node type: "${O}"`);return b(T,"loc")&&(I?_.loc=null:_.loc=T.loc),b(T,"leadingComments")&&(_.leadingComments=S(T.leadingComments,N,I)),b(T,"innerComments")&&(_.innerComments=S(T.innerComments,N,I)),b(T,"trailingComments")&&(_.trailingComments=S(T.trailingComments,N,I)),b(T,"extra")&&(_.extra=Object.assign({},T.extra)),_}function S(T,N,I){return!T||!N?T:T.map(({type:O,value:_,loc:L})=>I?{type:O,value:_,loc:null}:{type:O,value:_,loc:L})}},"./node_modules/@babel/types/lib/clone/cloneWithoutLoc.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/clone/cloneNode.js");function l(b){return(0,n.default)(b,!1,!0)}},"./node_modules/@babel/types/lib/comments/addComment.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/comments/addComments.js");function l(b,m,g,p){return(0,n.default)(b,m,[{type:p?"CommentLine":"CommentBlock",value:g}])}},"./node_modules/@babel/types/lib/comments/addComments.js":(B,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;function h(n,l,b){if(!b||!n)return n;const m=`${l}Comments`;return n[m]?l==="leading"?n[m]=b.concat(n[m]):n[m].push(...b):n[m]=b,n}},"./node_modules/@babel/types/lib/comments/inheritInnerComments.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/utils/inherit.js");function l(b,m){(0,n.default)("innerComments",b,m)}},"./node_modules/@babel/types/lib/comments/inheritLeadingComments.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/utils/inherit.js");function l(b,m){(0,n.default)("leadingComments",b,m)}},"./node_modules/@babel/types/lib/comments/inheritTrailingComments.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/utils/inherit.js");function l(b,m){(0,n.default)("trailingComments",b,m)}},"./node_modules/@babel/types/lib/comments/inheritsComments.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var n=h("./node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),l=h("./node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),b=h("./node_modules/@babel/types/lib/comments/inheritInnerComments.js");function m(g,p){return(0,n.default)(g,p),(0,l.default)(g,p),(0,b.default)(g,p),g}},"./node_modules/@babel/types/lib/comments/removeComments.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/constants/index.js");function l(b){return n.COMMENT_KEYS.forEach(m=>{b[m]=null}),b}},"./node_modules/@babel/types/lib/constants/generated/index.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=void 0;var n=h("./node_modules/@babel/types/lib/definitions/index.js");const l=n.FLIPPED_ALIAS_KEYS.Standardized;t.STANDARDIZED_TYPES=l;const b=n.FLIPPED_ALIAS_KEYS.Expression;t.EXPRESSION_TYPES=b;const m=n.FLIPPED_ALIAS_KEYS.Binary;t.BINARY_TYPES=m;const g=n.FLIPPED_ALIAS_KEYS.Scopable;t.SCOPABLE_TYPES=g;const p=n.FLIPPED_ALIAS_KEYS.BlockParent;t.BLOCKPARENT_TYPES=p;const S=n.FLIPPED_ALIAS_KEYS.Block;t.BLOCK_TYPES=S;const T=n.FLIPPED_ALIAS_KEYS.Statement;t.STATEMENT_TYPES=T;const N=n.FLIPPED_ALIAS_KEYS.Terminatorless;t.TERMINATORLESS_TYPES=N;const I=n.FLIPPED_ALIAS_KEYS.CompletionStatement;t.COMPLETIONSTATEMENT_TYPES=I;const O=n.FLIPPED_ALIAS_KEYS.Conditional;t.CONDITIONAL_TYPES=O;const _=n.FLIPPED_ALIAS_KEYS.Loop;t.LOOP_TYPES=_;const L=n.FLIPPED_ALIAS_KEYS.While;t.WHILE_TYPES=L;const x=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper;t.EXPRESSIONWRAPPER_TYPES=x;const M=n.FLIPPED_ALIAS_KEYS.For;t.FOR_TYPES=M;const w=n.FLIPPED_ALIAS_KEYS.ForXStatement;t.FORXSTATEMENT_TYPES=w;const j=n.FLIPPED_ALIAS_KEYS.Function;t.FUNCTION_TYPES=j;const E=n.FLIPPED_ALIAS_KEYS.FunctionParent;t.FUNCTIONPARENT_TYPES=E;const G=n.FLIPPED_ALIAS_KEYS.Pureish;t.PUREISH_TYPES=G;const se=n.FLIPPED_ALIAS_KEYS.Declaration;t.DECLARATION_TYPES=se;const fe=n.FLIPPED_ALIAS_KEYS.PatternLike;t.PATTERNLIKE_TYPES=fe;const Se=n.FLIPPED_ALIAS_KEYS.LVal;t.LVAL_TYPES=Se;const _e=n.FLIPPED_ALIAS_KEYS.TSEntityName;t.TSENTITYNAME_TYPES=_e;const he=n.FLIPPED_ALIAS_KEYS.Literal;t.LITERAL_TYPES=he;const te=n.FLIPPED_ALIAS_KEYS.Immutable;t.IMMUTABLE_TYPES=te;const $=n.FLIPPED_ALIAS_KEYS.UserWhitespacable;t.USERWHITESPACABLE_TYPES=$;const R=n.FLIPPED_ALIAS_KEYS.Method;t.METHOD_TYPES=R;const ve=n.FLIPPED_ALIAS_KEYS.ObjectMember;t.OBJECTMEMBER_TYPES=ve;const Ee=n.FLIPPED_ALIAS_KEYS.Property;t.PROPERTY_TYPES=Ee;const ye=n.FLIPPED_ALIAS_KEYS.UnaryLike;t.UNARYLIKE_TYPES=ye;const Oe=n.FLIPPED_ALIAS_KEYS.Pattern;t.PATTERN_TYPES=Oe;const ge=n.FLIPPED_ALIAS_KEYS.Class;t.CLASS_TYPES=ge;const K=n.FLIPPED_ALIAS_KEYS.ModuleDeclaration;t.MODULEDECLARATION_TYPES=K;const k=n.FLIPPED_ALIAS_KEYS.ExportDeclaration;t.EXPORTDECLARATION_TYPES=k;const q=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier;t.MODULESPECIFIER_TYPES=q;const W=n.FLIPPED_ALIAS_KEYS.Private;t.PRIVATE_TYPES=W;const Q=n.FLIPPED_ALIAS_KEYS.Flow;t.FLOW_TYPES=Q;const ie=n.FLIPPED_ALIAS_KEYS.FlowType;t.FLOWTYPE_TYPES=ie;const ue=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;t.FLOWBASEANNOTATION_TYPES=ue;const re=n.FLIPPED_ALIAS_KEYS.FlowDeclaration;t.FLOWDECLARATION_TYPES=re;const le=n.FLIPPED_ALIAS_KEYS.FlowPredicate;t.FLOWPREDICATE_TYPES=le;const me=n.FLIPPED_ALIAS_KEYS.EnumBody;t.ENUMBODY_TYPES=me;const U=n.FLIPPED_ALIAS_KEYS.EnumMember;t.ENUMMEMBER_TYPES=U;const Z=n.FLIPPED_ALIAS_KEYS.JSX;t.JSX_TYPES=Z;const Ce=n.FLIPPED_ALIAS_KEYS.Miscellaneous;t.MISCELLANEOUS_TYPES=Ce;const ee=n.FLIPPED_ALIAS_KEYS.TypeScript;t.TYPESCRIPT_TYPES=ee;const qe=n.FLIPPED_ALIAS_KEYS.TSTypeElement;t.TSTYPEELEMENT_TYPES=qe;const Te=n.FLIPPED_ALIAS_KEYS.TSType;t.TSTYPE_TYPES=Te;const Be=n.FLIPPED_ALIAS_KEYS.TSBaseType;t.TSBASETYPE_TYPES=Be},"./node_modules/@babel/types/lib/constants/index.js":(B,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.NOT_LOCAL_BINDING=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BLOCK_SCOPED_SYMBOL=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0;const h=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=h;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const l=["left","init"];t.FOR_INIT_KEYS=l;const b=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=b;const m=["||","&&","??"];t.LOGICAL_OPERATORS=m;const g=["++","--"];t.UPDATE_OPERATORS=g;const p=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=p;const S=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=S;const T=[...S,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=T;const N=[...T,...p];t.BOOLEAN_BINARY_OPERATORS=N;const I=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=I;const O=["+",...I,...N];t.BINARY_OPERATORS=O;const _=["=","+=",...I.map(se=>se+"="),...m.map(se=>se+"=")];t.ASSIGNMENT_OPERATORS=_;const L=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=L;const x=["+","-","~"];t.NUMBER_UNARY_OPERATORS=x;const M=["typeof"];t.STRING_UNARY_OPERATORS=M;const w=["void","throw",...L,...x,...M];t.UNARY_OPERATORS=w;const j={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=j;const E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;const G=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=G},"./node_modules/@babel/types/lib/converters/ensureBlock.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/converters/toBlock.js");function l(b,m="body"){return b[m]=(0,n.default)(b[m],b)}},"./node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var n=h("./node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),l=h("./node_modules/@babel/types/lib/validators/generated/index.js"),b=h("./node_modules/@babel/types/lib/builders/generated/index.js"),m=h("./node_modules/@babel/types/lib/clone/cloneNode.js");function g(p,S,T){const N=[];let I=!0;for(const O of p)if((0,l.isEmptyStatement)(O)||(I=!1),(0,l.isExpression)(O))N.push(O);else if((0,l.isExpressionStatement)(O))N.push(O.expression);else if((0,l.isVariableDeclaration)(O)){if(O.kind!=="var")return;for(const _ of O.declarations){const L=(0,n.default)(_);for(const x of Object.keys(L))T.push({kind:O.kind,id:(0,m.default)(L[x])});_.init&&N.push((0,b.assignmentExpression)("=",_.id,_.init))}I=!0}else if((0,l.isIfStatement)(O)){const _=O.consequent?g([O.consequent],S,T):S.buildUndefinedNode(),L=O.alternate?g([O.alternate],S,T):S.buildUndefinedNode();if(!_||!L)return;N.push((0,b.conditionalExpression)(O.test,_,L))}else if((0,l.isBlockStatement)(O)){const _=g(O.body,S,T);if(!_)return;N.push(_)}else if((0,l.isEmptyStatement)(O))p.indexOf(O)===0&&(I=!0);else return;return I&&N.push(S.buildUndefinedNode()),N.length===1?N[0]:(0,b.sequenceExpression)(N)}},"./node_modules/@babel/types/lib/converters/toBindingIdentifierName.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/converters/toIdentifier.js");function l(b){return b=(0,n.default)(b),(b==="eval"||b==="arguments")&&(b="_"+b),b}},"./node_modules/@babel/types/lib/converters/toBlock.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js"),l=h("./node_modules/@babel/types/lib/builders/generated/index.js");function b(m,g){if((0,n.isBlockStatement)(m))return m;let p=[];return(0,n.isEmptyStatement)(m)?p=[]:((0,n.isStatement)(m)||((0,n.isFunction)(g)?m=(0,l.returnStatement)(m):m=(0,l.expressionStatement)(m)),p=[m]),(0,l.blockStatement)(p)}},"./node_modules/@babel/types/lib/converters/toComputedKey.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js"),l=h("./node_modules/@babel/types/lib/builders/generated/index.js");function b(m,g=m.key||m.property){return!m.computed&&(0,n.isIdentifier)(g)&&(g=(0,l.stringLiteral)(g.name)),g}},"./node_modules/@babel/types/lib/converters/toExpression.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js"),l=b;t.default=l;function b(m){if((0,n.isExpressionStatement)(m)&&(m=m.expression),(0,n.isExpression)(m))return m;if((0,n.isClass)(m)?m.type="ClassExpression":(0,n.isFunction)(m)&&(m.type="FunctionExpression"),!(0,n.isExpression)(m))throw new Error(`cannot turn ${m.type} to an expression`);return m}},"./node_modules/@babel/types/lib/converters/toIdentifier.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/validators/isValidIdentifier.js"),l=h("./node_modules/@babel/helper-validator-identifier/lib/index.js");function b(m){m=m+"";let g="";for(const p of m)g+=(0,l.isIdentifierChar)(p.codePointAt(0))?p:"-";return g=g.replace(/^[-0-9]+/,""),g=g.replace(/[-\s]+(.)?/g,function(p,S){return S?S.toUpperCase():""}),(0,n.default)(g)||(g=`_${g}`),g||"_"}},"./node_modules/@babel/types/lib/converters/toKeyAlias.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js"),l=h("./node_modules/@babel/types/lib/clone/cloneNode.js"),b=h("./node_modules/@babel/types/lib/modifications/removePropertiesDeep.js");function m(g,p=g.key){let S;return g.kind==="method"?m.increment()+"":((0,n.isIdentifier)(p)?S=p.name:(0,n.isStringLiteral)(p)?S=JSON.stringify(p.value):S=JSON.stringify((0,b.default)((0,l.default)(p))),g.computed&&(S=`[${S}]`),g.static&&(S=`static:${S}`),S)}m.uid=0,m.increment=function(){return m.uid>=Number.MAX_SAFE_INTEGER?m.uid=0:m.uid++}},"./node_modules/@babel/types/lib/converters/toSequenceExpression.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js");function l(b,m){if(!(b!=null&&b.length))return;const g=[],p=(0,n.default)(b,m,g);if(!!p){for(const S of g)m.push(S);return p}}},"./node_modules/@babel/types/lib/converters/toStatement.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js"),l=h("./node_modules/@babel/types/lib/builders/generated/index.js"),b=m;t.default=b;function m(g,p){if((0,n.isStatement)(g))return g;let S=!1,T;if((0,n.isClass)(g))S=!0,T="ClassDeclaration";else if((0,n.isFunction)(g))S=!0,T="FunctionDeclaration";else if((0,n.isAssignmentExpression)(g))return(0,l.expressionStatement)(g);if(S&&!g.id&&(T=!1),!T){if(p)return!1;throw new Error(`cannot turn ${g.type} to a statement`)}return g.type=T,g}},"./node_modules/@babel/types/lib/converters/valueToNode.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h("./node_modules/@babel/types/lib/validators/isValidIdentifier.js"),l=h("./node_modules/@babel/types/lib/builders/generated/index.js"),b=S;t.default=b;const m=Function.call.bind(Object.prototype.toString);function g(T){return m(T)==="[object RegExp]"}function p(T){if(typeof T!="object"||T===null||Object.prototype.toString.call(T)!=="[object Object]")return!1;const N=Object.getPrototypeOf(T);return N===null||Object.getPrototypeOf(N)===null}function S(T){if(T===void 0)return(0,l.identifier)("undefined");if(T===!0||T===!1)return(0,l.booleanLiteral)(T);if(T===null)return(0,l.nullLiteral)();if(typeof T=="string")return(0,l.stringLiteral)(T);if(typeof T=="number"){let N;if(Number.isFinite(T))N=(0,l.numericLiteral)(Math.abs(T));else{let I;Number.isNaN(T)?I=(0,l.numericLiteral)(0):I=(0,l.numericLiteral)(1),N=(0,l.binaryExpression)("/",I,(0,l.numericLiteral)(0))}return(T<0||Object.is(T,-0))&&(N=(0,l.unaryExpression)("-",N)),N}if(g(T)){const N=T.source,I=T.toString().match(/\/([a-z]+|)$/)[1];return(0,l.regExpLiteral)(N,I)}if(Array.isArray(T))return(0,l.arrayExpression)(T.map(S));if(p(T)){const N=[];for(const I of Object.keys(T)){let O;(0,n.default)(I)?O=(0,l.identifier)(I):O=(0,l.stringLiteral)(I),N.push((0,l.objectProperty)(O,S(T[I])))}return(0,l.objectExpression)(N)}throw new Error("don't know how to turn this value into a node")}},"./node_modules/@babel/types/lib/definitions/core.js":(B,t,h)=>{"use strict";var n=h("./node_modules/process/browser.js");Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var l=h("./node_modules/@babel/types/lib/validators/is.js"),b=h("./node_modules/@babel/types/lib/validators/isValidIdentifier.js"),m=h("./node_modules/@babel/helper-validator-identifier/lib/index.js"),g=h("./node_modules/@babel/types/lib/constants/index.js"),p=h("./node_modules/@babel/types/lib/definitions/utils.js");const S=(0,p.defineAliasedType)("Standardized");S("ArrayExpression",{fields:{elements:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:n.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),S("AssignmentExpression",{fields:{operator:{validate:function(){if(!n.env.BABEL_TYPES_8_BREAKING)return(0,p.assertValueType)("string");const x=(0,p.assertOneOf)(...g.ASSIGNMENT_OPERATORS),M=(0,p.assertOneOf)("=");return function(w,j,E){((0,l.default)("Pattern",w.left)?M:x)(w,j,E)}}()},left:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern"):(0,p.assertNodeType)("LVal")},right:{validate:(0,p.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),S("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,p.assertOneOf)(...g.BINARY_OPERATORS)},left:{validate:function(){const x=(0,p.assertNodeType)("Expression"),M=(0,p.assertNodeType)("Expression","PrivateName"),w=function(j,E,G){(j.operator==="in"?M:x)(j,E,G)};return w.oneOfNodeTypes=["Expression","PrivateName"],w}()},right:{validate:(0,p.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),S("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}}}),S("Directive",{visitor:["value"],fields:{value:{validate:(0,p.assertNodeType)("DirectiveLiteral")}}}),S("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}}}),S("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Directive"))),default:[]},body:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),S("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,p.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),S("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,p.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},n.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,p.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,p.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),S("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,p.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,p.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),S("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},consequent:{validate:(0,p.assertNodeType)("Expression")},alternate:{validate:(0,p.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),S("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,p.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),S("DebuggerStatement",{aliases:["Statement"]}),S("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),S("EmptyStatement",{aliases:["Statement"]}),S("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,p.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),S("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,p.assertNodeType)("Program")},comments:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,p.assertEach)((0,p.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,p.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),S("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern"):(0,p.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}}}),S("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,p.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,p.assertNodeType)("Expression"),optional:!0},update:{validate:(0,p.assertNodeType)("Expression"),optional:!0},body:{validate:(0,p.assertNodeType)("Statement")}}});const T={params:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}};t.functionCommon=T;const N={returnType:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}};t.functionTypeAnnotationCommon=N;const I=Object.assign({},T,{declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=I,S("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},I,N,{body:{validate:(0,p.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!n.env.BABEL_TYPES_8_BREAKING)return()=>{};const x=(0,p.assertNodeType)("Identifier");return function(M,w,j){(0,l.default)("ExportDefaultDeclaration",M)||x(j,"id",j.id)}}()}),S("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},T,N,{id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,p.assertNodeType)("BlockStatement")}})});const O={typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator")))}};t.patternLikeCommon=O,S("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},O,{name:{validate:(0,p.chain)((0,p.assertValueType)("string"),Object.assign(function(x,M,w){if(!!n.env.BABEL_TYPES_8_BREAKING&&!(0,b.default)(w,!1))throw new TypeError(`"${w}" is not a valid identifier name`)},{type:"string"}))},optional:{validate:(0,p.assertValueType)("boolean"),optional:!0}}),validate(x,M,w){if(!n.env.BABEL_TYPES_8_BREAKING)return;const j=/\.(\w+)$/.exec(M);if(!j)return;const[,E]=j,G={computed:!1};if(E==="property"){if((0,l.default)("MemberExpression",x,G)||(0,l.default)("OptionalMemberExpression",x,G))return}else if(E==="key"){if((0,l.default)("Property",x,G)||(0,l.default)("Method",x,G))return}else if(E==="exported"){if((0,l.default)("ExportSpecifier",x))return}else if(E==="imported"){if((0,l.default)("ImportSpecifier",x,{imported:w}))return}else if(E==="meta"&&(0,l.default)("MetaProperty",x,{meta:w}))return;if(((0,m.isKeyword)(w.name)||(0,m.isReservedWord)(w.name,!1))&&w.name!=="this")throw new TypeError(`"${w.name}" is not a valid identifier`)}}),S("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},consequent:{validate:(0,p.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,p.assertNodeType)("Statement")}}}),S("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,p.assertNodeType)("Identifier")},body:{validate:(0,p.assertNodeType)("Statement")}}}),S("StringLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),S("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,p.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),S("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),S("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),S("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,p.assertValueType)("string")},flags:{validate:(0,p.chain)((0,p.assertValueType)("string"),Object.assign(function(x,M,w){if(!n.env.BABEL_TYPES_8_BREAKING)return;const j=/[^gimsuy]/.exec(w);if(j)throw new TypeError(`"${j[0]}" is not a valid RegExp flag`)},{type:"string"})),default:""}}}),S("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,p.assertOneOf)(...g.LOGICAL_OPERATORS)},left:{validate:(0,p.assertNodeType)("Expression")},right:{validate:(0,p.assertNodeType)("Expression")}}}),S("MemberExpression",{builder:["object","property","computed",...n.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,p.assertNodeType)("Expression")},property:{validate:function(){const x=(0,p.assertNodeType)("Identifier","PrivateName"),M=(0,p.assertNodeType)("Expression"),w=function(j,E,G){(j.computed?M:x)(j,E,G)};return w.oneOfNodeTypes=["Expression","Identifier","PrivateName"],w}()},computed:{default:!1}},n.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,p.assertOneOf)(!0,!1),optional:!0}})}),S("NewExpression",{inherits:"CallExpression"}),S("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,p.assertValueType)("string")},sourceType:{validate:(0,p.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,p.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Directive"))),default:[]},body:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),S("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),S("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},T,N,{kind:Object.assign({validate:(0,p.assertOneOf)("method","get","set")},n.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){const x=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),M=(0,p.assertNodeType)("Expression"),w=function(j,E,G){(j.computed?M:x)(j,E,G)};return w.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"],w}()},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},body:{validate:(0,p.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),S("ObjectProperty",{builder:["key","value","computed","shorthand",...n.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){const x=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),M=(0,p.assertNodeType)("Expression"),w=function(j,E,G){(j.computed?M:x)(j,E,G)};return w.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"],w}()},value:{validate:(0,p.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,p.chain)((0,p.assertValueType)("boolean"),Object.assign(function(x,M,w){if(!!n.env.BABEL_TYPES_8_BREAKING&&w&&x.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")},{type:"boolean"}),function(x,M,w){if(!!n.env.BABEL_TYPES_8_BREAKING&&w&&!(0,l.default)("Identifier",x.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}),default:!1},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const x=(0,p.assertNodeType)("Identifier","Pattern"),M=(0,p.assertNodeType)("Expression");return function(w,j,E){if(!n.env.BABEL_TYPES_8_BREAKING)return;((0,l.default)("ObjectPattern",w)?x:M)(E,"value",E.value)}}()}),S("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},O,{argument:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression"):(0,p.assertNodeType)("LVal")},optional:{validate:(0,p.assertValueType)("boolean"),optional:!0}}),validate(x,M){if(!n.env.BABEL_TYPES_8_BREAKING)return;const w=/(\w+)\[(\d+)\]/.exec(M);if(!w)throw new Error("Internal Babel error: malformed key.");const[,j,E]=w;if(x[j].length>E+1)throw new TypeError(`RestElement must be last element of ${j}`)}}),S("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,p.assertNodeType)("Expression"),optional:!0}}}),S("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Expression")))}},aliases:["Expression"]}),S("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,p.assertNodeType)("Expression")}}}),S("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,p.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Statement")))}}}),S("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,p.assertNodeType)("Expression")},cases:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("SwitchCase")))}}}),S("ThisExpression",{aliases:["Expression"]}),S("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,p.assertNodeType)("Expression")}}}),S("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,p.chain)((0,p.assertNodeType)("BlockStatement"),Object.assign(function(x){if(!!n.env.BABEL_TYPES_8_BREAKING&&!x.handler&&!x.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:(0,p.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,p.assertNodeType)("BlockStatement")}}}),S("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,p.assertNodeType)("Expression")},operator:{validate:(0,p.assertOneOf)(...g.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),S("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,p.assertNodeType)("Identifier","MemberExpression"):(0,p.assertNodeType)("Expression")},operator:{validate:(0,p.assertOneOf)(...g.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),S("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},kind:{validate:(0,p.assertOneOf)("var","let","const")},declarations:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("VariableDeclarator")))}},validate(x,M,w){if(!!n.env.BABEL_TYPES_8_BREAKING&&!!(0,l.default)("ForXStatement",x,{left:w})&&w.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${x.type}`)}}),S("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!n.env.BABEL_TYPES_8_BREAKING)return(0,p.assertNodeType)("LVal");const x=(0,p.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),M=(0,p.assertNodeType)("Identifier");return function(w,j,E){(w.init?x:M)(w,j,E)}}()},definite:{optional:!0,validate:(0,p.assertValueType)("boolean")},init:{optional:!0,validate:(0,p.assertNodeType)("Expression")}}}),S("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}}}),S("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")}}}),S("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},O,{left:{validate:(0,p.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,p.assertNodeType)("Expression")},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0}})}),S("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},O,{elements:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},optional:{validate:(0,p.assertValueType)("boolean"),optional:!0}})}),S("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},T,N,{expression:{validate:(0,p.assertValueType)("boolean")},body:{validate:(0,p.assertNodeType)("BlockStatement","Expression")}})}),S("ClassBody",{visitor:["body"],fields:{body:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}}),S("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,p.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,p.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,p.assertNodeType)("Expression")},superTypeParameters:{validate:(0,p.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,p.assertNodeType)("InterfaceExtends"),optional:!0}}}),S("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,p.assertNodeType)("Identifier")},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,p.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,p.assertNodeType)("Expression")},superTypeParameters:{validate:(0,p.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,p.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,p.assertValueType)("boolean"),optional:!0}},validate:function(){const x=(0,p.assertNodeType)("Identifier");return function(M,w,j){!n.env.BABEL_TYPES_8_BREAKING||(0,l.default)("ExportDefaultDeclaration",M)||x(j,"id",j.id)}}()}),S("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,p.assertNodeType)("StringLiteral")},exportKind:(0,p.validateOptional)((0,p.assertOneOf)("type","value")),assertions:{optional:!0,validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportAttribute")))}}}),S("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,p.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")},exportKind:(0,p.validateOptional)((0,p.assertOneOf)("value"))}}),S("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:(0,p.chain)((0,p.assertNodeType)("Declaration"),Object.assign(function(x,M,w){if(!!n.env.BABEL_TYPES_8_BREAKING&&w&&x.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")},{oneOfNodeTypes:["Declaration"]}),function(x,M,w){if(!!n.env.BABEL_TYPES_8_BREAKING&&w&&x.source)throw new TypeError("Cannot export a declaration from a source")})},assertions:{optional:!0,validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)(function(){const x=(0,p.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),M=(0,p.assertNodeType)("ExportSpecifier");return n.env.BABEL_TYPES_8_BREAKING?function(w,j,E){(w.source?x:M)(w,j,E)}:x}()))},source:{validate:(0,p.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,p.validateOptional)((0,p.assertOneOf)("type","value"))}}),S("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")},exported:{validate:(0,p.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,p.assertOneOf)("type","value"),optional:!0}}}),S("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!n.env.BABEL_TYPES_8_BREAKING)return(0,p.assertNodeType)("VariableDeclaration","LVal");const x=(0,p.assertNodeType)("VariableDeclaration"),M=(0,p.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(w,j,E){(0,l.default)("VariableDeclaration",E)?x(w,j,E):M(w,j,E)}}()},right:{validate:(0,p.assertNodeType)("Expression")},body:{validate:(0,p.assertNodeType)("Statement")},await:{default:!1}}}),S("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:!0,validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,p.assertNodeType)("StringLiteral")},importKind:{validate:(0,p.assertOneOf)("type","typeof","value"),optional:!0}}}),S("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")}}}),S("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")}}}),S("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,p.assertNodeType)("Identifier")},imported:{validate:(0,p.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,p.assertOneOf)("type","typeof","value"),optional:!0}}}),S("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,p.chain)((0,p.assertNodeType)("Identifier"),Object.assign(function(x,M,w){if(!n.env.BABEL_TYPES_8_BREAKING)return;let j;switch(w.name){case"function":j="sent";break;case"new":j="target";break;case"import":j="meta";break}if(!(0,l.default)("Identifier",x.property,{name:j}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,p.assertNodeType)("Identifier")}}});const _={abstract:{validate:(0,p.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,p.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,p.assertValueType)("boolean"),optional:!0},key:{validate:(0,p.chain)(function(){const x=(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),M=(0,p.assertNodeType)("Expression");return function(w,j,E){(w.computed?M:x)(w,j,E)}}(),(0,p.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=_;const L=Object.assign({},T,_,{params:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,p.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,p.chain)((0,p.assertValueType)("string"),(0,p.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0}});t.classMethodOrDeclareMethodCommon=L,S("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},L,N,{body:{validate:(0,p.assertNodeType)("BlockStatement")}})}),S("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},O,{properties:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("RestElement","ObjectProperty")))}})}),S("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,p.assertNodeType)("Expression")}}}),S("Super",{aliases:["Expression"]}),S("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,p.assertNodeType)("Expression")},quasi:{validate:(0,p.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,p.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),S("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,p.assertShape)({raw:{validate:(0,p.assertValueType)("string")},cooked:{validate:(0,p.assertValueType)("string"),optional:!0}})},tail:{default:!1}}}),S("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("TemplateElement")))},expressions:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Expression","TSType")),function(x,M,w){if(x.quasis.length!==w.length+1)throw new TypeError(`Number of ${x.type} quasis should be exactly one more than the number of expressions.
Expected ${w.length+1} quasis but got ${x.quasis.length}`)})}}}),S("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,p.chain)((0,p.assertValueType)("boolean"),Object.assign(function(x,M,w){if(!!n.env.BABEL_TYPES_8_BREAKING&&w&&!x.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})),default:!1},argument:{optional:!0,validate:(0,p.assertNodeType)("Expression")}}}),S("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,p.assertNodeType)("Expression")}}}),S("Import",{aliases:["Expression"]}),S("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,p.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),S("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,p.assertNodeType)("Identifier")}}}),S("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,p.assertNodeType)("Expression")},property:{validate:function(){const x=(0,p.assertNodeType)("Identifier"),M=(0,p.assertNodeType)("Expression"),w=function(j,E,G){(j.computed?M:x)(j,E,G)};return w.oneOfNodeTypes=["Expression","Identifier"],w}()},computed:{default:!1},optional:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertValueType)("boolean"),(0,p.assertOptionalChainStart)()):(0,p.assertValueType)("boolean")}}}),S("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,p.assertNodeType)("Expression")},arguments:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:n.env.BABEL_TYPES_8_BREAKING?(0,p.chain)((0,p.assertValueType)("boolean"),(0,p.assertOptionalChainStart)()):(0,p.assertValueType)("boolean")},typeArguments:{validate:(0,p.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,p.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),S("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},_,{value:{validate:(0,p.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,p.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,p.assertValueType)("boolean"),optional:!0},declare:{validate:(0,p.assertValueType)("boolean"),optional:!0},variance:{validate:(0,p.assertNodeType)("Variance"),optional:!0}})}),S("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,p.assertNodeType)("PrivateName")},value:{validate:(0,p.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,p.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,p.assertValueType)("boolean"),optional:!0},definite:{validate:(0,p.assertValueType)("boolean"),optional:!0},variance:{validate:(0,p.assertNodeType)("Variance"),optional:!0}}}),S("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},L,N,{key:{validate:(0,p.assertNodeType)("PrivateName")},body:{validate:(0,p.assertNodeType)("BlockStatement")}})}),S("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,p.assertNodeType)("Identifier")}}}),S("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,p.chain)((0,p.assertValueType)("array"),(0,p.assertEach)((0,p.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})},"./node_modules/@babel/types/lib/definitions/experimental.js":(B,t,h)=>{"use strict";var n=h("./node_modules/process/browser.js"),l=h("./node_modules/@babel/types/lib/definitions/utils.js");(0,l.default)("ArgumentPlaceholder",{}),(0,l.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:n.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,l.assertNodeType)("Expression")},callee:{validate:(0,l.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,l.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,l.assertNodeType)("StringLiteral")}}}),(0,l.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}}}),(0,l.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,l.assertNodeType)("BlockStatement")},async:{validate:(0,l.assertValueType)("boolean"),default:!1}}}),(0,l.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,l.assertNodeType)("Identifier")}}}),(0,l.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ObjectProperty","SpreadElement")))}}}),(0,l.default)("TupleExpression",{fields:{elements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,l.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,l.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,l.assertNodeType)("Program")}},aliases:["Expression"]}),(0,l.default)("TopicReference",{aliases:["Expression"]}),(0,l.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,l.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,l.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},"./node_modules/@babel/types/lib/definitions/flow.js":(B,t,h)=>{"use strict";var n=h("./node_modules/@babel/types/lib/definitions/utils.js");const l=(0,n.defineAliasedType)("Flow"),b=(m,g="TypeParameterDeclaration")=>{l(m,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(g),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};l("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),l("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}}),l("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),l("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}}),l("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),l("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),b("DeclareClass"),l("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}}),b("DeclareInterface"),l("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}}),l("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),l("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),l("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}}),l("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}}),l("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),l("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}}),l("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}}),l("ExistsTypeAnnotation",{aliases:["FlowType"]}),l("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}}),l("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),l("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),l("InferredPredicate",{aliases:["FlowPredicate"]}),l("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),b("InterfaceDeclaration"),l("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}}),l("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),l("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),l("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),l("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),l("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}}),l("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),l("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:!1},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),l("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}}),l("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}}),l("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}}),l("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}}),l("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}}),l("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}}),l("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),l("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}}),l("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),l("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),l("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),l("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),l("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,n.validateType)("FlowType")}}),l("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),l("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),l("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),l("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}}),l("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}}),l("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),l("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),l("Variance",{builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}}),l("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),l("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),l("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),l("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),l("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),l("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),l("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}}),l("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}}),l("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}}),l("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),l("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}}),l("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},"./node_modules/@babel/types/lib/definitions/index.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return l.ALIAS_KEYS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return l.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return l.DEPRECATED_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return l.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return l.NODE_FIELDS}}),Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return l.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return b.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return b.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return b.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return l.VISITOR_KEYS}});var n=h("./node_modules/to-fast-properties/index.js");h("./node_modules/@babel/types/lib/definitions/core.js"),h("./node_modules/@babel/types/lib/definitions/flow.js"),h("./node_modules/@babel/types/lib/definitions/jsx.js"),h("./node_modules/@babel/types/lib/definitions/misc.js"),h("./node_modules/@babel/types/lib/definitions/experimental.js"),h("./node_modules/@babel/types/lib/definitions/typescript.js");var l=h("./node_modules/@babel/types/lib/definitions/utils.js"),b=h("./node_modules/@babel/types/lib/definitions/placeholders.js");n(l.VISITOR_KEYS),n(l.ALIAS_KEYS),n(l.FLIPPED_ALIAS_KEYS),n(l.NODE_FIELDS),n(l.BUILDER_KEYS),n(l.DEPRECATED_KEYS),n(b.PLACEHOLDERS_ALIAS),n(b.PLACEHOLDERS_FLIPPED_ALIAS);const m=[].concat(Object.keys(l.VISITOR_KEYS),Object.keys(l.FLIPPED_ALIAS_KEYS),Object.keys(l.DEPRECATED_KEYS));t.TYPES=m},"./node_modules/@babel/types/lib/definitions/jsx.js":(B,t,h)=>{"use strict";var n=h("./node_modules/@babel/types/lib/definitions/utils.js");const l=(0,n.defineAliasedType)("JSX");l("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),l("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),l("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:!0}}}),l("JSXEmptyExpression",{}),l("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}}),l("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),l("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),l("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),l("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),l("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),l("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),l("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),l("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),l("JSXOpeningFragment",{aliases:["Immutable"]}),l("JSXClosingFragment",{aliases:["Immutable"]})},"./node_modules/@babel/types/lib/definitions/misc.js":(B,t,h)=>{"use strict";var n=h("./node_modules/@babel/types/lib/definitions/utils.js"),l=h("./node_modules/@babel/types/lib/definitions/placeholders.js");const b=(0,n.defineAliasedType)("Miscellaneous");b("Noop",{visitor:[]}),b("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...l.PLACEHOLDERS)}}}),b("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},"./node_modules/@babel/types/lib/definitions/placeholders.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=h("./node_modules/@babel/types/lib/definitions/utils.js");const l=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=l;const b={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=b;for(const g of l){const p=n.ALIAS_KEYS[g];p!=null&&p.length&&(b[g]=p)}const m={};t.PLACEHOLDERS_FLIPPED_ALIAS=m,Object.keys(b).forEach(g=>{b[g].forEach(p=>{Object.hasOwnProperty.call(m,p)||(m[p]=[]),m[p].push(g)})})},"./node_modules/@babel/types/lib/definitions/typescript.js":(B,t,h)=>{"use strict";var n=h("./node_modules/@babel/types/lib/definitions/utils.js"),l=h("./node_modules/@babel/types/lib/definitions/core.js"),b=h("./node_modules/@babel/types/lib/validators/is.js");const m=(0,n.defineAliasedType)("TypeScript"),g=(0,n.assertValueType)("boolean"),p={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}};m("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}}}),m("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},l.functionDeclarationCommon,p)}),m("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},l.classMethodOrDeclareMethodCommon,p)}),m("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const S={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")},T={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:S};m("TSCallSignatureDeclaration",T),m("TSConstructSignatureDeclaration",T);const N={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(g),optional:(0,n.validateOptional)(g)};m("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},N,{readonly:(0,n.validateOptional)(g),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})}),m("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},S,N,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})}),m("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(g),static:(0,n.validateOptional)(g),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const I=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const L of I)m(L,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});m("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const O={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};m("TSFunctionType",Object.assign({},O,{fields:S})),m("TSConstructorType",Object.assign({},O,{fields:Object.assign({},S,{abstract:(0,n.validateOptional)(g)})})),m("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),m("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(g)}}),m("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}}),m("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}}),m("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}}),m("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}}),m("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),m("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),m("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:g,default:!1},elementType:(0,n.validateType)("TSType")}});const _={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};m("TSUnionType",_),m("TSIntersectionType",_),m("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}}),m("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}}),m("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),m("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}}),m("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}}),m("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(g),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(g),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}}),m("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const L=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral"),x=(0,n.assertOneOf)("-"),M=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral");function w(j,E,G){(0,b.default)("UnaryExpression",G)?(x(G,"operator",G.operator),L(G,"argument",G.argument)):M(j,E,G)}return w.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","UnaryExpression"],w}()}}}),m("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),m("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(g),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}}),m("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}}),m("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(g),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}}),m("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}}),m("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}}),m("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(g),const:(0,n.validateOptional)(g),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}}),m("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}}),m("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(g),global:(0,n.validateOptional)(g),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),m("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}}),m("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),m("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(g),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:!0}}}),m("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}}),m("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),m("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),m("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),m("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}}),m("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}}),m("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}}),m("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:!0},default:{validate:(0,n.assertNodeType)("TSType"),optional:!0}}})},"./node_modules/@babel/types/lib/definitions/utils.js":(B,t,h)=>{"use strict";var n=h("./node_modules/process/browser.js");Object.defineProperty(t,"__esModule",{value:!0}),t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0,t.arrayOf=j,t.arrayOfType=E,t.assertEach=se,t.assertNodeOrValueType=_e,t.assertNodeType=Se,t.assertOneOf=fe,t.assertOptionalChainStart=$,t.assertShape=te,t.assertValueType=he,t.chain=R,t.default=Oe,t.defineAliasedType=ye,t.typeIs=L,t.validate=_,t.validateArrayOfType=G,t.validateOptional=M,t.validateOptionalType=w,t.validateType=x;var l=h("./node_modules/@babel/types/lib/validators/is.js"),b=h("./node_modules/@babel/types/lib/validators/validate.js");const m={};t.VISITOR_KEYS=m;const g={};t.ALIAS_KEYS=g;const p={};t.FLIPPED_ALIAS_KEYS=p;const S={};t.NODE_FIELDS=S;const T={};t.BUILDER_KEYS=T;const N={};t.DEPRECATED_KEYS=N;const I={};t.NODE_PARENT_VALIDATIONS=I;function O(K){return Array.isArray(K)?"array":K===null?"null":typeof K}function _(K){return{validate:K}}function L(K){return typeof K=="string"?Se(K):Se(...K)}function x(K){return _(L(K))}function M(K){return{validate:K,optional:!0}}function w(K){return{validate:L(K),optional:!0}}function j(K){return R(he("array"),se(K))}function E(K){return j(L(K))}function G(K){return _(E(K))}function se(K){function k(q,W,Q){if(!!Array.isArray(Q))for(let ie=0;ie<Q.length;ie++){const ue=`${W}[${ie}]`,re=Q[ie];K(q,ue,re),n.env.BABEL_TYPES_8_BREAKING&&(0,b.validateChild)(q,ue,re)}}return k.each=K,k}function fe(...K){function k(q,W,Q){if(K.indexOf(Q)<0)throw new TypeError(`Property ${W} expected value to be one of ${JSON.stringify(K)} but got ${JSON.stringify(Q)}`)}return k.oneOf=K,k}function Se(...K){function k(q,W,Q){for(const ie of K)if((0,l.default)(ie,Q)){(0,b.validateChild)(q,W,Q);return}throw new TypeError(`Property ${W} of ${q.type} expected node to be of a type ${JSON.stringify(K)} but instead got ${JSON.stringify(Q==null?void 0:Q.type)}`)}return k.oneOfNodeTypes=K,k}function _e(...K){function k(q,W,Q){for(const ie of K)if(O(Q)===ie||(0,l.default)(ie,Q)){(0,b.validateChild)(q,W,Q);return}throw new TypeError(`Property ${W} of ${q.type} expected node to be of a type ${JSON.stringify(K)} but instead got ${JSON.stringify(Q==null?void 0:Q.type)}`)}return k.oneOfNodeOrValueTypes=K,k}function he(K){function k(q,W,Q){if(!(O(Q)===K))throw new TypeError(`Property ${W} expected type of ${K} but got ${O(Q)}`)}return k.type=K,k}function te(K){function k(q,W,Q){const ie=[];for(const ue of Object.keys(K))try{(0,b.validateField)(q,ue,Q[ue],K[ue])}catch(re){if(re instanceof TypeError){ie.push(re.message);continue}throw re}if(ie.length)throw new TypeError(`Property ${W} of ${q.type} expected to have the following:
${ie.join(`
`)}`)}return k.shapeOf=K,k}function $(){function K(k){var q;let W=k;for(;k;){const{type:Q}=W;if(Q==="OptionalCallExpression"){if(W.optional)return;W=W.callee;continue}if(Q==="OptionalMemberExpression"){if(W.optional)return;W=W.object;continue}break}throw new TypeError(`Non-optional ${k.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(q=W)==null?void 0:q.type}`)}return K}function R(...K){function k(...q){for(const W of K)W(...q)}if(k.chainOf=K,K.length>=2&&"type"in K[0]&&K[0].type==="array"&&!("each"in K[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return k}const ve=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],Ee=["default","optional","validate"];function ye(...K){return(k,q={})=>{let W=q.aliases;if(!W){var Q,ie;q.inherits&&(W=(Q=ge[q.inherits].aliases)==null?void 0:Q.slice()),(ie=W)!=null||(W=[]),q.aliases=W}const ue=K.filter(re=>!W.includes(re));return W.unshift(...ue),Oe(k,q)}}function Oe(K,k={}){const q=k.inherits&&ge[k.inherits]||{};let W=k.fields;if(!W&&(W={},q.fields)){const re=Object.getOwnPropertyNames(q.fields);for(const le of re){const me=q.fields[le],U=me.default;if(Array.isArray(U)?U.length>0:U&&typeof U=="object")throw new Error("field defaults can only be primitives or empty arrays currently");W[le]={default:Array.isArray(U)?[]:U,optional:me.optional,validate:me.validate}}}const Q=k.visitor||q.visitor||[],ie=k.aliases||q.aliases||[],ue=k.builder||q.builder||k.visitor||[];for(const re of Object.keys(k))if(ve.indexOf(re)===-1)throw new Error(`Unknown type option "${re}" on ${K}`);k.deprecatedAlias&&(N[k.deprecatedAlias]=K);for(const re of Q.concat(ue))W[re]=W[re]||{};for(const re of Object.keys(W)){const le=W[re];le.default!==void 0&&ue.indexOf(re)===-1&&(le.optional=!0),le.default===void 0?le.default=null:!le.validate&&le.default!=null&&(le.validate=he(O(le.default)));for(const me of Object.keys(le))if(Ee.indexOf(me)===-1)throw new Error(`Unknown field key "${me}" on ${K}.${re}`)}m[K]=k.visitor=Q,T[K]=k.builder=ue,S[K]=k.fields=W,g[K]=k.aliases=ie,ie.forEach(re=>{p[re]=p[re]||[],p[re].push(K)}),k.validate&&(I[K]=k.validate),ge[K]=k}const ge={}},"./node_modules/@babel/types/lib/index.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0};Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return vt.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"createFlowUnionType",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"createTSUnionType",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return Be.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return yt.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return et.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return mt.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return Tt.default}}),Object.defineProperty(t,"isPlaceholderType",{enumerable:!0,get:function(){return Ge.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return bt.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return St.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return Et.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return Pt.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return gt.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return Ae.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return Fe.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return At.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return ue.default}}),t.react=void 0,Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return _e.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return Ee.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return Ce.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return Re.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return q.default}});var l=h("./node_modules/@babel/types/lib/validators/react/isReactComponent.js"),b=h("./node_modules/@babel/types/lib/validators/react/isCompatTag.js"),m=h("./node_modules/@babel/types/lib/builders/react/buildChildren.js"),g=h("./node_modules/@babel/types/lib/asserts/assertNode.js"),p=h("./node_modules/@babel/types/lib/asserts/generated/index.js");Object.keys(p).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(n,F)||F in t&&t[F]===p[F]||Object.defineProperty(t,F,{enumerable:!0,get:function(){return p[F]}})});var S=h("./node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js"),T=h("./node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js"),N=h("./node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js"),I=h("./node_modules/@babel/types/lib/builders/generated/index.js");Object.keys(I).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(n,F)||F in t&&t[F]===I[F]||Object.defineProperty(t,F,{enumerable:!0,get:function(){return I[F]}})});var O=h("./node_modules/@babel/types/lib/builders/generated/uppercase.js");Object.keys(O).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(n,F)||F in t&&t[F]===O[F]||Object.defineProperty(t,F,{enumerable:!0,get:function(){return O[F]}})});var _=h("./node_modules/@babel/types/lib/clone/cloneNode.js"),L=h("./node_modules/@babel/types/lib/clone/clone.js"),x=h("./node_modules/@babel/types/lib/clone/cloneDeep.js"),M=h("./node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js"),w=h("./node_modules/@babel/types/lib/clone/cloneWithoutLoc.js"),j=h("./node_modules/@babel/types/lib/comments/addComment.js"),E=h("./node_modules/@babel/types/lib/comments/addComments.js"),G=h("./node_modules/@babel/types/lib/comments/inheritInnerComments.js"),se=h("./node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),fe=h("./node_modules/@babel/types/lib/comments/inheritsComments.js"),Se=h("./node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),_e=h("./node_modules/@babel/types/lib/comments/removeComments.js"),he=h("./node_modules/@babel/types/lib/constants/generated/index.js");Object.keys(he).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(n,F)||F in t&&t[F]===he[F]||Object.defineProperty(t,F,{enumerable:!0,get:function(){return he[F]}})});var te=h("./node_modules/@babel/types/lib/constants/index.js");Object.keys(te).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(n,F)||F in t&&t[F]===te[F]||Object.defineProperty(t,F,{enumerable:!0,get:function(){return te[F]}})});var $=h("./node_modules/@babel/types/lib/converters/ensureBlock.js"),R=h("./node_modules/@babel/types/lib/converters/toBindingIdentifierName.js"),ve=h("./node_modules/@babel/types/lib/converters/toBlock.js"),Ee=h("./node_modules/@babel/types/lib/converters/toComputedKey.js"),ye=h("./node_modules/@babel/types/lib/converters/toExpression.js"),Oe=h("./node_modules/@babel/types/lib/converters/toIdentifier.js"),ge=h("./node_modules/@babel/types/lib/converters/toKeyAlias.js"),K=h("./node_modules/@babel/types/lib/converters/toSequenceExpression.js"),k=h("./node_modules/@babel/types/lib/converters/toStatement.js"),q=h("./node_modules/@babel/types/lib/converters/valueToNode.js"),W=h("./node_modules/@babel/types/lib/definitions/index.js");Object.keys(W).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(n,F)||F in t&&t[F]===W[F]||Object.defineProperty(t,F,{enumerable:!0,get:function(){return W[F]}})});var Q=h("./node_modules/@babel/types/lib/modifications/appendToMemberExpression.js"),ie=h("./node_modules/@babel/types/lib/modifications/inherits.js"),ue=h("./node_modules/@babel/types/lib/modifications/prependToMemberExpression.js"),re=h("./node_modules/@babel/types/lib/modifications/removeProperties.js"),le=h("./node_modules/@babel/types/lib/modifications/removePropertiesDeep.js"),me=h("./node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js"),U=h("./node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),Z=h("./node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js"),Ce=h("./node_modules/@babel/types/lib/traverse/traverse.js");Object.keys(Ce).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(n,F)||F in t&&t[F]===Ce[F]||Object.defineProperty(t,F,{enumerable:!0,get:function(){return Ce[F]}})});var ee=h("./node_modules/@babel/types/lib/traverse/traverseFast.js"),qe=h("./node_modules/@babel/types/lib/utils/shallowEqual.js"),Te=h("./node_modules/@babel/types/lib/validators/is.js"),Be=h("./node_modules/@babel/types/lib/validators/isBinding.js"),yt=h("./node_modules/@babel/types/lib/validators/isBlockScoped.js"),et=h("./node_modules/@babel/types/lib/validators/isImmutable.js"),mt=h("./node_modules/@babel/types/lib/validators/isLet.js"),tt=h("./node_modules/@babel/types/lib/validators/isNode.js"),Tt=h("./node_modules/@babel/types/lib/validators/isNodesEquivalent.js"),Ge=h("./node_modules/@babel/types/lib/validators/isPlaceholderType.js"),bt=h("./node_modules/@babel/types/lib/validators/isReferenced.js"),St=h("./node_modules/@babel/types/lib/validators/isScope.js"),Et=h("./node_modules/@babel/types/lib/validators/isSpecifierDefault.js"),Pt=h("./node_modules/@babel/types/lib/validators/isType.js"),gt=h("./node_modules/@babel/types/lib/validators/isValidES3Identifier.js"),Ae=h("./node_modules/@babel/types/lib/validators/isValidIdentifier.js"),Fe=h("./node_modules/@babel/types/lib/validators/isVar.js"),At=h("./node_modules/@babel/types/lib/validators/matchesPattern.js"),Re=h("./node_modules/@babel/types/lib/validators/validate.js"),vt=h("./node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js"),Le=h("./node_modules/@babel/types/lib/validators/generated/index.js");Object.keys(Le).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(n,F)||F in t&&t[F]===Le[F]||Object.defineProperty(t,F,{enumerable:!0,get:function(){return Le[F]}})});var Ke=h("./node_modules/@babel/types/lib/ast-types/generated/index.js");Object.keys(Ke).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(n,F)||F in t&&t[F]===Ke[F]||Object.defineProperty(t,F,{enumerable:!0,get:function(){return Ke[F]}})});const It={isReactComponent:l.default,isCompatTag:b.default,buildChildren:m.default};t.react=It},"./node_modules/@babel/types/lib/modifications/appendToMemberExpression.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/builders/generated/index.js");function l(b,m,g=!1){return b.object=(0,n.memberExpression)(b.object,b.property,b.computed),b.property=m,b.computed=!!g,b}},"./node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js");function l(m){return(0,n.isIdentifier)(m)?m.name:`${m.id.name}.${l(m.qualification)}`}function b(m){const g={},p={},S=new Set,T=[];for(let N=0;N<m.length;N++){const I=m[N];if(!!I&&!(T.indexOf(I)>=0)){if((0,n.isAnyTypeAnnotation)(I))return[I];if((0,n.isFlowBaseAnnotation)(I)){p[I.type]=I;continue}if((0,n.isUnionTypeAnnotation)(I)){S.has(I.types)||(m=m.concat(I.types),S.add(I.types));continue}if((0,n.isGenericTypeAnnotation)(I)){const O=l(I.id);if(g[O]){let _=g[O];_.typeParameters?I.typeParameters&&(_.typeParameters.params=b(_.typeParameters.params.concat(I.typeParameters.params))):_=I.typeParameters}else g[O]=I;continue}T.push(I)}}for(const N of Object.keys(p))T.push(p[N]);for(const N of Object.keys(g))T.push(g[N]);return T}},"./node_modules/@babel/types/lib/modifications/inherits.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/constants/index.js"),l=h("./node_modules/@babel/types/lib/comments/inheritsComments.js");function b(m,g){if(!m||!g)return m;for(const p of n.INHERIT_KEYS.optional)m[p]==null&&(m[p]=g[p]);for(const p of Object.keys(g))p[0]==="_"&&p!=="__clone"&&(m[p]=g[p]);for(const p of n.INHERIT_KEYS.force)m[p]=g[p];return(0,l.default)(m,g),m}},"./node_modules/@babel/types/lib/modifications/prependToMemberExpression.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/builders/generated/index.js");function l(b,m){return b.object=(0,n.memberExpression)(m,b.object),b}},"./node_modules/@babel/types/lib/modifications/removeProperties.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=m;var n=h("./node_modules/@babel/types/lib/constants/index.js");const l=["tokens","start","end","loc","raw","rawValue"],b=n.COMMENT_KEYS.concat(["comments"]).concat(l);function m(g,p={}){const S=p.preserveComments?l:b;for(const N of S)g[N]!=null&&(g[N]=void 0);for(const N of Object.keys(g))N[0]==="_"&&g[N]!=null&&(g[N]=void 0);const T=Object.getOwnPropertySymbols(g);for(const N of T)g[N]=null}},"./node_modules/@babel/types/lib/modifications/removePropertiesDeep.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/traverse/traverseFast.js"),l=h("./node_modules/@babel/types/lib/modifications/removeProperties.js");function b(m,g){return(0,n.default)(m,l.default,g),m}},"./node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js");function l(b){const m={},g={},p=new Set,S=[];for(let T=0;T<b.length;T++){const N=b[T];if(!!N&&!(S.indexOf(N)>=0)){if((0,n.isTSAnyKeyword)(N))return[N];if((0,n.isTSBaseType)(N)){g[N.type]=N;continue}if((0,n.isTSUnionType)(N)){p.has(N.types)||(b.push(...N.types),p.add(N.types));continue}S.push(N)}}for(const T of Object.keys(g))S.push(g[T]);for(const T of Object.keys(m))S.push(m[T]);return S}},"./node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js");function l(b,m,g){let p=[].concat(b);const S=Object.create(null);for(;p.length;){const T=p.shift();if(!T)continue;const N=l.keys[T.type];if((0,n.isIdentifier)(T)){m?(S[T.name]=S[T.name]||[]).push(T):S[T.name]=T;continue}if((0,n.isExportDeclaration)(T)&&!(0,n.isExportAllDeclaration)(T)){(0,n.isDeclaration)(T.declaration)&&p.push(T.declaration);continue}if(g){if((0,n.isFunctionDeclaration)(T)){p.push(T.id);continue}if((0,n.isFunctionExpression)(T))continue}if(N)for(let I=0;I<N.length;I++){const O=N[I];T[O]&&(p=p.concat(T[O]))}}return S}l.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},"./node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h("./node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),l=b;t.default=l;function b(m,g){return(0,n.default)(m,g,!0)}},"./node_modules/@babel/types/lib/traverse/traverse.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/definitions/index.js");function l(m,g,p){typeof g=="function"&&(g={enter:g});const{enter:S,exit:T}=g;b(m,S,T,p,[])}function b(m,g,p,S,T){const N=n.VISITOR_KEYS[m.type];if(!!N){g&&g(m,T,S);for(const I of N){const O=m[I];if(Array.isArray(O))for(let _=0;_<O.length;_++){const L=O[_];!L||(T.push({node:m,key:I,index:_}),b(L,g,p,S,T),T.pop())}else O&&(T.push({node:m,key:I}),b(O,g,p,S,T),T.pop())}p&&p(m,T,S)}}},"./node_modules/@babel/types/lib/traverse/traverseFast.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/definitions/index.js");function l(b,m,g){if(!b)return;const p=n.VISITOR_KEYS[b.type];if(!!p){g=g||{},m(b,g);for(const S of p){const T=b[S];if(Array.isArray(T))for(const N of T)l(N,m,g);else l(T,m,g)}}}},"./node_modules/@babel/types/lib/utils/inherit.js":(B,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;function h(n,l,b){l&&b&&(l[n]=Array.from(new Set([].concat(l[n],b[n]).filter(Boolean))))}},"./node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/builders/generated/index.js");function l(b,m){const g=b.value.split(/\r\n|\n|\r/);let p=0;for(let T=0;T<g.length;T++)g[T].match(/[^ \t]/)&&(p=T);let S="";for(let T=0;T<g.length;T++){const N=g[T],I=T===0,O=T===g.length-1,_=T===p;let L=N.replace(/\t/g," ");I||(L=L.replace(/^[ ]+/,"")),O||(L=L.replace(/[ ]+$/,"")),L&&(_||(L+=" "),S+=L)}S&&m.push((0,n.stringLiteral)(S))}},"./node_modules/@babel/types/lib/utils/shallowEqual.js":(B,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;function h(n,l){const b=Object.keys(l);for(const m of b)if(n[m]!==l[m])return!1;return!0}},"./node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/validators/matchesPattern.js");function l(b,m){const g=b.split(".");return p=>(0,n.default)(p,g,m)}},"./node_modules/@babel/types/lib/validators/generated/index.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAnyTypeAnnotation=$e,t.isArgumentPlaceholder=J,t.isArrayExpression=l,t.isArrayPattern=Tt,t.isArrayTypeAnnotation=Ie,t.isArrowFunctionExpression=Ge,t.isAssignmentExpression=b,t.isAssignmentPattern=tt,t.isAwaitExpression=Dr,t.isBigIntLiteral=qt,t.isBinary=Ji,t.isBinaryExpression=m,t.isBindExpression=pi,t.isBlock=D,t.isBlockParent=A,t.isBlockStatement=T,t.isBooleanLiteral=Ee,t.isBooleanLiteralTypeAnnotation=Zt,t.isBooleanTypeAnnotation=Ot,t.isBreakStatement=N,t.isCallExpression=I,t.isCatchClause=O,t.isClass=ds,t.isClassBody=bt,t.isClassDeclaration=Et,t.isClassExpression=St,t.isClassImplements=er,t.isClassMethod=F,t.isClassPrivateMethod=Mr,t.isClassPrivateProperty=jr,t.isClassProperty=Lr,t.isCompletionStatement=ke,t.isConditional=Xi,t.isConditionalExpression=_,t.isContinueStatement=L,t.isDebuggerStatement=x,t.isDecimalLiteral=mi,t.isDeclaration=ts,t.isDeclareClass=je,t.isDeclareExportAllDeclaration=ir,t.isDeclareExportDeclaration=nt,t.isDeclareFunction=tr,t.isDeclareInterface=it,t.isDeclareModule=st,t.isDeclareModuleExports=Ne,t.isDeclareOpaqueType=rr,t.isDeclareTypeAlias=Ye,t.isDeclareVariable=Xe,t.isDeclaredPredicate=at,t.isDecorator=mr,t.isDirective=p,t.isDirectiveLiteral=S,t.isDoExpression=fi,t.isDoWhileStatement=M,t.isEmptyStatement=w,t.isEmptyTypeAnnotation=ar,t.isEnumBody=As,t.isEnumBooleanBody=Zr,t.isEnumBooleanMember=pr,t.isEnumDeclaration=Qr,t.isEnumDefaultedMember=ti,t.isEnumMember=vs,t.isEnumNumberBody=ei,t.isEnumNumberMember=lt,t.isEnumStringBody=cr,t.isEnumStringMember=fr,t.isEnumSymbolBody=Kt,t.isExistsTypeAnnotation=Ct,t.isExportAllDeclaration=Pt,t.isExportDeclaration=ys,t.isExportDefaultDeclaration=gt,t.isExportDefaultSpecifier=di,t.isExportNamedDeclaration=Ae,t.isExportNamespaceSpecifier=Gt,t.isExportSpecifier=Fe,t.isExpression=zt,t.isExpressionStatement=j,t.isExpressionWrapper=qi,t.isFile=E,t.isFlow=bs,t.isFlowBaseAnnotation=Es,t.isFlowDeclaration=Ps,t.isFlowPredicate=gs,t.isFlowType=Ss,t.isFor=Gi,t.isForInStatement=G,t.isForOfStatement=At,t.isForStatement=se,t.isForXStatement=$i,t.isFunction=Qi,t.isFunctionDeclaration=fe,t.isFunctionExpression=Se,t.isFunctionParent=Zi,t.isFunctionTypeAnnotation=wt,t.isFunctionTypeParam=Dt,t.isGenericTypeAnnotation=_t,t.isIdentifier=_e,t.isIfStatement=he,t.isImmutable=as,t.isImport=_r,t.isImportAttribute=Vt,t.isImportDeclaration=Re,t.isImportDefaultSpecifier=vt,t.isImportNamespaceSpecifier=Le,t.isImportSpecifier=Ke,t.isIndexedAccessType=ri,t.isInferredPredicate=sr,t.isInterfaceDeclaration=ot,t.isInterfaceExtends=be,t.isInterfaceTypeAnnotation=nr,t.isInterpreterDirective=g,t.isIntersectionTypeAnnotation=Br,t.isJSX=Is,t.isJSXAttribute=si,t.isJSXClosingElement=dr,t.isJSXClosingFragment=xe,t.isJSXElement=Je,t.isJSXEmptyExpression=hr,t.isJSXExpressionContainer=ct,t.isJSXFragment=Ut,t.isJSXIdentifier=We,t.isJSXMemberExpression=ni,t.isJSXNamespacedName=pt,t.isJSXOpeningElement=ai,t.isJSXOpeningFragment=oi,t.isJSXSpreadAttribute=ft,t.isJSXSpreadChild=yr,t.isJSXText=dt,t.isLVal=is,t.isLabeledStatement=te,t.isLiteral=ns,t.isLogicalExpression=Oe,t.isLoop=zi,t.isMemberExpression=ge,t.isMetaProperty=It,t.isMethod=us,t.isMiscellaneous=Ns,t.isMixedTypeAnnotation=Fr,t.isModuleDeclaration=hs,t.isModuleExpression=Ti,t.isModuleSpecifier=ms,t.isNewExpression=K,t.isNoop=ui,t.isNullLiteral=ve,t.isNullLiteralTypeAnnotation=rt,t.isNullableTypeAnnotation=or,t.isNumberLiteral=Ds,t.isNumberLiteralTypeAnnotation=Qe,t.isNumberTypeAnnotation=Rr,t.isNumericLiteral=R,t.isObjectExpression=q,t.isObjectMember=ls,t.isObjectMethod=W,t.isObjectPattern=Ht,t.isObjectProperty=Q,t.isObjectTypeAnnotation=Kr,t.isObjectTypeCallProperty=Vr,t.isObjectTypeIndexer=ut,t.isObjectTypeInternalSlot=Ur,t.isObjectTypeProperty=Lt,t.isObjectTypeSpreadProperty=jt,t.isOpaqueType=Mt,t.isOptionalCallExpression=Qt,t.isOptionalIndexedAccessType=ii,t.isOptionalMemberExpression=$t,t.isParenthesizedExpression=le,t.isPattern=fs,t.isPatternLike=rs,t.isPipelineBareFunction=De,t.isPipelinePrimaryTopicReference=ze,t.isPipelineTopicExpression=Me,t.isPlaceholder=li,t.isPrivate=Ts,t.isPrivateName=kr,t.isProgram=k,t.isProperty=cs,t.isPureish=es,t.isQualifiedTypeIdentifier=Yr,t.isRecordExpression=hi,t.isRegExpLiteral=ye,t.isRegexLiteral=_s,t.isRestElement=ie,t.isRestProperty=Ls,t.isReturnStatement=ue,t.isScopable=Wi,t.isSequenceExpression=re,t.isSpreadElement=Cr,t.isSpreadProperty=js,t.isStandardized=ht,t.isStatement=V,t.isStaticBlock=Ve,t.isStringLiteral=$,t.isStringLiteralTypeAnnotation=Xr,t.isStringTypeAnnotation=Jr,t.isSuper=Nt,t.isSwitchCase=me,t.isSwitchStatement=U,t.isSymbolTypeAnnotation=Wr,t.isTSAnyKeyword=Ii,t.isTSArrayType=Jt,t.isTSAsExpression=r,t.isTSBaseType=ws,t.isTSBigIntKeyword=xi,t.isTSBooleanKeyword=Ni,t.isTSCallSignatureDeclaration=Tr,t.isTSConditionalType=xr,t.isTSConstructSignatureDeclaration=z,t.isTSConstructorType=vr,t.isTSDeclareFunction=Ei,t.isTSDeclareMethod=Pi,t.isTSEntityName=ss,t.isTSEnumDeclaration=u,t.isTSEnumMember=c,t.isTSExportAssignment=X,t.isTSExpressionWithTypeArguments=Or,t.isTSExternalModuleReference=C,t.isTSFunctionType=Di,t.isTSImportEqualsDeclaration=v,t.isTSImportType=P,t.isTSIndexSignature=vi,t.isTSIndexedAccessType=Ui,t.isTSInferType=Fi,t.isTSInterfaceBody=y,t.isTSInterfaceDeclaration=Yi,t.isTSIntersectionType=Bi,t.isTSIntrinsicKeyword=de,t.isTSLiteralType=Ze,t.isTSMappedType=Vi,t.isTSMethodSignature=br,t.isTSModuleBlock=d,t.isTSModuleDeclaration=f,t.isTSNamedTupleMember=Wt,t.isTSNamespaceExportDeclaration=H,t.isTSNeverKeyword=He,t.isTSNonNullExpression=Y,t.isTSNullKeyword=Sr,t.isTSNumberKeyword=Er,t.isTSObjectKeyword=Pr,t.isTSOptionalType=Nr,t.isTSParameterProperty=Si,t.isTSParenthesizedType=Ri,t.isTSPropertySignature=Ai,t.isTSQualifiedName=gi,t.isTSRestType=Mi,t.isTSStringKeyword=Oi,t.isTSSymbolKeyword=gr,t.isTSThisType=Yt,t.isTSTupleType=Ir,t.isTSType=Cs,t.isTSTypeAliasDeclaration=e,t.isTSTypeAnnotation=oe,t.isTSTypeAssertion=o,t.isTSTypeElement=Os,t.isTSTypeLiteral=ji,t.isTSTypeOperator=Ki,t.isTSTypeParameter=pe,t.isTSTypeParameterDeclaration=ce,t.isTSTypeParameterInstantiation=ne,t.isTSTypePredicate=Xt,t.isTSTypeQuery=Li,t.isTSTypeReference=_i,t.isTSUndefinedKeyword=Ci,t.isTSUnionType=ki,t.isTSUnknownKeyword=Ar,t.isTSVoidKeyword=wi,t.isTaggedTemplateExpression=we,t.isTemplateElement=Ue,t.isTemplateLiteral=xt,t.isTerminatorless=ae,t.isThisExpression=Z,t.isThisTypeAnnotation=ur,t.isThrowStatement=Ce,t.isTopicReference=bi,t.isTryStatement=ee,t.isTupleExpression=yi,t.isTupleTypeAnnotation=kt,t.isTypeAlias=zr,t.isTypeAnnotation=Hr,t.isTypeCastExpression=Ft,t.isTypeParameter=qr,t.isTypeParameterDeclaration=Gr,t.isTypeParameterInstantiation=lr,t.isTypeScript=xs,t.isTypeofTypeAnnotation=Bt,t.isUnaryExpression=qe,t.isUnaryLike=ps,t.isUnionTypeAnnotation=Pe,t.isUpdateExpression=Te,t.isUserWhitespacable=os,t.isV8IntrinsicIdentifier=ci,t.isVariableDeclaration=Be,t.isVariableDeclarator=yt,t.isVariance=Rt,t.isVoidTypeAnnotation=$r,t.isWhile=Hi,t.isWhileStatement=et,t.isWithStatement=mt,t.isYieldExpression=wr;var n=h("./node_modules/@babel/types/lib/utils/shallowEqual.js");function l(a,s){return a&&a.type==="ArrayExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function b(a,s){return a&&a.type==="AssignmentExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function m(a,s){return a&&a.type==="BinaryExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function g(a,s){return a&&a.type==="InterpreterDirective"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function p(a,s){return a&&a.type==="Directive"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function S(a,s){return a&&a.type==="DirectiveLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function T(a,s){return a&&a.type==="BlockStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function N(a,s){return a&&a.type==="BreakStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function I(a,s){return a&&a.type==="CallExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function O(a,s){return a&&a.type==="CatchClause"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function _(a,s){return a&&a.type==="ConditionalExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function L(a,s){return a&&a.type==="ContinueStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function x(a,s){return a&&a.type==="DebuggerStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function M(a,s){return a&&a.type==="DoWhileStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function w(a,s){return a&&a.type==="EmptyStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function j(a,s){return a&&a.type==="ExpressionStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function E(a,s){return a&&a.type==="File"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function G(a,s){return a&&a.type==="ForInStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function se(a,s){return a&&a.type==="ForStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function fe(a,s){return a&&a.type==="FunctionDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Se(a,s){return a&&a.type==="FunctionExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function _e(a,s){return a&&a.type==="Identifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function he(a,s){return a&&a.type==="IfStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function te(a,s){return a&&a.type==="LabeledStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function $(a,s){return a&&a.type==="StringLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function R(a,s){return a&&a.type==="NumericLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ve(a,s){return a&&a.type==="NullLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ee(a,s){return a&&a.type==="BooleanLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ye(a,s){return a&&a.type==="RegExpLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Oe(a,s){return a&&a.type==="LogicalExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ge(a,s){return a&&a.type==="MemberExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function K(a,s){return a&&a.type==="NewExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function k(a,s){return a&&a.type==="Program"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function q(a,s){return a&&a.type==="ObjectExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function W(a,s){return a&&a.type==="ObjectMethod"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Q(a,s){return a&&a.type==="ObjectProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ie(a,s){return a&&a.type==="RestElement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ue(a,s){return a&&a.type==="ReturnStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function re(a,s){return a&&a.type==="SequenceExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function le(a,s){return a&&a.type==="ParenthesizedExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function me(a,s){return a&&a.type==="SwitchCase"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function U(a,s){return a&&a.type==="SwitchStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Z(a,s){return a&&a.type==="ThisExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ce(a,s){return a&&a.type==="ThrowStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ee(a,s){return a&&a.type==="TryStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function qe(a,s){return a&&a.type==="UnaryExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Te(a,s){return a&&a.type==="UpdateExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Be(a,s){return a&&a.type==="VariableDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function yt(a,s){return a&&a.type==="VariableDeclarator"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function et(a,s){return a&&a.type==="WhileStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function mt(a,s){return a&&a.type==="WithStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function tt(a,s){return a&&a.type==="AssignmentPattern"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Tt(a,s){return a&&a.type==="ArrayPattern"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ge(a,s){return a&&a.type==="ArrowFunctionExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function bt(a,s){return a&&a.type==="ClassBody"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function St(a,s){return a&&a.type==="ClassExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Et(a,s){return a&&a.type==="ClassDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Pt(a,s){return a&&a.type==="ExportAllDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function gt(a,s){return a&&a.type==="ExportDefaultDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ae(a,s){return a&&a.type==="ExportNamedDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Fe(a,s){return a&&a.type==="ExportSpecifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function At(a,s){return a&&a.type==="ForOfStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Re(a,s){return a&&a.type==="ImportDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function vt(a,s){return a&&a.type==="ImportDefaultSpecifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Le(a,s){return a&&a.type==="ImportNamespaceSpecifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ke(a,s){return a&&a.type==="ImportSpecifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function It(a,s){return a&&a.type==="MetaProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function F(a,s){return a&&a.type==="ClassMethod"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ht(a,s){return a&&a.type==="ObjectPattern"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Cr(a,s){return a&&a.type==="SpreadElement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Nt(a,s){return a&&a.type==="Super"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function we(a,s){return a&&a.type==="TaggedTemplateExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ue(a,s){return a&&a.type==="TemplateElement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function xt(a,s){return a&&a.type==="TemplateLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function wr(a,s){return a&&a.type==="YieldExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Dr(a,s){return a&&a.type==="AwaitExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function _r(a,s){return a&&a.type==="Import"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function qt(a,s){return a&&a.type==="BigIntLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Gt(a,s){return a&&a.type==="ExportNamespaceSpecifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function $t(a,s){return a&&a.type==="OptionalMemberExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Qt(a,s){return a&&a.type==="OptionalCallExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Lr(a,s){return a&&a.type==="ClassProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function jr(a,s){return a&&a.type==="ClassPrivateProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Mr(a,s){return a&&a.type==="ClassPrivateMethod"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function kr(a,s){return a&&a.type==="PrivateName"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ve(a,s){return a&&a.type==="StaticBlock"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function $e(a,s){return a&&a.type==="AnyTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ie(a,s){return a&&a.type==="ArrayTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ot(a,s){return a&&a.type==="BooleanTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Zt(a,s){return a&&a.type==="BooleanLiteralTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function rt(a,s){return a&&a.type==="NullLiteralTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function er(a,s){return a&&a.type==="ClassImplements"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function je(a,s){return a&&a.type==="DeclareClass"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function tr(a,s){return a&&a.type==="DeclareFunction"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function it(a,s){return a&&a.type==="DeclareInterface"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function st(a,s){return a&&a.type==="DeclareModule"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ne(a,s){return a&&a.type==="DeclareModuleExports"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ye(a,s){return a&&a.type==="DeclareTypeAlias"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function rr(a,s){return a&&a.type==="DeclareOpaqueType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Xe(a,s){return a&&a.type==="DeclareVariable"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function nt(a,s){return a&&a.type==="DeclareExportDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ir(a,s){return a&&a.type==="DeclareExportAllDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function at(a,s){return a&&a.type==="DeclaredPredicate"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ct(a,s){return a&&a.type==="ExistsTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function wt(a,s){return a&&a.type==="FunctionTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Dt(a,s){return a&&a.type==="FunctionTypeParam"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function _t(a,s){return a&&a.type==="GenericTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function sr(a,s){return a&&a.type==="InferredPredicate"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function be(a,s){return a&&a.type==="InterfaceExtends"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ot(a,s){return a&&a.type==="InterfaceDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function nr(a,s){return a&&a.type==="InterfaceTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Br(a,s){return a&&a.type==="IntersectionTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Fr(a,s){return a&&a.type==="MixedTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ar(a,s){return a&&a.type==="EmptyTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function or(a,s){return a&&a.type==="NullableTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Qe(a,s){return a&&a.type==="NumberLiteralTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Rr(a,s){return a&&a.type==="NumberTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Kr(a,s){return a&&a.type==="ObjectTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ur(a,s){return a&&a.type==="ObjectTypeInternalSlot"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Vr(a,s){return a&&a.type==="ObjectTypeCallProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ut(a,s){return a&&a.type==="ObjectTypeIndexer"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Lt(a,s){return a&&a.type==="ObjectTypeProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function jt(a,s){return a&&a.type==="ObjectTypeSpreadProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Mt(a,s){return a&&a.type==="OpaqueType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Yr(a,s){return a&&a.type==="QualifiedTypeIdentifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Xr(a,s){return a&&a.type==="StringLiteralTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Jr(a,s){return a&&a.type==="StringTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Wr(a,s){return a&&a.type==="SymbolTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ur(a,s){return a&&a.type==="ThisTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function kt(a,s){return a&&a.type==="TupleTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Bt(a,s){return a&&a.type==="TypeofTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function zr(a,s){return a&&a.type==="TypeAlias"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Hr(a,s){return a&&a.type==="TypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ft(a,s){return a&&a.type==="TypeCastExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function qr(a,s){return a&&a.type==="TypeParameter"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Gr(a,s){return a&&a.type==="TypeParameterDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function lr(a,s){return a&&a.type==="TypeParameterInstantiation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Pe(a,s){return a&&a.type==="UnionTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Rt(a,s){return a&&a.type==="Variance"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function $r(a,s){return a&&a.type==="VoidTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Qr(a,s){return a&&a.type==="EnumDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Zr(a,s){return a&&a.type==="EnumBooleanBody"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ei(a,s){return a&&a.type==="EnumNumberBody"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function cr(a,s){return a&&a.type==="EnumStringBody"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Kt(a,s){return a&&a.type==="EnumSymbolBody"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function pr(a,s){return a&&a.type==="EnumBooleanMember"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function lt(a,s){return a&&a.type==="EnumNumberMember"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function fr(a,s){return a&&a.type==="EnumStringMember"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ti(a,s){return a&&a.type==="EnumDefaultedMember"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ri(a,s){return a&&a.type==="IndexedAccessType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ii(a,s){return a&&a.type==="OptionalIndexedAccessType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function si(a,s){return a&&a.type==="JSXAttribute"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function dr(a,s){return a&&a.type==="JSXClosingElement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Je(a,s){return a&&a.type==="JSXElement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function hr(a,s){return a&&a.type==="JSXEmptyExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ct(a,s){return a&&a.type==="JSXExpressionContainer"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function yr(a,s){return a&&a.type==="JSXSpreadChild"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function We(a,s){return a&&a.type==="JSXIdentifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ni(a,s){return a&&a.type==="JSXMemberExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function pt(a,s){return a&&a.type==="JSXNamespacedName"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ai(a,s){return a&&a.type==="JSXOpeningElement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ft(a,s){return a&&a.type==="JSXSpreadAttribute"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function dt(a,s){return a&&a.type==="JSXText"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ut(a,s){return a&&a.type==="JSXFragment"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function oi(a,s){return a&&a.type==="JSXOpeningFragment"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function xe(a,s){return a&&a.type==="JSXClosingFragment"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ui(a,s){return a&&a.type==="Noop"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function li(a,s){return a&&a.type==="Placeholder"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ci(a,s){return a&&a.type==="V8IntrinsicIdentifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function J(a,s){return a&&a.type==="ArgumentPlaceholder"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function pi(a,s){return a&&a.type==="BindExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Vt(a,s){return a&&a.type==="ImportAttribute"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function mr(a,s){return a&&a.type==="Decorator"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function fi(a,s){return a&&a.type==="DoExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function di(a,s){return a&&a.type==="ExportDefaultSpecifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function hi(a,s){return a&&a.type==="RecordExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function yi(a,s){return a&&a.type==="TupleExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function mi(a,s){return a&&a.type==="DecimalLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ti(a,s){return a&&a.type==="ModuleExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function bi(a,s){return a&&a.type==="TopicReference"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Me(a,s){return a&&a.type==="PipelineTopicExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function De(a,s){return a&&a.type==="PipelineBareFunction"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ze(a,s){return a&&a.type==="PipelinePrimaryTopicReference"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Si(a,s){return a&&a.type==="TSParameterProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ei(a,s){return a&&a.type==="TSDeclareFunction"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Pi(a,s){return a&&a.type==="TSDeclareMethod"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function gi(a,s){return a&&a.type==="TSQualifiedName"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Tr(a,s){return a&&a.type==="TSCallSignatureDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function z(a,s){return a&&a.type==="TSConstructSignatureDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ai(a,s){return a&&a.type==="TSPropertySignature"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function br(a,s){return a&&a.type==="TSMethodSignature"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function vi(a,s){return a&&a.type==="TSIndexSignature"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ii(a,s){return a&&a.type==="TSAnyKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ni(a,s){return a&&a.type==="TSBooleanKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function xi(a,s){return a&&a.type==="TSBigIntKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function de(a,s){return a&&a.type==="TSIntrinsicKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function He(a,s){return a&&a.type==="TSNeverKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Sr(a,s){return a&&a.type==="TSNullKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Er(a,s){return a&&a.type==="TSNumberKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Pr(a,s){return a&&a.type==="TSObjectKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Oi(a,s){return a&&a.type==="TSStringKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function gr(a,s){return a&&a.type==="TSSymbolKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ci(a,s){return a&&a.type==="TSUndefinedKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ar(a,s){return a&&a.type==="TSUnknownKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function wi(a,s){return a&&a.type==="TSVoidKeyword"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Yt(a,s){return a&&a.type==="TSThisType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Di(a,s){return a&&a.type==="TSFunctionType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function vr(a,s){return a&&a.type==="TSConstructorType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function _i(a,s){return a&&a.type==="TSTypeReference"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Xt(a,s){return a&&a.type==="TSTypePredicate"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Li(a,s){return a&&a.type==="TSTypeQuery"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ji(a,s){return a&&a.type==="TSTypeLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Jt(a,s){return a&&a.type==="TSArrayType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ir(a,s){return a&&a.type==="TSTupleType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Nr(a,s){return a&&a.type==="TSOptionalType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Mi(a,s){return a&&a.type==="TSRestType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Wt(a,s){return a&&a.type==="TSNamedTupleMember"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ki(a,s){return a&&a.type==="TSUnionType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Bi(a,s){return a&&a.type==="TSIntersectionType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function xr(a,s){return a&&a.type==="TSConditionalType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Fi(a,s){return a&&a.type==="TSInferType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ri(a,s){return a&&a.type==="TSParenthesizedType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ki(a,s){return a&&a.type==="TSTypeOperator"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ui(a,s){return a&&a.type==="TSIndexedAccessType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Vi(a,s){return a&&a.type==="TSMappedType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ze(a,s){return a&&a.type==="TSLiteralType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Or(a,s){return a&&a.type==="TSExpressionWithTypeArguments"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Yi(a,s){return a&&a.type==="TSInterfaceDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function y(a,s){return a&&a.type==="TSInterfaceBody"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function e(a,s){return a&&a.type==="TSTypeAliasDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function r(a,s){return a&&a.type==="TSAsExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function o(a,s){return a&&a.type==="TSTypeAssertion"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function u(a,s){return a&&a.type==="TSEnumDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function c(a,s){return a&&a.type==="TSEnumMember"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function f(a,s){return a&&a.type==="TSModuleDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function d(a,s){return a&&a.type==="TSModuleBlock"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function P(a,s){return a&&a.type==="TSImportType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function v(a,s){return a&&a.type==="TSImportEqualsDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function C(a,s){return a&&a.type==="TSExternalModuleReference"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Y(a,s){return a&&a.type==="TSNonNullExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function X(a,s){return a&&a.type==="TSExportAssignment"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function H(a,s){return a&&a.type==="TSNamespaceExportDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function oe(a,s){return a&&a.type==="TSTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ne(a,s){return a&&a.type==="TSTypeParameterInstantiation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ce(a,s){return a&&a.type==="TSTypeParameterDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function pe(a,s){return a&&a.type==="TSTypeParameter"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ht(a,s){if(!a)return!1;const i=a.type;return i==="ArrayExpression"||i==="AssignmentExpression"||i==="BinaryExpression"||i==="InterpreterDirective"||i==="Directive"||i==="DirectiveLiteral"||i==="BlockStatement"||i==="BreakStatement"||i==="CallExpression"||i==="CatchClause"||i==="ConditionalExpression"||i==="ContinueStatement"||i==="DebuggerStatement"||i==="DoWhileStatement"||i==="EmptyStatement"||i==="ExpressionStatement"||i==="File"||i==="ForInStatement"||i==="ForStatement"||i==="FunctionDeclaration"||i==="FunctionExpression"||i==="Identifier"||i==="IfStatement"||i==="LabeledStatement"||i==="StringLiteral"||i==="NumericLiteral"||i==="NullLiteral"||i==="BooleanLiteral"||i==="RegExpLiteral"||i==="LogicalExpression"||i==="MemberExpression"||i==="NewExpression"||i==="Program"||i==="ObjectExpression"||i==="ObjectMethod"||i==="ObjectProperty"||i==="RestElement"||i==="ReturnStatement"||i==="SequenceExpression"||i==="ParenthesizedExpression"||i==="SwitchCase"||i==="SwitchStatement"||i==="ThisExpression"||i==="ThrowStatement"||i==="TryStatement"||i==="UnaryExpression"||i==="UpdateExpression"||i==="VariableDeclaration"||i==="VariableDeclarator"||i==="WhileStatement"||i==="WithStatement"||i==="AssignmentPattern"||i==="ArrayPattern"||i==="ArrowFunctionExpression"||i==="ClassBody"||i==="ClassExpression"||i==="ClassDeclaration"||i==="ExportAllDeclaration"||i==="ExportDefaultDeclaration"||i==="ExportNamedDeclaration"||i==="ExportSpecifier"||i==="ForOfStatement"||i==="ImportDeclaration"||i==="ImportDefaultSpecifier"||i==="ImportNamespaceSpecifier"||i==="ImportSpecifier"||i==="MetaProperty"||i==="ClassMethod"||i==="ObjectPattern"||i==="SpreadElement"||i==="Super"||i==="TaggedTemplateExpression"||i==="TemplateElement"||i==="TemplateLiteral"||i==="YieldExpression"||i==="AwaitExpression"||i==="Import"||i==="BigIntLiteral"||i==="ExportNamespaceSpecifier"||i==="OptionalMemberExpression"||i==="OptionalCallExpression"||i==="ClassProperty"||i==="ClassPrivateProperty"||i==="ClassPrivateMethod"||i==="PrivateName"||i==="StaticBlock"||i==="Placeholder"&&(a.expectedNode==="Identifier"||a.expectedNode==="StringLiteral"||a.expectedNode==="BlockStatement"||a.expectedNode==="ClassBody")?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function zt(a,s){if(!a)return!1;const i=a.type;return i==="ArrayExpression"||i==="AssignmentExpression"||i==="BinaryExpression"||i==="CallExpression"||i==="ConditionalExpression"||i==="FunctionExpression"||i==="Identifier"||i==="StringLiteral"||i==="NumericLiteral"||i==="NullLiteral"||i==="BooleanLiteral"||i==="RegExpLiteral"||i==="LogicalExpression"||i==="MemberExpression"||i==="NewExpression"||i==="ObjectExpression"||i==="SequenceExpression"||i==="ParenthesizedExpression"||i==="ThisExpression"||i==="UnaryExpression"||i==="UpdateExpression"||i==="ArrowFunctionExpression"||i==="ClassExpression"||i==="MetaProperty"||i==="Super"||i==="TaggedTemplateExpression"||i==="TemplateLiteral"||i==="YieldExpression"||i==="AwaitExpression"||i==="Import"||i==="BigIntLiteral"||i==="OptionalMemberExpression"||i==="OptionalCallExpression"||i==="TypeCastExpression"||i==="JSXElement"||i==="JSXFragment"||i==="BindExpression"||i==="DoExpression"||i==="RecordExpression"||i==="TupleExpression"||i==="DecimalLiteral"||i==="ModuleExpression"||i==="TopicReference"||i==="PipelineTopicExpression"||i==="PipelineBareFunction"||i==="PipelinePrimaryTopicReference"||i==="TSAsExpression"||i==="TSTypeAssertion"||i==="TSNonNullExpression"||i==="Placeholder"&&(a.expectedNode==="Expression"||a.expectedNode==="Identifier"||a.expectedNode==="StringLiteral")?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ji(a,s){if(!a)return!1;const i=a.type;return i==="BinaryExpression"||i==="LogicalExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Wi(a,s){if(!a)return!1;const i=a.type;return i==="BlockStatement"||i==="CatchClause"||i==="DoWhileStatement"||i==="ForInStatement"||i==="ForStatement"||i==="FunctionDeclaration"||i==="FunctionExpression"||i==="Program"||i==="ObjectMethod"||i==="SwitchStatement"||i==="WhileStatement"||i==="ArrowFunctionExpression"||i==="ClassExpression"||i==="ClassDeclaration"||i==="ForOfStatement"||i==="ClassMethod"||i==="ClassPrivateMethod"||i==="StaticBlock"||i==="TSModuleBlock"||i==="Placeholder"&&a.expectedNode==="BlockStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function A(a,s){if(!a)return!1;const i=a.type;return i==="BlockStatement"||i==="CatchClause"||i==="DoWhileStatement"||i==="ForInStatement"||i==="ForStatement"||i==="FunctionDeclaration"||i==="FunctionExpression"||i==="Program"||i==="ObjectMethod"||i==="SwitchStatement"||i==="WhileStatement"||i==="ArrowFunctionExpression"||i==="ForOfStatement"||i==="ClassMethod"||i==="ClassPrivateMethod"||i==="StaticBlock"||i==="TSModuleBlock"||i==="Placeholder"&&a.expectedNode==="BlockStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function D(a,s){if(!a)return!1;const i=a.type;return i==="BlockStatement"||i==="Program"||i==="TSModuleBlock"||i==="Placeholder"&&a.expectedNode==="BlockStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function V(a,s){if(!a)return!1;const i=a.type;return i==="BlockStatement"||i==="BreakStatement"||i==="ContinueStatement"||i==="DebuggerStatement"||i==="DoWhileStatement"||i==="EmptyStatement"||i==="ExpressionStatement"||i==="ForInStatement"||i==="ForStatement"||i==="FunctionDeclaration"||i==="IfStatement"||i==="LabeledStatement"||i==="ReturnStatement"||i==="SwitchStatement"||i==="ThrowStatement"||i==="TryStatement"||i==="VariableDeclaration"||i==="WhileStatement"||i==="WithStatement"||i==="ClassDeclaration"||i==="ExportAllDeclaration"||i==="ExportDefaultDeclaration"||i==="ExportNamedDeclaration"||i==="ForOfStatement"||i==="ImportDeclaration"||i==="DeclareClass"||i==="DeclareFunction"||i==="DeclareInterface"||i==="DeclareModule"||i==="DeclareModuleExports"||i==="DeclareTypeAlias"||i==="DeclareOpaqueType"||i==="DeclareVariable"||i==="DeclareExportDeclaration"||i==="DeclareExportAllDeclaration"||i==="InterfaceDeclaration"||i==="OpaqueType"||i==="TypeAlias"||i==="EnumDeclaration"||i==="TSDeclareFunction"||i==="TSInterfaceDeclaration"||i==="TSTypeAliasDeclaration"||i==="TSEnumDeclaration"||i==="TSModuleDeclaration"||i==="TSImportEqualsDeclaration"||i==="TSExportAssignment"||i==="TSNamespaceExportDeclaration"||i==="Placeholder"&&(a.expectedNode==="Statement"||a.expectedNode==="Declaration"||a.expectedNode==="BlockStatement")?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ae(a,s){if(!a)return!1;const i=a.type;return i==="BreakStatement"||i==="ContinueStatement"||i==="ReturnStatement"||i==="ThrowStatement"||i==="YieldExpression"||i==="AwaitExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ke(a,s){if(!a)return!1;const i=a.type;return i==="BreakStatement"||i==="ContinueStatement"||i==="ReturnStatement"||i==="ThrowStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Xi(a,s){if(!a)return!1;const i=a.type;return i==="ConditionalExpression"||i==="IfStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function zi(a,s){if(!a)return!1;const i=a.type;return i==="DoWhileStatement"||i==="ForInStatement"||i==="ForStatement"||i==="WhileStatement"||i==="ForOfStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Hi(a,s){if(!a)return!1;const i=a.type;return i==="DoWhileStatement"||i==="WhileStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function qi(a,s){if(!a)return!1;const i=a.type;return i==="ExpressionStatement"||i==="ParenthesizedExpression"||i==="TypeCastExpression"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Gi(a,s){if(!a)return!1;const i=a.type;return i==="ForInStatement"||i==="ForStatement"||i==="ForOfStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function $i(a,s){if(!a)return!1;const i=a.type;return i==="ForInStatement"||i==="ForOfStatement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Qi(a,s){if(!a)return!1;const i=a.type;return i==="FunctionDeclaration"||i==="FunctionExpression"||i==="ObjectMethod"||i==="ArrowFunctionExpression"||i==="ClassMethod"||i==="ClassPrivateMethod"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Zi(a,s){if(!a)return!1;const i=a.type;return i==="FunctionDeclaration"||i==="FunctionExpression"||i==="ObjectMethod"||i==="ArrowFunctionExpression"||i==="ClassMethod"||i==="ClassPrivateMethod"||i==="StaticBlock"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function es(a,s){if(!a)return!1;const i=a.type;return i==="FunctionDeclaration"||i==="FunctionExpression"||i==="StringLiteral"||i==="NumericLiteral"||i==="NullLiteral"||i==="BooleanLiteral"||i==="RegExpLiteral"||i==="ArrowFunctionExpression"||i==="BigIntLiteral"||i==="DecimalLiteral"||i==="Placeholder"&&a.expectedNode==="StringLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ts(a,s){if(!a)return!1;const i=a.type;return i==="FunctionDeclaration"||i==="VariableDeclaration"||i==="ClassDeclaration"||i==="ExportAllDeclaration"||i==="ExportDefaultDeclaration"||i==="ExportNamedDeclaration"||i==="ImportDeclaration"||i==="DeclareClass"||i==="DeclareFunction"||i==="DeclareInterface"||i==="DeclareModule"||i==="DeclareModuleExports"||i==="DeclareTypeAlias"||i==="DeclareOpaqueType"||i==="DeclareVariable"||i==="DeclareExportDeclaration"||i==="DeclareExportAllDeclaration"||i==="InterfaceDeclaration"||i==="OpaqueType"||i==="TypeAlias"||i==="EnumDeclaration"||i==="TSDeclareFunction"||i==="TSInterfaceDeclaration"||i==="TSTypeAliasDeclaration"||i==="TSEnumDeclaration"||i==="TSModuleDeclaration"||i==="Placeholder"&&a.expectedNode==="Declaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function rs(a,s){if(!a)return!1;const i=a.type;return i==="Identifier"||i==="RestElement"||i==="AssignmentPattern"||i==="ArrayPattern"||i==="ObjectPattern"||i==="Placeholder"&&(a.expectedNode==="Pattern"||a.expectedNode==="Identifier")?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function is(a,s){if(!a)return!1;const i=a.type;return i==="Identifier"||i==="MemberExpression"||i==="RestElement"||i==="AssignmentPattern"||i==="ArrayPattern"||i==="ObjectPattern"||i==="TSParameterProperty"||i==="Placeholder"&&(a.expectedNode==="Pattern"||a.expectedNode==="Identifier")?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ss(a,s){if(!a)return!1;const i=a.type;return i==="Identifier"||i==="TSQualifiedName"||i==="Placeholder"&&a.expectedNode==="Identifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ns(a,s){if(!a)return!1;const i=a.type;return i==="StringLiteral"||i==="NumericLiteral"||i==="NullLiteral"||i==="BooleanLiteral"||i==="RegExpLiteral"||i==="TemplateLiteral"||i==="BigIntLiteral"||i==="DecimalLiteral"||i==="Placeholder"&&a.expectedNode==="StringLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function as(a,s){if(!a)return!1;const i=a.type;return i==="StringLiteral"||i==="NumericLiteral"||i==="NullLiteral"||i==="BooleanLiteral"||i==="BigIntLiteral"||i==="JSXAttribute"||i==="JSXClosingElement"||i==="JSXElement"||i==="JSXExpressionContainer"||i==="JSXSpreadChild"||i==="JSXOpeningElement"||i==="JSXText"||i==="JSXFragment"||i==="JSXOpeningFragment"||i==="JSXClosingFragment"||i==="DecimalLiteral"||i==="Placeholder"&&a.expectedNode==="StringLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function os(a,s){if(!a)return!1;const i=a.type;return i==="ObjectMethod"||i==="ObjectProperty"||i==="ObjectTypeInternalSlot"||i==="ObjectTypeCallProperty"||i==="ObjectTypeIndexer"||i==="ObjectTypeProperty"||i==="ObjectTypeSpreadProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function us(a,s){if(!a)return!1;const i=a.type;return i==="ObjectMethod"||i==="ClassMethod"||i==="ClassPrivateMethod"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ls(a,s){if(!a)return!1;const i=a.type;return i==="ObjectMethod"||i==="ObjectProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function cs(a,s){if(!a)return!1;const i=a.type;return i==="ObjectProperty"||i==="ClassProperty"||i==="ClassPrivateProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ps(a,s){if(!a)return!1;const i=a.type;return i==="UnaryExpression"||i==="SpreadElement"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function fs(a,s){if(!a)return!1;const i=a.type;return i==="AssignmentPattern"||i==="ArrayPattern"||i==="ObjectPattern"||i==="Placeholder"&&a.expectedNode==="Pattern"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ds(a,s){if(!a)return!1;const i=a.type;return i==="ClassExpression"||i==="ClassDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function hs(a,s){if(!a)return!1;const i=a.type;return i==="ExportAllDeclaration"||i==="ExportDefaultDeclaration"||i==="ExportNamedDeclaration"||i==="ImportDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ys(a,s){if(!a)return!1;const i=a.type;return i==="ExportAllDeclaration"||i==="ExportDefaultDeclaration"||i==="ExportNamedDeclaration"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ms(a,s){if(!a)return!1;const i=a.type;return i==="ExportSpecifier"||i==="ImportDefaultSpecifier"||i==="ImportNamespaceSpecifier"||i==="ImportSpecifier"||i==="ExportNamespaceSpecifier"||i==="ExportDefaultSpecifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ts(a,s){if(!a)return!1;const i=a.type;return i==="ClassPrivateProperty"||i==="ClassPrivateMethod"||i==="PrivateName"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function bs(a,s){if(!a)return!1;const i=a.type;return i==="AnyTypeAnnotation"||i==="ArrayTypeAnnotation"||i==="BooleanTypeAnnotation"||i==="BooleanLiteralTypeAnnotation"||i==="NullLiteralTypeAnnotation"||i==="ClassImplements"||i==="DeclareClass"||i==="DeclareFunction"||i==="DeclareInterface"||i==="DeclareModule"||i==="DeclareModuleExports"||i==="DeclareTypeAlias"||i==="DeclareOpaqueType"||i==="DeclareVariable"||i==="DeclareExportDeclaration"||i==="DeclareExportAllDeclaration"||i==="DeclaredPredicate"||i==="ExistsTypeAnnotation"||i==="FunctionTypeAnnotation"||i==="FunctionTypeParam"||i==="GenericTypeAnnotation"||i==="InferredPredicate"||i==="InterfaceExtends"||i==="InterfaceDeclaration"||i==="InterfaceTypeAnnotation"||i==="IntersectionTypeAnnotation"||i==="MixedTypeAnnotation"||i==="EmptyTypeAnnotation"||i==="NullableTypeAnnotation"||i==="NumberLiteralTypeAnnotation"||i==="NumberTypeAnnotation"||i==="ObjectTypeAnnotation"||i==="ObjectTypeInternalSlot"||i==="ObjectTypeCallProperty"||i==="ObjectTypeIndexer"||i==="ObjectTypeProperty"||i==="ObjectTypeSpreadProperty"||i==="OpaqueType"||i==="QualifiedTypeIdentifier"||i==="StringLiteralTypeAnnotation"||i==="StringTypeAnnotation"||i==="SymbolTypeAnnotation"||i==="ThisTypeAnnotation"||i==="TupleTypeAnnotation"||i==="TypeofTypeAnnotation"||i==="TypeAlias"||i==="TypeAnnotation"||i==="TypeCastExpression"||i==="TypeParameter"||i==="TypeParameterDeclaration"||i==="TypeParameterInstantiation"||i==="UnionTypeAnnotation"||i==="Variance"||i==="VoidTypeAnnotation"||i==="EnumDeclaration"||i==="EnumBooleanBody"||i==="EnumNumberBody"||i==="EnumStringBody"||i==="EnumSymbolBody"||i==="EnumBooleanMember"||i==="EnumNumberMember"||i==="EnumStringMember"||i==="EnumDefaultedMember"||i==="IndexedAccessType"||i==="OptionalIndexedAccessType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ss(a,s){if(!a)return!1;const i=a.type;return i==="AnyTypeAnnotation"||i==="ArrayTypeAnnotation"||i==="BooleanTypeAnnotation"||i==="BooleanLiteralTypeAnnotation"||i==="NullLiteralTypeAnnotation"||i==="ExistsTypeAnnotation"||i==="FunctionTypeAnnotation"||i==="GenericTypeAnnotation"||i==="InterfaceTypeAnnotation"||i==="IntersectionTypeAnnotation"||i==="MixedTypeAnnotation"||i==="EmptyTypeAnnotation"||i==="NullableTypeAnnotation"||i==="NumberLiteralTypeAnnotation"||i==="NumberTypeAnnotation"||i==="ObjectTypeAnnotation"||i==="StringLiteralTypeAnnotation"||i==="StringTypeAnnotation"||i==="SymbolTypeAnnotation"||i==="ThisTypeAnnotation"||i==="TupleTypeAnnotation"||i==="TypeofTypeAnnotation"||i==="UnionTypeAnnotation"||i==="VoidTypeAnnotation"||i==="IndexedAccessType"||i==="OptionalIndexedAccessType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Es(a,s){if(!a)return!1;const i=a.type;return i==="AnyTypeAnnotation"||i==="BooleanTypeAnnotation"||i==="NullLiteralTypeAnnotation"||i==="MixedTypeAnnotation"||i==="EmptyTypeAnnotation"||i==="NumberTypeAnnotation"||i==="StringTypeAnnotation"||i==="SymbolTypeAnnotation"||i==="ThisTypeAnnotation"||i==="VoidTypeAnnotation"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ps(a,s){if(!a)return!1;const i=a.type;return i==="DeclareClass"||i==="DeclareFunction"||i==="DeclareInterface"||i==="DeclareModule"||i==="DeclareModuleExports"||i==="DeclareTypeAlias"||i==="DeclareOpaqueType"||i==="DeclareVariable"||i==="DeclareExportDeclaration"||i==="DeclareExportAllDeclaration"||i==="InterfaceDeclaration"||i==="OpaqueType"||i==="TypeAlias"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function gs(a,s){if(!a)return!1;const i=a.type;return i==="DeclaredPredicate"||i==="InferredPredicate"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function As(a,s){if(!a)return!1;const i=a.type;return i==="EnumBooleanBody"||i==="EnumNumberBody"||i==="EnumStringBody"||i==="EnumSymbolBody"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function vs(a,s){if(!a)return!1;const i=a.type;return i==="EnumBooleanMember"||i==="EnumNumberMember"||i==="EnumStringMember"||i==="EnumDefaultedMember"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Is(a,s){if(!a)return!1;const i=a.type;return i==="JSXAttribute"||i==="JSXClosingElement"||i==="JSXElement"||i==="JSXEmptyExpression"||i==="JSXExpressionContainer"||i==="JSXSpreadChild"||i==="JSXIdentifier"||i==="JSXMemberExpression"||i==="JSXNamespacedName"||i==="JSXOpeningElement"||i==="JSXSpreadAttribute"||i==="JSXText"||i==="JSXFragment"||i==="JSXOpeningFragment"||i==="JSXClosingFragment"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ns(a,s){if(!a)return!1;const i=a.type;return i==="Noop"||i==="Placeholder"||i==="V8IntrinsicIdentifier"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function xs(a,s){if(!a)return!1;const i=a.type;return i==="TSParameterProperty"||i==="TSDeclareFunction"||i==="TSDeclareMethod"||i==="TSQualifiedName"||i==="TSCallSignatureDeclaration"||i==="TSConstructSignatureDeclaration"||i==="TSPropertySignature"||i==="TSMethodSignature"||i==="TSIndexSignature"||i==="TSAnyKeyword"||i==="TSBooleanKeyword"||i==="TSBigIntKeyword"||i==="TSIntrinsicKeyword"||i==="TSNeverKeyword"||i==="TSNullKeyword"||i==="TSNumberKeyword"||i==="TSObjectKeyword"||i==="TSStringKeyword"||i==="TSSymbolKeyword"||i==="TSUndefinedKeyword"||i==="TSUnknownKeyword"||i==="TSVoidKeyword"||i==="TSThisType"||i==="TSFunctionType"||i==="TSConstructorType"||i==="TSTypeReference"||i==="TSTypePredicate"||i==="TSTypeQuery"||i==="TSTypeLiteral"||i==="TSArrayType"||i==="TSTupleType"||i==="TSOptionalType"||i==="TSRestType"||i==="TSNamedTupleMember"||i==="TSUnionType"||i==="TSIntersectionType"||i==="TSConditionalType"||i==="TSInferType"||i==="TSParenthesizedType"||i==="TSTypeOperator"||i==="TSIndexedAccessType"||i==="TSMappedType"||i==="TSLiteralType"||i==="TSExpressionWithTypeArguments"||i==="TSInterfaceDeclaration"||i==="TSInterfaceBody"||i==="TSTypeAliasDeclaration"||i==="TSAsExpression"||i==="TSTypeAssertion"||i==="TSEnumDeclaration"||i==="TSEnumMember"||i==="TSModuleDeclaration"||i==="TSModuleBlock"||i==="TSImportType"||i==="TSImportEqualsDeclaration"||i==="TSExternalModuleReference"||i==="TSNonNullExpression"||i==="TSExportAssignment"||i==="TSNamespaceExportDeclaration"||i==="TSTypeAnnotation"||i==="TSTypeParameterInstantiation"||i==="TSTypeParameterDeclaration"||i==="TSTypeParameter"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Os(a,s){if(!a)return!1;const i=a.type;return i==="TSCallSignatureDeclaration"||i==="TSConstructSignatureDeclaration"||i==="TSPropertySignature"||i==="TSMethodSignature"||i==="TSIndexSignature"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Cs(a,s){if(!a)return!1;const i=a.type;return i==="TSAnyKeyword"||i==="TSBooleanKeyword"||i==="TSBigIntKeyword"||i==="TSIntrinsicKeyword"||i==="TSNeverKeyword"||i==="TSNullKeyword"||i==="TSNumberKeyword"||i==="TSObjectKeyword"||i==="TSStringKeyword"||i==="TSSymbolKeyword"||i==="TSUndefinedKeyword"||i==="TSUnknownKeyword"||i==="TSVoidKeyword"||i==="TSThisType"||i==="TSFunctionType"||i==="TSConstructorType"||i==="TSTypeReference"||i==="TSTypePredicate"||i==="TSTypeQuery"||i==="TSTypeLiteral"||i==="TSArrayType"||i==="TSTupleType"||i==="TSOptionalType"||i==="TSRestType"||i==="TSUnionType"||i==="TSIntersectionType"||i==="TSConditionalType"||i==="TSInferType"||i==="TSParenthesizedType"||i==="TSTypeOperator"||i==="TSIndexedAccessType"||i==="TSMappedType"||i==="TSLiteralType"||i==="TSExpressionWithTypeArguments"||i==="TSImportType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function ws(a,s){if(!a)return!1;const i=a.type;return i==="TSAnyKeyword"||i==="TSBooleanKeyword"||i==="TSBigIntKeyword"||i==="TSIntrinsicKeyword"||i==="TSNeverKeyword"||i==="TSNullKeyword"||i==="TSNumberKeyword"||i==="TSObjectKeyword"||i==="TSStringKeyword"||i==="TSSymbolKeyword"||i==="TSUndefinedKeyword"||i==="TSUnknownKeyword"||i==="TSVoidKeyword"||i==="TSThisType"||i==="TSLiteralType"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ds(a,s){return console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),a&&a.type==="NumberLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function _s(a,s){return console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),a&&a.type==="RegexLiteral"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function Ls(a,s){return console.trace("The node type RestProperty has been renamed to RestElement"),a&&a.type==="RestProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}function js(a,s){return console.trace("The node type SpreadProperty has been renamed to SpreadElement"),a&&a.type==="SpreadProperty"?typeof s=="undefined"?!0:(0,n.default)(a,s):!1}},"./node_modules/@babel/types/lib/validators/is.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var n=h("./node_modules/@babel/types/lib/utils/shallowEqual.js"),l=h("./node_modules/@babel/types/lib/validators/isType.js"),b=h("./node_modules/@babel/types/lib/validators/isPlaceholderType.js"),m=h("./node_modules/@babel/types/lib/definitions/index.js");function g(p,S,T){return S?(0,l.default)(S.type,p)?typeof T=="undefined"?!0:(0,n.default)(S,T):!T&&S.type==="Placeholder"&&p in m.FLIPPED_ALIAS_KEYS?(0,b.default)(S.expectedNode,p):!1:!1}},"./node_modules/@babel/types/lib/validators/isBinding.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js");function l(b,m,g){if(g&&b.type==="Identifier"&&m.type==="ObjectProperty"&&g.type==="ObjectExpression")return!1;const p=n.default.keys[m.type];if(p)for(let S=0;S<p.length;S++){const T=p[S],N=m[T];if(Array.isArray(N)){if(N.indexOf(b)>=0)return!0}else if(N===b)return!0}return!1}},"./node_modules/@babel/types/lib/validators/isBlockScoped.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js"),l=h("./node_modules/@babel/types/lib/validators/isLet.js");function b(m){return(0,n.isFunctionDeclaration)(m)||(0,n.isClassDeclaration)(m)||(0,l.default)(m)}},"./node_modules/@babel/types/lib/validators/isImmutable.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/validators/isType.js"),l=h("./node_modules/@babel/types/lib/validators/generated/index.js");function b(m){return(0,n.default)(m.type,"Immutable")?!0:(0,l.isIdentifier)(m)?m.name==="undefined":!1}},"./node_modules/@babel/types/lib/validators/isLet.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js"),l=h("./node_modules/@babel/types/lib/constants/index.js");function b(m){return(0,n.isVariableDeclaration)(m)&&(m.kind!=="var"||m[l.BLOCK_SCOPED_SYMBOL])}},"./node_modules/@babel/types/lib/validators/isNode.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/definitions/index.js");function l(b){return!!(b&&n.VISITOR_KEYS[b.type])}},"./node_modules/@babel/types/lib/validators/isNodesEquivalent.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/definitions/index.js");function l(b,m){if(typeof b!="object"||typeof m!="object"||b==null||m==null)return b===m;if(b.type!==m.type)return!1;const g=Object.keys(n.NODE_FIELDS[b.type]||b.type),p=n.VISITOR_KEYS[b.type];for(const S of g){if(typeof b[S]!=typeof m[S])return!1;if(!(b[S]==null&&m[S]==null)){if(b[S]==null||m[S]==null)return!1;if(Array.isArray(b[S])){if(!Array.isArray(m[S])||b[S].length!==m[S].length)return!1;for(let T=0;T<b[S].length;T++)if(!l(b[S][T],m[S][T]))return!1;continue}if(typeof b[S]=="object"&&!(p!=null&&p.includes(S))){for(const T of Object.keys(b[S]))if(b[S][T]!==m[S][T])return!1;continue}if(!l(b[S],m[S]))return!1}}return!0}},"./node_modules/@babel/types/lib/validators/isPlaceholderType.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/definitions/index.js");function l(b,m){if(b===m)return!0;const g=n.PLACEHOLDERS_ALIAS[b];if(g){for(const p of g)if(m===p)return!0}return!1}},"./node_modules/@babel/types/lib/validators/isReferenced.js":(B,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;function h(n,l,b){switch(l.type){case"MemberExpression":case"OptionalMemberExpression":return l.property===n?!!l.computed:l.object===n;case"JSXMemberExpression":return l.object===n;case"VariableDeclarator":return l.init===n;case"ArrowFunctionExpression":return l.body===n;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return l.key===n?!!l.computed:!1;case"ObjectProperty":return l.key===n?!!l.computed:!b||b.type!=="ObjectPattern";case"ClassProperty":return l.key===n?!!l.computed:!0;case"ClassPrivateProperty":return l.key!==n;case"ClassDeclaration":case"ClassExpression":return l.superClass===n;case"AssignmentExpression":return l.right===n;case"AssignmentPattern":return l.right===n;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return b!=null&&b.source?!1:l.local===n;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return l.key!==n;case"TSEnumMember":return l.id!==n;case"TSPropertySignature":return l.key===n?!!l.computed:!0}return!0}},"./node_modules/@babel/types/lib/validators/isScope.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js");function l(b,m){return(0,n.isBlockStatement)(b)&&((0,n.isFunction)(m)||(0,n.isCatchClause)(m))?!1:(0,n.isPattern)(b)&&((0,n.isFunction)(m)||(0,n.isCatchClause)(m))?!0:(0,n.isScopable)(b)}},"./node_modules/@babel/types/lib/validators/isSpecifierDefault.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js");function l(b){return(0,n.isImportDefaultSpecifier)(b)||(0,n.isIdentifier)(b.imported||b.exported,{name:"default"})}},"./node_modules/@babel/types/lib/validators/isType.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/definitions/index.js");function l(b,m){if(b===m)return!0;if(n.ALIAS_KEYS[m])return!1;const g=n.FLIPPED_ALIAS_KEYS[m];if(g){if(g[0]===b)return!0;for(const p of g)if(b===p)return!0}return!1}},"./node_modules/@babel/types/lib/validators/isValidES3Identifier.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/validators/isValidIdentifier.js");const l=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function b(m){return(0,n.default)(m)&&!l.has(m)}},"./node_modules/@babel/types/lib/validators/isValidIdentifier.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/helper-validator-identifier/lib/index.js");function l(b,m=!0){return typeof b!="string"||m&&((0,n.isKeyword)(b)||(0,n.isStrictReservedWord)(b,!0))?!1:(0,n.isIdentifierName)(b)}},"./node_modules/@babel/types/lib/validators/isVar.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js"),l=h("./node_modules/@babel/types/lib/constants/index.js");function b(m){return(0,n.isVariableDeclaration)(m,{kind:"var"})&&!m[l.BLOCK_SCOPED_SYMBOL]}},"./node_modules/@babel/types/lib/validators/matchesPattern.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=h("./node_modules/@babel/types/lib/validators/generated/index.js");function l(b,m,g){if(!(0,n.isMemberExpression)(b))return!1;const p=Array.isArray(m)?m:m.split("."),S=[];let T;for(T=b;(0,n.isMemberExpression)(T);T=T.object)S.push(T.property);if(S.push(T),S.length<p.length||!g&&S.length>p.length)return!1;for(let N=0,I=S.length-1;N<p.length;N++,I--){const O=S[I];let _;if((0,n.isIdentifier)(O))_=O.name;else if((0,n.isStringLiteral)(O))_=O.value;else if((0,n.isThisExpression)(O))_="this";else return!1;if(p[N]!==_)return!1}return!0}},"./node_modules/@babel/types/lib/validators/react/isCompatTag.js":(B,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;function h(n){return!!n&&/^[a-z]/.test(n)}},"./node_modules/@babel/types/lib/validators/react/isReactComponent.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h("./node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js"),b=(0,n.default)("React.Component");t.default=b},"./node_modules/@babel/types/lib/validators/validate.js":(B,t,h)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l,t.validateChild=m,t.validateField=b;var n=h("./node_modules/@babel/types/lib/definitions/index.js");function l(g,p,S){if(!g)return;const T=n.NODE_FIELDS[g.type];if(!T)return;const N=T[p];b(g,p,S,N),m(g,p,S)}function b(g,p,S,T){!(T!=null&&T.validate)||T.optional&&S==null||T.validate(g,p,S)}function m(g,p,S){if(S==null)return;const T=n.NODE_PARENT_VALIDATIONS[S.type];!T||T(g,p,S)}},"./node_modules/babel-walk/lib/explode.js":function(B,t,h){"use strict";var n=this&&this.__createBinding||(Object.create?function(T,N,I,O){O===void 0&&(O=I),Object.defineProperty(T,O,{enumerable:!0,get:function(){return N[I]}})}:function(T,N,I,O){O===void 0&&(O=I),T[O]=N[I]}),l=this&&this.__setModuleDefault||(Object.create?function(T,N){Object.defineProperty(T,"default",{enumerable:!0,value:N})}:function(T,N){T.default=N}),b=this&&this.__importStar||function(T){if(T&&T.__esModule)return T;var N={};if(T!=null)for(var I in T)Object.hasOwnProperty.call(T,I)&&n(N,T,I);return l(N,T),N};Object.defineProperty(t,"__esModule",{value:!0});const m=b(h("./node_modules/@babel/types/lib/index.js"));if(!(Array.isArray(m.TYPES)&&m.TYPES.every(T=>typeof T=="string")))throw new Error("@babel/types TYPES does not match the expected type.");const g=m.FLIPPED_ALIAS_KEYS,p=new Set(m.TYPES);if(!(g&&typeof g=="object"&&Object.keys(g).every(T=>Array.isArray(g[T])&&g[T].every(N=>typeof N=="string"))))throw new Error("@babel/types FLIPPED_ALIAS_KEYS does not match the expected type.");function S(T){const N={};for(const I in T){const O=g[I];if(O)for(const _ of O)_ in N?typeof T[I]=="function"?N[_].enter.push(T[I]):(T[I].enter&&N[_].enter.push(T[I].enter),T[I].exit&&N[_].exit.push(T[I].exit)):typeof T[I]=="function"?N[_]={enter:[T[I]],exit:[]}:N[_]={enter:T[I].enter?[T[I].enter]:[],exit:T[I].exit?[T[I].exit]:[]};else p.has(I)&&(I in N?typeof T[I]=="function"?N[I].enter.push(T[I]):(T[I].enter&&N[I].enter.push(T[I].enter),T[I].exit&&N[I].exit.push(T[I].exit)):typeof T[I]=="function"?N[I]={enter:[T[I]],exit:[]}:N[I]={enter:T[I].enter?[T[I].enter]:[],exit:T[I].exit?[T[I].exit]:[]})}return N}t.default=S},"./node_modules/babel-walk/lib/index.js":function(B,t,h){"use strict";var n=this&&this.__createBinding||(Object.create?function(O,_,L,x){x===void 0&&(x=L),Object.defineProperty(O,x,{enumerable:!0,get:function(){return _[L]}})}:function(O,_,L,x){x===void 0&&(x=L),O[x]=_[L]}),l=this&&this.__setModuleDefault||(Object.create?function(O,_){Object.defineProperty(O,"default",{enumerable:!0,value:_})}:function(O,_){O.default=_}),b=this&&this.__importStar||function(O){if(O&&O.__esModule)return O;var _={};if(O!=null)for(var L in O)Object.hasOwnProperty.call(O,L)&&n(_,O,L);return l(_,O),_},m=this&&this.__importDefault||function(O){return O&&O.__esModule?O:{default:O}};Object.defineProperty(t,"__esModule",{value:!0}),t.recursive=t.ancestor=t.simple=void 0;const g=b(h("./node_modules/@babel/types/lib/index.js")),p=m(h("./node_modules/babel-walk/lib/explode.js")),S=g.VISITOR_KEYS;if(!(S&&typeof S=="object"&&Object.keys(S).every(O=>Array.isArray(S[O])&&S[O].every(_=>typeof _=="string"))))throw new Error("@babel/types VISITOR_KEYS does not match the expected type.");function T(O){const _=p.default(O);return(L,x)=>{(function M(w){if(!w)return;const j=_[w.type];if(j==null?void 0:j.enter)for(const E of j.enter)E(w,x);for(const E of S[w.type]||[]){const G=w[E];if(Array.isArray(G))for(const se of G)M(se);else M(G)}if(j==null?void 0:j.exit)for(const E of j.exit)E(w,x)})(L)}}t.simple=T;function N(O){const _=p.default(O);return(L,x)=>{const M=[];(function w(j){if(!j)return;const E=_[j.type],G=j!==M[M.length-1];if(G&&M.push(j),E==null?void 0:E.enter)for(const se of E.enter)se(j,x,M);for(const se of S[j.type]||[]){const fe=j[se];if(Array.isArray(fe))for(const Se of fe)w(Se);else w(fe)}if(E==null?void 0:E.exit)for(const se of E.exit)se(j,x,M);G&&M.pop()})(L)}}t.ancestor=N;function I(O){const _=p.default(O);return(L,x)=>{(function M(w){if(!w)return;const j=_[w.type];if(j==null?void 0:j.enter)for(const E of j.enter)E(w,x,M);else for(const E of S[w.type]||[]){const G=w[E];if(Array.isArray(G))for(const se of G)M(se);else M(G)}})(L)}}t.recursive=I},"./src/cellTypes/javascript/precompileModule.ts":(B,t,h)=>{"use strict";h.r(t),h.d(t,{precompileJavascriptCode:()=>m});var n=h("./node_modules/@babel/parser/lib/index.js"),l=h("./node_modules/babel-walk/lib/index.js"),b=h.n(l);async function m(g){let p="(async () => {"+g+`
})()`;const S=(0,n.Qc)(p,{ecmaVersion:8}),T=S.program.body[0].expression.callee.body,N=x=>T.body.indexOf(x)!==-1,I=[],O={ClassDeclaration(x){N(x)&&I.push({text:x.id.name+"=",start:x.start,end:x.start})},FunctionDeclaration(x){return I.push({text:x.id.name+"=",start:x.start,end:x.start}),x},VariableDeclaration(x){if(x.kind!=="var"||!N(x))return;const M=x.declarations.length===1;I.push({text:M?"void":"void (",start:x.start,end:x.start+x.kind.length});for(const w of x.declarations){if(!w.init){I.push({text:"(",start:w.start,end:w.start}),I.push({text:"=undefined)",start:w.end,end:w.end});continue}I.push({text:"(",start:w.start,end:w.start}),I.push({text:")",start:w.end,end:w.end})}if(!M){const w=x.declarations[x.declarations.length-1];I.push({text:")",start:w.end,end:w.end})}}};(0,l.simple)(O)(S,void 0);const L=T.body[T.body.length-1];if(L===void 0)return g;for(L.type==="ExpressionStatement"&&!g.match(/;\s*$/)&&(I.push({text:"return {returnValue: (",start:L.start,end:L.start}),p[L.end-1]!==";"?I.push({text:")}",start:L.end,end:L.end}):I.push({text:")}",start:L.end-1,end:L.end-1}),I.forEach((x,M)=>{M>=I.length-2||x.start>=L.start&&x.start<L.end&&(x.start+=22,x.end+=22)}));I.length;){const x=I.pop();p=p.substr(0,x.start)+x.text+p.substr(x.end)}return p}},"./node_modules/process/browser.js":B=>{var t=B.exports={},h,n;function l(){throw new Error("setTimeout has not been defined")}function b(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?h=setTimeout:h=l}catch(x){h=l}try{typeof clearTimeout=="function"?n=clearTimeout:n=b}catch(x){n=b}})();function m(x){if(h===setTimeout)return setTimeout(x,0);if((h===l||!h)&&setTimeout)return h=setTimeout,setTimeout(x,0);try{return h(x,0)}catch(M){try{return h.call(null,x,0)}catch(w){return h.call(this,x,0)}}}function g(x){if(n===clearTimeout)return clearTimeout(x);if((n===b||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(x);try{return n(x)}catch(M){try{return n.call(null,x)}catch(w){return n.call(this,x)}}}var p=[],S=!1,T,N=-1;function I(){!S||!T||(S=!1,T.length?p=T.concat(p):N=-1,p.length&&O())}function O(){if(!S){var x=m(I);S=!0;for(var M=p.length;M;){for(T=p,p=[];++N<M;)T&&T[N].run();N=-1,M=p.length}T=null,S=!1,g(x)}}t.nextTick=function(x){var M=new Array(arguments.length-1);if(arguments.length>1)for(var w=1;w<arguments.length;w++)M[w-1]=arguments[w];p.push(new _(x,M)),p.length===1&&!S&&m(O)};function _(x,M){this.fun=x,this.array=M}_.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={};function L(){}t.on=L,t.addListener=L,t.once=L,t.off=L,t.removeListener=L,t.removeAllListeners=L,t.emit=L,t.prependListener=L,t.prependOnceListener=L,t.listeners=function(x){return[]},t.binding=function(x){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(x){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},"./node_modules/to-fast-properties/index.js":B=>{"use strict";let t=null;function h(n){if(t!==null&&typeof t.property){const l=t;return t=h.prototype=null,l}return t=h.prototype=n==null?Object.create(null):n,new h}h(),B.exports=function(l){return h(l)}}}]);
//# sourceMappingURL=babel-precompile.chunk.js.map