rfbeam 0.5.1 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/.pre-commit-config.yaml +8 -0
  3. data/.tool-versions +1 -1
  4. data/CHANGELOG.md +39 -46
  5. data/Gemfile +10 -7
  6. data/Gemfile.lock +47 -44
  7. data/README.md +71 -113
  8. data/Rakefile +5 -9
  9. data/cliff.toml +74 -0
  10. data/cog.toml +7 -3
  11. data/exe/rfbeam +0 -1
  12. data/lib/rfbeam/cli.rb +37 -29
  13. data/lib/rfbeam/kld7/constants.rb +5 -4
  14. data/lib/rfbeam/kld7/detection_params.rb +149 -0
  15. data/lib/rfbeam/kld7/module_params.rb +96 -0
  16. data/lib/rfbeam/kld7/operation_params.rb +162 -0
  17. data/lib/rfbeam/kld7/radar_messages.rb +23 -39
  18. data/lib/rfbeam/kld7/serial_connection.rb +13 -14
  19. data/lib/rfbeam/kld7/streamer.rb +15 -14
  20. data/lib/rfbeam/version.rb +1 -1
  21. data/lib/rfbeam.rb +8 -7
  22. data/output.csv +257 -0
  23. data/rfbeam.gemspec +3 -8
  24. data/yarn.lock +221 -12
  25. metadata +12 -167
  26. data/.rubocop.yml +0 -25
  27. data/.streerc~1f4cd14e3c0a9afdf972aa5f3982d36a89869b72 +0 -2
  28. data/lib/rfbeam/kld7/cli_formatter.rb +0 -61
  29. data/lib/rfbeam/kld7/cli_output.rb +0 -141
  30. data/lib/rfbeam/kld7/radar_parameters.rb +0 -441
  31. data/node_modules/.bin/prettier +0 -1
  32. data/node_modules/.yarn-integrity +0 -19
  33. data/node_modules/@prettier/plugin-ruby/CHANGELOG.md +0 -1351
  34. data/node_modules/@prettier/plugin-ruby/CODE_OF_CONDUCT.md +0 -76
  35. data/node_modules/@prettier/plugin-ruby/CONTRIBUTING.md +0 -185
  36. data/node_modules/@prettier/plugin-ruby/LICENSE +0 -21
  37. data/node_modules/@prettier/plugin-ruby/README.md +0 -226
  38. data/node_modules/@prettier/plugin-ruby/docs/logo.png +0 -0
  39. data/node_modules/@prettier/plugin-ruby/node_modules/.bin/prettier +0 -1
  40. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/LICENSE +0 -5945
  41. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/README.md +0 -109
  42. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/bin-prettier.js +0 -62
  43. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/cli.js +0 -15136
  44. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/doc.js +0 -1473
  45. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-angular.mjs +0 -2
  46. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-babel.mjs +0 -29
  47. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-espree.mjs +0 -26
  48. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-flow.mjs +0 -35
  49. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-glimmer.mjs +0 -27
  50. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-graphql.mjs +0 -15
  51. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-html.mjs +0 -36
  52. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-markdown.mjs +0 -76
  53. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-meriyah.mjs +0 -19
  54. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-postcss.mjs +0 -76
  55. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-typescript.mjs +0 -257
  56. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/parser-yaml.mjs +0 -150
  57. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/esm/standalone.mjs +0 -116
  58. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/index.js +0 -37885
  59. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/package.json +0 -21
  60. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-angular.js +0 -2
  61. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-babel.js +0 -29
  62. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-espree.js +0 -26
  63. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-flow.js +0 -35
  64. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-glimmer.js +0 -27
  65. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-graphql.js +0 -15
  66. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-html.js +0 -36
  67. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-markdown.js +0 -76
  68. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-meriyah.js +0 -19
  69. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-postcss.js +0 -76
  70. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-typescript.js +0 -257
  71. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/parser-yaml.js +0 -150
  72. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/standalone.js +0 -116
  73. data/node_modules/@prettier/plugin-ruby/node_modules/prettier/third-party.js +0 -8978
  74. data/node_modules/@prettier/plugin-ruby/package.json +0 -64
  75. data/node_modules/@prettier/plugin-ruby/prettier.gemspec +0 -36
  76. data/node_modules/@prettier/plugin-ruby/rubocop.yml +0 -64
  77. data/node_modules/@prettier/plugin-ruby/src/getInfo.js +0 -23
  78. data/node_modules/@prettier/plugin-ruby/src/netcat.js +0 -13
  79. data/node_modules/@prettier/plugin-ruby/src/parseSync.js +0 -236
  80. data/node_modules/@prettier/plugin-ruby/src/plugin.js +0 -172
  81. data/node_modules/@prettier/plugin-ruby/src/server.rb +0 -199
  82. data/node_modules/prettier/LICENSE +0 -5970
  83. data/node_modules/prettier/README.md +0 -109
  84. data/node_modules/prettier/bin-prettier.js +0 -64
  85. data/node_modules/prettier/cli.js +0 -15364
  86. data/node_modules/prettier/doc.js +0 -1473
  87. data/node_modules/prettier/esm/parser-angular.mjs +0 -2
  88. data/node_modules/prettier/esm/parser-babel.mjs +0 -29
  89. data/node_modules/prettier/esm/parser-espree.mjs +0 -26
  90. data/node_modules/prettier/esm/parser-flow.mjs +0 -35
  91. data/node_modules/prettier/esm/parser-glimmer.mjs +0 -27
  92. data/node_modules/prettier/esm/parser-graphql.mjs +0 -15
  93. data/node_modules/prettier/esm/parser-html.mjs +0 -36
  94. data/node_modules/prettier/esm/parser-markdown.mjs +0 -76
  95. data/node_modules/prettier/esm/parser-meriyah.mjs +0 -19
  96. data/node_modules/prettier/esm/parser-postcss.mjs +0 -76
  97. data/node_modules/prettier/esm/parser-typescript.mjs +0 -49
  98. data/node_modules/prettier/esm/parser-yaml.mjs +0 -150
  99. data/node_modules/prettier/esm/standalone.mjs +0 -116
  100. data/node_modules/prettier/index.js +0 -38236
  101. data/node_modules/prettier/package.json +0 -21
  102. data/node_modules/prettier/parser-angular.js +0 -2
  103. data/node_modules/prettier/parser-babel.js +0 -29
  104. data/node_modules/prettier/parser-espree.js +0 -26
  105. data/node_modules/prettier/parser-flow.js +0 -35
  106. data/node_modules/prettier/parser-glimmer.js +0 -27
  107. data/node_modules/prettier/parser-graphql.js +0 -15
  108. data/node_modules/prettier/parser-html.js +0 -36
  109. data/node_modules/prettier/parser-markdown.js +0 -76
  110. data/node_modules/prettier/parser-meriyah.js +0 -19
  111. data/node_modules/prettier/parser-postcss.js +0 -76
  112. data/node_modules/prettier/parser-typescript.js +0 -49
  113. data/node_modules/prettier/parser-yaml.js +0 -150
  114. data/node_modules/prettier/standalone.js +0 -116
  115. data/node_modules/prettier/third-party.js +0 -8978
  116. data/package.json +0 -6
