dd-trace
Version:
Datadog APM tracing client for JavaScript
1 lines • 155 kB
JavaScript
(()=>{"use strict";var e,r,t,n,a={};a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};a.r(o),a.d(o,{parse:()=>parse,parseModule:()=>parseModule,parseScript:()=>parseScript,version:()=>h});let s=((e,r)=>{let t=new Uint32Array(69632),n=0,a=0;for(;n<2571;){let o=e[n++];if(o<0)a-=o;else{let s=e[n++];2&o&&(s=r[s]),1&o?t.fill(s,a,a+=e[n++]):t[a++]=s}}return t})([-1,2,26,2,27,2,5,-1,0,0x4a00400,3,44,2,3,0,14,2,63,2,64,3,0,3,0,0xbcdfffff,0,0xffffd7c0,2,1,2,0,2,41,3,0,4,0,0xfffffcfb,3,0,4,2,16,2,65,2,0,0,0xfffe01ff,0,0xbfffffff,0,0xffff00b6,2,66,0,0x7ff0000,3,0,2,0,0xffffc3ff,3,0,2,0,0x9fefffff,0,0x9ffffdff,2,18,2,0,0,0xffffe7ff,3,0,2,2,19,2,0,0,0x243fffff,2,0,2,60,2,7,2,6,0,0xff807eff,3,0,2,2,1,3,0,3,0,0xfffeffcf,2,40,0,0xf3c5fdff,0,0xb080799f,0,0x5003ffcf,0,0xfff987ee,0,0xd36dfdff,0,0x5e023987,0,4194240,0,0xfffbbfee,2,2,0,80831,0,0xfe00ffcf,0,0xfff99fee,2,2,0,0xb0e0399f,0,196559,0,0xd63dc7ec,0,0xc3ffc718,0,8469959,0,65472,2,3,0,0xf3fffdff,0,0x27603ddf,0,65487,0,0xfffddfef,0,0xf3effdff,0,0x60603ddf,0,982991,2,3,2,0,0,0x80f07ddf,0,0xfc00ffcf,0,0xfc7fffee,2,71,0,0xff5f847f,0,851904,2,4,2,12,0,0x3ff7fff,-1,2,72,0,0x3fffffaf,0,0xf3ff7f5f,-1,0,0x3000001,0,0xc2a003ff,2,33,0,0xfffe1fff,0,0xfeffffdf,2,20,2,137,-1,3,0,2,2,23,2,0,2,10,2,0,2,15,2,22,3,0,10,2,74,2,0,2,75,2,76,2,77,2,0,2,78,2,0,2,11,0,261632,2,25,3,0,2,2,13,2,4,3,0,18,2,79,2,5,3,0,2,2,80,0,0x803fffff,2,29,2,9,0,909311,3,0,2,0,0x308fffff,2,49,0,0x3ffb800,3,0,2,2,42,2,0,2,6,2,0,2,30,2,8,0,0xfff0fff,2,110,2,51,2,0,2,81,0,0x7ff03ff,-1,2,7,2,0,2,8,0,0x9fffffff,0,0x3ff03ff,0,0xbfff0080,2,17,-1,3,0,2,2,53,0,1046528,3,0,3,2,9,2,0,2,54,0,0xffffe3ff,2,10,2,6,2,11,0,0xfff70000,2,12,3,0,16,2,13,2,0,2,82,2,10,2,0,2,83,2,84,2,85,0,12288,2,55,0,1048577,2,86,2,14,-1,2,14,0,131042,2,87,2,88,2,89,2,0,2,34,-83,3,0,7,0,1046559,2,0,2,15,2,0,0,0x800080ff,2,21,3,90,2,2,0,-16,2,91,0,0x1f3efffe,2,4,2,0,0,0xfe7fffff,2,4,3,0,2,2,28,2,16,3,0,2,2,17,2,0,-1,2,18,-16,3,0,206,-2,3,0,692,2,73,-1,2,18,2,10,3,0,8,2,93,2,133,2,0,0,0xbff0ffff,3,0,3,2,19,2,94,2,95,3,0,2,2,96,2,0,2,97,2,46,2,0,0,4351,2,0,2,9,3,0,2,0,0x3ff003f,0,0xe8ffffff,2,0,2,24,2,9,2,20,3,0,2,0,0x3ff8001,2,8,2,0,2,21,0,0x3ff3fff,0,0xfc7fffff,3,0,2,0,0x38000007,0,8191999,2,101,2,102,2,22,2,23,3,0,3,0,0x3ff37ff,3,0,349,2,103,2,104,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,0xe0f8007f,2,105,2,106,3,0,2,2,19,2,107,3,0,10,2,10,2,18,2,0,2,47,2,0,2,31,2,108,2,25,0,1638399,0,57344,2,109,3,0,3,2,20,2,26,2,27,2,5,2,28,2,0,2,8,2,111,-1,2,112,2,113,2,114,-1,3,0,3,2,12,-2,2,0,2,29,-3,0,0x20000000,-4,2,20,2,0,2,36,0,1,2,0,2,67,2,6,2,12,2,10,2,0,2,115,-1,3,0,4,2,10,2,23,2,116,2,7,2,0,2,117,2,0,2,118,2,119,2,120,2,0,2,9,3,0,9,2,21,2,30,2,31,2,121,2,122,-2,2,123,2,124,2,30,2,21,2,8,-2,2,125,2,30,2,32,-2,2,0,2,39,-2,0,0xfeeff06f,0,0x873fffff,-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,48,2,0,0,0xffffbe3f,2,37,-7,2,0,0,203775,2,57,0,0xf0000000,2,20,2,43,2,36,2,18,2,37,2,18,2,126,2,21,3,0,2,2,38,0,0x803fffc0,2,0,2,12,0,0xffff0004,2,144,2,0,2,58,2,56,0,5242879,3,0,2,0,0x17ffde1f,-1,2,128,2,39,0,3,-1,2,129,2,130,2,0,0,0x3ff07ff,2,40,0,0xfbedfdff,0,0xe081399f,0,2039759,2,132,2,41,0,1046437,0,6,3,0,2,0,0xc3ff07ff,0,3,3,0,2,0,0x3ff00bf,-5,2,0,0,0xff3fffff,0,0x3f000001,-1,3,0,2,0,0x3ff0011,-1,2,0,2,42,2,23,2,50,2,11,2,61,2,38,-5,2,0,2,12,-3,3,0,2,0,0x800003ff,2,134,0,0xf9bfffff,2,52,-2,2,135,0,0xfcffffff,0,27,2,0,2,8,2,43,2,0,2,68,2,18,2,0,2,42,-6,2,0,2,45,2,59,2,44,2,45,2,46,2,47,0,8388351,-2,2,136,0,0xb47fffff,2,48,2,138,0,0x1fb7fff,2,49,-9,2,21,0,0xfffdffff,0,0xc7ffffff,0,0x7ff0007,-2,2,69,-2,3,0,28,2,32,-3,3,0,3,2,17,3,0,6,2,50,-81,2,18,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,-4,3,0,2,0,0xffff87ff,2,0,0,0xffff80ff,-2,0,196635,3,0,191,2,54,3,0,38,2,30,2,55,2,34,-278,2,140,3,0,9,2,141,2,142,2,56,3,0,11,2,7,-72,3,0,3,2,143,0,0x63ff01ff,-130,2,26,-16,2,0,2,24,2,38,-16,0,0xf807e3e0,0,4071,0,15360,-4,2,57,-13,3,0,2,2,58,2,0,2,145,2,146,2,62,2,0,2,147,2,148,2,149,3,0,10,2,150,2,151,2,22,3,58,2,3,152,2,3,59,2,0,0xffffcff7,2,0,-16,2,0,2,92,2,0,0,2105343,0,0xf8000010,0,65534,-34,2,8,2,154,-6,0,0xf9ffff7f,0,0xffff07db,2,0,2,60,2,100,-3,2,0,0,0x3fff1fff,0,17407,-9,2,18,2,17,2,0,2,32,-14,2,18,2,32,-6,2,18,2,12,-15,2,155,3,0,6,0,8323103,-1,3,0,2,2,61,-37,2,62,2,156,2,157,2,158,2,159,2,160,-105,2,26,-32,3,0,1335,-1,3,0,129,2,32,3,0,6,2,10,3,0,180,2,161,3,0,233,2,162,3,0,18,2,10,-77,3,0,16,2,10,-47,3,0,154,2,6,3,0,130,2,25,-22250,3,0,7,2,25,-6130,3,5,2,-1,0,0x4200400,3,44,2,3,0,14,2,63,2,64,-3,0,0xbcdf0000,0,0xffffd740,2,1,2,0,2,41,3,0,4,0,0xfffffc03,3,0,4,2,16,2,65,2,0,2,34,-1,2,18,2,66,-1,2,0,0,2047,0,0xfffec000,3,0,2,0,3145727,0,0x9c00c060,0,0xfffd0000,2,25,2,67,3,0,2,0,131135,2,98,0,0x43007ff,0,0x43fffff,0,272,2,42,2,6,0,32511,2,0,2,49,-1,2,99,2,68,0,0xff010000,0,0xfffe0003,0,0xfff99fe1,0,0x23c5fdff,0,0xb0004000,0,0x10030003,0,0xfff987e0,0,0x36dfdff,0,0x5e000000,0,1835008,0,0xfffbbfe0,2,70,2,69,0,0x2000003,2,131,2,70,0,0xb0000000,0,131075,0,0xd63dc7e8,0,0x3ffc718,2,69,-1,0,4294828e3,0,0x23fffdff,0,0x27000000,0,3,0,0xfffddfe1,0,0x23effdff,0,0x60000000,0,393219,0,0xfffddff0,0,0x27ffffff,0,0x80704000,0,0xfc000003,0,0xfc7fffe0,2,71,2,38,-1,2,4,0,917503,2,38,-1,2,72,0,0x200dffaf,0,0xf000005f,-1,0,1,-1,2,33,2,73,0,7936,-3,2,0,0,0x800007ff,0,0x3c3f0000,0,0xffe1c062,0,16387,2,0,2,15,2,22,3,0,10,2,74,2,0,2,75,2,76,2,77,2,0,2,78,2,0,2,12,-1,2,25,3,0,2,2,13,2,4,3,0,18,2,79,2,5,3,0,2,2,80,0,0x8003ffff,3,19,2,0,122879,2,0,2,9,0,0x10800000,-2,3,0,2,2,42,2,0,0,0xffff05ff,2,0,2,30,2,8,-1,2,18,2,51,2,0,2,81,2,49,-1,2,21,2,0,2,29,-2,0,128,-2,2,28,2,9,0,8160,-1,2,127,0,0xfc00c001,2,0,2,37,2,0,2,50,0,0xfc00e000,2,10,2,6,2,11,-1,0,0x46fde00,3,0,6,-2,3,0,8,2,13,2,0,2,82,2,10,2,0,2,83,2,84,2,85,-3,2,86,2,14,-3,2,87,2,88,2,89,2,0,2,34,-83,3,0,7,0,817183,2,0,2,15,2,0,0,33023,2,21,3,90,2,-17,2,91,0,0x1f3e03fe,2,4,2,0,2,92,2,4,2,0,2,22,2,28,2,16,3,0,2,2,17,2,0,-1,2,18,-16,3,0,206,-2,3,0,692,2,73,-1,2,18,2,10,3,0,8,2,93,0,3072,2,0,0,0x80007fff,2,10,3,0,2,2,25,2,94,2,95,3,0,2,2,96,2,0,2,97,2,46,0,0xfffff7bb,0,7,2,0,2,9,2,95,2,9,-1,0,0x68fc0000,2,98,0,0xffff003f,2,38,2,20,2,99,2,35,2,100,0,0x7c00ffdf,2,0,2,34,2,153,0,0xc47fffff,2,0,0,0x3e62ffff,0,0x38000005,0,1837055,2,101,2,102,2,22,2,23,3,0,3,0,7,3,0,349,2,103,2,104,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,0xa0f8007f,2,105,2,106,3,0,2,2,19,2,107,3,0,10,2,10,2,18,2,0,2,47,2,0,2,31,2,108,-3,2,109,3,0,3,2,20,-1,3,5,2,2,110,2,0,2,8,2,111,-1,2,112,2,113,2,114,-1,3,0,3,2,12,-2,2,0,2,29,-8,2,20,2,0,2,36,-1,2,0,2,67,2,6,2,30,2,10,2,0,2,115,-1,3,0,4,2,10,2,18,2,116,2,7,2,0,2,117,2,0,2,118,2,119,2,120,2,0,2,9,3,0,9,2,21,2,30,2,31,2,121,2,122,-2,2,123,2,124,2,30,2,21,2,8,-2,2,125,2,30,2,32,-2,2,0,2,39,-2,0,0xfeef0001,2,30,-1,3,20,2,-1,2,33,2,126,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,98,0,0xffff803f,2,37,-7,2,0,0,197631,2,57,-1,2,20,2,43,2,37,2,18,0,3,2,18,2,126,2,21,2,127,2,54,-1,0,2490368,2,127,2,25,2,18,2,34,2,127,2,38,0,0xffff0090,0,4718591,2,127,2,35,0,0x1400001e,-1,2,128,0,0x80000fff,0,1,-1,2,129,2,130,2,8,-1,2,131,2,70,0,0xe0010000,0,3,2,132,0,0xbfffff,0,655360,-1,2,0,2,29,0,0x80000780,0,3,2,0,2,25,0,176,-5,2,0,2,17,0,0xf000000,-1,2,0,2,25,0,16,-1,2,0,0,0x10007ff,-2,2,12,-1,2,38,-5,2,0,2,133,-3,3,0,2,2,55,2,134,0,0x8000ffff,0,2,-2,2,135,2,36,0,10,0,0xfffff801,0,0x407ffff,0,0xf0010000,2,0,0,0x200003ff,2,18,2,0,2,42,-6,2,0,0,1,2,59,2,17,0,1,2,46,2,25,-3,2,136,2,36,2,137,2,138,0,0x10003ff,-10,2,35,0,0xfffdfff4,2,9,-3,2,69,-2,3,0,28,2,32,-3,3,0,3,2,17,3,0,6,2,50,-81,2,18,3,0,2,2,36,3,0,33,2,25,0,126,3,0,124,2,12,3,0,18,2,38,-213,2,10,-55,3,0,17,2,42,2,8,2,18,2,0,2,8,2,18,2,60,2,0,2,25,2,50,2,139,2,25,-13,2,0,2,73,-6,3,0,2,-4,3,0,2,0,67583,-1,2,107,-2,0,11,3,0,191,2,54,3,0,38,2,30,2,55,2,34,-278,2,140,3,0,9,2,141,2,142,2,56,3,0,11,2,7,-72,3,0,3,2,143,2,144,-187,3,0,2,2,58,2,0,2,145,2,146,2,62,2,0,2,147,2,148,2,149,3,0,10,2,150,2,151,2,22,3,58,2,3,152,2,3,59,2,2,153,-57,2,8,2,154,-7,2,18,2,0,2,60,-4,2,0,0,0x3f801fff,0,16384,-9,2,18,2,60,2,0,2,133,-14,2,18,2,133,-6,2,18,0,81919,-15,2,155,3,0,6,2,126,-1,3,0,2,0,2063,-37,2,62,2,156,2,157,2,158,2,159,2,160,-138,3,0,1335,-1,3,0,129,2,32,3,0,6,2,10,3,0,180,2,161,3,0,233,2,162,3,0,18,2,10,-77,3,0,16,2,10,-47,3,0,154,2,6,3,0,130,2,25,-28386],[0xffffffff,0xfffffffb,0xf3edfdff,0xfffddfff,0xfffffffe,0x7fffffe,0xffff07ff,0xfffffff,0x7fffffff,1048575,0x3fffffff,0xe7ffffff,0x7ffffff,0x3f3fffff,0x1fff0000,0xffff20bf,0xfffeffff,32767,0xffff0000,262143,0x1fffffff,8388607,0xf7ffffff,0xffff03ff,0xffff3fff,65535,0x3ff0000,0x87fffffe,0xffffffe0,2097151,4194303,255,0x3ffffff,0xfffffeff,511,524287,131071,63,127,0xc0ffffff,0xfff99fef,0xffbfffff,0x1ffffff,0xffff0080,0xff7fffff,0x3ff0001,0xfffc0000,0xfffcffff,0x3ff00ff,1023,15,2047999,0x3ff000f,0x3ff1fff,0xffffff,0x80000000,4294902e3,28,0xffdfffff,0xfffffdff,16383,0x3ff0fff,0xffffffef,262083,20511,0x27fffff,493567,0xffffe000,0x23ffffff,65536,0x23edfdff,0x2ffbffff,0xfffff7d6,8191,0x3d7f3dff,0xffff3dff,0x7f3dffff,0xff7fff3d,0xff3dffff,0xffff9fff,0x1ffc7ff,0xffff0fff,0xaaff3f3f,0x5fdfffff,0xfcf1fdc,0x1fdc1fff,0x80020000,0x3f2ffc84,0xf3fffd50,17376,0x7f7f7f7f,224,0xf87fffff,0xffff1fff,0xff800000,0xfffffffc,0xfffff9ff,0x1feb3fff,0xfffffc00,0xfffffff0,32768,8289918,0xffff7f7f,0xffff000f,0xfffff87f,0x5f7ffdff,0xffffffdb,0xfff80000,0xfff0000,0xffdf0000,0xffffffc0,0x1cfcfcfc,0xffffefff,0xb7ffff7f,0x3fff3fff,4128527,0xff0fffff,0xffff00ff,0xf7ff000f,0xffb7f7ff,0x1bfbfffb,0xffffffbf,0x7fdffff,0xfffffd3f,0x91bfffff,3670015,31,0xfffffff8,0xfffbffff,0xbfffbd7f,0xffff01ff,0xfff99fe0,0xffff4bff,4095,0xff6ff27f,0xfffffcff,0xfffffb7f,64,0xfffffdbf,0xe0fffff8,0x6fef0000,262151,2555904,0x1fff07ff,0x3ff01ff,0xdfffffff,0xebffde64,0xdfdfe7bf,0x7bffffff,0xfffdfc5f,0xffffff3f,0xf7fffffd,0xffff7fff,4087,2016,0x7fff6f7f,0xaf7fe96,0xaa96ea84,0x5ef7f796,0xffffbff,0xffffbee,0xffff0003,0xffff0001]),isIDStart=e=>(s[(e>>>5)+34816]>>>e&1)!=0;function advanceChar(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function consumePossibleSurrogatePair(e){let r=e.currentChar;if((64512&r)!=55296)return 0;let t=e.source.charCodeAt(e.index+1);return(64512&t)!=56320?0:65536+((1023&r)<<10)+(1023&t)}function consumeLineFeed(e,r){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,(4&r)==0&&(e.column=0,e.line++)}function scanNewLine(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function isExoticECMAScriptWhitespace(e){return 160===e||65279===e||133===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||8201===e||65519===e}function toHex(e){return e<65?e-48:e-65+10&15}function convertTokenType(e){switch(e){case 0x8010002:return"NumericLiteral";case 0x8010003:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 0x4010008:case 0x4010009:case 131:return"TemplateLiteral";default:if((143360&e)==143360)return"Identifier";if((4096&e)==4096)return"Keyword";return"Punctuator"}}let i=[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],l=[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],f=[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 isIdentifierStart(e){return e<=127?l[e]>0:isIDStart(e)}function isIdentifierPart(e){return e<=127?f[e]>0:(s[(e>>>5)+0]>>>e&1)!=0||8204===e||8205===e}let c=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function skipHashBang(e){let{source:r}=e;35===e.currentChar&&33===r.charCodeAt(e.index+1)&&(advanceChar(e),advanceChar(e),skipSingleLineComment(e,r,0,4,e.tokenStart))}function skipSingleHTMLComment(e,r,t,n,a,o){return 2&n&&e.report(0),skipSingleLineComment(e,r,t,a,o)}function skipSingleLineComment(e,r,t,n,a){let{index:o}=e;for(e.tokenIndex=e.index,e.tokenLine=e.line,e.tokenColumn=e.column;e.index<e.end;){if(8&i[e.currentChar]){let t=13===e.currentChar;scanNewLine(e),t&&e.index<e.end&&10===e.currentChar&&(e.currentChar=r.charCodeAt(++e.index));break}if((8232^e.currentChar)<=1){scanNewLine(e);break}advanceChar(e),e.tokenIndex=e.index,e.tokenLine=e.line,e.tokenColumn=e.column}if(e.options.onComment){let t={start:{line:a.line,column:a.column},end:{line:e.tokenLine,column:e.tokenColumn}};e.options.onComment(c[255&n],r.slice(o,e.tokenIndex),a.index,e.tokenIndex,t)}return 1|t}function skipMultiLineComment(e,r,t){let{index:n}=e;for(;e.index<e.end;)if(e.currentChar<43){let a=!1;for(;42===e.currentChar;)if(a||(t&=-5,a=!0),47===advanceChar(e)){if(advanceChar(e),e.options.onComment){let t={start:{line:e.tokenLine,column:e.tokenColumn},end:{line:e.line,column:e.column}};e.options.onComment(c[1],r.slice(n,e.index-2),n-2,e.index,t)}return e.tokenIndex=e.index,e.tokenLine=e.line,e.tokenColumn=e.column,t}if(a)continue;8&i[e.currentChar]?13===e.currentChar?(t|=5,scanNewLine(e)):(consumeLineFeed(e,t),t=-5&t|1):advanceChar(e)}else(8232^e.currentChar)<=1?(t=-5&t|1,scanNewLine(e)):(t&=-5,advanceChar(e));e.report(18)}function scanRegularExpression(e){let r=e.index,a=t.Empty;e:for(;;){let r=e.currentChar;if(advanceChar(e),a&t.Escape)a&=~t.Escape;else switch(r){case 47:if(a)break;break e;case 92:a|=t.Escape;break;case 91:a|=t.Class;break;case 93:a&=t.Escape}if((13===r||10===r||8232===r||8233===r)&&e.report(34),e.index>=e.source.length)return e.report(34)}let o=e.index-1,s=n.Empty,i=e.currentChar,{index:l}=e;for(;isIdentifierPart(i);){switch(i){case 103:s&n.Global&&e.report(36,"g"),s|=n.Global;break;case 105:s&n.IgnoreCase&&e.report(36,"i"),s|=n.IgnoreCase;break;case 109:s&n.Multiline&&e.report(36,"m"),s|=n.Multiline;break;case 117:s&n.Unicode&&e.report(36,"u"),s&n.UnicodeSets&&e.report(36,"vu"),s|=n.Unicode;break;case 118:s&n.Unicode&&e.report(36,"uv"),s&n.UnicodeSets&&e.report(36,"v"),s|=n.UnicodeSets;break;case 121:s&n.Sticky&&e.report(36,"y"),s|=n.Sticky;break;case 115:s&n.DotAll&&e.report(36,"s"),s|=n.DotAll;break;case 100:s&n.Indices&&e.report(36,"d"),s|=n.Indices;break;default:e.report(35)}i=advanceChar(e)}let f=e.source.slice(l,e.index),c=e.source.slice(r,o);return e.tokenRegExp={pattern:c,flags:f},e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),e.tokenValue=validate(e,c,f),65540}function validate(e,r,t){try{return new RegExp(r,t)}catch{try{return new RegExp(r,t),null}catch{e.report(34)}}}function scanString(e,r,t){let{index:n}=e,a="",o=advanceChar(e),s=e.index;for(;(8&i[o])==0;){if(o===t)return a+=e.source.slice(s,e.index),advanceChar(e),e.options.raw&&(e.tokenRaw=e.source.slice(n,e.index)),e.tokenValue=a,0x8010003;if((8&o)==8&&92===o){if(a+=e.source.slice(s,e.index),(o=advanceChar(e))<127||8232===o||8233===o){let t=parseEscape(e,r,o);t>=0?a+=String.fromCodePoint(t):handleStringError(e,t,0)}else a+=String.fromCodePoint(o);s=e.index+1}else(8232===o||8233===o)&&(e.column=-1,e.line++);e.index>=e.end&&e.report(16),o=advanceChar(e)}e.report(16)}function parseEscape(e,r,t,n=0){switch(t){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 r=e.source.charCodeAt(e.index+1);10===r&&(e.index=e.index+1,e.currentChar=r)}case 10:case 8232:case 8233:return e.column=-1,e.line++,-1;case 48:case 49:case 50:case 51:{let a=t-48,o=e.index+1,s=e.column+1;if(o<e.end){let t=e.source.charCodeAt(o);if((32&i[t])==0){if(0!==a||512&i[t]){if(1&r||n)return -2;e.flags|=64}}else{if(1&r||n)return -2;if(e.currentChar=t,a=a<<3|t-48,o++,s++,o<e.end){let r=e.source.charCodeAt(o);32&i[r]&&(e.currentChar=r,a=a<<3|r-48,o++,s++)}e.flags|=64}e.index=o-1,e.column=s-1}return a}case 52:case 53:case 54:case 55:{if(n||1&r)return -2;let a=t-48,o=e.index+1,s=e.column+1;if(o<e.end){let r=e.source.charCodeAt(o);32&i[r]&&(a=a<<3|r-48,e.currentChar=r,e.index=o,e.column=s)}return e.flags|=64,a}case 120:{let r=advanceChar(e);if((64&i[r])==0)return -4;let t=toHex(r),n=advanceChar(e);if((64&i[n])==0)return -4;return t<<4|toHex(n)}case 117:{let r=advanceChar(e);if(123===e.currentChar){let r=0;for(;(64&i[advanceChar(e)])!=0;)if((r=r<<4|toHex(e.currentChar))>1114111)return -5;if(e.currentChar<1||125!==e.currentChar)return -4;return r}{if((64&i[r])==0)return -4;let t=e.source.charCodeAt(e.index+1);if((64&i[t])==0)return -4;let n=e.source.charCodeAt(e.index+2);if((64&i[n])==0)return -4;let a=e.source.charCodeAt(e.index+3);if((64&i[a])==0)return -4;return e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),toHex(r)<<12|toHex(t)<<8|toHex(n)<<4|toHex(a)}}case 56:case 57:if(n||!e.options.webcompat||1&r)return -3;e.flags|=4096;default:return t}}function handleStringError(e,r,t){switch(r){case -1:return;case -2:e.report(t?2:1);case -3:e.report(t?3:14);case -4:e.report(7);case -5:e.report(104)}}function scanTemplate(e,r){let{index:t}=e,n=0x4010009,a="",o=advanceChar(e);for(;96!==o;){if(36===o&&123===e.source.charCodeAt(e.index+1)){advanceChar(e),n=0x4010008;break}if(92===o)if((o=advanceChar(e))>126)a+=String.fromCodePoint(o);else{let{index:t,line:s,column:i}=e,l=parseEscape(e,1|r,o,1);if(l>=0)a+=String.fromCodePoint(l);else if(-1!==l&&64&r){e.index=t,e.line=s,e.column=i,a=null,(o=scanBadTemplate(e,o))<0&&(n=0x4010008);break}else handleStringError(e,l,1)}else e.index<e.end&&(13===o&&10===e.source.charCodeAt(e.index)&&(a+=String.fromCodePoint(o),e.currentChar=e.source.charCodeAt(++e.index)),((83&o)<3&&10===o||(8232^o)<=1)&&(e.column=-1,e.line++),a+=String.fromCodePoint(o));e.index>=e.end&&e.report(17),o=advanceChar(e)}return advanceChar(e),e.tokenValue=a,e.tokenRaw=e.source.slice(t+1,e.index-(0x4010009===n?1:2)),n}function scanBadTemplate(e,r){for(;96!==r;){switch(r){case 36:{let t=e.index+1;if(t<e.end&&123===e.source.charCodeAt(t))return e.index=t,e.column++,-r;break}case 10:case 8232:case 8233:e.column=-1,e.line++}e.index>=e.end&&e.report(17),r=advanceChar(e)}return r}function scanTemplateTail(e,r){return e.index>=e.end&&e.report(0),e.index--,e.column--,scanTemplate(e,r)}(e=t||(t={}))[e.Empty=0]="Empty",e[e.Escape=1]="Escape",e[e.Class=2]="Class",(r=n||(n={}))[r.Empty=0]="Empty",r[r.IgnoreCase=1]="IgnoreCase",r[r.Global=2]="Global",r[r.Multiline=4]="Multiline",r[r.Unicode=16]="Unicode",r[r.Sticky=8]="Sticky",r[r.DotAll=32]="DotAll",r[r.Indices=64]="Indices",r[r.UnicodeSets=128]="UnicodeSets";let p={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, found %0",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'};let ParseError=class ParseError extends SyntaxError{start;end;range;loc;description;constructor(e,r,t,...n){const a=p[t].replace(/%(\d+)/g,(e,r)=>n[r]);super("["+e.line+":"+e.column+"-"+r.line+":"+r.column+"]: "+a),this.start=e.index,this.end=r.index,this.range=[e.index,r.index],this.loc={start:{line:e.line,column:e.column},end:{line:r.line,column:r.column}},this.description=a}};function scanNumber(e,r,t){let n=e.currentChar,a=0,o=9,s=64&t?0:1,l=0,f=0;if(64&t)a="."+scanDecimalDigitsOrSeparator(e,n),110===(n=e.currentChar)&&e.report(12);else{if(48===n)if((32|(n=advanceChar(e)))==120){for(t=136,n=advanceChar(e);4160&i[n];){if(95===n){f||e.report(152),f=0,n=advanceChar(e);continue}f=1,a=16*a+toHex(n),l++,n=advanceChar(e)}0!==l&&f||e.report(0===l?21:153)}else if((32|n)==111){for(t=132,n=advanceChar(e);4128&i[n];){if(95===n){f||e.report(152),f=0,n=advanceChar(e);continue}f=1,a=8*a+(n-48),l++,n=advanceChar(e)}0!==l&&f||e.report(153*(0!==l))}else if((32|n)==98){for(t=130,n=advanceChar(e);4224&i[n];){if(95===n){f||e.report(152),f=0,n=advanceChar(e);continue}f=1,a=2*a+(n-48),l++,n=advanceChar(e)}0!==l&&f||e.report(153*(0!==l))}else if(32&i[n])for(1&r&&e.report(1),t=1;16&i[n];){if(512&i[n]){t=32,s=0;break}a=8*a+(n-48),n=advanceChar(e)}else 512&i[n]?(1&r&&e.report(1),e.flags|=64,t=32):95===n&&e.report(0);if(48&t){if(s){for(;o>=0&&4112&i[n];){if(95===n){if(95===(n=advanceChar(e))||32&t)throw new ParseError(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},152);f=1;continue}f=0,a=10*a+(n-48),n=advanceChar(e),--o}if(f)throw new ParseError(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},153);if(o>=0&&!isIdentifierStart(n)&&46!==n)return e.tokenValue=a,e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),0x8010002}a+=scanDecimalDigitsOrSeparator(e,n),46===(n=e.currentChar)&&(95===advanceChar(e)&&e.report(0),t=64,a+="."+scanDecimalDigitsOrSeparator(e,e.currentChar),n=e.currentChar)}}let c=e.index,p=0;if(110===n&&128&t)p=1,n=advanceChar(e);else if((32|n)==101){256&i[n=advanceChar(e)]&&(n=advanceChar(e));let{index:r}=e;(16&i[n])==0&&e.report(11),a+=e.source.substring(c,r)+scanDecimalDigitsOrSeparator(e,n),n=e.currentChar}return((e.index<e.end&&16&i[n]||isIdentifierStart(n))&&e.report(13),p)?(e.tokenRaw=e.source.slice(e.tokenIndex,e.index),e.tokenValue=BigInt(e.tokenRaw.slice(0,-1).replaceAll("_","")),0x801007c):(e.tokenValue=15&t?a:32&t?parseFloat(e.source.substring(e.tokenIndex,e.index)):+a,e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),0x8010002)}function scanDecimalDigitsOrSeparator(e,r){let t=0,n=e.index,a="";for(;4112&i[r];){if(95===r){let{index:o}=e;if(95===(r=advanceChar(e)))throw new ParseError(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},152);t=1,a+=e.source.substring(n,o),n=e.index;continue}t=0,r=advanceChar(e)}if(t)throw new ParseError(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},153);return a+e.source.substring(n,e.index)}let u=["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"],d={this:86111,function:86104,if:20569,return:20572,var:86088,else:20563,for:20567,new:86107,in:8673330,typeof:0x101502b,while:20578,case:20556,break:20555,try:20577,catch:20557,delete:0x101502c,throw:86112,switch:86110,continue:20559,default:20561,instanceof:8411187,do:20562,void:0x101502d,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:0x20033076,as:77932,arguments:0x20033077,target:209029,meta:209030,accessor:12402};function matchOrInsertSemicolon(e,r){(1&e.flags)==0&&(1048576&e.getToken())!=1048576&&e.report(30,u[255&e.getToken()]),consumeOpt(e,r,0x40100011)||e.options.onInsertedSemicolon?.(e.startIndex)}function isValidStrictMode(e,r,t,n){return r-t<13&&"use strict"===n&&((1048576&e.getToken())==1048576||1&e.flags)?1:0}function optionalBit(e,r,t){return e.getToken()!==t?0:(nextToken(e,r),1)}function consumeOpt(e,r,t){return e.getToken()===t&&(nextToken(e,r),!0)}function consume(e,r,t){e.getToken()!==t&&e.report(25,u[255&t]),nextToken(e,r)}function reinterpretToPattern(e,r){switch(r.type){case"ArrayExpression":{r.type="ArrayPattern";let{elements:t}=r;for(let r=0,n=t.length;r<n;++r){let n=t[r];n&&reinterpretToPattern(e,n)}return}case"ObjectExpression":{r.type="ObjectPattern";let{properties:t}=r;for(let r=0,n=t.length;r<n;++r)reinterpretToPattern(e,t[r]);return}case"AssignmentExpression":r.type="AssignmentPattern","="!==r.operator&&e.report(71),delete r.operator,reinterpretToPattern(e,r.left);return;case"Property":reinterpretToPattern(e,r.value);return;case"SpreadElement":r.type="RestElement",reinterpretToPattern(e,r.argument)}}function validateBindingIdentifier(e,r,t,n,a){1&r&&((36864&n)==36864&&e.report(118),a||(0x20033000&n)!=0x20033000||e.report(119)),((20480&n)==20480||-0x7fffff88===n)&&e.report(102),24&t&&(255&n)==73&&e.report(100),2050&r&&209006===n&&e.report(110),1025&r&&241771===n&&e.report(97,"yield")}function validateFunctionName(e,r,t){1&r&&((36864&t)==36864&&e.report(118),(0x20033000&t)==0x20033000&&e.report(119),-0x7fffff87===t&&e.report(95),-0x7fffff88===t&&e.report(95)),(20480&t)==20480&&e.report(102),2050&r&&209006===t&&e.report(110),1025&r&&241771===t&&e.report(97,"yield")}function isStrictReservedWord(e,r,t){return 209006===t&&(2050&r&&e.report(110),e.destructible|=128),241771===t&&1024&r&&e.report(97,"yield"),(20480&t)==20480||(36864&t)==36864||-0x7fffff87==t}function isPropertyWithPrivateFieldKey(e){return!!e.property&&"PrivateIdentifier"===e.property.type}function isValidLabel(e,r,t,n){for(;r;){if(r["$"+t])return n&&e.report(137),1;n&&r.loop&&(n=0),r=r.$}return 0}function validateAndDeclareLabel(e,r,t){let n=r;for(;n;)n["$"+t]&&e.report(136,t),n=n.$;r["$"+t]=1}function isEqualTagName(e){switch(e.type){case"JSXIdentifier":return e.name;case"JSXNamespacedName":return e.namespace+":"+e.name;case"JSXMemberExpression":return isEqualTagName(e.object)+"."+isEqualTagName(e.property)}}function isValidIdentifier(e,r){return 1025&e?(!(2&e)||209006!==r)&&(!(1024&e)||241771!==r)&&(12288&r)==12288:(12288&r)==12288||(36864&r)==36864}function classifyIdentifier(e,r,t){(0x20033000&t)==0x20033000&&(1&r&&e.report(119),e.flags|=512),isValidIdentifier(r,t)||e.report(0)}function getOwnProperty(e,r){return Object.hasOwn(e,r)?e[r]:void 0}function scanIdentifier(e,r,t){for(;f[advanceChar(e)];);return e.tokenValue=e.source.slice(e.tokenIndex,e.index),92!==e.currentChar&&e.currentChar<=126?getOwnProperty(d,e.tokenValue)??208897:scanIdentifierSlowCase(e,r,0,t)}function scanUnicodeIdentifier(e,r){let t=scanIdentifierUnicodeEscape(e);return isIdentifierStart(t)||e.report(5),e.tokenValue=String.fromCodePoint(t),scanIdentifierSlowCase(e,r,1,4&i[t])}function scanIdentifierSlowCase(e,r,t,n){let a=e.index;for(;e.index<e.end;)if(92===e.currentChar){e.tokenValue+=e.source.slice(a,e.index),t=1;let r=scanIdentifierUnicodeEscape(e);isIdentifierPart(r)||e.report(5),n=n&&4&i[r],e.tokenValue+=String.fromCodePoint(r),a=e.index}else{let r=consumePossibleSurrogatePair(e);if(r>0)isIdentifierPart(r)||e.report(20,String.fromCodePoint(r)),e.currentChar=r,e.index++,e.column++;else if(!isIdentifierPart(e.currentChar))break;advanceChar(e)}e.index<=e.end&&(e.tokenValue+=e.source.slice(a,e.index));let{length:o}=e.tokenValue;if(n&&o>=2&&o<=11){let n=getOwnProperty(d,e.tokenValue);if(void 0===n)return 208897|(t?-0x80000000:0);if(!t)return n;if(209006===n)return(2050&r)==0?-0x80000000|n:-0x7fffff88;if(1&r){if(36970===n||(36864&n)==36864)return -0x7fffff87;if((20480&n)==20480)if(262144&r&&(8&r)==0)return -0x80000000|n;else return -0x7fffff88;return -0x7ffccf86}return 262144&r&&(8&r)==0&&(20480&n)==20480?-0x80000000|n:241771===n?262144&r?-0x7ffccf86:1024&r?-0x7fffff88:-0x80000000|n:209005===n?-0x7ffccf86:(36864&n)==36864?12288|n|-0x80000000:-0x7fffff88}return 208897|(t?-0x80000000:0)}function scanPrivateIdentifier(e){let r=advanceChar(e);if(92===r)return 130;let t=consumePossibleSurrogatePair(e);return t&&(r=t),isIdentifierStart(r)||e.report(96),130}function scanIdentifierUnicodeEscape(e){return 117!==e.source.charCodeAt(e.index+1)&&e.report(5),e.currentChar=e.source.charCodeAt(e.index+=2),e.column+=2,scanUnicodeEscape(e)}function scanUnicodeEscape(e){let r=0,t=e.currentChar;if(123===t){let t=e.index-2;for(;64&i[advanceChar(e)];)if((r=r<<4|toHex(e.currentChar))>1114111)throw new ParseError({index:t,line:e.line,column:e.column},e.currentLocation,104);if(125!==e.currentChar)throw new ParseError({index:t,line:e.line,column:e.column},e.currentLocation,7);return advanceChar(e),r}(64&i[t])==0&&e.report(7);let n=e.source.charCodeAt(e.index+1);(64&i[n])==0&&e.report(7);let a=e.source.charCodeAt(e.index+2);(64&i[a])==0&&e.report(7);let o=e.source.charCodeAt(e.index+3);return(64&i[o])==0&&e.report(7),r=toHex(t)<<12|toHex(n)<<8|toHex(a)<<4|toHex(o),e.currentChar=e.source.charCodeAt(e.index+=4),e.column+=4,r}let x=[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,0x101002e,0x8010003,130,208897,8391477,8390213,0x8010003,0x401000b,16,8391476,0x1810a30,18,0x1810a31,0x400000d,8457014,0x8010002,0x8010002,0x8010002,0x8010002,0x8010002,0x8010002,0x8010002,0x8010002,0x8010002,0x8010002,21,0x40100011,8456256,0x4040001b,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,0x4210013,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,0x4010000f,0x101002f,128];function nextToken(e,r){e.flags=(1|e.flags)^1,e.startIndex=e.index,e.startColumn=e.column,e.startLine=e.line,e.setToken(scanSingleToken(e,r,0))}function scanSingleToken(e,r,t){let n=0===e.index,{source:a}=e,o=e.currentLocation;for(;e.index<e.end;){e.tokenIndex=e.index,e.tokenColumn=e.column,e.tokenLine=e.line;let s=e.currentChar;if(s<=126){let i=x[s];switch(i){case 0x401000b:case 16:case 2162700:case 0x4010000f:case 0x4210013:case 20:case 21:case 0x40100011:case 18:case 0x101002f:case 132:case 128:return advanceChar(e),i;case 208897:return scanIdentifier(e,r,0);case 4096:return scanIdentifier(e,r,1);case 0x8010002:return scanNumber(e,r,144);case 0x8010003:return scanString(e,r,s);case 131:return scanTemplate(e,r);case 136:return scanUnicodeIdentifier(e,r);case 130:return scanPrivateIdentifier(e);case 127:advanceChar(e);break;case 129:t|=5,scanNewLine(e);break;case 135:consumeLineFeed(e,t),t=-5&t|1;break;case 8456256:{let n=advanceChar(e);if(e.index<e.end){if(60===n){if(e.index<e.end&&61===advanceChar(e))return advanceChar(e),4194332;return 8390978}if(61===n)return advanceChar(e),8390718;if(33===n){let n=e.index+1;if(n+1<e.end&&45===a.charCodeAt(n)&&45==a.charCodeAt(n+1)){e.column+=3,e.currentChar=a.charCodeAt(e.index+=3),t=skipSingleHTMLComment(e,a,t,r,2,e.tokenStart),o=e.tokenStart;continue}}}return 8456256}case 0x4040001b:{advanceChar(e);let r=e.currentChar;if(61===r){if(61===advanceChar(e))return advanceChar(e),8390458;return 8390460}if(62===r)return advanceChar(e),10;return 0x4040001b}case 0x101002e:if(61!==advanceChar(e))return 0x101002e;if(61!==advanceChar(e))return 8390461;return advanceChar(e),8390459;case 8391477:if(61!==advanceChar(e))return 8391477;return advanceChar(e),4194340;case 8391476:{if(advanceChar(e),e.index>=e.end)return 8391476;let r=e.currentChar;if(61===r)return advanceChar(e),4194338;if(42!==r)return 8391476;if(61!==advanceChar(e))return 8391735;return advanceChar(e),4194335}case 8389959:if(61!==advanceChar(e))return 8389959;return advanceChar(e),4194341;case 0x1810a30:{advanceChar(e);let r=e.currentChar;if(43===r)return advanceChar(e),0x2010019;if(61===r)return advanceChar(e),4194336;return 0x1810a30}case 0x1810a31:{advanceChar(e);let s=e.currentChar;if(45===s){if(advanceChar(e),(1&t||n)&&62===e.currentChar){e.options.webcompat||e.report(112),advanceChar(e),t=skipSingleHTMLComment(e,a,t,r,3,o),o=e.tokenStart;continue}return 0x201001a}if(61===s)return advanceChar(e),4194337;return 0x1810a31}case 8457014:if(advanceChar(e),e.index<e.end){let n=e.currentChar;if(47===n){advanceChar(e),t=skipSingleLineComment(e,a,t,0,e.tokenStart),o=e.tokenStart;continue}if(42===n){advanceChar(e),t=skipMultiLineComment(e,a,t),o=e.tokenStart;continue}if(32&r)return scanRegularExpression(e);if(61===n)return advanceChar(e),4259875}return 8457014;case 0x400000d:{let t=advanceChar(e);if(t>=48&&t<=57)return scanNumber(e,r,80);if(46===t){let r=e.index+1;if(r<e.end&&46===a.charCodeAt(r))return e.column+=2,e.currentChar=a.charCodeAt(e.index+=2),14}return 0x400000d}case 8389702:{advanceChar(e);let r=e.currentChar;if(124===r){if(advanceChar(e),61===e.currentChar)return advanceChar(e),4194344;return 8913465}if(61===r)return advanceChar(e),4194342;return 8389702}case 8390721:{advanceChar(e);let r=e.currentChar;if(61===r)return advanceChar(e),8390719;if(62!==r)return 8390721;if(advanceChar(e),e.index<e.end){let r=e.currentChar;if(62===r){if(61===advanceChar(e))return advanceChar(e),4194334;return 8390980}if(61===r)return advanceChar(e),4194333}return 8390979}case 8390213:{advanceChar(e);let r=e.currentChar;if(38===r){if(advanceChar(e),61===e.currentChar)return advanceChar(e),4194345;return 8913720}if(61===r)return advanceChar(e),4194343;return 8390213}case 22:{let r=advanceChar(e);if(63===r){if(advanceChar(e),61===e.currentChar)return advanceChar(e),4194346;return 0x1080017d}if(46===r){let t=e.index+1;if(t<e.end&&!((r=a.charCodeAt(t))>=48&&r<=57))return advanceChar(e),0x400007e}return 22}}}else{if((8232^s)<=1){t=-5&t|1,scanNewLine(e);continue}let n=consumePossibleSurrogatePair(e);if(n>0&&(s=n),isIDStart(s))return e.tokenValue="",scanIdentifierSlowCase(e,r,0,0);if(isExoticECMAScriptWhitespace(s)){advanceChar(e);continue}e.report(20,String.fromCodePoint(s))}}return 1048576}let g={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Abreve:"Ă",Acirc:"\xc2",Acy:"А",Afr:"\uD835\uDD04",Agrave:"\xc0",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"\uD835\uDD38",ApplyFunction:"",Aring:"\xc5",Ascr:"\uD835\uDC9C",Assign:"≔",Atilde:"\xc3",Auml:"\xc4",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"\uD835\uDD05",Bopf:"\uD835\uDD39",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"\xa9",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"\xc7",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"\xb8",CenterDot:"\xb7",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"\uD835\uDC9E",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"\uD835\uDD07",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"\uD835\uDD3B",Dot:"\xa8",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"\uD835\uDC9F",Dstrok:"Đ",ENG:"Ŋ",ETH:"\xd0",Eacute:"\xc9",Ecaron:"Ě",Ecirc:"\xca",Ecy:"Э",Edot:"Ė",Efr:"\uD835\uDD08",Egrave:"\xc8",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"\uD835\uDD3C",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"\xcb",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"\uD835\uDD09",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"\uD835\uDD3D",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"\uD835\uDD0A",Gg:"⋙",Gopf:"\uD835\uDD3E",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"\xcd",Icirc:"\xce",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"\xcc",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"\uD835\uDD40",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"\xcf",Jcirc:"Ĵ",Jcy:"Й",Jfr:"\uD835\uDD0D",Jopf:"\uD835\uDD41",Jscr:"\uD835\uDCA5",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"\uD835\uDD0E",Kopf:"\uD835\uDD42",Kscr:"\uD835\uDCA6",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"\uD835\uDD0F",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"\uD835\uDD43",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",MinusPlus:"∓",Mopf:"\uD835\uDD44",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"\uD835\uDD11",NoBreak:"",NonBreakingSpace:"\xa0",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"\uD835\uDCA9",Ntilde:"\xd1",Nu:"Ν",OElig:"Œ",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"О",Odblac:"Ő",Ofr:"\uD835\uDD12",Ograve:"\xd2",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"\uD835\uDD46",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"\uD835\uDCAA",Oslash:"\xd8",Otilde:"\xd5",Otimes:"⨷",Ouml:"\xd6",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"\uD835\uDD13",Phi:"Φ",Pi:"Π",PlusMinus:"\xb1",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product