prettier
Version:
Prettier is an opinionated code formatter
1 lines • 125 kB
JavaScript
var L2=Object.defineProperty;var at=(e,t)=>{for(var n in t)L2(e,n,{get:t[n],enumerable:!0})};var N2={};at(N2,{parsers:()=>dt});var dt={};at(dt,{meriyah:()=>Hu});var Y=(e,t)=>(n,u,...o)=>n|1&&u==null?void 0:(t.call(u)??u[e]).apply(u,o);var I2=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},q2=Y("replaceAll",function(){if(typeof this=="string")return I2}),x=q2;var P2=55296,O2=56319,V2=56320,R2=String.prototype.isWellFormed??function(){let{length:e}=this;for(let t=0;t<e;t++){let n=this.charCodeAt(t);if((n&64512)===P2&&(n>O2||++t>=e||(this.charCodeAt(t)&64512)!==V2))return!1}return!0},M2=Y("isWellFormed",function(){if(typeof this=="string")return R2}),gt=M2;var bt=((e,t)=>{let n=new Uint32Array(69632),u=0,o=0;for(;u<2597;){let i=e[u++];if(i<0)o-=i;else{let l=e[u++];i&2&&(l=t[l]),i&1?n.fill(l,o,o+=e[u++]):n[o++]=l}}return n})([-1,2,26,2,27,2,5,-1,0,77595648,3,44,2,3,0,14,2,61,2,62,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,41,3,0,4,0,4294966523,3,0,4,2,16,2,63,2,0,0,4294836735,0,3221225471,0,4294901942,2,64,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,17,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,58,2,7,2,6,0,4286643967,3,0,2,2,1,3,0,3,0,4294901711,2,40,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,0,65472,2,3,0,4093640191,0,929054175,0,65487,0,4294828015,0,4092591615,0,1885355487,0,982991,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,69,0,4284449919,0,851904,2,4,2,12,0,67076095,-1,2,70,0,1073741743,0,4093607775,-1,0,50331649,0,3265266687,2,33,0,4294844415,0,4278190047,2,20,2,137,-1,3,0,2,2,23,2,0,2,9,2,0,2,15,2,22,3,0,10,2,72,2,0,2,73,2,74,2,75,2,0,2,76,2,0,2,11,0,261632,2,25,3,0,2,2,13,2,4,3,0,18,2,77,2,5,3,0,2,2,78,0,2151677951,2,29,2,10,0,909311,3,0,2,0,814743551,2,48,0,67090432,3,0,2,2,42,2,0,2,6,2,0,2,30,2,8,0,268374015,2,108,2,51,2,0,2,79,0,134153215,-1,2,7,2,0,2,8,0,2684354559,0,67044351,0,3221160064,2,9,2,18,3,0,2,2,53,0,1046528,3,0,3,2,10,2,0,2,127,0,4294960127,2,9,2,6,2,11,0,4294377472,2,12,3,0,16,2,13,2,0,2,80,2,9,2,0,2,81,2,82,2,83,0,12288,2,54,0,1048577,2,84,2,14,-1,2,14,0,131042,2,85,2,86,2,87,2,0,2,34,-83,3,0,7,0,1046559,2,0,2,15,2,0,0,2147516671,2,21,3,88,2,2,0,-16,2,89,0,524222462,2,4,2,0,0,4269801471,2,4,3,0,2,2,28,2,16,3,0,2,2,49,2,0,-1,2,17,-16,3,0,206,-2,3,0,692,2,71,-1,2,17,2,9,3,0,8,2,91,2,18,2,0,0,3220242431,3,0,3,2,19,2,92,2,93,3,0,2,2,94,2,0,2,20,2,95,2,0,0,4351,2,0,2,10,3,0,2,0,67043391,0,3909091327,2,0,2,24,2,10,2,20,3,0,2,0,67076097,2,8,2,0,2,21,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,99,2,100,2,22,2,23,3,0,3,0,67057663,3,0,349,2,101,2,102,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,3774349439,2,103,2,104,3,0,2,2,19,2,105,3,0,10,2,9,2,17,2,0,2,46,2,0,2,31,2,106,2,25,0,1638399,0,57344,2,107,3,0,3,2,20,2,26,2,27,2,5,2,28,2,0,2,8,2,109,-1,2,110,2,111,2,112,-1,3,0,3,2,12,-2,2,0,2,29,-3,0,536870912,-4,2,20,2,0,2,36,0,1,2,0,2,65,2,6,2,12,2,9,2,0,2,113,-1,3,0,4,2,9,2,23,2,114,2,7,2,0,2,115,2,0,2,116,2,117,2,118,2,0,2,10,3,0,9,2,21,2,30,2,31,2,119,2,120,-2,2,121,2,122,2,30,2,21,2,8,-2,2,123,2,30,3,32,2,-1,2,0,2,39,-2,0,4277137519,0,2269118463,-1,3,20,2,-1,2,33,2,38,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,47,2,0,0,4294950463,2,37,-7,2,0,0,203775,2,125,0,4227858432,2,20,2,43,2,36,2,17,2,37,2,17,2,124,2,21,3,0,2,2,38,0,2151677888,2,0,2,12,0,4294901764,2,145,2,0,2,56,2,55,0,5242879,3,0,2,0,402644511,-1,2,128,2,39,0,3,-1,2,129,2,130,2,0,0,67045375,2,40,0,4226678271,0,3766565279,0,2039759,2,132,2,41,0,1046437,0,6,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,42,2,23,2,50,2,11,2,59,2,38,-5,2,0,2,12,-3,3,0,2,0,2147484671,2,133,0,4190109695,2,52,-2,2,134,0,4244635647,0,27,2,0,2,8,2,43,2,0,2,66,2,17,2,0,2,42,-3,2,31,-2,2,0,2,45,2,57,2,44,2,45,2,135,2,46,0,8388351,-2,2,136,0,3028287487,2,47,2,138,0,33259519,2,23,2,7,2,48,-7,2,21,0,4294836223,0,3355443199,0,134152199,-2,2,67,-2,3,0,28,2,32,-3,3,0,3,2,49,3,0,6,2,50,-81,2,17,3,0,2,2,36,3,0,33,2,25,2,30,3,0,124,2,12,3,0,18,2,38,-213,2,0,2,32,-54,3,0,17,2,42,2,8,2,23,2,0,2,8,2,23,2,51,2,0,2,21,2,52,2,139,2,25,-13,2,0,2,53,-6,3,0,2,-1,2,140,2,10,-1,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,8323099,3,0,230,2,30,2,54,2,8,-3,3,0,3,2,35,-271,2,141,3,0,9,2,142,2,143,2,55,3,0,11,2,7,-72,3,0,3,2,144,0,1677656575,-130,2,26,-16,2,0,2,24,2,38,-16,0,4161266656,0,4071,0,15360,-4,0,28,-13,3,0,2,2,56,2,0,2,146,2,147,2,60,2,0,2,148,2,149,2,150,3,0,10,2,151,2,152,2,22,3,56,2,3,153,2,3,57,2,0,4294954999,2,0,-16,2,0,2,90,2,0,0,2105343,0,4160749584,0,65534,-34,2,8,2,155,-6,0,4194303871,0,4294903771,2,0,2,58,2,98,-3,2,0,0,1073684479,0,17407,-9,2,17,2,49,2,0,2,32,-14,2,17,2,32,-6,2,17,2,12,-6,2,8,0,3225419775,-7,2,156,3,0,6,0,8323103,-1,3,0,2,2,59,-37,2,60,2,157,2,158,2,159,2,160,2,161,-105,2,26,-32,3,0,1335,-1,3,0,136,2,9,3,0,180,2,24,3,0,233,2,162,3,0,18,2,9,-77,3,0,16,2,9,-47,3,0,154,2,6,3,0,264,2,32,-22116,3,0,7,2,25,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,61,2,62,-3,0,3168731136,0,4294956864,2,1,2,0,2,41,3,0,4,0,4294966275,3,0,4,2,16,2,63,2,0,2,34,-1,2,17,2,64,-1,2,0,0,2047,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,25,2,65,3,0,2,0,131135,2,96,0,70256639,0,71303167,0,272,2,42,2,6,0,65279,2,0,2,48,-1,2,97,2,66,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,68,2,67,0,33554435,2,131,2,68,0,2952790016,0,131075,0,3594373096,0,67094296,2,67,-1,0,4294828e3,0,603979263,0,922746880,0,3,0,4294828001,0,602930687,0,1879048192,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,69,2,38,-1,2,4,0,917503,2,38,-1,2,70,0,537788335,0,4026531935,-1,0,1,-1,2,33,2,71,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,15,2,22,3,0,10,2,72,2,0,2,73,2,74,2,75,2,0,2,76,2,0,2,12,-1,2,25,3,0,2,2,13,2,4,3,0,18,2,77,2,5,3,0,2,2,78,0,2147745791,3,19,2,0,122879,2,0,2,10,0,276824064,-2,3,0,2,2,42,2,0,0,4294903295,2,0,2,30,2,8,-1,2,17,2,51,2,0,2,79,2,48,-1,2,21,2,0,2,29,-2,0,128,-2,2,28,2,10,0,8160,-1,2,126,0,4227907585,2,0,2,37,2,0,2,50,0,4227915776,2,9,2,6,2,11,-1,0,74440192,3,0,6,-2,3,0,8,2,13,2,0,2,80,2,9,2,0,2,81,2,82,2,83,-3,2,84,2,14,-3,2,85,2,86,2,87,2,0,2,34,-83,3,0,7,0,817183,2,0,2,15,2,0,0,33023,2,21,3,88,2,-17,2,89,0,524157950,2,4,2,0,2,90,2,4,2,0,2,22,2,28,2,16,3,0,2,2,49,2,0,-1,2,17,-16,3,0,206,-2,3,0,692,2,71,-1,2,17,2,9,3,0,8,2,91,0,3072,2,0,0,2147516415,2,9,3,0,2,2,25,2,92,2,93,3,0,2,2,94,2,0,2,20,2,95,0,4294965179,0,7,2,0,2,10,2,93,2,10,-1,0,1761345536,2,96,0,4294901823,2,38,2,20,2,97,2,35,2,98,0,2080440287,2,0,2,34,2,154,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,99,2,100,2,22,2,23,3,0,3,0,7,3,0,349,2,101,2,102,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,2700607615,2,103,2,104,3,0,2,2,19,2,105,3,0,10,2,9,2,17,2,0,2,46,2,0,2,31,2,106,-3,2,107,3,0,3,2,20,-1,3,5,2,2,108,2,0,2,8,2,109,-1,2,110,2,111,2,112,-1,3,0,3,2,12,-2,2,0,2,29,-8,2,20,2,0,2,36,-1,2,0,2,65,2,6,2,30,2,9,2,0,2,113,-1,3,0,4,2,9,2,17,2,114,2,7,2,0,2,115,2,0,2,116,2,117,2,118,2,0,2,10,3,0,9,2,21,2,30,2,31,2,119,2,120,-2,2,121,2,122,2,30,2,21,2,8,-2,2,123,2,30,3,32,2,-1,2,0,2,39,-2,0,4277075969,2,30,-1,3,20,2,-1,2,33,2,124,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,50,2,96,0,4294934591,2,37,-7,2,0,0,197631,2,125,-1,2,20,2,43,2,37,2,17,0,3,2,17,2,124,2,21,2,126,2,127,-1,0,2490368,2,126,2,25,2,17,2,34,2,126,2,38,0,4294901904,0,4718591,2,126,2,35,0,335544350,-1,2,128,0,2147487743,0,1,-1,2,129,2,130,2,8,-1,2,131,2,68,0,3758161920,0,3,2,132,0,12582911,0,655360,-1,2,0,2,29,0,2147485568,0,3,2,0,2,25,0,176,-5,2,0,2,49,0,251658240,-1,2,0,2,25,0,16,-1,2,0,0,16779263,-2,2,12,-1,2,38,-5,2,0,2,18,-3,3,0,2,2,54,2,133,0,2147549183,0,2,-2,2,134,2,36,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,2,17,2,0,2,42,-6,2,0,0,1,2,57,2,49,0,1,2,135,2,25,-3,2,136,2,36,2,137,2,138,0,16778239,2,17,2,7,-8,2,35,0,4294836212,2,10,-3,2,67,-2,3,0,28,2,32,-3,3,0,3,2,49,3,0,6,2,50,-81,2,17,3,0,2,2,36,3,0,33,2,25,0,126,3,0,124,2,12,3,0,18,2,38,-213,2,9,-55,3,0,17,2,42,2,8,2,17,2,0,2,8,2,17,2,58,2,0,2,25,2,50,2,139,2,25,-13,2,0,2,71,-6,3,0,2,-1,2,140,2,10,-1,3,0,2,0,67583,-1,2,105,-2,0,8126475,3,0,230,2,30,2,54,2,8,-3,3,0,3,2,35,-271,2,141,3,0,9,2,142,2,143,2,55,3,0,11,2,7,-72,3,0,3,2,144,2,145,-187,3,0,2,2,56,2,0,2,146,2,147,2,60,2,0,2,148,2,149,2,150,3,0,10,2,151,2,152,2,22,3,56,2,3,153,2,3,57,2,2,154,-57,2,8,2,155,-7,2,17,2,0,2,58,-4,2,0,0,1065361407,0,16384,-9,2,17,2,58,2,0,2,18,-14,2,17,2,18,-6,2,17,0,81919,-6,2,8,0,3223273399,-7,2,156,3,0,6,2,124,-1,3,0,2,0,2063,-37,2,60,2,157,2,158,2,159,2,160,2,161,-138,3,0,1335,-1,3,0,136,2,9,3,0,180,2,24,3,0,233,2,162,3,0,18,2,9,-77,3,0,16,2,9,-47,3,0,154,2,6,3,0,264,2,32,-28252],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,4294903807,268435455,2147483647,1073741823,1048575,3892314111,134217727,1061158911,536805376,4294910143,4294901759,4294901760,4095,262143,536870911,8388607,4160749567,4294902783,4294918143,65535,67043328,2281701374,4294967264,2097151,4194303,255,67108863,4294967039,511,524287,131071,63,127,3238002687,4294549487,4290772991,33554431,4294901888,4286578687,67043329,4294770687,67043583,1023,32767,15,2047999,67043343,67051519,2147483648,4294902e3,4292870143,4294966783,16383,67047423,4294967279,262083,20511,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,4294836224,4294966272,4294967280,32768,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,4294967232,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4160684047,4290246655,469499899,4294967231,134086655,4294966591,2445279231,3670015,31,252,4294967288,16777215,4294705151,3221208447,4294902271,4294549472,4294921215,4285526655,4294966527,4294705152,4294966143,64,4294966719,3774873592,4194303999,1877934080,262151,2555904,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4294934527,4087,2016,2147446655,184024726,2862017156,1593309078,268434431,268434414,4294901761]),v2=e=>(bt[(e>>>5)+0]>>>e&31&1)!==0,Dt=e=>(bt[(e>>>5)+34816]>>>e&31&1)!==0,w=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],U2=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Ct=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function we(e){return e<=127?U2[e]>0:Dt(e)}function be(e){return e<=127?Ct[e]>0:v2(e)||e===8204||e===8205}function g(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function He(e){let t=e.currentChar;if((t&64512)!==55296)return 0;let n=e.source.charCodeAt(e.index+1);return(n&64512)!==56320?0:65536+((t&1023)<<10)+(n&1023)}function ze(e,t){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,(t&4)===0&&(e.column=0,e.line++)}function ee(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function J2(e){return e===160||e===65279||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===8201||e===65519}function M(e){return e<65?e-48:e-65+10&15}function _2(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 131:return"TemplateLiteral";default:return(e&143360)===143360?"Identifier":(e&4096)===4096?"Keyword":"Punctuator"}}var Et=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function j2(e){let{source:t}=e;e.currentChar===35&&t.charCodeAt(e.index+1)===33&&(g(e),g(e),Ke(e,t,0,4,e.tokenStart))}function mt(e,t,n,u,o,i){return u&2&&e.report(0),Ke(e,t,n,o,i)}function Ke(e,t,n,u,o){let{index:i}=e;for(e.tokenIndex=e.index,e.tokenLine=e.line,e.tokenColumn=e.column;e.index<e.end;){if(w[e.currentChar]&8){let l=e.currentChar===13;ee(e),l&&e.index<e.end&&e.currentChar===10&&(e.currentChar=t.charCodeAt(++e.index));break}else if((e.currentChar^8232)<=1){ee(e);break}g(e),e.tokenIndex=e.index,e.tokenLine=e.line,e.tokenColumn=e.column}if(e.options.onComment){let l={start:{line:o.line,column:o.column},end:{line:e.tokenLine,column:e.tokenColumn}};e.options.onComment(Et[u&255],t.slice(i,e.tokenIndex),o.index,e.tokenIndex,l)}return n|1}function X2(e,t,n){let{index:u}=e;for(;e.index<e.end;)if(e.currentChar<43){let o=!1;for(;e.currentChar===42;)if(o||(n&=-5,o=!0),g(e)===47){if(g(e),e.options.onComment){let i={start:{line:e.tokenLine,column:e.tokenColumn},end:{line:e.line,column:e.column}};e.options.onComment(Et[1],t.slice(u,e.index-2),u-2,e.index,i)}return e.tokenIndex=e.index,e.tokenLine=e.line,e.tokenColumn=e.column,n}if(o)continue;w[e.currentChar]&8?e.currentChar===13?(n|=5,ee(e)):(ze(e,n),n=n&-5|1):g(e)}else(e.currentChar^8232)<=1?(n=n&-5|1,ee(e)):(n&=-5,g(e));e.report(18)}var H2={0:"Unexpected token",30:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"\\8 and \\9 are not allowed in template strings",4:"Private identifier #%0 is not defined",5:"Illegal Unicode escape sequence",6:"Invalid code point %0",7:"Invalid hexadecimal escape sequence",9:"Octal literals are not allowed in strict mode",8:"Decimal integer literals with a leading zero are forbidden in strict mode",10:"Expected number in radix %0",151:"Invalid left-hand side assignment to a destructible right-hand side",11:"Non-number found after exponent indicator",12:"Invalid BigIntLiteral",13:"No identifiers allowed directly after numeric literal",14:"Escapes \\8 or \\9 are not syntactically valid escapes",15:"Escapes \\8 or \\9 are not allowed in strict mode",16:"Unterminated string literal",17:"Unterminated template literal",18:"Multiline comment was not closed properly",19:"The identifier contained dynamic unicode escape that was not closed",20:"Illegal character '%0'",21:"Missing hexadecimal digits",22:"Invalid implicit octal",23:"Invalid line break in string literal",24:"Only unicode escapes are legal in identifier names",25:"Expected '%0'",26:"Invalid left-hand side in assignment",27:"Invalid left-hand side in async arrow",28:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',29:"Member access on super must be in a method",31:"Await expression not allowed in formal parameter",32:"Yield expression not allowed in formal parameter",95:"Unexpected token: 'escaped keyword'",33:"Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses",123:"Async functions can only be declared at the top level or inside a block",34:"Unterminated regular expression",35:"Unexpected regular expression flag",36:"Duplicate regular expression flag '%0'",37:"%0 functions must have exactly %1 argument%2",38:"Setter function argument must not be a rest parameter",39:"%0 declaration must have a name in this context",40:"Function name may not contain any reserved words or be eval or arguments in strict mode",41:"The rest operator is missing an argument",42:"A getter cannot be a generator",43:"A setter cannot be a generator",44:"A computed property name must be followed by a colon or paren",134:"Object literal keys that are strings or numbers must be a method or have a colon",46:"Found `* async x(){}` but this should be `async * x(){}`",45:"Getters and setters can not be generators",47:"'%0' can not be generator method",48:"No line break is allowed after '=>'",49:"The left-hand side of the arrow can only be destructed through assignment",50:"The binding declaration is not destructible",51:"Async arrow can not be followed by new expression",52:"Classes may not have a static property named 'prototype'",53:"Class constructor may not be a %0",54:"Duplicate constructor method in class",55:"Invalid increment/decrement operand",56:"Invalid use of `new` keyword on an increment/decrement expression",57:"`=>` is an invalid assignment target",58:"Rest element may not have a trailing comma",59:"Missing initializer in %0 declaration",60:"'for-%0' loop head declarations can not have an initializer",61:"Invalid left-hand side in for-%0 loop: Must have a single binding",62:"Invalid shorthand property initializer",63:"Property name __proto__ appears more than once in object literal",64:"Let is disallowed as a lexically bound name",65:"Invalid use of '%0' inside new expression",66:"Illegal 'use strict' directive in function with non-simple parameter list",67:'Identifier "let" disallowed as left-hand side expression in strict mode',68:"Illegal continue statement",69:"Illegal break statement",70:"Cannot have `let[...]` as a var name in strict mode",71:"Invalid destructuring assignment target",72:"Rest parameter may not have a default initializer",73:"The rest argument must the be last parameter",74:"Invalid rest argument",76:"In strict mode code, functions can only be declared at top level or inside a block",77:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",78:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",79:"Class declaration can't appear in single-statement context",80:"Invalid left-hand side in for-%0",81:"Invalid assignment in for-%0",82:"for await (... of ...) is only valid in async functions and async generators",83:"The first token after the template expression should be a continuation of the template",85:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",84:"`let \n [` is a restricted production at the start of a statement",86:"Catch clause requires exactly one parameter, not more (and no trailing comma)",87:"Catch clause parameter does not support default values",88:"Missing catch or finally after try",89:"More than one default clause in switch statement",90:"Illegal newline after throw",91:"Strict mode code may not include a with statement",92:"Illegal return statement",93:"The left hand side of the for-header binding declaration is not destructible",94:"new.target only allowed within functions or static blocks",96:"'#' not followed by identifier",102:"Invalid keyword",101:"Can not use 'let' as a class name",100:"'A lexical declaration can't define a 'let' binding",99:"Can not use `let` as variable name in strict mode",97:"'%0' may not be used as an identifier in this context",98:"Await is only valid in async functions",103:"The %0 keyword can only be used with the module goal",104:"Unicode codepoint must not be greater than 0x10FFFF",105:"%0 source must be string",106:"Only a identifier or string can be used to indicate alias",107:"Only '*' or '{...}' can be imported after default",108:"Trailing decorator may be followed by method",109:"Decorators can't be used with a constructor",110:"Can not use `await` as identifier in module or async func",111:"Can not use `await` as identifier in module",112:"HTML comments are only allowed with web compatibility (Annex B)",113:"The identifier 'let' must not be in expression position in strict mode",114:"Cannot assign to `eval` and `arguments` in strict mode",115:"The left-hand side of a for-of loop may not start with 'let'",116:"Block body arrows can not be immediately invoked without a group",117:"Block body arrows can not be immediately accessed without a group",118:"Unexpected strict mode reserved word",119:"Unexpected eval or arguments in strict mode",120:"Decorators must not be followed by a semicolon",121:"Calling delete on expression not allowed in strict mode",122:"Pattern can not have a tail",124:"Can not have a `yield` expression on the left side of a ternary",125:"An arrow function can not have a postfix update operator",126:"Invalid object literal key character after generator star",127:"Private fields can not be deleted",129:"Classes may not have a field called constructor",128:"Classes may not have a private element named constructor",130:"A class field initializer or static block may not contain arguments",131:"Generators can only be declared at the top level or inside a block",132:"Async methods are a restricted production and cannot have a newline following it",133:"Unexpected character after object literal property name",135:"Invalid key token",136:"Label '%0' has already been declared",137:"continue statement must be nested within an iteration statement",138:"Undefined label '%0'",139:"Trailing comma is disallowed inside import(...) arguments",140:"Invalid binding in JSON import",141:"import() requires exactly one argument",142:"Cannot use new with import(...)",143:"... is not allowed in import()",144:"Expected '=>'",145:"Duplicate binding '%0'",146:"Duplicate private identifier #%0",147:"Cannot export a duplicate name '%0'",150:"Duplicate %0 for-binding",148:"Exported binding '%0' needs to refer to a top-level declared variable",149:"Unexpected private field",153:"Numeric separators are not allowed at the end of numeric literals",152:"Only one underscore is allowed as numeric separator",154:"JSX value should be either an expression or a quoted JSX text",155:"Expected corresponding JSX closing tag for %0",156:"Adjacent JSX elements must be wrapped in an enclosing tag",157:"JSX attributes must only be assigned a non-empty 'expression'",158:"'%0' has already been declared",159:"'%0' shadowed a catch clause binding",160:"Dot property must be an identifier",161:"Encountered invalid input after spread/rest argument",162:"Catch without try",163:"Finally without try",164:"Expected corresponding closing tag for JSX fragment",165:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",166:"Invalid tagged template on optional chain",167:"Invalid optional chain from super property",168:"Invalid optional chain from new expression",169:'Cannot use "import.meta" outside a module',170:"Leading decorators must be attached to a class declaration",171:"An export name cannot include a lone surrogate",172:"A string literal cannot be used as an exported binding without `from`",173:"Private fields can't be accessed on super",174:"The only valid meta property for import is 'import.meta'",175:"'import.meta' must not contain escaped characters",176:'cannot use "await" as identifier inside an async function',177:'cannot use "await" in static blocks'},I=class extends SyntaxError{start;end;range;loc;description;constructor(t,n,u,...o){let i=H2[u].replace(/%(\d+)/g,(f,c)=>o[c]),l="["+t.line+":"+t.column+"-"+n.line+":"+n.column+"]: "+i;super(l),this.start=t.index,this.end=n.index,this.range=[t.index,n.index],this.loc={start:{line:t.line,column:t.column},end:{line:n.line,column:n.column}},this.description=i}};function wt(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}var S=["end of source","identifier","number","string","regular expression","false","true","null","template continuation","template tail","=>","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","accessor","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],St={this:86111,function:86104,if:20569,return:20572,var:86088,else:20563,for:20567,new:86107,in:8673330,typeof:16863275,while:20578,case:20556,break:20555,try:20577,catch:20557,delete:16863276,throw:86112,switch:86110,continue:20559,default:20561,instanceof:8411187,do:20562,void:16863277,finally:20566,async:209005,await:209006,class:86094,const:86090,constructor:12399,debugger:20560,export:20564,extends:20565,false:86021,from:209011,get:209008,implements:36964,import:86106,interface:36965,let:241737,null:86023,of:471156,package:36966,private:36967,protected:36968,public:36969,set:209009,static:36970,super:86109,true:86022,with:20579,yield:241771,enum:86133,eval:537079926,as:77932,arguments:537079927,target:209029,meta:209030,accessor:12402};function rt(e,t,n){for(;Ct[g(e)];);return e.tokenValue=e.source.slice(e.tokenIndex,e.index),e.currentChar!==92&&e.currentChar<=126?wt(St,e.tokenValue)??208897:$e(e,t,0,n)}function z2(e,t){let n=Bt(e);return we(n)||e.report(5),e.tokenValue=String.fromCodePoint(n),$e(e,t,1,w[n]&4)}function $e(e,t,n,u){let o=e.index;for(;e.index<e.end;)if(e.currentChar===92){e.tokenValue+=e.source.slice(o,e.index),n=1;let l=Bt(e);be(l)||e.report(5),u=u&&w[l]&4,e.tokenValue+=String.fromCodePoint(l),o=e.index}else{let l=He(e);if(l>0)be(l)||e.report(20,String.fromCodePoint(l)),e.currentChar=l,e.index++,e.column++;else if(!be(e.currentChar))break;g(e)}e.index<=e.end&&(e.tokenValue+=e.source.slice(o,e.index));let{length:i}=e.tokenValue;if(u&&i>=2&&i<=11){let l=wt(St,e.tokenValue);return l===void 0?208897|(n?-2147483648:0):n?l===209006?(t&2050)===0?l|-2147483648:-2147483528:t&1?l===36970||(l&36864)===36864?-2147483527:(l&20480)===20480?t&262144&&(t&8)===0?l|-2147483648:-2147483528:-2147274630:t&262144&&(t&8)===0&&(l&20480)===20480?l|-2147483648:l===241771?t&262144?-2147274630:t&1024?-2147483528:l|-2147483648:l===209005?-2147274630:(l&36864)===36864?l|12288|-2147483648:-2147483528:l}return 208897|(n?-2147483648:0)}function K2(e){let t=g(e);if(t===92)return 130;let n=He(e);return n&&(t=n),we(t)||e.report(96),130}function Bt(e){return e.source.charCodeAt(e.index+1)!==117&&e.report(5),e.currentChar=e.source.charCodeAt(e.index+=2),e.column+=2,$2(e)}function $2(e){let t=0,n=e.currentChar;if(n===123){let l=e.index-2;for(;w[g(e)]&64;)if(t=t<<4|M(e.currentChar),t>1114111)throw new I({index:l,line:e.line,column:e.column},e.currentLocation,104);if(e.currentChar!==125)throw new I({index:l,line:e.line,column:e.column},e.currentLocation,7);return g(e),t}(w[n]&64)===0&&e.report(7);let u=e.source.charCodeAt(e.index+1);(w[u]&64)===0&&e.report(7);let o=e.source.charCodeAt(e.index+2);(w[o]&64)===0&&e.report(7);let i=e.source.charCodeAt(e.index+3);return(w[i]&64)===0&&e.report(7),t=M(n)<<12|M(u)<<8|M(o)<<4|M(i),e.currentChar=e.source.charCodeAt(e.index+=4),e.column+=4,t}function ht(e,t,n){let u=e.currentChar,o=0,i=9,l=n&64?0:1,f=0,c=0;if(n&64)o="."+Ae(e,u),u=e.currentChar,u===110&&e.report(12);else{if(u===48)if(u=g(e),(u|32)===120){for(n=136,u=g(e);w[u]&4160;){if(u===95){c||e.report(152),c=0,u=g(e);continue}c=1,o=o*16+M(u),f++,u=g(e)}(f===0||!c)&&e.report(f===0?21:153)}else if((u|32)===111){for(n=132,u=g(e);w[u]&4128;){if(u===95){c||e.report(152),c=0,u=g(e);continue}c=1,o=o*8+(u-48),f++,u=g(e)}(f===0||!c)&&e.report(f===0?0:153)}else if((u|32)===98){for(n=130,u=g(e);w[u]&4224;){if(u===95){c||e.report(152),c=0,u=g(e);continue}c=1,o=o*2+(u-48),f++,u=g(e)}(f===0||!c)&&e.report(f===0?0:153)}else if(w[u]&32)for(t&1&&e.report(1),n=1;w[u]&16;){if(w[u]&512){n=32,l=0;break}o=o*8+(u-48),u=g(e)}else w[u]&512?(t&1&&e.report(1),e.flags|=64,n=32):u===95&&e.report(0);if(n&48){if(l){for(;i>=0&&w[u]&4112;){if(u===95){if(u=g(e),u===95||n&32)throw new I(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},152);c=1;continue}c=0,o=10*o+(u-48),u=g(e),--i}if(c)throw new I(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},153);if(i>=0&&!we(u)&&u!==46)return e.tokenValue=o,e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),134283266}o+=Ae(e,u),u=e.currentChar,u===46&&(g(e)===95&&e.report(0),n=64,o+="."+Ae(e,e.currentChar),u=e.currentChar)}}let a=e.index,s=0;if(u===110&&n&128)s=1,u=g(e);else if((u|32)===101){u=g(e),w[u]&256&&(u=g(e));let{index:d}=e;(w[u]&16)===0&&e.report(11),o+=e.source.substring(a,d)+Ae(e,u),u=e.currentChar}return(e.index<e.end&&w[u]&16||we(u))&&e.report(13),s?(e.tokenRaw=e.source.slice(e.tokenIndex,e.index),e.tokenValue=BigInt(x(0,e.tokenRaw.slice(0,-1),"_","")),134283388):(e.tokenValue=n&15?o:n&32?parseFloat(e.source.substring(e.tokenIndex,e.index)):+o,e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),134283266)}function Ae(e,t){let n=0,u=e.index,o="";for(;w[t]&4112;){if(t===95){let{index:i}=e;if(t=g(e),t===95)throw new I(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},152);n=1,o+=e.source.substring(u,i),u=e.index;continue}n=0,t=g(e)}if(n)throw new I(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},153);return o+e.source.substring(u,e.index)}var Q;(function(e){e[e.Empty=0]="Empty",e[e.Escape=1]="Escape",e[e.Class=2]="Class"})(Q||(Q={}));var q;(function(e){e[e.Empty=0]="Empty",e[e.IgnoreCase=1]="IgnoreCase",e[e.Global=2]="Global",e[e.Multiline=4]="Multiline",e[e.Unicode=16]="Unicode",e[e.Sticky=8]="Sticky",e[e.DotAll=32]="DotAll",e[e.Indices=64]="Indices",e[e.UnicodeSets=128]="UnicodeSets"})(q||(q={}));function W2(e){let t=e.index,n=Q.Empty;e:for(;;){let a=e.currentChar;if(g(e),n&Q.Escape)n&=~Q.Escape;else switch(a){case 47:if(n)break;break e;case 92:n|=Q.Escape;break;case 91:n|=Q.Class;break;case 93:n&=Q.Escape;break}if((a===13||a===10||a===8232||a===8233)&&e.report(34),e.index>=e.source.length)return e.report(34)}let u=e.index-1,o=q.Empty,i=e.currentChar,{index:l}=e;for(;be(i);){switch(i){case 103:o&q.Global&&e.report(36,"g"),o|=q.Global;break;case 105:o&q.IgnoreCase&&e.report(36,"i"),o|=q.IgnoreCase;break;case 109:o&q.Multiline&&e.report(36,"m"),o|=q.Multiline;break;case 117:o&q.Unicode&&e.report(36,"u"),o&q.UnicodeSets&&e.report(36,"vu"),o|=q.Unicode;break;case 118:o&q.Unicode&&e.report(36,"uv"),o&q.UnicodeSets&&e.report(36,"v"),o|=q.UnicodeSets;break;case 121:o&q.Sticky&&e.report(36,"y"),o|=q.Sticky;break;case 115:o&q.DotAll&&e.report(36,"s"),o|=q.DotAll;break;case 100:o&q.Indices&&e.report(36,"d"),o|=q.Indices;break;default:e.report(35)}i=g(e)}let f=e.source.slice(l,e.index),c=e.source.slice(t,u);return e.tokenRegExp={pattern:c,flags:f},e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),e.tokenValue=Y2(e,c,f),65540}function Y2(e,t,n){try{return new RegExp(t,n)}catch{if(!e.options.validateRegex)return null;e.report(34)}}function Q2(e,t,n){let{index:u}=e,o="",i=g(e),l=e.index;for(;(w[i]&8)===0;){if(i===n)return o+=e.source.slice(l,e.index),g(e),e.options.raw&&(e.tokenRaw=e.source.slice(u,e.index)),e.tokenValue=o,134283267;if((i&8)===8&&i===92){if(o+=e.source.slice(l,e.index),i=g(e),i<127||i===8232||i===8233){let f=Ft(e,t,i);f>=0?o+=String.fromCodePoint(f):Nt(e,f,0)}else o+=String.fromCodePoint(i);l=e.index+1}else(i===8232||i===8233)&&(e.column=-1,e.line++);e.index>=e.end&&e.report(16),i=g(e)}e.report(16)}function Ft(e,t,n,u=0){switch(n){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index<e.end){let o=e.source.charCodeAt(e.index+1);o===10&&(e.index=e.index+1,e.currentChar=o)}case 10:case 8232:case 8233:return e.column=-1,e.line++,-1;case 48:case 49:case 50:case 51:{let o=n-48,i=e.index+1,l=e.column+1;if(i<e.end){let f=e.source.charCodeAt(i);if((w[f]&32)===0){if(o!==0||w[f]&512){if(t&1||u)return-2;e.flags|=64}}else{if(t&1||u)return-2;if(e.currentChar=f,o=o<<3|f-48,i++,l++,i<e.end){let c=e.source.charCodeAt(i);w[c]&32&&(e.currentChar=c,o=o<<3|c-48,i++,l++)}e.flags|=64}e.index=i-1,e.column=l-1}return o}case 52:case 53:case 54:case 55:{if(u||t&1)return-2;let o=n-48,i=e.index+1,l=e.column+1;if(i<e.end){let f=e.source.charCodeAt(i);w[f]&32&&(o=o<<3|f-48,e.currentChar=f,e.index=i,e.column=l)}return e.flags|=64,o}case 120:{let o=g(e);if((w[o]&64)===0)return-4;let i=M(o),l=g(e);if((w[l]&64)===0)return-4;let f=M(l);return i<<4|f}case 117:{let o=g(e);if(e.currentChar===123){let i=0;for(;(w[g(e)]&64)!==0;)if(i=i<<4|M(e.currentChar),i>1114111)return-5;return e.currentChar<1||e.currentChar!==125?-4:i}else{if((w[o]&64)===0)return-4;let i=e.source.charCodeAt(e.index+1);if((w[i]&64)===0)return-4;let l=e.source.charCodeAt(e.index+2);if((w[l]&64)===0)return-4;let f=e.source.charCodeAt(e.index+3);return(w[f]&64)===0?-4:(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),M(o)<<12|M(i)<<8|M(l)<<4|M(f))}}case 56:case 57:if(u||!e.options.webcompat||t&1)return-3;e.flags|=4096;default:return n}}function Nt(e,t,n){switch(t){case-1:return;case-2:e.report(n?2:1);case-3:e.report(n?3:14);case-4:e.report(7);case-5:e.report(104)}}function Lt(e,t){let{index:n}=e,u=67174409,o="",i=g(e);for(;i!==96;){if(i===36&&e.source.charCodeAt(e.index+1)===123){g(e),u=67174408;break}else if(i===92)if(i=g(e),i>126)o+=String.fromCodePoint(i);else{let{index:l,line:f,column:c}=e,a=Ft(e,t|1,i,1);if(a>=0)o+=String.fromCodePoint(a);else if(a!==-1&&t&64){e.index=l,e.line=f,e.column=c,o=null,i=Z2(e,i),i<0&&(u=67174408);break}else Nt(e,a,1)}else e.index<e.end&&(i===13&&e.source.charCodeAt(e.index)===10&&(o+=String.fromCodePoint(i),e.currentChar=e.source.charCodeAt(++e.index)),((i&83)<3&&i===10||(i^8232)<=1)&&(e.column=-1,e.line++),o+=String.fromCodePoint(i));e.index>=e.end&&e.report(17),i=g(e)}return g(e),e.tokenValue=o,e.tokenRaw=e.source.slice(n+1,e.index-(u===67174409?1:2)),u}function Z2(e,t){for(;t!==96;){switch(t){case 36:{let n=e.index+1;if(n<e.end&&e.source.charCodeAt(n)===123)return e.index=n,e.column++,-t;break}case 10:case 8232:case 8233:e.column=-1,e.line++}e.index>=e.end&&e.report(17),t=g(e)}return t}function G2(e,t){return e.index>=e.end&&e.report(0),e.index--,e.column--,Lt(e,t)}var x2=[128,128,128,128,128,128,128,128,128,127,135,127,127,129,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,127,16842798,134283267,130,208897,8391477,8390213,134283267,67174411,16,8391476,25233968,18,25233969,67108877,8457014,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456256,1077936155,8390721,22,132,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,136,20,8389959,208897,131,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8389702,1074790415,16842799,128];function m(e,t){e.flags=(e.flags|1)^1,e.startIndex=e.index,e.startColumn=e.column,e.startLine=e.line,e.setToken(It(e,t,0))}function It(e,t,n){let u=e.index===0,{source:o}=e;for(;e.index<e.end;){e.tokenIndex=e.index,e.tokenColumn=e.column,e.tokenLine=e.line;let i=e.currentChar;if(i<=126){let l=x2[i];switch(l){case 67174411:case 16:case 2162700:case 1074790415:case 69271571:case 20:case 21:case 1074790417:case 18:case 16842799:case 132:case 128:return g(e),l;case 208897:return rt(e,t,0);case 4096:return rt(e,t,1);case 134283266:return ht(e,t,144);case 134283267:return Q2(e,t,i);case 131:return Lt(e,t);case 136:return z2(e,t);case 130:return K2(e);case 127:g(e);break;case 129:n|=5,ee(e);break;case 135:ze(e,n),n=n&-5|1;break;case 8456256:{let f=g(e);if(e.index<e.end){if(f===60)return e.index<e.end&&g(e)===61?(g(e),4194332):8390978;if(f===61)return g(e),8390718;if(f===33){let c=e.index+1;if(c+1<e.end&&o.charCodeAt(c)===45&&o.charCodeAt(c+1)==45){e.column+=3,e.currentChar=o.charCodeAt(e.index+=3),n=mt(e,o,n,t,2,e.tokenStart);continue}return 8456256}}return 8456256}case 1077936155:{g(e);let f=e.currentChar;return f===61?g(e)===61?(g(e),8390458):8390460:f===62?(g(e),10):1077936155}case 16842798:return g(e)!==61?16842798:g(e)!==61?8390461:(g(e),8390459);case 8391477:return g(e)!==61?8391477:(g(e),4194340);case 8391476:{if(g(e),e.index>=e.end)return 8391476;let f=e.currentChar;return f===61?(g(e),4194338):f!==42?8391476:g(e)!==61?8391735:(g(e),4194335)}case 8389959:return g(e)!==61?8389959:(g(e),4194341);case 25233968:{g(e);let f=e.currentChar;return f===43?(g(e),33619993):f===61?(g(e),4194336):25233968}case 25233969:{g(e);let f=e.currentChar;if(f===45){if(g(e),(n&1||u)&&e.currentChar===62){e.options.webcompat||e.report(112),g(e),n=mt(e,o,n,t,3,e.tokenStart);continue}return 33619994}return f===61?(g(e),4194337):25233969}case 8457014:{if(g(e),e.index<e.end){let f=e.currentChar;if(f===47){g(e),n=Ke(e,o,n,0,e.tokenStart);continue}if(f===42){g(e),n=X2(e,o,n);continue}if(t&32)return W2(e);if(f===61)return g(e),4259875}return 8457014}case 67108877:{let f=g(e);if(f>=48&&f<=57)return ht(e,t,80);if(f===46){let c=e.index+1;if(c<e.end&&o.charCodeAt(c)===46)return e.column+=2,e.currentChar=o.charCodeAt(e.index+=2),14}return 67108877}case 8389702:{g(e);let f=e.currentChar;return f===124?(g(e),e.currentChar===61?(g(e),4194344):8913465):f===61?(g(e),4194342):8389702}case 8390721:{g(e);let f=e.currentChar;if(f===61)return g(e),8390719;if(f!==62)return 8390721;if(g(e),e.index<e.end){let c=e.currentChar;if(c===62)return g(e)===61?(g(e),4194334):8390980;if(c===61)return g(e),4194333}return 8390979}case 8390213:{g(e);let f=e.currentChar;return f===38?(g(e),e.currentChar===61?(g(e),4194345):8913720):f===61?(g(e),4194343):8390213}case 22:{let f=g(e);if(f===63)return g(e),e.currentChar===61?(g(e),4194346):276824445;if(f===46){let c=e.index+1;if(c<e.end&&(f=o.charCodeAt(c),!(f>=48&&f<=57)))return g(e),67108990}return 22}}}else{if((i^8232)<=1){n=n&-5|1,ee(e);continue}let l=He(e);if(l>0&&(i=l),Dt(i))return e.tokenValue="",$e(e,t,0,0);if(J2(i)){g(e);continue}e.report(20,String.fromCodePoint(i))}}return 1048576}function R(e,t){(e.flags&1)===0&&(e.getToken()&1048576)!==1048576&&e.report(30,S[e.getToken()&255]),D(e,t,1074790417)||e.options.onInsertedSemicolon?.(e.startIndex)}function qt(e,t,n,u){return t-n<13&&u==="use strict"&&((e.getToken()&1048576)===1048576||e.flags&1)?1:0}function We(e,t,n){return e.getToken()!==n?0:(m(e,t),1)}function D(e,t,n){return e.getToken()!==n?!1:(m(e,t),!0)}function k(e,t,n){e.getToken()!==n&&e.report(25,S[n&255]),m(e,t)}function z(e,t){switch(t.type){case"ArrayExpression":{t.type="ArrayPattern";let{elements:n}=t;for(let u=0,o=n.length;u<o;++u){let i=n[u];i&&z(e,i)}return}case"ObjectExpression":{t.type="ObjectPattern";let{properties:n}=t;for(let u=0,o=n.length;u<o;++u)z(e,n[u]);return}case"AssignmentExpression":t.type="AssignmentPattern",t.operator!=="="&&e.report(71),delete t.operator,z(e,t.left);return;case"Property":z(e,t.value);return;case"SpreadElement":t.type="RestElement",z(e,t.argument)}}function Se(e,t,n,u,o){t&1&&((u&36864)===36864&&e.report(118),!o&&(u&537079808)===537079808&&e.report(119)),((u&20480)===20480||u===-2147483528)&&e.report(102),n&24&&(u&255)===73&&e.report(100),t&2050&&u===209006&&e.report(110),t&1025&&u===241771&&e.report(97,"yield")}function Pt(e,t,n){t&1&&((n&36864)===36864&&e.report(118),(n&537079808)===537079808&&e.report(119),n===-2147483527&&e.report(95),n===-2147483528&&e.report(95)),(n&20480)===20480&&e.report(102),t&2050&&n===209006&&e.report(110),t&1025&&n===241771&&e.report(97,"yield")}function Ot(e,t,n){return n===209006&&(t&2050&&e.report(110),e.destructible|=128),n===241771&&t&1024&&e.report(97,"yield"),(n&20480)===20480||(n&36864)===36864||n==-2147483527}function p2(e){return e.property?e.property.type==="PrivateIdentifier":!1}function Vt(e,t,n,u){for(;t;){if(t["$"+n])return u&&e.report(137),1;u&&t.loop&&(u=0),t=t.$}return 0}function en(e,t,n){let u=t;for(;u;)u["$"+n]&&e.report(136,n),u=u.$;t["$"+n]=1}function Be(e){switch(e.type){case"JSXIdentifier":return e.name;case"JSXNamespacedName":return e.namespace+":"+e.name;case"JSXMemberExpression":return Be(e.object)+"."+Be(e.property)}}function ae(e,t){return e&1025?e&2&&t===209006||e&1024&&t===241771?!1:(t&12288)===12288:(t&12288)===12288||(t&36864)===36864}function Le(e,t,n){(n&537079808)===537079808&&(t&1&&e.report(119),e.flags|=512),ae(t,n)||e.report(0)}function tn(e,t){return e.startIndex=e.tokenIndex=e.index,e.startColumn=e.tokenColumn=e.column,e.startLine=e.tokenLine=e.line,e.setToken(w[e.currentChar]&8192?nn(e):It(e,t,0)),e.getToken()}function nn(e){let t=e.currentChar,n=g(e),u=e.index;for(;n!==t;)e.index>=e.end&&e.report(16),n=g(e);return n!==t&&e.report(16),e.tokenValue=e.source.slice(u,e.index),g(e),e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),134283267}function ge(e){if(e.startIndex=e.tokenIndex=e.index,e.startColumn=e.tokenColumn=e.column,e.startLine=e.tokenLine=e.line,e.index>=e.end){e.setToken(1048576);return}if(e.currentChar===60){g(e),e.setToken(8456256);return}if(e.currentChar===123){g(e),e.setToken(2162700);return}let t=0;for(;e.index<e.end;){let u=w[e.source.charCodeAt(e.index)];if(u&1024?(t|=5,ee(e)):u&2048?(ze(e,t),t=t&-5|1):g(e),w[e.currentChar]&16384)break}e.tokenIndex===e.index&&e.report(0);let n=e.source.slice(e.tokenIndex,e.index);e.options.raw&&(e.tokenRaw=n),e.tokenValue=n,e.setToken(137)}function Me(e){if((e.getToken()&143360)===143360){let{index:t}=e,n=e.currentChar;for(;w[n]&32770;)n=g(e);e.tokenValue+=e.source.slice(t,e.index),e.setToken(208897,!0)}return e.getToken()}function un(e){let t={validateRegex:!0,...e};return t.module&&!t.sourceType&&(t.sourceType="module"),t.globalReturn&&(!t.sourceType||t.sourceType==="script")&&(t.sourceType="commonjs"),t}var ve=class{parser;parent;refs=Object.create(null);privateIdentifiers=new Map;constructor(t,n){this.parser=t,this.parent=n}addPrivateIdentifier(t,n){let{privateIdentifiers:u}=this,o=n&800;o&768||(o|=768);let i=u.get(t);this.hasPrivateIdentifier(t)&&((i&32)!==(o&32)||i&o&768)&&this.parser.report(146,t),u.set(t,this.hasPrivateIdentifier(t)?i|o:o)}addPrivateIdentifierRef(t){var n;(n=this.refs)[t]??(n[t]=[]),this.refs[t].push(this.parser.tokenStart)}isPrivateIdentifierDefined(t){return this.hasPrivateIdentifier(t)||!!this.parent?.isPrivateIdentifierDefined(t)}validatePrivateIdentifierRefs(){for(let t in this.refs)if(!this.isPrivateIdentifierDefined(t)){let{index:n,line:u,column:o}=this.refs[t][0];throw new I({index:n,line:u,column:o},{index:n+t.length,line:u,column:o+t.length},4,t)}}hasPrivateIdentifier(t){return this.privateIdentifiers.has(t)}},Ue=class e{parser;type;parent;scopeError;variableBindings=new Map;constructor(t,n=2,u){this.parser=t,this.type=n,this.parent=u}createChildScope(t){return new e(this.parser,t,this)}addVarOrBlock(t,n,u,o){u&4?this.addVarName(t,n,u):this.addBlockName(t,n,u,o),o&64&&this.parser.declareUnboundVariable(n)}addVarName(t,n,u){let{parser:o}=this,i=this;for(;i&&(i.type&128)===0;){let{variableBindings:l}=i,f=l.get(n);f&&f&248&&(o.options.webcompat&&(t&1)===0&&(u&128&&f&68||f&128&&u&68)||o.report(145,n)),i===this&&f&&f&1&&u&1&&i.recordScopeError(145,n),f&&(f&256||f&512&&!o.options.webcompat)&&o.report(145,n),i.variableBindings.set(n,u),i=i.parent}}hasVariable(t){return this.variableBindings.has(t)}addBlockName(t,n,u,o){let{parser:i}=this,l=this.variableBindings.get(n);l&&(l&2)===0&&(u&1?this.recordScopeError(145,n):i.options.webcompat&&(t&1)===0&&o&2&&l===64&&u===64||i.report(145,n)),this.type&64&&this.parent?.hasVariable(n)&&(this.parent.variableBindings.get(n)&2)===0&&i.report(145,n),this.type&512&&l&&(l&2)===0&&u&1&&this.recordScopeError(145,n),this.type&32&&this.parent.variableBindings.get(n)&768&&i.report(159,n),this.variableBindings.set(n,u)}recordScopeError(t,...n){this.scopeError={type:t,params:n,start:this.parser.tokenStart,end:this.parser.currentLocation}}reportScopeError(){let{scopeError:t}=this;if(t)throw new I(t.start,t.end,t.type,...t.params)}};function Ie(e,t,n){let u=e.createScope().createChildScope(512);return u.addBlockName(t,n,1,0),u}var Je=class{source;lastOnToken=null;options;token=1048576;flags=0;index=0;line=1;column=0;startIndex=0;end=0;tokenIndex=0;startColumn=0;tokenColumn=0;tokenLine=1;startLine=1;tokenValue="";tokenRaw="";tokenRegExp=void 0;currentChar=0;exportedNames=new Set;exportedBindings=new Set;assignable=1;destructible=0;leadingDecorators={decorators:[]};constructor(t,n={}){this.source=t,this.end=t.length,this.currentChar=t.charCodeAt(0),this.options=un(n),Array.isArray(this.options.onComment)&&(this.options.onComment=on(this.options.onComment,this.options)),Array.isArray(this.options.onToken)&&(this.options.onToken=ln(this.options.onToken,this.options))}getToken(){return this.token}setToken(t,n=!1){this.token=t;let{onToken:u}=this.options;if(u)if(t!==1048576){let o={start:{line:this.tokenLine,column:this.tokenColumn},end:{line:this.line,column:this.column}};!n&&this.lastOnToken&&u(...this.lastOnToken),this.lastOnToken=[_2(t),this.tokenIndex,this.index,o]}else this.lastOnToken&&(u(...this.lastOnToken),this.lastOnToken=null);return t}get tokenStart(){return{index:this.tokenIndex,line:this.tokenLine,column:this.tokenColumn}}get currentLocation(){return{index:this.index,line:this.line,column:this.column}}finishNode(t,n,u){if(this.options.ranges){t.start=n.index;let o=u?u.index:this.startIndex;t.end=o,t.range=[n.index,o]}return this.options.loc&&(t.loc={start:{line:n.line,column:n.column},end:u?{line:u.line,column:u.column}:{line:this.startLine,column:this.startColumn}},this.options.source&&(t.loc.source=this.options.source)),t}addBindingToExports(t){this.exportedBindings.add(t)}declareUnboundVariable(t){let{exportedNames:n}=this;n.has(t)&&this.report(147,t),n.add(t)}report(t,...n){throw new I(this.tokenStart,this.currentLocation,t,...n)}createScopeIfLexical(t,n){if(this.options.lexical)return this.createScope(t,n)}createScope(t,n){return new Ue(this,t,n)}createPrivateScopeIfLexical(t){if(this.options.lexical)return new ve(this,t)}cloneIdentifier(t){return this.cloneLocationInformation({...t},t)}cloneStringLiteral(t){return this.cloneLocationInformation({...t},t)}cloneLocationInformation(t,n){return this.options.ranges&&(t.range=[...n.range]),this.options.loc&&(t.loc={...n.loc,start:{...n.loc.start},end:{...n.loc.end}}),t}};function on(e,t){return function(n,u,o,i,l){let f={type:n,value:u};t.ranges&&(f.start=o,f.end=i,f.range=[o,i]),t.loc&&(f.loc=l),e.push(f)}}function ln(e,t){return function(n,u,o,i){let l={token:n};t.ranges&&(l.start=u,l.end=o,l.range=[u,o]),t.loc&&(l.loc=i),e.push(l)}}function fn(e,t={},n=0){let u=new Je(e,t);u.options.sourceType==="module"&&(n|=3),u.options.sourceType==="commonjs"&&(n|=69632),u.options.impliedStrict&&(n|=1),j2(u);let o=u.createScopeIfLexical(),i=[],l="script";if(n&2){if(l="module",i=sn(u,n|8,o),o)for(let f of u.exportedBindings)o.hasVariable(f)||u.report(148,f)}else i=cn(u,n|8,o);return u.finishNode({type:"Program",sourceType:l,body:i},{index:0,line:1,column:0},u.currentLocation)}function cn(e,t,n){m(e,t|32|262144);let u=[];for(;e.getToken()===134283267;){let{index:o,tokenValue:i,tokenStart:l,tokenIndex:f}=e,c=e.getToken(),a=P(e,t);if(qt(e,o,f,i)){if(t|=1,e.flags&64)throw new I(e.tokenStart,e.currentLocation,9);if(e.flags&4096)throw new I(e.tokenStart,e.currentLocation,15)}u.push(Qe(e,t,a,c,l))}for(;e.getToken()!==1048576;)u.push(me(e,t,n,void 0,4,{}));return u}function sn(e,t,n){m(e,t|32);let u=[];for(;e.getToken()===134283267;){let{tokenStart:o}=e,i=e.getToken();u.push(Qe(e,t,P(e,t),i,o))}for(;e.getToken()!==1048576;)u.push(dn(e,t,n));return u}function dn(e,t,n){e.getToken()===132&&Object.assign(e.leadingDecorators,{start:e.tokenStart,decorators:Oe(e,t,void 0)});let u;switch(e.getToken()){case 20564:u=In(e,t,n);break;case 86106:u=Nn(e,t,n);break;default:u=me(e,t,n,void 0,4,{})}return e.leadingDecorators?.decorators.length&&e.report(170),u}function me(e,t,n,u,o,i){let l=e.tokenStart;switch(e.getToken()){case 86104:return G(e,t,n,u,o,1,0,0,l);case 132:case 86094:return Xe(e,t,n,u,0);case 86090:return _e(e,t,n,u,16,0);case 241737:return Bn(e,t,n,u,o);case 20564:e.report(103,"export");case 86106:switch(m(e,t),e.getToken()){case 67174411:return Jt(e,t,u,l);case 67108877:return Ut(e,t,l);default:e.report(103,"import")}case 209005:return Rt(e,t,n,u,o,i,1);default:return re(e,t,n,u,o,i,1)}}function re(e,t,n,u,o,i,l){switch(e.getToken()){case 86088:return Mt(e,t,n,u,0);case 20572:return gn(e,t,u);case 20569:return hn(e,t,n,u,i);case 20567:return Fn(e,t,n,u,i);case 20562:return Sn(e,t,n,u,i);case 20578:return yn(e,t,n,u,i);case 86110:return kn(e,t,n,u,i);case 1074790417:return mn(e,t);case 2162700:return de(e,t,n?.createChildScope(),u,i,e.tokenStart);case 86112:return rn(e,t,u);case 20555:return Tn(e,t,i);case 20559:return An(e,t,i);case 20577:return Cn(e,t,n,u,i);case 20579:return bn(e,t,n,u,i);case 20560:return Dn(e,t);case 209005:return Rt(e,t,n,u,o,i,0);case 20557:e.report(162);case 20566:e.report(163);case 86104:e.report(t&1?76:e.options.webcompat?77:78);case 86094:e.report(79);default:return an(e,t,n,u,o,i,l)}}function an(e,t,n,u,o,i,l){let{tokenValue:f,tokenStart:c}=e,a=e.getToken(),s;switch(a){case 241737:s=F(e,t),t&1&&e.report(85),e.getToken()===69271571&&e.report(84);break;default:s=v(e,t,u,2,0,1,0,1,e.tokenStart)}return a&143360&&e.getToken()===21?Ye(e,t,n,u,o,i,f,s,a,l,c):(s=B(e,t,u,s,0,0,c)