@@ -1,26 +0,0 @@
1
- (function(e){if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var i=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};i.prettierPlugins=i.prettierPlugins||{},i.prettierPlugins.espree=e()}})(function(){"use strict";var k=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var Z=k((Nh,jr)=>{var Ye=function(n){return n&&n.Math==Math&&n};jr.exports=Ye(typeof globalThis=="object"&&globalThis)||Ye(typeof window=="object"&&window)||Ye(typeof self=="object"&&self)||Ye(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var Ae=k((Dh,qr)=>{qr.exports=function(n){try{return!!n()}catch{return!0}}});var Se=k((Oh,Mr)=>{var tn=Ae();Mr.exports=!tn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var At=k((Lh,Ur)=>{var rn=Ae();Ur.exports=!rn(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})});var Ze=k((Vh,zr)=>{var sn=At(),$e=Function.prototype.call;zr.exports=sn?$e.bind($e):function(){return $e.apply($e,arguments)}});var Hr=k(Kr=>{"use strict";var Wr={}.propertyIsEnumerable,Gr=Object.getOwnPropertyDescriptor,an=Gr&&!Wr.call({1:2},1);Kr.f=an?function(o){var u=Gr(this,o);return!!u&&u.enumerable}:Wr});var Ct=k((jh,Xr)=>{Xr.exports=function(n,o){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:o}}});var fe=k((qh,Yr)=>{var Jr=At(),Qr=Function.prototype,nn=Qr.bind,Et=Qr.call,on=Jr&&nn.bind(Et,Et);Yr.exports=Jr?function(n){return n&&on(n)}:function(n){return n&&function(){return Et.apply(n,arguments)}}});var ei=k((Mh,Zr)=>{var $r=fe(),un=$r({}.toString),hn=$r("".slice);Zr.exports=function(n){return hn(un(n),8,-1)}});var ri=k((Uh,ti)=>{var ln=Z(),cn=fe(),pn=Ae(),fn=ei(),bt=ln.Object,dn=cn("".split);ti.exports=pn(function(){return!bt("z").propertyIsEnumerable(0)})?function(n){return fn(n)=="String"?dn(n,""):bt(n)}:bt});var _t=k((zh,ii)=>{var mn=Z(),vn=mn.TypeError;ii.exports=function(n){if(n==null)throw vn("Can't call method on "+n);return n}});var et=k((Wh,si)=>{var gn=ri(),xn=_t();si.exports=function(n){return gn(xn(n))}});var de=k((Gh,ai)=>{ai.exports=function(n){return typeof n=="function"}});var Pe=k((Kh,ni)=>{var yn=de();ni.exports=function(n){return typeof n=="object"?n!==null:yn(n)}});var tt=k((Hh,oi)=>{var St=Z(),An=de(),Cn=function(n){return An(n)?n:void 0};oi.exports=function(n,o){return arguments.length<2?Cn(St[n]):St[n]&&St[n][o]}});var hi=k((Xh,ui)=>{var En=fe();ui.exports=En({}.isPrototypeOf)});var ci=k((Jh,li)=>{var bn=tt();li.exports=bn("navigator","userAgent")||""});var xi=k((Qh,gi)=>{var vi=Z(),wt=ci(),pi=vi.process,fi=vi.Deno,di=pi&&pi.versions||fi&&fi.version,mi=di&&di.v8,le,rt;mi&&(le=mi.split("."),rt=le[0]>0&&le[0]<4?1:+(le[0]+le[1]));!rt&&wt&&(le=wt.match(/Edge\/(\d+)/),(!le||le[1]>=74)&&(le=wt.match(/Chrome\/(\d+)/),le&&(rt=+le[1])));gi.exports=rt});var kt=k((Yh,Ai)=>{var yi=xi(),_n=Ae();Ai.exports=!!Object.getOwnPropertySymbols&&!_n(function(){var n=Symbol();return!String(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&yi&&yi<41})});var Ft=k(($h,Ci)=>{var Sn=kt();Ci.exports=Sn&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Bt=k((Zh,Ei)=>{var wn=Z(),kn=tt(),Fn=de(),Bn=hi(),Tn=Ft(),In=wn.Object;Ei.exports=Tn?function(n){return typeof n=="symbol"}:function(n){var o=kn("Symbol");return Fn(o)&&Bn(o.prototype,In(n))}});var _i=k((el,bi)=>{var Pn=Z(),Nn=Pn.String;bi.exports=function(n){try{return Nn(n)}catch{return"Object"}}});var wi=k((tl,Si)=>{var Dn=Z(),On=de(),Ln=_i(),Vn=Dn.TypeError;Si.exports=function(n){if(On(n))return n;throw Vn(Ln(n)+" is not a function")}});var Fi=k((rl,ki)=>{var Rn=wi();ki.exports=function(n,o){var u=n[o];return u==null?void 0:Rn(u)}});var Ti=k((il,Bi)=>{var jn=Z(),Tt=Ze(),It=de(),Pt=Pe(),qn=jn.TypeError;Bi.exports=function(n,o){var u,l;if(o==="string"&&It(u=n.toString)&&!Pt(l=Tt(u,n))||It(u=n.valueOf)&&!Pt(l=Tt(u,n))||o!=="string"&&It(u=n.toString)&&!Pt(l=Tt(u,n)))return l;throw qn("Can't convert object to primitive value")}});var Pi=k((sl,Ii)=>{Ii.exports=!1});var it=k((al,Di)=>{var Ni=Z(),Mn=Object.defineProperty;Di.exports=function(n,o){try{Mn(Ni,n,{value:o,configurable:!0,writable:!0})}catch{Ni[n]=o}return o}});var st=k((nl,Li)=>{var Un=Z(),zn=it(),Oi="__core-js_shared__",Wn=Un[Oi]||zn(Oi,{});Li.exports=Wn});var Nt=k((ol,Ri)=>{var Gn=Pi(),Vi=st();(Ri.exports=function(n,o){return Vi[n]||(Vi[n]=o!==void 0?o:{})})("versions",[]).push({version:"3.22.2",mode:Gn?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})});var qi=k((ul,ji)=>{var Kn=Z(),Hn=_t(),Xn=Kn.Object;ji.exports=function(n){return Xn(Hn(n))}});var Ce=k((hl,Mi)=>{var Jn=fe(),Qn=qi(),Yn=Jn({}.hasOwnProperty);Mi.exports=Object.hasOwn||function(o,u){return Yn(Qn(o),u)}});var Dt=k((ll,Ui)=>{var $n=fe(),Zn=0,eo=Math.random(),to=$n(1 .toString);Ui.exports=function(n){return"Symbol("+(n===void 0?"":n)+")_"+to(++Zn+eo,36)}});var Xi=k((cl,Hi)=>{var ro=Z(),io=Nt(),zi=Ce(),so=Dt(),Wi=kt(),Ki=Ft(),Ne=io("wks"),we=ro.Symbol,Gi=we&&we.for,ao=Ki?we:we&&we.withoutSetter||so;Hi.exports=function(n){if(!zi(Ne,n)||!(Wi||typeof Ne[n]=="string")){var o="Symbol."+n;Wi&&zi(we,n)?Ne[n]=we[n]:Ki&&Gi?Ne[n]=Gi(o):Ne[n]=ao(o)}return Ne[n]}});var $i=k((pl,Yi)=>{var no=Z(),oo=Ze(),Ji=Pe(),Qi=Bt(),uo=Fi(),ho=Ti(),lo=Xi(),co=no.TypeError,po=lo("toPrimitive");Yi.exports=function(n,o){if(!Ji(n)||Qi(n))return n;var u=uo(n,po),l;if(u){if(o===void 0&&(o="default"),l=oo(u,n,o),!Ji(l)||Qi(l))return l;throw co("Can't convert object to primitive value")}return o===void 0&&(o="number"),ho(n,o)}});var Ot=k((fl,Zi)=>{var fo=$i(),mo=Bt();Zi.exports=function(n){var o=fo(n,"string");return mo(o)?o:o+""}});var rs=k((dl,ts)=>{var vo=Z(),es=Pe(),Lt=vo.document,go=es(Lt)&&es(Lt.createElement);ts.exports=function(n){return go?Lt.createElement(n):{}}});var Vt=k((ml,is)=>{var xo=Se(),yo=Ae(),Ao=rs();is.exports=!xo&&!yo(function(){return Object.defineProperty(Ao("div"),"a",{get:function(){return 7}}).a!=7})});var Rt=k(as=>{var Co=Se(),Eo=Ze(),bo=Hr(),_o=Ct(),So=et(),wo=Ot(),ko=Ce(),Fo=Vt(),ss=Object.getOwnPropertyDescriptor;as.f=Co?ss:function(o,u){if(o=So(o),u=wo(u),Fo)try{return ss(o,u)}catch{}if(ko(o,u))return _o(!Eo(bo.f,o,u),o[u])}});var os=k((gl,ns)=>{var Bo=Se(),To=Ae();ns.exports=Bo&&To(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})});var jt=k((xl,hs)=>{var us=Z(),Io=Pe(),Po=us.String,No=us.TypeError;hs.exports=function(n){if(Io(n))return n;throw No(Po(n)+" is not an object")}});var Wt=k(cs=>{var Do=Z(),Oo=Se(),Lo=Vt(),Vo=os(),at=jt(),ls=Ot(),Ro=Do.TypeError,qt=Object.defineProperty,jo=Object.getOwnPropertyDescriptor,Mt="enumerable",Ut="configurable",zt="writable";cs.f=Oo?Vo?function(o,u,l){if(at(o),u=ls(u),at(l),typeof o=="function"&&u==="prototype"&&"value"in l&&zt in l&&!l[zt]){var v=jo(o,u);v&&v[zt]&&(o[u]=l.value,l={configurable:Ut in l?l[Ut]:v[Ut],enumerable:Mt in l?l[Mt]:v[Mt],writable:!1})}return qt(o,u,l)}:qt:function(o,u,l){if(at(o),u=ls(u),at(l),Lo)try{return qt(o,u,l)}catch{}if("get"in l||"set"in l)throw Ro("Accessors not supported");return"value"in l&&(o[u]=l.value),o}});var nt=k((Al,ps)=>{var qo=Se(),Mo=Wt(),Uo=Ct();ps.exports=qo?function(n,o,u){return Mo.f(n,o,Uo(1,u))}:function(n,o,u){return n[o]=u,n}});var Kt=k((Cl,fs)=>{var zo=fe(),Wo=de(),Gt=st(),Go=zo(Function.toString);Wo(Gt.inspectSource)||(Gt.inspectSource=function(n){return Go(n)});fs.exports=Gt.inspectSource});var vs=k((El,ms)=>{var Ko=Z(),Ho=de(),Xo=Kt(),ds=Ko.WeakMap;ms.exports=Ho(ds)&&/native code/.test(Xo(ds))});var ys=k((bl,xs)=>{var Jo=Nt(),Qo=Dt(),gs=Jo("keys");xs.exports=function(n){return gs[n]||(gs[n]=Qo(n))}});var Ht=k((_l,As)=>{As.exports={}});var ws=k((Sl,Ss)=>{var Yo=vs(),_s=Z(),Xt=fe(),$o=Pe(),Zo=nt(),Jt=Ce(),Qt=st(),eu=ys(),tu=Ht(),Cs="Object already initialized",$t=_s.TypeError,ru=_s.WeakMap,ot,Me,ut,iu=function(n){return ut(n)?Me(n):ot(n,{})},su=function(n){return function(o){var u;if(!$o(o)||(u=Me(o)).type!==n)throw $t("Incompatible receiver, "+n+" required");return u}};Yo||Qt.state?(Ee=Qt.state||(Qt.state=new ru),Es=Xt(Ee.get),Yt=Xt(Ee.has),bs=Xt(Ee.set),ot=function(n,o){if(Yt(Ee,n))throw new $t(Cs);return o.facade=n,bs(Ee,n,o),o},Me=function(n){return Es(Ee,n)||{}},ut=function(n){return Yt(Ee,n)}):(ke=eu("state"),tu[ke]=!0,ot=function(n,o){if(Jt(n,ke))throw new $t(Cs);return o.facade=n,Zo(n,ke,o),o},Me=function(n){return Jt(n,ke)?n[ke]:{}},ut=function(n){return Jt(n,ke)});var Ee,Es,Yt,bs,ke;Ss.exports={set:ot,get:Me,has:ut,enforce:iu,getterFor:su}});var Bs=k((wl,Fs)=>{var Zt=Se(),au=Ce(),ks=Function.prototype,nu=Zt&&Object.getOwnPropertyDescriptor,er=au(ks,"name"),ou=er&&function(){}.name==="something",uu=er&&(!Zt||Zt&&nu(ks,"name").configurable);Fs.exports={EXISTS:er,PROPER:ou,CONFIGURABLE:uu}});var Ds=k((kl,Ns)=>{var hu=Z(),Ts=de(),lu=Ce(),Is=nt(),cu=it(),pu=Kt(),Ps=ws(),fu=Bs().CONFIGURABLE,du=Ps.get,mu=Ps.enforce,vu=String(String).split("String");(Ns.exports=function(n,o,u,l){var v=l?!!l.unsafe:!1,E=l?!!l.enumerable:!1,x=l?!!l.noTargetGet:!1,b=l&&l.name!==void 0?l.name:o,P;if(Ts(u)&&(String(b).slice(0,7)==="Symbol("&&(b="["+String(b).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!lu(u,"name")||fu&&u.name!==b)&&Is(u,"name",b),P=mu(u),P.source||(P.source=vu.join(typeof b=="string"?b:""))),n===hu){E?n[o]=u:cu(o,u);return}else v?!x&&n[o]&&(E=!0):delete n[o];E?n[o]=u:Is(n,o,u)})(Function.prototype,"toString",function(){return Ts(this)&&du(this).source||pu(this)})});var tr=k((Fl,Os)=>{var gu=Math.ceil,xu=Math.floor;Os.exports=function(n){var o=+n;return o!==o||o===0?0:(o>0?xu:gu)(o)}});var Vs=k((Bl,Ls)=>{var yu=tr(),Au=Math.max,Cu=Math.min;Ls.exports=function(n,o){var u=yu(n);return u<0?Au(u+o,0):Cu(u,o)}});var js=k((Tl,Rs)=>{var Eu=tr(),bu=Math.min;Rs.exports=function(n){return n>0?bu(Eu(n),9007199254740991):0}});var Ms=k((Il,qs)=>{var _u=js();qs.exports=function(n){return _u(n.length)}});var Ws=k((Pl,zs)=>{var Su=et(),wu=Vs(),ku=Ms(),Us=function(n){return function(o,u,l){var v=Su(o),E=ku(v),x=wu(l,E),b;if(n&&u!=u){for(;E>x;)if(b=v[x++],b!=b)return!0}else for(;E>x;x++)if((n||x in v)&&v[x]===u)return n||x||0;return!n&&-1}};zs.exports={includes:Us(!0),indexOf:Us(!1)}});var Hs=k((Nl,Ks)=>{var Fu=fe(),rr=Ce(),Bu=et(),Tu=Ws().indexOf,Iu=Ht(),Gs=Fu([].push);Ks.exports=function(n,o){var u=Bu(n),l=0,v=[],E;for(E in u)!rr(Iu,E)&&rr(u,E)&&Gs(v,E);for(;o.length>l;)rr(u,E=o[l++])&&(~Tu(v,E)||Gs(v,E));return v}});var Js=k((Dl,Xs)=>{Xs.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Ys=k(Qs=>{var Pu=Hs(),Nu=Js(),Du=Nu.concat("length","prototype");Qs.f=Object.getOwnPropertyNames||function(o){return Pu(o,Du)}});var Zs=k($s=>{$s.f=Object.getOwnPropertySymbols});var ta=k((Vl,ea)=>{var Ou=tt(),Lu=fe(),Vu=Ys(),Ru=Zs(),ju=jt(),qu=Lu([].concat);ea.exports=Ou("Reflect","ownKeys")||function(o){var u=Vu.f(ju(o)),l=Ru.f;return l?qu(u,l(o)):u}});var sa=k((Rl,ia)=>{var ra=Ce(),Mu=ta(),Uu=Rt(),zu=Wt();ia.exports=function(n,o,u){for(var l=Mu(o),v=zu.f,E=Uu.f,x=0;x<l.length;x++){var b=l[x];!ra(n,b)&&!(u&&ra(u,b))&&v(n,b,E(o,b))}}});var na=k((jl,aa)=>{var Wu=Ae(),Gu=de(),Ku=/#|\.prototype\./,Ue=function(n,o){var u=Xu[Hu(n)];return u==Qu?!0:u==Ju?!1:Gu(o)?Wu(o):!!o},Hu=Ue.normalize=function(n){return String(n).replace(Ku,".").toLowerCase()},Xu=Ue.data={},Ju=Ue.NATIVE="N",Qu=Ue.POLYFILL="P";aa.exports=Ue});var ua=k((ql,oa)=>{var ir=Z(),Yu=Rt().f,$u=nt(),Zu=Ds(),eh=it(),th=sa(),rh=na();oa.exports=function(n,o){var u=n.target,l=n.global,v=n.stat,E,x,b,P,g,N;if(l?x=ir:v?x=ir[u]||eh(u,{}):x=(ir[u]||{}).prototype,x)for(b in o){if(g=o[b],n.noTargetGet?(N=Yu(x,b),P=N&&N.value):P=x[b],E=rh(l?b:u+(v?".":"#")+b,n.forced),!E&&P!==void 0){if(typeof g==typeof P)continue;th(g,P)}(n.sham||P&&P.sham)&&$u(g,"sham",!0),Zu(x,b,g,n)}}});var ha=k(()=>{var ih=ua(),sh=Z();ih({global:!0},{globalThis:sh})});var la=k(()=>{ha()});var Ih=k((Kl,Na)=>{la();var or=Object.defineProperty,ah=Object.getOwnPropertyDescriptor,ur=Object.getOwnPropertyNames,nh=Object.prototype.hasOwnProperty,ca=(n,o)=>function(){return n&&(o=(0,n[ur(n)[0]])(n=0)),o},Q=(n,o)=>function(){return o||(0,n[ur(n)[0]])((o={exports:{}}).exports,o),o.exports},oh=(n,o)=>{for(var u in o)or(n,u,{get:o[u],enumerable:!0})},uh=(n,o,u,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let v of ur(o))!nh.call(n,v)&&v!==u&&or(n,v,{get:()=>o[v],enumerable:!(l=ah(o,v))||l.enumerable});return n},hh=n=>uh(or({},"__esModule",{value:!0}),n),J=ca({"<define:process>"(){}}),hr=Q({"src/common/parser-create-error.js"(n,o){"use strict";J();function u(l,v){let E=new SyntaxError(l+" ("+v.start.line+":"+v.start.column+")");return E.loc=v,E}o.exports=u}}),pa=Q({"src/utils/try-combinations.js"(n,o){"use strict";J();function u(){let l;for(var v=arguments.length,E=new Array(v),x=0;x<v;x++)E[x]=arguments[x];for(let[b,P]of E.entries())try{return{result:P()}}catch(g){b===0&&(l=g)}return{error:l}}o.exports=u}}),fa={};oh(fa,{EOL:()=>nr,arch:()=>lh,cpus:()=>Aa,default:()=>Sa,endianness:()=>da,freemem:()=>xa,getNetworkInterfaces:()=>_a,hostname:()=>ma,loadavg:()=>va,networkInterfaces:()=>ba,platform:()=>ch,release:()=>Ea,tmpDir:()=>sr,tmpdir:()=>ar,totalmem:()=>ya,type:()=>Ca,uptime:()=>ga});function da(){if(typeof ht>"u"){var n=new ArrayBuffer(2),o=new Uint8Array(n),u=new Uint16Array(n);if(o[0]=1,o[1]=2,u[0]===258)ht="BE";else if(u[0]===513)ht="LE";else throw new Error("unable to figure out endianess")}return ht}function ma(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function va(){return[]}function ga(){return 0}function xa(){return Number.MAX_VALUE}function ya(){return Number.MAX_VALUE}function Aa(){return[]}function Ca(){return"Browser"}function Ea(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ba(){}function _a(){}function lh(){return"javascript"}function ch(){return"browser"}function sr(){return"/tmp"}var ht,ar,nr,Sa,ph=ca({"node-modules-polyfills:os"(){J(),ar=sr,nr=`
2
- `,Sa={EOL:nr,tmpdir:ar,tmpDir:sr,networkInterfaces:ba,getNetworkInterfaces:_a,release:Ea,type:Ca,cpus:Aa,totalmem:ya,freemem:xa,uptime:ga,loadavg:va,hostname:ma,endianness:da}}}),fh=Q({"node-modules-polyfills-commonjs:os"(n,o){J();var u=(ph(),hh(fa));if(u&&u.default){o.exports=u.default;for(let l in u)o.exports[l]=u[l]}else u&&(o.exports=u)}}),dh=Q({"node_modules/detect-newline/index.js"(n,o){"use strict";J();var u=l=>{if(typeof l!="string")throw new TypeError("Expected a string");let v=l.match(/(?:\r?\n)/g)||[];if(v.length===0)return;let E=v.filter(b=>b===`\r
3
- `).length,x=v.length-E;return E>x?`\r
4
- `:`
5
- `};o.exports=u,o.exports.graceful=l=>typeof l=="string"&&u(l)||`
6
- `}}),mh=Q({"node_modules/jest-docblock/build/index.js"(n){"use strict";J(),Object.defineProperty(n,"__esModule",{value:!0}),n.extract=D,n.parse=L,n.parseWithComments=_,n.print=F,n.strip=d;function o(){let A=fh();return o=function(){return A},A}function u(){let A=l(dh());return u=function(){return A},A}function l(A){return A&&A.__esModule?A:{default:A}}var v=/\*\/$/,E=/^\/\*\*?/,x=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,b=/(^|\s+)\/\/([^\r\n]*)/g,P=/^(\r?\n)+/,g=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,N=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,q=/(\r?\n|^) *\* ?/g,T=[];function D(A){let H=A.match(x);return H?H[0].trimLeft():""}function d(A){let H=A.match(x);return H&&H[0]?A.substring(H[0].length):A}function L(A){return _(A).pragmas}function _(A){let H=(0,u().default)(A)||o().EOL;A=A.replace(E,"").replace(v,"").replace(q,"$1");let R="";for(;R!==A;)R=A,A=A.replace(g,`${H}$1 $2${H}`);A=A.replace(P,"").trimRight();let i=Object.create(null),w=A.replace(N,"").replace(P,"").trimRight(),I;for(;I=N.exec(A);){let M=I[2].replace(b,"");typeof i[I[1]]=="string"||Array.isArray(i[I[1]])?i[I[1]]=T.concat(i[I[1]],M):i[I[1]]=M}return{comments:w,pragmas:i}}function F(A){let{comments:H="",pragmas:R={}}=A,i=(0,u().default)(H)||o().EOL,w="/**",I=" *",M=" */",ee=Object.keys(R),oe=ee.map(se=>B(se,R[se])).reduce((se,De)=>se.concat(De),[]).map(se=>`${I} ${se}${i}`).join("");if(!H){if(ee.length===0)return"";if(ee.length===1&&!Array.isArray(R[ee[0]])){let se=R[ee[0]];return`${w} ${B(ee[0],se)[0]}${M}`}}let te=H.split(i).map(se=>`${I} ${se}`).join(i)+i;return w+i+(H?te:"")+(H&&ee.length?I+i:"")+oe+M}function B(A,H){return T.concat(H).map(R=>`@${A} ${R}`.trim())}}}),vh=Q({"src/common/end-of-line.js"(n,o){"use strict";J();function u(x){let b=x.indexOf("\r");return b>=0?x.charAt(b+1)===`
7
- `?"crlf":"cr":"lf"}function l(x){switch(x){case"cr":return"\r";case"crlf":return`\r
8
- `;default:return`
9
- `}}function v(x,b){let P;switch(b){case`
10
- `:P=/\n/g;break;case"\r":P=/\r/g;break;case`\r
11
- `:P=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(b)}.`)}let g=x.match(P);return g?g.length:0}function E(x){return x.replace(/\r\n?/g,`
12
- `)}o.exports={guessEndOfLine:u,convertEndOfLineToChars:l,countEndOfLineChars:v,normalizeEndOfLine:E}}}),gh=Q({"src/language-js/utils/get-shebang.js"(n,o){"use strict";J();function u(l){if(!l.startsWith("#!"))return"";let v=l.indexOf(`
13
- `);return v===-1?l:l.slice(0,v)}o.exports=u}}),xh=Q({"src/language-js/pragma.js"(n,o){"use strict";J();var{parseWithComments:u,strip:l,extract:v,print:E}=mh(),{normalizeEndOfLine:x}=vh(),b=gh();function P(q){let T=b(q);T&&(q=q.slice(T.length+1));let D=v(q),{pragmas:d,comments:L}=u(D);return{shebang:T,text:q,pragmas:d,comments:L}}function g(q){let T=Object.keys(P(q).pragmas);return T.includes("prettier")||T.includes("format")}function N(q){let{shebang:T,text:D,pragmas:d,comments:L}=P(q),_=l(D),F=E({pragmas:Object.assign({format:""},d),comments:L.trimStart()});return(T?`${T}
14
- `:"")+x(F)+(_.startsWith(`
15
- `)?`
16
- `:`
17
-
18
- `)+_}o.exports={hasPragma:g,insertPragma:N}}}),wa=Q({"src/utils/is-non-empty-array.js"(n,o){"use strict";J();function u(l){return Array.isArray(l)&&l.length>0}o.exports=u}}),ka=Q({"src/language-js/loc.js"(n,o){"use strict";J();var u=wa();function l(P){var g,N;let q=P.range?P.range[0]:P.start,T=(g=(N=P.declaration)===null||N===void 0?void 0:N.decorators)!==null&&g!==void 0?g:P.decorators;return u(T)?Math.min(l(T[0]),q):q}function v(P){return P.range?P.range[1]:P.end}function E(P,g){let N=l(P);return Number.isInteger(N)&&N===l(g)}function x(P,g){let N=v(P);return Number.isInteger(N)&&N===v(g)}function b(P,g){return E(P,g)&&x(P,g)}o.exports={locStart:l,locEnd:v,hasSameLocStart:E,hasSameLoc:b}}}),Fa=Q({"src/language-js/parse/utils/create-parser.js"(n,o){"use strict";J();var{hasPragma:u}=xh(),{locStart:l,locEnd:v}=ka();function E(x){return x=typeof x=="function"?{parse:x}:x,Object.assign({astFormat:"estree",hasPragma:u,locStart:l,locEnd:v},x)}o.exports=E}}),yh=Q({"src/language-js/utils/is-ts-keyword-type.js"(n,o){"use strict";J();function u(l){let{type:v}=l;return v.startsWith("TS")&&v.endsWith("Keyword")}o.exports=u}}),Ah=Q({"src/language-js/utils/is-block-comment.js"(n,o){"use strict";J();var u=new Set(["Block","CommentBlock","MultiLine"]),l=v=>u.has(v==null?void 0:v.type);o.exports=l}}),Ch=Q({"src/language-js/utils/is-type-cast-comment.js"(n,o){"use strict";J();var u=Ah();function l(v){return u(v)&&v.value[0]==="*"&&/@type\b/.test(v.value)}o.exports=l}}),Eh=Q({"src/utils/get-last.js"(n,o){"use strict";J();var u=l=>l[l.length-1];o.exports=u}}),Ba=Q({"src/language-js/parse/postprocess/visit-node.js"(n,o){"use strict";J();function u(l,v){if(Array.isArray(l)){for(let E=0;E<l.length;E++)l[E]=u(l[E],v);return l}if(l&&typeof l=="object"&&typeof l.type=="string"){let E=Object.keys(l);for(let x=0;x<E.length;x++)l[E[x]]=u(l[E[x]],v);return v(l)||l}return l}o.exports=u}}),Ta=Q({"src/language-js/parse/postprocess/throw-syntax-error.js"(n,o){"use strict";J();var u=hr();function l(v,E){let{start:x,end:b}=v.loc;throw u(E,{start:{line:x.line,column:x.column+1},end:{line:b.line,column:b.column+1}})}o.exports=l}}),bh=Q({"src/language-js/parse/postprocess/typescript.js"(n,o){"use strict";J();var u=wa(),l=Ba(),v=Ta(),E={AbstractKeyword:126,SourceFile:308,PropertyDeclaration:169};function x(N){for(;N&&N.kind!==E.SourceFile;)N=N.parent;return N}function b(N){let{illegalDecorators:q}=N;if(!u(q))return;let[{expression:T}]=q,D=x(T),[d,L]=[T.pos,T.end].map(_=>{let{line:F,character:B}=D.getLineAndCharacterOfPosition(_);return{line:F+1,column:B}});v({loc:{start:d,end:L}},"Decorators are not valid here.")}function P(N,q){N.kind!==E.PropertyDeclaration||N.modifiers&&!N.modifiers.some(T=>T.kind===E.AbstractKeyword)||N.initializer&&q.value===null&&v(q,"Abstract property cannot have an initializer")}function g(N,q){let{esTreeNodeToTSNodeMap:T,tsNodeToESTreeNodeMap:D}=q.tsParseResult;l(N,d=>{let L=T.get(d);if(!L)return;let _=D.get(L);_===d&&(b(L),P(L,_))})}o.exports={throwErrorForInvalidNodes:g}}}),Ia=Q({"src/language-js/parse/postprocess/index.js"(n,o){"use strict";J();var{locStart:u,locEnd:l}=ka(),v=yh(),E=Ch(),x=Eh(),b=Ba(),{throwErrorForInvalidNodes:P}=bh(),g=Ta();function N(d,L){if(L.parser==="typescript"&&/@|abstract/.test(L.originalText)&&P(d,L),L.parser!=="typescript"&&L.parser!=="flow"&&L.parser!=="acorn"&&L.parser!=="espree"&&L.parser!=="meriyah"){let F=new Set;d=b(d,B=>{B.leadingComments&&B.leadingComments.some(E)&&F.add(u(B))}),d=b(d,B=>{if(B.type==="ParenthesizedExpression"){let{expression:A}=B;if(A.type==="TypeCastExpression")return A.range=B.range,A;let H=u(B);if(!F.has(H))return A.extra=Object.assign(Object.assign({},A.extra),{},{parenthesized:!0}),A}})}return d=b(d,F=>{switch(F.type){case"ChainExpression":return q(F.expression);case"LogicalExpression":{if(T(F))return D(F);break}case"VariableDeclaration":{let B=x(F.declarations);B&&B.init&&_(F,B);break}case"TSParenthesizedType":return v(F.typeAnnotation)||F.typeAnnotation.type==="TSThisType"||(F.typeAnnotation.range=[u(F),l(F)]),F.typeAnnotation;case"TSTypeParameter":if(typeof F.name=="string"){let B=u(F);F.name={type:"Identifier",name:F.name,range:[B,B+F.name.length]}}break;case"ObjectExpression":if(L.parser==="typescript"){let B=F.properties.find(A=>A.type==="Property"&&A.value.type==="TSEmptyBodyFunctionExpression");B&&g(B.value,"Unexpected token.")}break;case"SequenceExpression":{let B=x(F.expressions);F.range=[u(F),Math.min(l(B),l(F))];break}case"TopicReference":L.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:B}=F;if(L.parser==="meriyah"&&B&&B.type==="Identifier"){let A=L.originalText.slice(u(B),l(B));(A.startsWith('"')||A.startsWith("'"))&&(F.exported=Object.assign(Object.assign({},F.exported),{},{type:"Literal",value:F.exported.name,raw:A}))}break}}}),d;function _(F,B){L.originalText[l(B)]!==";"&&(F.range=[u(F),l(B)])}}function q(d){switch(d.type){case"CallExpression":d.type="OptionalCallExpression",d.callee=q(d.callee);break;case"MemberExpression":d.type="OptionalMemberExpression",d.object=q(d.object);break;case"TSNonNullExpression":d.expression=q(d.expression);break}return d}function T(d){return d.type==="LogicalExpression"&&d.right.type==="LogicalExpression"&&d.operator===d.right.operator}function D(d){return T(d)?D({type:"LogicalExpression",operator:d.operator,left:D({type:"LogicalExpression",operator:d.operator,left:d.left,right:d.right.left,range:[u(d.left),l(d.right.left)]}),right:d.right.right,range:[u(d),l(d)]}):d}o.exports=N}}),lt=Q({"node_modules/acorn/dist/acorn.js"(n,o){J(),function(u,l){typeof n=="object"&&typeof o<"u"?l(n):typeof define=="function"&&define.amd?define(["exports"],l):(u=typeof globalThis<"u"?globalThis:u||self,l(u.acorn={}))}(n,function(u){"use strict";var l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239],v=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],E="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",x="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",b={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},P="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",g={5:P,"5module":P+" export import",6:P+" const class extends export import super"},N=/^in(stanceof)?$/,q=new RegExp("["+x+"]"),T=new RegExp("["+x+E+"]");function D(e,t){for(var r=65536,s=0;s<t.length;s+=2){if(r+=t[s],r>e)return!1;if(r+=t[s+1],r>=e)return!0}}function d(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&q.test(String.fromCharCode(e)):t===!1?!1:D(e,v)}function L(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&T.test(String.fromCharCode(e)):t===!1?!1:D(e,v)||D(e,l)}var _=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function F(e,t){return new _(e,{beforeExpr:!0,binop:t})}var B={beforeExpr:!0},A={startsExpr:!0},H={};function R(e,t){return t===void 0&&(t={}),t.keyword=e,H[e]=new _(e,t)}var i={num:new _("num",A),regexp:new _("regexp",A),string:new _("string",A),name:new _("name",A),privateId:new _("privateId",A),eof:new _("eof"),bracketL:new _("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new _("]"),braceL:new _("{",{beforeExpr:!0,startsExpr:!0}),braceR:new _("}"),parenL:new _("(",{beforeExpr:!0,startsExpr:!0}),parenR:new _(")"),comma:new _(",",B),semi:new _(";",B),colon:new _(":",B),dot:new _("."),question:new _("?",B),questionDot:new _("?."),arrow:new _("=>",B),template:new _("template"),invalidTemplate:new _("invalidTemplate"),ellipsis:new _("...",B),backQuote:new _("`",A),dollarBraceL:new _("${",{beforeExpr:!0,startsExpr:!0}),eq:new _("=",{beforeExpr:!0,isAssign:!0}),assign:new _("_=",{beforeExpr:!0,isAssign:!0}),incDec:new _("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new _("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:F("||",1),logicalAND:F("&&",2),bitwiseOR:F("|",3),bitwiseXOR:F("^",4),bitwiseAND:F("&",5),equality:F("==/!=/===/!==",6),relational:F("</>/<=/>=",7),bitShift:F("<</>>/>>>",8),plusMin:new _("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:F("%",10),star:F("*",10),slash:F("/",10),starstar:new _("**",{beforeExpr:!0}),coalesce:F("??",1),_break:R("break"),_case:R("case",B),_catch:R("catch"),_continue:R("continue"),_debugger:R("debugger"),_default:R("default",B),_do:R("do",{isLoop:!0,beforeExpr:!0}),_else:R("else",B),_finally:R("finally"),_for:R("for",{isLoop:!0}),_function:R("function",A),_if:R("if"),_return:R("return",B),_switch:R("switch"),_throw:R("throw",B),_try:R("try"),_var:R("var"),_const:R("const"),_while:R("while",{isLoop:!0}),_with:R("with"),_new:R("new",{beforeExpr:!0,startsExpr:!0}),_this:R("this",A),_super:R("super",A),_class:R("class",A),_extends:R("extends",B),_export:R("export"),_import:R("import",A),_null:R("null",A),_true:R("true",A),_false:R("false",A),_in:R("in",{beforeExpr:!0,binop:7}),_instanceof:R("instanceof",{beforeExpr:!0,binop:7}),_typeof:R("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:R("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:R("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w=/\r\n?|\n|\u2028|\u2029/,I=new RegExp(w.source,"g");function M(e){return e===10||e===13||e===8232||e===8233}function ee(e,t,r){r===void 0&&(r=e.length);for(var s=t;s<r;s++){var a=e.charCodeAt(s);if(M(a))return s<r-1&&a===13&&e.charCodeAt(s+1)===10?s+2:s+1}return-1}var oe=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,te=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,se=Object.prototype,De=se.hasOwnProperty,p=se.toString,O=Object.hasOwn||function(e,t){return De.call(e,t)},S=Array.isArray||function(e){return p.call(e)==="[object Array]"};function f(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function C(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var X=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,K=function(t,r){this.line=t,this.column=r};K.prototype.offset=function(t){return new K(this.line,this.column+t)};var re=function(t,r,s){this.start=r,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)};function ne(e,t){for(var r=1,s=0;;){var a=ee(e,s,t);if(a<0)return new K(r,t-s);++r,s=a}}var ce={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ge=!1;function ct(e){var t={};for(var r in ce)t[r]=e&&O(e,r)?e[r]:ce[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!ge&&typeof console=="object"&&console.warn&&(ge=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
19
- Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),e.allowHashBang==null&&(t.allowHashBang=t.ecmaVersion>=14),S(t.onToken)){var s=t.onToken;t.onToken=function(a){return s.push(a)}}return S(t.onComment)&&(t.onComment=pt(t,t.onComment)),t}function pt(e,t){return function(r,s,a,h,c,m){var y={type:r?"Block":"Line",value:s,start:a,end:h};e.locations&&(y.loc=new re(this,c,m)),e.ranges&&(y.range=[a,h]),t.push(y)}}var be=1,xe=2,Oe=4,ze=8,lr=16,cr=32,ft=64,pr=128,Le=256,dt=be|xe|Le;function mt(e,t){return xe|(e?Oe:0)|(t?ze:0)}var We=0,vt=1,me=2,fr=3,dr=4,mr=5,$=function(t,r,s){this.options=t=ct(t),this.sourceFile=t.sourceFile,this.keywords=f(g[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var a="";t.allowReserved!==!0&&(a=b[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(a+=" await")),this.reservedWords=f(a);var h=(a?a+" ":"")+b.strict;this.reservedWordsStrict=f(h),this.reservedWordsStrictBind=f(h+" "+b.strictBind),this.input=String(r),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(`
20
- `,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=i.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(be),this.regexpState=null,this.privateNameStack=[]},pe={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};$.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},pe.inFunction.get=function(){return(this.currentVarScope().flags&xe)>0},pe.inGenerator.get=function(){return(this.currentVarScope().flags&ze)>0&&!this.currentVarScope().inClassFieldInit},pe.inAsync.get=function(){return(this.currentVarScope().flags&Oe)>0&&!this.currentVarScope().inClassFieldInit},pe.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&Le)return!1;if(t.flags&xe)return(t.flags&Oe)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},pe.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&ft)>0||r||this.options.allowSuperOutsideMethod},pe.allowDirectSuper.get=function(){return(this.currentThisScope().flags&pr)>0},pe.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},pe.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&(xe|Le))>0||r},pe.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Le)>0},$.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var s=this,a=0;a<t.length;a++)s=t[a](s);return s},$.parse=function(t,r){return new this(r,t).parse()},$.parseExpressionAt=function(t,r,s){var a=new this(s,t,r);return a.nextToken(),a.parseExpression()},$.tokenizer=function(t,r){return new this(r,t)},Object.defineProperties($.prototype,pe);var ae=$.prototype,Da=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;ae.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){te.lastIndex=e,e+=te.exec(this.input)[0].length;var t=Da.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){te.lastIndex=e+t[0].length;var r=te.exec(this.input),s=r.index+r[0].length,a=this.input.charAt(s);return a===";"||a==="}"||w.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length,te.lastIndex=e,e+=te.exec(this.input)[0].length,this.input[e]===";"&&e++}},ae.eat=function(e){return this.type===e?(this.next(),!0):!1},ae.isContextual=function(e){return this.type===i.name&&this.value===e&&!this.containsEsc},ae.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},ae.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},ae.canInsertSemicolon=function(){return this.type===i.eof||this.type===i.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},ae.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},ae.semicolon=function(){!this.eat(i.semi)&&!this.insertSemicolon()&&this.unexpected()},ae.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},ae.expect=function(e){this.eat(e)||this.unexpected()},ae.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};var Ge=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};ae.checkPatternErrors=function(e,t){if(!!e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}},ae.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,s=e.doubleProto;if(!t)return r>=0||s>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")},ae.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},ae.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var j=$.prototype;j.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==i.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var s=0,a=Object.keys(this.undefinedExports);s<a.length;s+=1){var h=a[s];this.raiseRecoverable(this.undefinedExports[h].start,"Export '"+h+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var gt={kind:"loop"},Oa={kind:"switch"};j.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;te.lastIndex=this.pos;var t=te.exec(this.input),r=this.pos+t[0].length,s=this.input.charCodeAt(r);if(s===91||s===92||s>55295&&s<56320)return!0;if(e)return!1;if(s===123)return!0;if(d(s,!0)){for(var a=r+1;L(s=this.input.charCodeAt(a),!0);)++a;if(s===92||s>55295&&s<56320)return!0;var h=this.input.slice(r,a);if(!N.test(h))return!0}return!1},j.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;te.lastIndex=this.pos;var e=te.exec(this.input),t=this.pos+e[0].length,r;return!w.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(L(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))},j.parseStatement=function(e,t,r){var s=this.type,a=this.startNode(),h;switch(this.isLet(e)&&(s=i._var,h="let"),s){case i._break:case i._continue:return this.parseBreakContinueStatement(a,s.keyword);case i._debugger:return this.parseDebuggerStatement(a);case i._do:return this.parseDoStatement(a);case i._for:return this.parseForStatement(a);case i._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case i._class:return e&&this.unexpected(),this.parseClass(a,!0);case i._if:return this.parseIfStatement(a);case i._return:return this.parseReturnStatement(a);case i._switch:return this.parseSwitchStatement(a);case i._throw:return this.parseThrowStatement(a);case i._try:return this.parseTryStatement(a);case i._const:case i._var:return h=h||this.value,e&&h!=="var"&&this.unexpected(),this.parseVarStatement(a,h);case i._while:return this.parseWhileStatement(a);case i._with:return this.parseWithStatement(a);case i.braceL:return this.parseBlock(!0,a);case i.semi:return this.parseEmptyStatement(a);case i._export:case i._import:if(this.options.ecmaVersion>10&&s===i._import){te.lastIndex=this.pos;var c=te.exec(this.input),m=this.pos+c[0].length,y=this.input.charCodeAt(m);if(y===40||y===46)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===i._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var U=this.value,W=this.parseExpression();return s===i.name&&W.type==="Identifier"&&this.eat(i.colon)?this.parseLabeledStatement(a,U,W,e):this.parseExpressionStatement(a,W)}},j.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(i.semi)||this.insertSemicolon()?e.label=null:this.type!==i.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var s=0;s<this.labels.length;++s){var a=this.labels[s];if((e.label==null||a.name===e.label.name)&&(a.kind!=null&&(r||a.kind==="loop")||e.label&&r))break}return s===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},j.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},j.parseDoStatement=function(e){return this.next(),this.labels.push(gt),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(i._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(i.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},j.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(gt),this.enterScope(0),this.expect(i.parenL),this.type===i.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===i._var||this.type===i._const||r){var s=this.startNode(),a=r?"let":this.value;return this.next(),this.parseVar(s,!0,a),this.finishNode(s,"VariableDeclaration"),(this.type===i._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===i._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,s)):(t>-1&&this.unexpected(t),this.parseFor(e,s))}var h=this.isContextual("let"),c=!1,m=new Ge,y=this.parseExpression(t>-1?"await":!0,m);return this.type===i._in||(c=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===i._in?t>-1&&this.unexpected(t):e.await=t>-1),h&&c&&this.raise(y.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(y,!1,m),this.checkLValPattern(y),this.parseForIn(e,y)):(this.checkExpressionErrors(m,!0),t>-1&&this.unexpected(t),this.parseFor(e,y))},j.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ve|(r?0:xt),!1,t)},j.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(i._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},j.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(i.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},j.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(i.braceL),this.labels.push(Oa),this.enterScope(0);for(var t,r=!1;this.type!==i.braceR;)if(this.type===i._case||this.type===i._default){var s=this.type===i._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),s?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(i.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},j.parseThrowStatement=function(e){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var La=[];j.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===i._catch){var t=this.startNode();if(this.next(),this.eat(i.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?cr:0),this.checkLValPattern(t.param,r?dr:me),this.expect(i.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(i._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},j.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},j.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(gt),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},j.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},j.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},j.parseLabeledStatement=function(e,t,r,s){for(var a=0,h=this.labels;a<h.length;a+=1){var c=h[a];c.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var m=this.type.isLoop?"loop":this.type===i._switch?"switch":null,y=this.labels.length-1;y>=0;y--){var U=this.labels[y];if(U.statementStart===e.start)U.statementStart=this.start,U.kind=m;else break}return this.labels.push({name:t,kind:m,statementStart:this.start}),e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},j.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},j.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(i.braceL),e&&this.enterScope(0);this.type!==i.braceR;){var s=this.parseStatement(null);t.body.push(s)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},j.parseFor=function(e,t){return e.init=t,this.expect(i.semi),e.test=this.type===i.semi?null:this.parseExpression(),this.expect(i.semi),e.update=this.type===i.parenR?null:this.parseExpression(),this.expect(i.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},j.parseForIn=function(e,t){var r=this.type===i._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(i.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},j.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),this.eat(i.eq)?s.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===i._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():s.id.type!=="Identifier"&&!(t&&(this.type===i._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):s.init=null,e.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(i.comma))break}return e},j.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?vt:me,!1)};var Ve=1,xt=2,vr=4;j.parseFunction=function(e,t,r,s,a){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===i.star&&t&xt&&this.unexpected(),e.generator=this.eat(i.star)),this.options.ecmaVersion>=8&&(e.async=!!s),t&Ve&&(e.id=t&vr&&this.type!==i.name?null:this.parseIdent(),e.id&&!(t&xt)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?vt:me:fr));var h=this.yieldPos,c=this.awaitPos,m=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(mt(e.async,e.generator)),t&Ve||(e.id=this.type===i.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,a),this.yieldPos=h,this.awaitPos=c,this.awaitIdentPos=m,this.finishNode(e,t&Ve?"FunctionDeclaration":"FunctionExpression")},j.parseFunctionParams=function(e){this.expect(i.parenL),e.params=this.parseBindingList(i.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},j.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var s=this.enterClassBody(),a=this.startNode(),h=!1;for(a.body=[],this.expect(i.braceL);this.type!==i.braceR;){var c=this.parseClassElement(e.superClass!==null);c&&(a.body.push(c),c.type==="MethodDefinition"&&c.kind==="constructor"?(h&&this.raise(c.start,"Duplicate constructor in the same class"),h=!0):c.key&&c.key.type==="PrivateIdentifier"&&Va(s,c)&&this.raiseRecoverable(c.key.start,"Identifier '#"+c.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(a,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},j.parseClassElement=function(e){if(this.eat(i.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),s="",a=!1,h=!1,c="method",m=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(i.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===i.star?m=!0:s="static"}if(r.static=m,!s&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===i.star)&&!this.canInsertSemicolon()?h=!0:s="async"),!s&&(t>=9||!h)&&this.eat(i.star)&&(a=!0),!s&&!h&&!a){var y=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?c=y:s=y)}if(s?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=s,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===i.parenL||c!=="method"||a||h){var U=!r.static&&Ke(r,"constructor"),W=U&&e;U&&c!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=U?"constructor":c,this.parseClassMethod(r,a,h,W)}else this.parseClassField(r);return r},j.isClassElementNameStart=function(){return this.type===i.name||this.type===i.privateId||this.type===i.num||this.type===i.string||this.type===i.bracketL||this.type.keyword},j.parseClassElementName=function(e){this.type===i.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},j.parseClassMethod=function(e,t,r,s){var a=e.key;e.kind==="constructor"?(t&&this.raise(a.start,"Constructor can't be a generator"),r&&this.raise(a.start,"Constructor can't be an async method")):e.static&&Ke(e,"prototype")&&this.raise(a.start,"Classes may not have a static property named prototype");var h=e.value=this.parseMethod(t,r,s);return e.kind==="get"&&h.params.length!==0&&this.raiseRecoverable(h.start,"getter should have no params"),e.kind==="set"&&h.params.length!==1&&this.raiseRecoverable(h.start,"setter should have exactly one param"),e.kind==="set"&&h.params[0].type==="RestElement"&&this.raiseRecoverable(h.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},j.parseClassField=function(e){if(Ke(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ke(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(i.eq)){var t=this.currentThisScope(),r=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},j.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Le|ft);this.type!==i.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},j.parseClassId=function(e,t){this.type===i.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,me,!1)):(t===!0&&this.unexpected(),e.id=null)},j.parseClassSuper=function(e){e.superClass=this.eat(i._extends)?this.parseExprSubscripts(!1):null},j.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},j.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,r=e.used,s=this.privateNameStack.length,a=s===0?null:this.privateNameStack[s-1],h=0;h<r.length;++h){var c=r[h];O(t,c.name)||(a?a.used.push(c):this.raiseRecoverable(c.start,"Private field '#"+c.name+"' must be declared in an enclosing class"))}};function Va(e,t){var r=t.key.name,s=e[r],a="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(a=(t.static?"s":"i")+t.kind),s==="iget"&&a==="iset"||s==="iset"&&a==="iget"||s==="sget"&&a==="sset"||s==="sset"&&a==="sget"?(e[r]="true",!1):s?!0:(e[r]=a,!1)}function Ke(e,t){var r=e.computed,s=e.key;return!r&&(s.type==="Identifier"&&s.name===t||s.type==="Literal"&&s.value===t)}j.parseExport=function(e,t){if(this.next(),this.eat(i.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==i.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(i._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===i._function||(r=this.isAsyncFunction())){var s=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(s,Ve|vr,!1,r)}else if(this.type===i._class){var a=this.startNode();e.declaration=this.parseClass(a,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==i.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var h=0,c=e.specifiers;h<c.length;h+=1){var m=c[h];this.checkUnreserved(m.local),this.checkLocalExport(m.local),m.local.type==="Literal"&&this.raise(m.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},j.checkExport=function(e,t,r){!e||(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),O(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},j.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var s=0,a=t.properties;s<a.length;s+=1){var h=a[s];this.checkPatternExport(e,h)}else if(r==="ArrayPattern")for(var c=0,m=t.elements;c<m.length;c+=1){var y=m[c];y&&this.checkPatternExport(e,y)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"?this.checkPatternExport(e,t.argument):r==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)},j.checkVariableExport=function(e,t){if(!!e)for(var r=0,s=t;r<s.length;r+=1){var a=s[r];this.checkPatternExport(e,a.id)}},j.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},j.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(i.braceL);!this.eat(i.braceR);){if(r)r=!1;else if(this.expect(i.comma),this.afterTrailingComma(i.braceR))break;var s=this.startNode();s.local=this.parseModuleExportName(),s.exported=this.eatContextual("as")?this.parseModuleExportName():s.local,this.checkExport(e,s.exported,s.exported.start),t.push(this.finishNode(s,"ExportSpecifier"))}return t},j.parseImport=function(e){return this.next(),this.type===i.string?(e.specifiers=La,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===i.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},j.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===i.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLValSimple(r.local,me),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(i.comma))return e}if(this.type===i.star){var s=this.startNode();return this.next(),this.expectContextual("as"),s.local=this.parseIdent(),this.checkLValSimple(s.local,me),e.push(this.finishNode(s,"ImportNamespaceSpecifier")),e}for(this.expect(i.braceL);!this.eat(i.braceR);){if(t)t=!1;else if(this.expect(i.comma),this.afterTrailingComma(i.braceR))break;var a=this.startNode();a.imported=this.parseModuleExportName(),this.eatContextual("as")?a.local=this.parseIdent():(this.checkUnreserved(a.imported),a.local=a.imported),this.checkLValSimple(a.local,me),e.push(this.finishNode(a,"ImportSpecifier"))}return e},j.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===i.string){var e=this.parseLiteral(this.value);return X.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},j.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},j.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var he=$.prototype;he.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var s=0,a=e.properties;s<a.length;s+=1){var h=a[s];this.toAssignable(h,t),h.type==="RestElement"&&(h.argument.type==="ArrayPattern"||h.argument.type==="ObjectPattern")&&this.raise(h.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},he.toAssignableList=function(e,t){for(var r=e.length,s=0;s<r;s++){var a=e[s];a&&this.toAssignable(a,t)}if(r){var h=e[r-1];this.options.ecmaVersion===6&&t&&h&&h.type==="RestElement"&&h.argument.type!=="Identifier"&&this.unexpected(h.argument.start)}return e},he.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},he.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==i.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},he.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case i.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(i.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case i.braceL:return this.parseObj(!0)}return this.parseIdent()},he.parseBindingList=function(e,t,r){for(var s=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(i.comma),t&&this.type===i.comma)s.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===i.ellipsis){var h=this.parseRestBinding();this.parseBindingListItem(h),s.push(h),this.type===i.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var c=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(c),s.push(c)}}return s},he.parseBindingListItem=function(e){return e},he.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(i.eq))return r;var s=this.startNodeAt(e,t);return s.left=r,s.right=this.parseMaybeAssign(),this.finishNode(s,"AssignmentPattern")},he.checkLValSimple=function(e,t,r){t===void 0&&(t=We);var s=t!==We;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(s?"Binding ":"Assigning to ")+e.name+" in strict mode"),s&&(t===me&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(O(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==mr&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":s&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return s&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(s?"Binding":"Assigning to")+" rvalue")}},he.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=We),e.type){case"ObjectPattern":for(var s=0,a=e.properties;s<a.length;s+=1){var h=a[s];this.checkLValInnerPattern(h,t,r)}break;case"ArrayPattern":for(var c=0,m=e.elements;c<m.length;c+=1){var y=m[c];y&&this.checkLValInnerPattern(y,t,r)}break;default:this.checkLValSimple(e,t,r)}},he.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=We),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var ue=function(t,r,s,a,h){this.token=t,this.isExpr=!!r,this.preserveSpace=!!s,this.override=a,this.generator=!!h},Y={b_stat:new ue("{",!1),b_expr:new ue("{",!0),b_tmpl:new ue("${",!1),p_stat:new ue("(",!1),p_expr:new ue("(",!0),q_tmpl:new ue("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ue("function",!1),f_expr:new ue("function",!0),f_expr_gen:new ue("function",!0,!1,null,!0),f_gen:new ue("function",!1,!1,null,!0)},Fe=$.prototype;Fe.initialContext=function(){return[Y.b_stat]},Fe.curContext=function(){return this.context[this.context.length-1]},Fe.braceIsBlock=function(e){var t=this.curContext();return t===Y.f_expr||t===Y.f_stat?!0:e===i.colon&&(t===Y.b_stat||t===Y.b_expr)?!t.isExpr:e===i._return||e===i.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):e===i._else||e===i.semi||e===i.eof||e===i.parenR||e===i.arrow?!0:e===i.braceL?t===Y.b_stat:e===i._var||e===i._const||e===i.name?!1:!this.exprAllowed},Fe.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},Fe.updateContext=function(e){var t,r=this.type;r.keyword&&e===i.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},Fe.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},i.parenR.updateContext=i.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Y.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},i.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Y.b_stat:Y.b_expr),this.exprAllowed=!0},i.dollarBraceL.updateContext=function(){this.context.push(Y.b_tmpl),this.exprAllowed=!0},i.parenL.updateContext=function(e){var t=e===i._if||e===i._for||e===i._with||e===i._while;this.context.push(t?Y.p_stat:Y.p_expr),this.exprAllowed=!0},i.incDec.updateContext=function(){},i._function.updateContext=i._class.updateContext=function(e){e.beforeExpr&&e!==i._else&&!(e===i.semi&&this.curContext()!==Y.p_stat)&&!(e===i._return&&w.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===i.colon||e===i.braceL)&&this.curContext()===Y.b_stat)?this.context.push(Y.f_expr):this.context.push(Y.f_stat),this.exprAllowed=!1},i.backQuote.updateContext=function(){this.curContext()===Y.q_tmpl?this.context.pop():this.context.push(Y.q_tmpl),this.exprAllowed=!1},i.star.updateContext=function(e){if(e===i._function){var t=this.context.length-1;this.context[t]===Y.f_expr?this.context[t]=Y.f_expr_gen:this.context[t]=Y.f_gen}this.exprAllowed=!0},i.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==i.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var z=$.prototype;z.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var s=e.key,a;switch(s.type){case"Identifier":a=s.name;break;case"Literal":a=String(s.value);break;default:return}var h=e.kind;if(this.options.ecmaVersion>=6){a==="__proto__"&&h==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=s.start):this.raiseRecoverable(s.start,"Redefinition of __proto__ property")),t.proto=!0);return}a="$"+a;var c=t[a];if(c){var m;h==="init"?m=this.strict&&c.init||c.get||c.set:m=c.init||c[h],m&&this.raiseRecoverable(s.start,"Redefinition of property")}else c=t[a]={init:!1,get:!1,set:!1};c[h]=!0}},z.parseExpression=function(e,t){var r=this.start,s=this.startLoc,a=this.parseMaybeAssign(e,t);if(this.type===i.comma){var h=this.startNodeAt(r,s);for(h.expressions=[a];this.eat(i.comma);)h.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(h,"SequenceExpression")}return a},z.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var s=!1,a=-1,h=-1,c=-1;t?(a=t.parenthesizedAssign,h=t.trailingComma,c=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Ge,s=!0);var m=this.start,y=this.startLoc;(this.type===i.parenL||this.type===i.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var U=this.parseMaybeConditional(e,t);if(r&&(U=r.call(this,U,m,y)),this.type.isAssign){var W=this.startNodeAt(m,y);return W.operator=this.value,this.type===i.eq&&(U=this.toAssignable(U,!1,t)),s||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=U.start&&(t.shorthandAssign=-1),this.type===i.eq?this.checkLValPattern(U):this.checkLValSimple(U),W.left=U,this.next(),W.right=this.parseMaybeAssign(e),c>-1&&(t.doubleProto=c),this.finishNode(W,"AssignmentExpression")}else s&&this.checkExpressionErrors(t,!0);return a>-1&&(t.parenthesizedAssign=a),h>-1&&(t.trailingComma=h),U},z.parseMaybeConditional=function(e,t){var r=this.start,s=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(this.eat(i.question)){var h=this.startNodeAt(r,s);return h.test=a,h.consequent=this.parseMaybeAssign(),this.expect(i.colon),h.alternate=this.parseMaybeAssign(e),this.finishNode(h,"ConditionalExpression")}return a},z.parseExprOps=function(e,t){var r=this.start,s=this.startLoc,a=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||a.start===r&&a.type==="ArrowFunctionExpression"?a:this.parseExprOp(a,r,s,-1,e)},z.parseExprOp=function(e,t,r,s,a){var h=this.type.binop;if(h!=null&&(!a||this.type!==i._in)&&h>s){var c=this.type===i.logicalOR||this.type===i.logicalAND,m=this.type===i.coalesce;m&&(h=i.logicalAND.binop);var y=this.value;this.next();var U=this.start,W=this.startLoc,ie=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,a),U,W,h,a),_e=this.buildBinary(t,r,e,ie,y,c||m);return(c&&this.type===i.coalesce||m&&(this.type===i.logicalOR||this.type===i.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(_e,t,r,s,a)}return e},z.buildBinary=function(e,t,r,s,a,h){s.type==="PrivateIdentifier"&&this.raise(s.start,"Private identifier can only be left side of binary expression");var c=this.startNodeAt(e,t);return c.left=r,c.operator=a,c.right=s,this.finishNode(c,h?"LogicalExpression":"BinaryExpression")},z.parseMaybeUnary=function(e,t,r,s){var a=this.start,h=this.startLoc,c;if(this.isContextual("await")&&this.canAwait)c=this.parseAwait(s),t=!0;else if(this.type.prefix){var m=this.startNode(),y=this.type===i.incDec;m.operator=this.value,m.prefix=!0,this.next(),m.argument=this.parseMaybeUnary(null,!0,y,s),this.checkExpressionErrors(e,!0),y?this.checkLValSimple(m.argument):this.strict&&m.operator==="delete"&&m.argument.type==="Identifier"?this.raiseRecoverable(m.start,"Deleting local variable in strict mode"):m.operator==="delete"&&gr(m.argument)?this.raiseRecoverable(m.start,"Private fields can not be deleted"):t=!0,c=this.finishNode(m,y?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===i.privateId)(s||this.privateNameStack.length===0)&&this.unexpected(),c=this.parsePrivateIdent(),this.type!==i._in&&this.unexpected();else{if(c=this.parseExprSubscripts(e,s),this.checkExpressionErrors(e))return c;for(;this.type.postfix&&!this.canInsertSemicolon();){var U=this.startNodeAt(a,h);U.operator=this.value,U.prefix=!1,U.argument=c,this.checkLValSimple(c),this.next(),c=this.finishNode(U,"UpdateExpression")}}if(!r&&this.eat(i.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(a,h,c,this.parseMaybeUnary(null,!1,!1,s),"**",!1);else return c};function gr(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&gr(e.expression)}z.parseExprSubscripts=function(e,t){var r=this.start,s=this.startLoc,a=this.parseExprAtom(e,t);if(a.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return a;var h=this.parseSubscripts(a,r,s,!1,t);return e&&h.type==="MemberExpression"&&(e.parenthesizedAssign>=h.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=h.start&&(e.parenthesizedBind=-1),e.trailingComma>=h.start&&(e.trailingComma=-1)),h},z.parseSubscripts=function(e,t,r,s,a){for(var h=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,c=!1;;){var m=this.parseSubscript(e,t,r,s,h,c,a);if(m.optional&&(c=!0),m===e||m.type==="ArrowFunctionExpression"){if(c){var y=this.startNodeAt(t,r);y.expression=m,m=this.finishNode(y,"ChainExpression")}return m}e=m}},z.parseSubscript=function(e,t,r,s,a,h,c){var m=this.options.ecmaVersion>=11,y=m&&this.eat(i.questionDot);s&&y&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var U=this.eat(i.bracketL);if(U||y&&this.type!==i.parenL&&this.type!==i.backQuote||this.eat(i.dot)){var W=this.startNodeAt(t,r);W.object=e,U?(W.property=this.parseExpression(),this.expect(i.bracketR)):this.type===i.privateId&&e.type!=="Super"?W.property=this.parsePrivateIdent():W.property=this.parseIdent(this.options.allowReserved!=="never"),W.computed=!!U,m&&(W.optional=y),e=this.finishNode(W,"MemberExpression")}else if(!s&&this.eat(i.parenL)){var ie=new Ge,_e=this.yieldPos,qe=this.awaitPos,Be=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Qe=this.parseExprList(i.parenR,this.options.ecmaVersion>=8,!1,ie);if(a&&!y&&!this.canInsertSemicolon()&&this.eat(i.arrow))return this.checkPatternErrors(ie,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=_e,this.awaitPos=qe,this.awaitIdentPos=Be,this.parseArrowExpression(this.startNodeAt(t,r),Qe,!0,c);this.checkExpressionErrors(ie,!0),this.yieldPos=_e||this.yieldPos,this.awaitPos=qe||this.awaitPos,this.awaitIdentPos=Be||this.awaitIdentPos;var Te=this.startNodeAt(t,r);Te.callee=e,Te.arguments=Qe,m&&(Te.optional=y),e=this.finishNode(Te,"CallExpression")}else if(this.type===i.backQuote){(y||h)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Ie=this.startNodeAt(t,r);Ie.tag=e,Ie.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(Ie,"TaggedTemplateExpression")}return e},z.parseExprAtom=function(e,t){this.type===i.slash&&this.readRegexp();var r,s=this.potentialArrowAt===this.start;switch(this.type){case i._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type===i.parenL&&!this.allowDirectSuper&&this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==i.dot&&this.type!==i.bracketL&&this.type!==i.parenL&&this.unexpected(),this.finishNode(r,"Super");case i._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case i.name:var a=this.start,h=this.startLoc,c=this.containsEsc,m=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!c&&m.name==="async"&&!this.canInsertSemicolon()&&this.eat(i._function))return this.overrideContext(Y.f_expr),this.parseFunction(this.startNodeAt(a,h),0,!1,!0,t);if(s&&!this.canInsertSemicolon()){if(this.eat(i.arrow))return this.parseArrowExpression(this.startNodeAt(a,h),[m],!1,t);if(this.options.ecmaVersion>=8&&m.name==="async"&&this.type===i.name&&!c&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return m=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(i.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,h),[m],!0,t)}return m;case i.regexp:var y=this.value;return r=this.parseLiteral(y.value),r.regex={pattern:y.pattern,flags:y.flags},r;case i.num:case i.string:return this.parseLiteral(this.value);case i._null:case i._true:case i._false:return r=this.startNode(),r.value=this.type===i._null?null:this.type===i._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case i.parenL:var U=this.start,W=this.parseParenAndDistinguishExpression(s,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(W)&&(e.parenthesizedAssign=U),e.parenthesizedBind<0&&(e.parenthesizedBind=U)),W;case i.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(i.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case i.braceL:return this.overrideContext(Y.b_expr),this.parseObj(!1,e);case i._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case i._class:return this.parseClass(this.startNode(),!1);case i._new:return this.parseNew();case i.backQuote:return this.parseTemplate();case i._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},z.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case i.parenL:return this.parseDynamicImport(e);case i.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(i.parenR)){var t=this.start;this.eat(i.comma)&&this.eat(i.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},z.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},z.parseParenExpression=function(){this.expect(i.parenL);var e=this.parseExpression();return this.expect(i.parenR),e},z.parseParenAndDistinguishExpression=function(e,t){var r=this.start,s=this.startLoc,a,h=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var c=this.start,m=this.startLoc,y=[],U=!0,W=!1,ie=new Ge,_e=this.yieldPos,qe=this.awaitPos,Be;for(this.yieldPos=0,this.awaitPos=0;this.type!==i.parenR;)if(U?U=!1:this.expect(i.comma),h&&this.afterTrailingComma(i.parenR,!0)){W=!0;break}else if(this.type===i.ellipsis){Be=this.start,y.push(this.parseParenItem(this.parseRestBinding())),this.type===i.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else y.push(this.parseMaybeAssign(!1,ie,this.parseParenItem));var Qe=this.lastTokEnd,Te=this.lastTokEndLoc;if(this.expect(i.parenR),e&&!this.canInsertSemicolon()&&this.eat(i.arrow))return this.checkPatternErrors(ie,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=_e,this.awaitPos=qe,this.parseParenArrowList(r,s,y,t);(!y.length||W)&&this.unexpected(this.lastTokStart),Be&&this.unexpected(Be),this.checkExpressionErrors(ie,!0),this.yieldPos=_e||this.yieldPos,this.awaitPos=qe||this.awaitPos,y.length>1?(a=this.startNodeAt(c,m),a.expressions=y,this.finishNodeAt(a,"SequenceExpression",Qe,Te)):a=y[0]}else a=this.parseParenExpression();if(this.options.preserveParens){var Ie=this.startNodeAt(r,s);return Ie.expression=a,this.finishNode(Ie,"ParenthesizedExpression")}else return a},z.parseParenItem=function(e){return e},z.parseParenArrowList=function(e,t,r,s){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,s)};var Ra=[];z.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(i.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var s=this.start,a=this.startLoc,h=this.type===i._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),s,a,!0,!1),h&&e.callee.type==="ImportExpression"&&this.raise(s,"Cannot use new with import()"),this.eat(i.parenL)?e.arguments=this.parseExprList(i.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Ra,this.finishNode(e,"NewExpression")},z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===i.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
21
- `),cooked:this.value},this.next(),r.tail=this.type===i.backQuote,this.finishNode(r,"TemplateElement")},z.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var s=this.parseTemplateElement({isTagged:t});for(r.quasis=[s];!s.tail;)this.type===i.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(i.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(i.braceR),r.quasis.push(s=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},z.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===i.name||this.type===i.num||this.type===i.string||this.type===i.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===i.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},z.parseObj=function(e,t){var r=this.startNode(),s=!0,a={};for(r.properties=[],this.next();!this.eat(i.braceR);){if(s)s=!1;else if(this.expect(i.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(i.braceR))break;var h=this.parseProperty(e,t);e||this.checkPropClash(h,a,t),r.properties.push(h)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},z.parseProperty=function(e,t){var r=this.startNode(),s,a,h,c;if(this.options.ecmaVersion>=9&&this.eat(i.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===i.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===i.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(h=this.start,c=this.startLoc),e||(s=this.eat(i.star)));var m=this.containsEsc;return this.parsePropertyName(r),!e&&!m&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(r)?(a=!0,s=this.options.ecmaVersion>=9&&this.eat(i.star),this.parsePropertyName(r,t)):a=!1,this.parsePropertyValue(r,e,s,a,h,c,t,m),this.finishNode(r,"Property")},z.parsePropertyValue=function(e,t,r,s,a,h,c,m){if((r||s)&&this.type===i.colon&&this.unexpected(),this.eat(i.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,c),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===i.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,s);else if(!t&&!m&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==i.comma&&this.type!==i.braceR&&this.type!==i.eq){(r||s)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var y=e.kind==="get"?0:1;if(e.value.params.length!==y){var U=e.value.start;e.kind==="get"?this.raiseRecoverable(U,"getter should have no params"):this.raiseRecoverable(U,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||s)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=a),e.kind="init",t?e.value=this.parseMaybeDefault(a,h,this.copyNode(e.key)):this.type===i.eq&&c?(c.shorthandAssign<0&&(c.shorthandAssign=this.start),e.value=this.parseMaybeDefault(a,h,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()},z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(i.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(i.bracketR),e.key;e.computed=!1}return e.key=this.type===i.num||this.type===i.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},z.parseMethod=function(e,t,r){var s=this.startNode(),a=this.yieldPos,h=this.awaitPos,c=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=e),this.options.ecmaVersion>=8&&(s.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(mt(t,s.generator)|ft|(r?pr:0)),this.expect(i.parenL),s.params=this.parseBindingList(i.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=a,this.awaitPos=h,this.awaitIdentPos=c,this.finishNode(s,"FunctionExpression")},z.parseArrowExpression=function(e,t,r,s){var a=this.yieldPos,h=this.awaitPos,c=this.awaitIdentPos;return this.enterScope(mt(r,!1)|lr),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,s),this.yieldPos=a,this.awaitPos=h,this.awaitIdentPos=c,this.finishNode(e,"ArrowFunctionExpression")},z.parseFunctionBody=function(e,t,r,s){var a=t&&this.type!==i.braceL,h=this.strict,c=!1;if(a)e.body=this.parseMaybeAssign(s),e.expression=!0,this.checkParams(e,!1);else{var m=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!h||m)&&(c=this.strictDirective(this.end),c&&m&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var y=this.labels;this.labels=[],c&&(this.strict=!0),this.checkParams(e,!h&&!c&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,mr),e.body=this.parseBlock(!1,void 0,c&&!h),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=y}this.exitScope()},z.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var s=r[t];if(s.type!=="Identifier")return!1}return!0},z.checkParams=function(e,t){for(var r=Object.create(null),s=0,a=e.params;s<a.length;s+=1){var h=a[s];this.checkLValInnerPattern(h,vt,t?null:r)}},z.parseExprList=function(e,t,r,s){for(var a=[],h=!0;!this.eat(e);){if(h)h=!1;else if(this.expect(i.comma),t&&this.afterTrailingComma(e))break;var c=void 0;r&&this.type===i.comma?c=null:this.type===i.ellipsis?(c=this.parseSpread(s),s&&this.type===i.comma&&s.trailingComma<0&&(s.trailingComma=this.start)):c=this.parseMaybeAssign(!1,s),a.push(c)}return a},z.checkUnreserved=function(e){var t=e.start,r=e.end,s=e.name;if(this.inGenerator&&s==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&s==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&s==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(s==="arguments"||s==="await")&&this.raise(t,"Cannot use "+s+" in class static initialization block"),this.keywords.test(s)&&this.raise(t,"Unexpected keyword '"+s+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var a=this.strict?this.reservedWordsStrict:this.reservedWords;a.test(s)&&(!this.inAsync&&s==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+s+"' is reserved"))}},z.parseIdent=function(e,t){var r=this.startNode();return this.type===i.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,(r.name==="class"||r.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),r.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=r.start)),r},z.parsePrivateIdent=function(){var e=this.startNode();return this.type===i.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e),e},z.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===i.semi||this.canInsertSemicolon()||this.type!==i.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(i.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},z.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var He=$.prototype;He.raise=function(e,t){var r=ne(this.input,e);t+=" ("+r.line+":"+r.column+")";var s=new SyntaxError(t);throw s.pos=e,s.loc=r,s.raisedAt=this.pos,s},He.raiseRecoverable=He.raise,He.curPosition=function(){if(this.options.locations)return new K(this.curLine,this.pos-this.lineStart)};var ye=$.prototype,ja=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};ye.enterScope=function(e){this.scopeStack.push(new ja(e))},ye.exitScope=function(){this.scopeStack.pop()},ye.treatFunctionsAsVarInScope=function(e){return e.flags&xe||!this.inModule&&e.flags&be},ye.declareName=function(e,t,r){var s=!1;if(t===me){var a=this.currentScope();s=a.lexical.indexOf(e)>-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1,a.lexical.push(e),this.inModule&&a.flags&be&&delete this.undefinedExports[e]}else if(t===dr){var h=this.currentScope();h.lexical.push(e)}else if(t===fr){var c=this.currentScope();this.treatFunctionsAsVar?s=c.lexical.indexOf(e)>-1:s=c.lexical.indexOf(e)>-1||c.var.indexOf(e)>-1,c.functions.push(e)}else for(var m=this.scopeStack.length-1;m>=0;--m){var y=this.scopeStack[m];if(y.lexical.indexOf(e)>-1&&!(y.flags&cr&&y.lexical[0]===e)||!this.treatFunctionsAsVarInScope(y)&&y.functions.indexOf(e)>-1){s=!0;break}if(y.var.push(e),this.inModule&&y.flags&be&&delete this.undefinedExports[e],y.flags&dt)break}s&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ye.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ye.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ye.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&dt)return t}},ye.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&dt&&!(t.flags&lr))return t}};var Re=function(t,r,s){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new re(t,s)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},je=$.prototype;je.startNode=function(){return new Re(this,this.start,this.startLoc)},je.startNodeAt=function(e,t){return new Re(this,e,t)};function xr(e,t,r,s){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=s),this.options.ranges&&(e.range[1]=r),e}je.finishNode=function(e,t){return xr.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},je.finishNodeAt=function(e,t,r,s){return xr.call(this,e,t,r,s)},je.copyNode=function(e){var t=new Re(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var yr="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Ar=yr+" Extended_Pictographic",Cr=Ar,Er=Cr+" EBase EComp EMod EPres ExtPict",qa=Er,Ma={9:yr,10:Ar,11:Cr,12:Er,13:qa},br="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",_r="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Sr=_r+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",wr=Sr+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",kr=wr+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Ua=kr+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",za={9:_r,10:Sr,11:wr,12:kr,13:Ua},Fr={};function Wa(e){var t=Fr[e]={binary:f(Ma[e]+" "+br),nonBinary:{General_Category:f(br),Script:f(za[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var yt=0,Br=[9,10,11,12,13];yt<Br.length;yt+=1){var Ga=Br[yt];Wa(Ga)}var V=$.prototype,ve=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":""),this.unicodeProperties=Fr[t.options.ecmaVersion>=13?13:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};ve.prototype.reset=function(t,r,s){var a=s.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=s,this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchN=a&&this.parser.options.ecmaVersion>=9},ve.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},ve.prototype.at=function(t,r){r===void 0&&(r=!1);var s=this.source,a=s.length;if(t>=a)return-1;var h=s.charCodeAt(t);if(!(r||this.switchU)||h<=55295||h>=57344||t+1>=a)return h;var c=s.charCodeAt(t+1);return c>=56320&&c<=57343?(h<<10)+c-56613888:h},ve.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var s=this.source,a=s.length;if(t>=a)return a;var h=s.charCodeAt(t),c;return!(r||this.switchU)||h<=55295||h>=57344||t+1>=a||(c=s.charCodeAt(t+1))<56320||c>57343?t+1:t+2},ve.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)},ve.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},ve.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)},ve.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1},V.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,s=0;s<r.length;s++){var a=r.charAt(s);t.indexOf(a)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(a,s+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},V.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},V.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var s=r[t];e.groupNames.indexOf(s)===-1&&e.raise("Invalid named capture referenced")}},V.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},V.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},V.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},V.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},V.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},V.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},V.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var s=0,a=-1;if(this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue),e.eat(125)))return a!==-1&&a<s&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},V.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},V.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},V.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},V.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},V.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},V.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},V.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Tr(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Tr(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}V.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Tr(r);)e.advance();return e.pos!==t},V.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},V.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},V.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},V.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=C(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=C(e.lastIntValue);return!0}return!1},V.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,s=e.current(r);return e.advance(r),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(s=e.lastIntValue),Ka(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Ka(e){return d(e,!0)||e===36||e===95}V.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,s=e.current(r);return e.advance(r),s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(s=e.lastIntValue),Ha(s)?(e.lastIntValue=s,!0):(e.pos=t,!1)};function Ha(e){return L(e,!0)||e===36||e===95||e===8204||e===8205}V.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},V.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},V.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},V.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},V.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},V.regexp_eatZero=function(e){return e.current()===48&&!Xe(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},V.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},V.regexp_eatControlLetter=function(e){var t=e.current();return Ir(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Ir(e){return e>=65&&e<=90||e>=97&&e<=122}V.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(s&&a>=55296&&a<=56319){var h=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var c=e.lastIntValue;if(c>=56320&&c<=57343)return e.lastIntValue=(a-55296)*1024+(c-56320)+65536,!0}e.pos=h,e.lastIntValue=a}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Xa(e.lastIntValue))return!0;s&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function Xa(e){return e>=0&&e<=1114111}V.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},V.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},V.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Ja(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function Ja(e){return e===100||e===68||e===115||e===83||e===119||e===87}V.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,s),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,a),!0}return!1},V.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){O(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},V.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},V.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Pr(t=e.current());)e.lastStringValue+=C(t),e.advance();return e.lastStringValue!==""};function Pr(e){return Ir(e)||e===95}V.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Qa(t=e.current());)e.lastStringValue+=C(t),e.advance();return e.lastStringValue!==""};function Qa(e){return Pr(e)||Xe(e)}V.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},V.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},V.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},V.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Or(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var s=e.current();return s!==93?(e.lastIntValue=s,e.advance(),!0):!1},V.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},V.regexp_eatClassControlLetter=function(e){var t=e.current();return Xe(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},V.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},V.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Xe(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Xe(e){return e>=48&&e<=57}V.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Nr(r=e.current());)e.lastIntValue=16*e.lastIntValue+Dr(r),e.advance();return e.pos!==t};function Nr(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Dr(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}V.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},V.regexp_eatOctalDigit=function(e){var t=e.current();return Or(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Or(e){return e>=48&&e<=55}V.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var s=0;s<t;++s){var a=e.current();if(!Nr(a))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Dr(a),e.advance()}return!0};var Je=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new re(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},G=$.prototype;G.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Je(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},G.getToken=function(){return this.next(),new Je(this)},typeof Symbol<"u"&&(G[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===i.eof,value:t}}}}),G.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(i.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},G.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},G.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},G.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var s=void 0,a=t;(s=ee(this.input,a,this.pos))>-1;)++this.curLine,a=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},G.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!M(s);)s=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},G.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&oe.test(String.fromCharCode(e)))++this.pos;else break e}}},G.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},G.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(i.ellipsis)):(++this.pos,this.finishToken(i.dot))},G.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(i.assign,2):this.finishOp(i.slash,1)},G.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,s=e===42?i.star:i.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,s=i.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(i.assign,r+1):this.finishOp(s,r)},G.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(i.assign,3)}return this.finishOp(e===124?i.logicalOR:i.logicalAND,2)}return t===61?this.finishOp(i.assign,2):this.finishOp(e===124?i.bitwiseOR:i.bitwiseAND,1)},G.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(i.assign,2):this.finishOp(i.bitwiseXOR,1)},G.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||w.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(i.incDec,2):t===61?this.finishOp(i.assign,2):this.finishOp(i.plusMin,1)},G.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(i.assign,r+1):this.finishOp(i.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(i.relational,r))},G.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(i.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(i.arrow)):this.finishOp(e===61?i.eq:i.prefix,1)},G.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(i.questionDot,2)}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61)return this.finishOp(i.assign,3)}return this.finishOp(i.coalesce,2)}}return this.finishOp(i.question,1)},G.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),d(t,!0)||t===92))return this.finishToken(i.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+C(t)+"'")},G.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(i.parenL);case 41:return++this.pos,this.finishToken(i.parenR);case 59:return++this.pos,this.finishToken(i.semi);case 44:return++this.pos,this.finishToken(i.comma);case 91:return++this.pos,this.finishToken(i.bracketL);case 93:return++this.pos,this.finishToken(i.bracketR);case 123:return++this.pos,this.finishToken(i.braceL);case 125:return++this.pos,this.finishToken(i.braceR);case 58:return++this.pos,this.finishToken(i.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(i.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(i.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+C(e)+"'")},G.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},G.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(w.test(s)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(s==="[")t=!0;else if(s==="]"&&t)t=!1;else if(s==="/"&&!t)break;e=s==="\\"}++this.pos}var a=this.input.slice(r,this.pos);++this.pos;var h=this.pos,c=this.readWord1();this.containsEsc&&this.unexpected(h);var m=this.regexpState||(this.regexpState=new ve(this));m.reset(r,a,c),this.validateRegExpFlags(m),this.validateRegExpPattern(m);var y=null;try{y=new RegExp(a,c)}catch{}return this.finishToken(i.regexp,{pattern:a,flags:c,value:y})},G.readInt=function(e,t,r){for(var s=this.options.ecmaVersion>=12&&t===void 0,a=r&&this.input.charCodeAt(this.pos)===48,h=this.pos,c=0,m=0,y=0,U=t==null?1/0:t;y<U;++y,++this.pos){var W=this.input.charCodeAt(this.pos),ie=void 0;if(s&&W===95){a&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),m===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),y===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),m=W;continue}if(W>=97?ie=W-97+10:W>=65?ie=W-65+10:W>=48&&W<=57?ie=W-48:ie=1/0,ie>=e)break;m=W,c=c*e+ie}return s&&m===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===h||t!=null&&this.pos-h!==t?null:c};function Ya(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Lr(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}G.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Lr(this.input.slice(t,this.pos)),++this.pos):d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(i.num,r)},G.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var s=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&s===110){var a=Lr(this.input.slice(t,this.pos));return++this.pos,d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(i.num,a)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),s===46&&!r&&(++this.pos,this.readInt(10),s=this.input.charCodeAt(this.pos)),(s===69||s===101)&&!r&&(s=this.input.charCodeAt(++this.pos),(s===43||s===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var h=Ya(this.input.slice(t,this.pos),r);return this.finishToken(i.num,h)},G.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},G.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===e)break;s===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):s===8232||s===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(M(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(i.string,t)};var Vr={};G.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Vr)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},G.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Vr;this.raise(e,t)},G.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===i.template||this.type===i.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(i.dollarBraceL)):(++this.pos,this.finishToken(i.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(i.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(M(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
22
- `;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},G.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(i.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},G.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
23
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return C(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],a=parseInt(s,8);return a>255&&(s=s.slice(0,-1),a=parseInt(s,8)),this.pos+=s.length-1,t=this.input.charCodeAt(this.pos),(s!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(a)}return M(t)?"":String.fromCharCode(t)}},G.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},G.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,s=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=this.fullCharCodeAtPos();if(L(a,s))this.pos+=a<=65535?1:2;else if(a===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var h=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var c=this.readCodePoint();(t?d:L)(c,s)||this.invalidStringToken(h,"Invalid Unicode escape"),e+=C(c),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},G.readWord=function(){var e=this.readWord1(),t=i.name;return this.keywords.test(e)&&(t=H[e]),this.finishToken(t,e)};var Rr="8.8.0";$.acorn={Parser:$,version:Rr,defaultOptions:ce,Position:K,SourceLocation:re,getLineInfo:ne,Node:Re,TokenType:_,tokTypes:i,keywordTypes:H,TokContext:ue,tokContexts:Y,isIdentifierChar:L,isIdentifierStart:d,Token:Je,isNewLine:M,lineBreak:w,lineBreakG:I,nonASCIIwhitespace:oe};function $a(e,t){return $.parse(e,t)}function Za(e,t,r){return $.parseExpressionAt(e,t,r)}function en(e,t){return $.tokenizer(e,t)}u.Node=Re,u.Parser=$,u.Position=K,u.SourceLocation=re,u.TokContext=ue,u.Token=Je,u.TokenType=_,u.defaultOptions=ce,u.getLineInfo=ne,u.isIdentifierChar=L,u.isIdentifierStart=d,u.isNewLine=M,u.keywordTypes=H,u.lineBreak=w,u.lineBreakG=I,u.nonASCIIwhitespace=oe,u.parse=$a,u.parseExpressionAt=Za,u.tokContexts=Y,u.tokTypes=i,u.tokenizer=en,u.version=Rr,Object.defineProperty(u,"__esModule",{value:!0})})}}),_h=Q({"node_modules/acorn-jsx/xhtml.js"(n,o){J(),o.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}}}),Pa=Q({"node_modules/acorn-jsx/index.js"(n,o){"use strict";J();var u=_h(),l=/^[\da-fA-F]+$/,v=/^\d+$/,E=new WeakMap;function x(g){g=g.Parser.acorn||g;let N=E.get(g);if(!N){let q=g.tokTypes,T=g.TokContext,D=g.TokenType,d=new T("<tag",!1),L=new T("</tag",!1),_=new T("<tag>...</tag>",!0,!0),F={tc_oTag:d,tc_cTag:L,tc_expr:_},B={jsxName:new D("jsxName"),jsxText:new D("jsxText",{beforeExpr:!0}),jsxTagStart:new D("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new D("jsxTagEnd")};B.jsxTagStart.updateContext=function(){this.context.push(_),this.context.push(d),this.exprAllowed=!1},B.jsxTagEnd.updateContext=function(A){let H=this.context.pop();H===d&&A===q.slash||H===L?(this.context.pop(),this.exprAllowed=this.curContext()===_):this.exprAllowed=!0},N={tokContexts:F,tokTypes:B},E.set(g,N)}return N}function b(g){if(!g)return g;if(g.type==="JSXIdentifier")return g.name;if(g.type==="JSXNamespacedName")return g.namespace.name+":"+g.name.name;if(g.type==="JSXMemberExpression")return b(g.object)+"."+b(g.property)}o.exports=function(g){return g=g||{},function(N){return P({allowNamespaces:g.allowNamespaces!==!1,allowNamespacedObjects:!!g.allowNamespacedObjects},N)}},Object.defineProperty(o.exports,"tokTypes",{get:function(){return x(lt()).tokTypes},configurable:!0,enumerable:!0});function P(g,N){let q=N.acorn||lt(),T=x(q),D=q.tokTypes,d=T.tokTypes,L=q.tokContexts,_=T.tokContexts.tc_oTag,F=T.tokContexts.tc_cTag,B=T.tokContexts.tc_expr,A=q.isNewLine,H=q.isIdentifierStart,R=q.isIdentifierChar;return class extends N{static get acornJsx(){return T}jsx_readToken(){let i="",w=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let I=this.input.charCodeAt(this.pos);switch(I){case 60:case 123:return this.pos===this.start?I===60&&this.exprAllowed?(++this.pos,this.finishToken(d.jsxTagStart)):this.getTokenFromCode(I):(i+=this.input.slice(w,this.pos),this.finishToken(d.jsxText,i));case 38:i+=this.input.slice(w,this.pos),i+=this.jsx_readEntity(),w=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(I===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:A(I)?(i+=this.input.slice(w,this.pos),i+=this.jsx_readNewLine(!0),w=this.pos):++this.pos}}}jsx_readNewLine(i){let w=this.input.charCodeAt(this.pos),I;return++this.pos,w===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,I=i?`
24
- `:`\r
25
- `):I=String.fromCharCode(w),this.options.locations&&(++this.curLine,this.lineStart=this.pos),I}jsx_readString(i){let w="",I=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let M=this.input.charCodeAt(this.pos);if(M===i)break;M===38?(w+=this.input.slice(I,this.pos),w+=this.jsx_readEntity(),I=this.pos):A(M)?(w+=this.input.slice(I,this.pos),w+=this.jsx_readNewLine(!1),I=this.pos):++this.pos}return w+=this.input.slice(I,this.pos++),this.finishToken(D.string,w)}jsx_readEntity(){let i="",w=0,I,M=this.input[this.pos];M!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let ee=++this.pos;for(;this.pos<this.input.length&&w++<10;){if(M=this.input[this.pos++],M===";"){i[0]==="#"?i[1]==="x"?(i=i.substr(2),l.test(i)&&(I=String.fromCharCode(parseInt(i,16)))):(i=i.substr(1),v.test(i)&&(I=String.fromCharCode(parseInt(i,10)))):I=u[i];break}i+=M}return I||(this.pos=ee,"&")}jsx_readWord(){let i,w=this.pos;do i=this.input.charCodeAt(++this.pos);while(R(i)||i===45);return this.finishToken(d.jsxName,this.input.slice(w,this.pos))}jsx_parseIdentifier(){let i=this.startNode();return this.type===d.jsxName?i.name=this.value:this.type.keyword?i.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(i,"JSXIdentifier")}jsx_parseNamespacedName(){let i=this.start,w=this.startLoc,I=this.jsx_parseIdentifier();if(!g.allowNamespaces||!this.eat(D.colon))return I;var M=this.startNodeAt(i,w);return M.namespace=I,M.name=this.jsx_parseIdentifier(),this.finishNode(M,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===d.jsxTagEnd)return"";let i=this.start,w=this.startLoc,I=this.jsx_parseNamespacedName();for(this.type===D.dot&&I.type==="JSXNamespacedName"&&!g.allowNamespacedObjects&&this.unexpected();this.eat(D.dot);){let M=this.startNodeAt(i,w);M.object=I,M.property=this.jsx_parseIdentifier(),I=this.finishNode(M,"JSXMemberExpression")}return I}jsx_parseAttributeValue(){switch(this.type){case D.braceL:let i=this.jsx_parseExpressionContainer();return i.expression.type==="JSXEmptyExpression"&&this.raise(i.start,"JSX attributes must only be assigned a non-empty expression"),i;case d.jsxTagStart:case D.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let i=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(i,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let i=this.startNode();return this.next(),i.expression=this.type===D.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(D.braceR),this.finishNode(i,"JSXExpressionContainer")}jsx_parseAttribute(){let i=this.startNode();return this.eat(D.braceL)?(this.expect(D.ellipsis),i.argument=this.parseMaybeAssign(),this.expect(D.braceR),this.finishNode(i,"JSXSpreadAttribute")):(i.name=this.jsx_parseNamespacedName(),i.value=this.eat(D.eq)?this.jsx_parseAttributeValue():null,this.finishNode(i,"JSXAttribute"))}jsx_parseOpeningElementAt(i,w){let I=this.startNodeAt(i,w);I.attributes=[];let M=this.jsx_parseElementName();for(M&&(I.name=M);this.type!==D.slash&&this.type!==d.jsxTagEnd;)I.attributes.push(this.jsx_parseAttribute());return I.selfClosing=this.eat(D.slash),this.expect(d.jsxTagEnd),this.finishNode(I,M?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(i,w){let I=this.startNodeAt(i,w),M=this.jsx_parseElementName();return M&&(I.name=M),this.expect(d.jsxTagEnd),this.finishNode(I,M?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(i,w){let I=this.startNodeAt(i,w),M=[],ee=this.jsx_parseOpeningElementAt(i,w),oe=null;if(!ee.selfClosing){e:for(;;)switch(this.type){case d.jsxTagStart:if(i=this.start,w=this.startLoc,this.next(),this.eat(D.slash)){oe=this.jsx_parseClosingElementAt(i,w);break e}M.push(this.jsx_parseElementAt(i,w));break;case d.jsxText:M.push(this.parseExprAtom());break;case D.braceL:M.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}b(oe.name)!==b(ee.name)&&this.raise(oe.start,"Expected corresponding JSX closing tag for <"+b(ee.name)+">")}let te=ee.name?"Element":"Fragment";return I["opening"+te]=ee,I["closing"+te]=oe,I.children=M,this.type===D.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(I,"JSX"+te)}jsx_parseText(){let i=this.parseLiteral(this.value);return i.type="JSXText",i}jsx_parseElement(){let i=this.start,w=this.startLoc;return this.next(),this.jsx_parseElementAt(i,w)}parseExprAtom(i){return this.type===d.jsxText?this.jsx_parseText():this.type===d.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(i)}readToken(i){let w=this.curContext();if(w===B)return this.jsx_readToken();if(w===_||w===F){if(H(i))return this.jsx_readWord();if(i==62)return++this.pos,this.finishToken(d.jsxTagEnd);if((i===34||i===39)&&w==_)return this.jsx_readString(i)}return i===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(d.jsxTagStart)):super.readToken(i)}updateContext(i){if(this.type==D.braceL){var w=this.curContext();w==_?this.context.push(L.b_expr):w==B?this.context.push(L.b_tmpl):super.updateContext(i),this.exprAllowed=!0}else if(this.type===D.slash&&i===d.jsxTagStart)this.context.length-=2,this.context.push(F),this.exprAllowed=!1;else return super.updateContext(i)}}}}}),Sh=Q({"src/language-js/parse/acorn.js"(n,o){"use strict";J();var u=hr(),l=pa(),v=Fa(),E=Ia(),x={ecmaVersion:"latest",sourceType:"module",allowReserved:!0,allowReturnOutsideFunction:!0,allowImportExportEverywhere:!0,allowAwaitOutsideFunction:!0,allowSuperOutsideMethod:!0,allowHashBang:!0,locations:!0,ranges:!0};function b(T){let{message:D,loc:d}=T;if(!d)return T;let{line:L,column:_}=d;return u(D.replace(/ \(\d+:\d+\)$/,""),{start:{line:L,column:_+1}})}var P,g=()=>{if(!P){let{Parser:T}=lt(),D=Pa();P=T.extend(D())}return P};function N(T,D){let d=g(),L=[],_=[],F=d.parse(T,Object.assign(Object.assign({},x),{},{sourceType:D,onComment:L,onToken:_}));return F.comments=L,F.tokens=_,F}function q(T,D){let d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{result:L,error:_}=l(()=>N(T,"module"),()=>N(T,"script"));if(!L)throw b(_);return d.originalText=T,E(L,d)}o.exports=v(q)}}),wh=Q({"src/language-js/parse/utils/replace-hashbang.js"(n,o){"use strict";J();function u(l){return l.charAt(0)==="#"&&l.charAt(1)==="!"?"//"+l.slice(2):l}o.exports=u}}),kh=Q({"node_modules/espree/dist/espree.cjs"(n){"use strict";J(),Object.defineProperty(n,"__esModule",{value:!0});var o=lt(),u=Pa(),l;function v(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}function E(p){if(p&&p.__esModule)return p;var O=Object.create(null);return p&&Object.keys(p).forEach(function(S){if(S!=="default"){var f=Object.getOwnPropertyDescriptor(p,S);Object.defineProperty(O,S,f.get?f:{enumerable:!0,get:function(){return p[S]}})}}),O.default=p,Object.freeze(O)}var x=E(o),b=v(u),P=E(l),g={Boolean:"Boolean",EOF:"<end>",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",JSXText:"JSXText"};function N(p,O){let S=p[0],f=p[p.length-1],C={type:g.Template,value:O.slice(S.start,f.end)};return S.loc&&(C.loc={start:S.loc.start,end:f.loc.end}),S.range&&(C.start=S.range[0],C.end=f.range[1],C.range=[C.start,C.end]),C}function q(p,O){this._acornTokTypes=p,this._tokens=[],this._curlyBrace=null,this._code=O}q.prototype={constructor:q,translate(p,O){let S=p.type,f=this._acornTokTypes;if(S===f.name)p.type=g.Identifier,p.value==="static"&&(p.type=g.Keyword),O.ecmaVersion>5&&(p.value==="yield"||p.value==="let")&&(p.type=g.Keyword);else if(S===f.privateId)p.type=g.PrivateIdentifier;else if(S===f.semi||S===f.comma||S===f.parenL||S===f.parenR||S===f.braceL||S===f.braceR||S===f.dot||S===f.bracketL||S===f.colon||S===f.question||S===f.bracketR||S===f.ellipsis||S===f.arrow||S===f.jsxTagStart||S===f.incDec||S===f.starstar||S===f.jsxTagEnd||S===f.prefix||S===f.questionDot||S.binop&&!S.keyword||S.isAssign)p.type=g.Punctuator,p.value=this._code.slice(p.start,p.end);else if(S===f.jsxName)p.type=g.JSXIdentifier;else if(S.label==="jsxText"||S===f.jsxAttrValueToken)p.type=g.JSXText;else if(S.keyword)S.keyword==="true"||S.keyword==="false"?p.type=g.Boolean:S.keyword==="null"?p.type=g.Null:p.type=g.Keyword;else if(S===f.num)p.type=g.Numeric,p.value=this._code.slice(p.start,p.end);else if(S===f.string)O.jsxAttrValueToken?(O.jsxAttrValueToken=!1,p.type=g.JSXText):p.type=g.String,p.value=this._code.slice(p.start,p.end);else if(S===f.regexp){p.type=g.RegularExpression;let C=p.value;p.regex={flags:C.flags,pattern:C.pattern},p.value=`/${C.pattern}/${C.flags}`}return p},onToken(p,O){let S=this,f=this._acornTokTypes,C=O.tokens,X=this._tokens;function K(){C.push(N(S._tokens,S._code)),S._tokens=[]}if(p.type===f.eof){this._curlyBrace&&C.push(this.translate(this._curlyBrace,O));return}if(p.type===f.backQuote){this._curlyBrace&&(C.push(this.translate(this._curlyBrace,O)),this._curlyBrace=null),X.push(p),X.length>1&&K();return}if(p.type===f.dollarBraceL){X.push(p),K();return}if(p.type===f.braceR){this._curlyBrace&&C.push(this.translate(this._curlyBrace,O)),this._curlyBrace=p;return}if(p.type===f.template||p.type===f.invalidTemplate){this._curlyBrace&&(X.push(this._curlyBrace),this._curlyBrace=null),X.push(p);return}this._curlyBrace&&(C.push(this.translate(this._curlyBrace,O)),this._curlyBrace=null),C.push(this.translate(p,O))}};var T=[3,5,6,7,8,9,10,11,12,13,14];function D(){return T[T.length-1]}function d(){return[...T]}function L(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5,O=p==="latest"?D():p;if(typeof O!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof p} instead.`);if(O>=2015&&(O-=2009),!T.includes(O))throw new Error("Invalid ecmaVersion.");return O}function _(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"script";if(p==="script"||p==="module")return p;if(p==="commonjs")return"script";throw new Error("Invalid sourceType.")}function F(p){let O=L(p.ecmaVersion),S=_(p.sourceType),f=p.range===!0,C=p.loc===!0;if(O!==3&&p.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof p.allowReserved<"u"&&typeof p.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");let X=O===3?p.allowReserved||"never":!1,K=p.ecmaFeatures||{},re=p.sourceType==="commonjs"||Boolean(K.globalReturn);if(S==="module"&&O<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},p,{ecmaVersion:O,sourceType:S,ranges:f,locations:C,allowReserved:X,allowReturnOutsideFunction:re})}var B=Symbol("espree's internal state"),A=Symbol("espree's esprimaFinishNode");function H(p,O,S,f,C,X,K){let re;p?re="Block":K.slice(S,S+2)==="#!"?re="Hashbang":re="Line";let ne={type:re,value:O};return typeof S=="number"&&(ne.start=S,ne.end=f,ne.range=[S,f]),typeof C=="object"&&(ne.loc={start:C,end:X}),ne}var R=()=>p=>{let O=Object.assign({},p.acorn.tokTypes);return p.acornJsx&&Object.assign(O,p.acornJsx.tokTypes),class extends p{constructor(f,C){(typeof f!="object"||f===null)&&(f={}),typeof C!="string"&&!(C instanceof String)&&(C=String(C));let X=f.sourceType,K=F(f),re=K.ecmaFeatures||{},ne=K.tokens===!0?new q(O,C):null,ce={originalSourceType:X||K.sourceType,tokens:ne?[]:null,comments:K.comment===!0?[]:null,impliedStrict:re.impliedStrict===!0&&K.ecmaVersion>=5,ecmaVersion:K.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:K.ecmaVersion,sourceType:K.sourceType,ranges:K.ranges,locations:K.locations,allowReserved:K.allowReserved,allowReturnOutsideFunction:K.allowReturnOutsideFunction,onToken:ge=>{ne&&ne.onToken(ge,ce),ge.type!==O.eof&&(ce.lastToken=ge)},onComment:(ge,ct,pt,be,xe,Oe)=>{if(ce.comments){let ze=H(ge,ct,pt,be,xe,Oe,C);ce.comments.push(ze)}}},C),this[B]=ce}tokenize(){do this.next();while(this.type!==O.eof);this.next();let f=this[B],C=f.tokens;return f.comments&&(C.comments=f.comments),C}finishNode(){let f=super.finishNode(...arguments);return this[A](f)}finishNodeAt(){let f=super.finishNodeAt(...arguments);return this[A](f)}parse(){let f=this[B],C=super.parse();if(C.sourceType=f.originalSourceType,f.comments&&(C.comments=f.comments),f.tokens&&(C.tokens=f.tokens),C.body.length){let[X]=C.body;C.range&&(C.range[0]=X.range[0]),C.loc&&(C.loc.start=X.loc.start),C.start=X.start}return f.lastToken&&(C.range&&(C.range[1]=f.lastToken.range[1]),C.loc&&(C.loc.end=f.lastToken.loc.end),C.end=f.lastToken.end),this[B].templateElements.forEach(X=>{let re=X.tail?1:2;X.start+=-1,X.end+=re,X.range&&(X.range[0]+=-1,X.range[1]+=re),X.loc&&(X.loc.start.column+=-1,X.loc.end.column+=re)}),C}parseTopLevel(f){return this[B].impliedStrict&&(this.strict=!0),super.parseTopLevel(f)}raise(f,C){let X=p.acorn.getLineInfo(this.input,f),K=new SyntaxError(C);throw K.index=f,K.lineNumber=X.line,K.column=X.column+1,K}raiseRecoverable(f,C){this.raise(f,C)}unexpected(f){let C="Unexpected token";if(f!=null){if(this.pos=f,this.options.locations)for(;this.pos<this.lineStart;)this.lineStart=this.input.lastIndexOf(`
26
- `,this.lineStart-2)+1,--this.curLine;this.nextToken()}this.end>this.start&&(C+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,C)}jsx_readString(f){let C=super.jsx_readString(f);return this.type===O.string&&(this[B].jsxAttrValueToken=!0),C}[A](f){return f.type==="TemplateElement"&&this[B].templateElements.push(f),f.type.includes("Function")&&!f.generator&&(f.generator=!1),f}}},i="9.4.0",w={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=x.Parser.extend(R())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=x.Parser.extend(b.default(),R())),this._jsx},get(p){return Boolean(p&&p.ecmaFeatures&&p.ecmaFeatures.jsx)?this.jsx:this.regular}};function I(p,O){let S=w.get(O);return(!O||O.tokens!==!0)&&(O=Object.assign({},O,{tokens:!0})),new S(O,p).tokenize()}function M(p,O){let S=w.get(O);return new S(O,p).parse()}var ee=i,oe=function(){return P.KEYS}(),te=void 0,se=D(),De=d();n.Syntax=te,n.VisitorKeys=oe,n.latestEcmaVersion=se,n.parse=M,n.supportedEcmaVersions=De,n.tokenize=I,n.version=ee}}),Fh=Q({"src/language-js/parse/espree.js"(n,o){"use strict";J();var u=hr(),l=pa(),v=Fa(),E=wh(),x=Ia(),b={ecmaVersion:"latest",range:!0,loc:!0,comment:!0,tokens:!0,sourceType:"module",ecmaFeatures:{jsx:!0,globalReturn:!0,impliedStrict:!1}};function P(N){let{message:q,lineNumber:T,column:D}=N;return typeof T!="number"?N:u(q,{start:{line:T,column:D}})}function g(N,q){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:D}=kh(),d=E(N),{result:L,error:_}=l(()=>D(d,Object.assign(Object.assign({},b),{},{sourceType:"module"})),()=>D(d,Object.assign(Object.assign({},b),{},{sourceType:"script"})));if(!L)throw P(_);return T.originalText=N,x(L,T)}o.exports=v(g)}});J();var Bh=Sh(),Th=Fh();Na.exports={parsers:{acorn:Bh,espree:Th}}});return Ih();});