buxlabs / abstract-syntax-tree

A library for working with abstract syntax trees.
MIT License
111 stars 13 forks source link

TypeError: _ is not a function when using any static method of AbstractSyntaxTree class in Angular #101

Closed dokorof closed 3 years ago

dokorof commented 3 years ago

I have been trying to integrate this package in my Angular project but, whenever I try to use first, last, each or any of the methods that are available in the AbstractSyntaxTree class I get the following error:

ERROR TypeError: _ is not a function

Minimum steps to reproduce:

import { Component, OnInit } from '@angular/core';
// @ts-ignore
import * as AbstractSyntaxTree from 'abstract-syntax-tree';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit {
  title = 'dummy-angular';
  data = '(function () {return true;})';
  processData() {
    const tree = new AbstractSyntaxTree(this.data);
    console.log(tree);
    console.log(AbstractSyntaxTree.first(tree, 'ReturnStatement'));
  }

  ngOnInit() {
    this.processData();
  }
}

Is there any workaround for this issue?

emilos commented 3 years ago

@dokorof can you please try the following:

Option 1: OO approach

const tree = new AbstractSyntaxTree(this.data)
console.log(tree.first('ReturnStatement'))

Option 2: Functional approach

const { parse, first } = AbstractSyntaxTree
const tree = parse(this.data)
console.log(first(tree, 'ReturnStatement'))

Please let me know if this helps. Thanks!

dokorof commented 3 years ago

Hi @emilos ,

Tried both to no avail. I'm getting the same error. Not sure if having the full callstack will help but here it is:

ERROR TypeError: _ is not a function
    at C (vendor.js:60996)
    at O (vendor.js:60996)
    at Bo.first (vendor.js:61010)
    at AppComponent.processData (main.js:101)
    at AppComponent.ngOnInit (main.js:104)
    at callHook (vendor.js:13617)
    at callHooks (vendor.js:13586)
    at executeInitAndCheckHooks (vendor.js:13537)
    at refreshView (vendor.js:20525)
    at renderComponentOrTemplate (vendor.js:20624)

If it helps, I have used NodeJS and TS Node and I never got this error, so I am assuming this could be related to one of the dependencies that is used in the browser.

emilos commented 3 years ago

@dokorof last question, did you try using:

import AbstractSyntaxTree from 'abstract-syntax-tree'

instead of

import * as AbstractSyntaxTree from 'abstract-syntax-tree'
dokorof commented 3 years ago

Yes @emilos, I tried both OO and functional approaches using those two import statements but the result was the same.

emilos commented 3 years ago

@dokorof thanks again. I was able to create a failing test case for this.

https://github.com/buxlabs/abstract-syntax-tree/commit/568418926c9ce41e85afaa9ed57b1f8c670d297c

TypeError {
  message: 'esquery is not a function',
}

It seems that for some reason esquery bundling is failing silently. I'll try to investigate, but any help is appreciated :).

emilos commented 3 years ago

hey @dokorof, could you please try using the 2.19.0 version? I have replaced the problematic esquery dependency with a simplified query method. Thanks!

dokorof commented 3 years ago

Sorry @emilos ,

Now it is even more broken. Whenever I try to use any function or the AbstractSyntaxTree class, I get this unintelligible error in the angular console:

t(O[1],t.slice(n,e.index-2),n-2,e.index,r)}return e.tokenPos=e.index,e.linePos=e.line,e.colPos=e.column,r}if(i)continue;8&T[e.currentChar]?13===e.currentChar?(r|=5,w(e)):(E(e,r),r=-5&r|1):x(e)}else(8232^e.currentChar)<=1?(r=-5&r|1,w(e)):(r&=-5,x(e));m(e,16)}function L(e,t){const r=e.index;let n=0;e:for(;;){const t=e.currentChar;if(x(e),1&n)n&=-2;else switch(t){case 47:if(n)break;break e;case 92:n|=1;break;case 91:n|=2;break;case 93:n&=1;break;case 13:case 10:case 8232:case 8233:m(e,32)}if(e.index>=e.source.length)return m(e,32)}const i=e.index-1;let o=0,a=e.currentChar;const{index:s}=e;for(;_(a);){switch(a){case 103:2&o&&m(e,34,"g"),o|=2;break;case 105:1&o&&m(e,34,"i"),o|=1;break;case 109:4&o&&m(e,34,"m"),o|=4;break;case 117:16&o&&m(e,34,"g"),o|=16;break;case 121:8&o&&m(e,34,"y"),o|=8;break;case 115:12&o&&m(e,34,"s"),o|=12;break;default:m(e,33)}a=x(e)}const l=e.source.slice(s,e.index),c=e.source.slice(r,i);return e.tokenRegExp={pattern:c,flags:l},512&t&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),e.tokenValue=function(e,t,r){try{return new RegExp(t,r)}catch(t){m(e,32)}}(e,c,l),65540}function q(e,t,r){const{index:n}=e;let i="",o=x(e),a=e.index;for(;0==(8&T[o]);){if(o===r)return i+=e.source.slice(a,e.index),x(e),512&t&&(e.tokenRaw=e.source.slice(n,e.index)),e.tokenValue=i,134283267;if(8==(8&o)&&92===o){if(i+=e.source.slice(a,e.index),o=x(e),o<127||8232===o||8233===o){const r=B(e,t,o);r>=0?i+=P(r):F(e,r,0)}else i+=P(o);a=e.index+1}e.index>=e.end&&m(e,14),o=x(e)}m(e,14)}function B(e,t,r){switch(r){case 98:return 8;case 102:return 12;case 114:return 
13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index<e.end){const t=e.source.charCodeAt(e.index+1);10===t&&(e.index=e.index+1,e.currentChar=t)}case 10:case 8232:case 8233:return e.column=-1,e.line++,-1;case 48:case 49:case 50:case 51:{let n=r-48,i=e.index+1,o=e.column+1;if(i<e.end){const r=e.source.charCodeAt(i);if(0==(32&T[r])){if((0!==n||512&T[r])&&1024&t)return-2}else{if(1024&t)return-2;if(e.currentChar=r,n=n<<3|r-48,i++,o++,i<e.end){const t=e.source.charCodeAt(i);32&T[t]&&(e.currentChar=t,n=n<<3|t-48,i++,o++)}e.flags|=64,e.index=i-1,e.column=o-1}}return n}case 52:case 53:case 54:case 55:{if(1024&t)return-2;let n=r-48;const i=e.index+1,o=e.column+1;if(i<e.end){const t=e.source.charCodeAt(i);32&T[t]&&(n=n<<3|t-48,e.currentChar=t,e.index=i,e.column=o)}return e.flags|=64,n}case 120:{const t=x(e);if(0==(64&T[t]))return-4;const r=S(t),n=x(e);if(0==(64&T[n]))return-4;return r<<4|S(n)}case 117:{const t=x(e);if(123===e.currentChar){let t=0;for(;0!=(64&T[x(e)]);)if(t=t<<4|S(e.currentChar),t>1114111)return-5;return e.currentChar<1||125!==e.currentChar?-4:t}{if(0==(64&T[t]))return-4;const r=e.source.charCodeAt(e.index+1);if(0==(64&T[r]))return-4;const n=e.source.charCodeAt(e.index+2);if(0==(64&T[n]))return-4;const i=e.source.charCodeAt(e.index+3);return 0==(64&T[i])?-4:(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),S(t)<<12|S(r)<<8|S(n)<<4|S(i))}}case 56:case 57:if(0==(256&t))return-3;default:return r}}function F(e,t,r){switch(t){case-1:return;case-2:m(e,r?2:1);case-3:m(e,13);case-4:m(e,6);case-5:m(e,101)}}function R(e,t){const{index:r}=e;let n=67174409,i="",o=x(e);for(;96!==o;){if(36===o&&123===e.source.charCodeAt(e.index+1)){x(e),n=67174408;break}if(8==(8&o)&&92===o)if(o=x(e),o>126)i+=P(o);else{const r=B(e,1024|t,o);if(r>=0)i+=P(r);else{if(-1!==r&&65536&t){i=void 0,o=M(e,o),o<0&&(n=67174408);break}F(e,r,1)}}else e.index<e.end&&13===o&&10===e.source.charCodeAt(e.index)&&(i+=P(o),e.currentChar=e.source.charCodeAt(++e.index)),((83&o)<3&&10===o||(8232^o)<=1)&&(e.column=-1,e.line++),i+=P(o);e.index>=e.end&&m(e,15),o=x(e)}return x(e),e.tokenValue=i,e.tokenRaw=e.source.slice(r+1,e.index-(67174409===n?1:2)),n}function M(e,t){for(;96!==t;){switch(t){case 36:{const r=e.index+1;if(r<e.end&&123===e.source.charCodeAt(r))return e.index=r,e.column++,-t;break}case 10:case 8232:case 8233:e.column=-1,e.line++}e.index>=e.end&&m(e,15),t=x(e)}return t}function V(e,t){return e.index>=e.end&&m(e,0),e.index--,e.column--,R(e,t)}function U(e,t,r){let n=e.currentChar,i=0,o=9,a=64&r?0:1,s=0,l=0;if(64&r)i="."+z(e,n),n=e.currentChar,110===n&&m(e,11);else{if(48===n)if(n=x(e),120==(32|n)){for(r=136,n=x(e);4160&T[n];)95!==n?(l=1,i=16*i+S(n),s++,n=x(e)):(l||m(e,146),l=0,n=x(e));(s<1||!l)&&m(e,s<1?19:147)}else if(111==(32|n)){for(r=132,n=x(e);4128&T[n];)95!==n?(l=1,i=8*i+(n-48),s++,n=x(e)):(l||m(e,146),l=0,n=x(e));(s<1||!l)&&m(e,s<1?0:147)}else if(98==(32|n)){for(r=130,n=x(e);4224&T[n];)95!==n?(l=1,i=2*i+(n-48),s++,n=x(e)):(l||m(e,146),l=0,n=x(e));(s<1||!l)&&m(e,s<1?0:147)}else if(32&T[n])for(1024&t&&m(e,1),r=1;16&T[n];){if(512&T[n]){r=32,a=0;break}i=8*i+(n-48),n=x(e)}else 512&T[n]?(1024&t&&m(e,1),e.flags|=64,r=32):95===n&&m(e,0);if(48&r){if(a){for(;o>=0&&4112&T[n];)95!==n?(l=0,i=10*i+(n-48),n=x(e),--o):(n=x(e),(95===n||32&r)&&g(e.index,e.line,e.index+1,146),l=1);if(l&&g(e.index,e.line,e.index+1,147),o>=0&&!A(n)&&46!==n)return e.tokenValue=i,512&t&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283266}i+=z(e,n),n=e.currentChar,46===n&&(95===x(e)&&m(e,0),r=64,i+="."+z(e,e.currentChar),n=e.currentChar)}}const c=e.index;let u=0;if(110===n&&128&r)u=1,n=x(e);else if(101==(32|n)){n=x(e),256&T[n]&&(n=x(e));const{index:t}=e;(16&T[n])<1&&m(e,10),i+=e.source.substring(c,t)+z(e,n),n=e.currentChar}return(e.index<e.end&&16&T[n]||A(n))&&m(e,12),u?(e.tokenRaw=e.source.slice(e.tokenPos,e.index),e.tokenValue=BigInt(i),134283389):(e.tokenValue=15&r?i:32&r?parseFloat(e.source.substring(e.tokenPos,e.index)):+i,512&t&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283266)}function z(e,t){let r=0,n=e.index,i="";for(;4112&T[t];)if(95!==t)r=0,t=x(e);else{const{index:o}=e;95===(t=x(e))&&g(e.index,e.line,e.index+1,146),r=1,i+=e.source.substring(n,o),n=e.index}return r&&g(e.index,e.line,e.index+1,147),i+e.source.substring(n,e.index)}const J=["end of source","identifier","number","string","regular expression","false","true","null","template continuation","template tail","=>","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"</","/>","++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],X=Object.create(null,{this:{value:86113},function:{value:86106},if:{value:20571},return:{value:20574},var:{value:86090},else:{value:20565},for:{value:20569},new:{value:86109},in:{value:8738868},typeof:{value:16863277},while:{value:20580},case:{value:20558},break:{value:20557},try:{value:20579},catch:{value:20559},delete:{value:16863278},throw:{value:86114},switch:{value:86112},continue:{value:20561},default:{value:20563},instanceof:{value:8476725},do:{value:20564},void:{value:16863279},finally:{value:20568},async:{value:209007},await:{value:209008},class:{value:86096},const:{value:86092},constructor:{value:12401},debugger:{value:20562},export:{value:20566},extends:{value:20567},false:{value:86021},from:{value:12404},get:{value:12402},implements:{value:36966},import:{value:86108},interface:{value:36967},let:{value:241739},null:{value:86023},of:{value:274549},package:{value:36968},private:{value:36969},protected:{value:36970},public:{value:36971},set:{value:12403},static:{value:36972},super:{value:86111},true:{value:86022},with:{value:20581},yield:{value:241773},enum:{value:86134},eval:{value:537079927},as:{value:77934},arguments:{value:537079928},target:{value:143494},meta:{value:143495}});function G(e,t,r){for(;D[x(e)];);return e.tokenValue=e.source.slice(e.tokenPos,e.index),92!==e.currentChar&&e.currentChar<126?X[e.tokenValue]||208897:W(e,t,0,r)}function H(e,t){const r=Y(e);return _(r)||m(e,4),e.tokenValue=P(r),W(e,t,1,4&T[r])}function W(e,t,r,n){let i=e.index;for(;e.index<e.end;)if(92===e.currentChar){e.tokenValue+=e.source.slice(i,e.index),r=1;const t=Y(e);_(t)||m(e,4),n=n&&4&T[t],e.tokenValue+=P(t),i=e.index}else{if(!_(e.currentChar)&&!k(e,e.currentChar))break;x(e)}e.index<=e.end&&(e.tokenValue+=e.source.slice(i,e.index));const o=e.tokenValue.length;if(n&&o>=2&&o<=11){const n=X[e.tokenValue];return void 0===n?208897:r?1024&t?209008===n&&0==(4196352&t)?n:36972===n||36864==(36864&n)?122:121:1073741824&t&&0==(8192&t)&&20480==(20480&n)?n:241773===n?1073741824&t?143483:2097152&t?121:n:209007===n&&1073741824&t?143483:36864==(36864&n)||209008===n&&0==(4194304&t)?n:121:n}return 208897}function K(e){return A(x(e))||m(e,93),131}function Y(e){return 117!==e.source.charCodeAt(e.index+1)&&m(e,4),e.currentChar=e.source.charCodeAt(e.index+=2),function(e){let t=0;const r=e.currentChar;if(123===r){const r=e.index-2;for(;64&T[x(e)];)t=t<<4|S(e.currentChar),t>1114111&&g(r,e.line,e.index+1,101);return 125!==e.currentChar&&g(r,e.line,e.index-1,6),x(e),t}0==(64&T[r])&&m(e,6);const n=e.source.charCodeAt(e.index+1);0==(64&T[n])&&m(e,6);const i=e.source.charCodeAt(e.index+2);0==(64&T[i])&&m(e,6);const o=e.source.charCodeAt(e.index+3);0==(64&T[o])&&m(e,6);return t=S(r)<<12|S(n)<<8|S(i)<<4|S(o),e.currentChar=e.source.charCodeAt(e.index+=4),t}(e)}const $=[129,129,129,129,129,129,129,129,129,128,136,128,128,130,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,129,128,16842800,134283267,131,208897,8457015,8455751,134283267,67174411,16,8457014,25233970,18,25233971,67108877,8457016,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456258,1077936157,8456259,22,133,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,137,20,8455497,208897,132,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8455240,1074790415,16842801,129];function Q(e,t){if(e.flags=1^(1|e.flags),e.startPos=e.index,e.startColumn=e.column,e.startLine=e.line,e.token=Z(e,t,0),e.onToken&&1048576!==e.token){const t={start:{line:e.linePos,column:e.colPos},end:{line:e.line,column:e.column}};e.onToken(function(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 132:return"TemplateLiteral";default:return 143360==(143360&e)?"Identifier":4096==(4096&e)?"Keyword":"Punctuator"}}(e.token),e.tokenPos,e.index,t)}}function Z(e,t,r){const n=0===e.index,i=e.source;let o=e.index,a=e.line,s=e.column;for(;e.index<e.end;){e.tokenPos=e.index,e.colPos=e.column,e.linePos=e.line;let c=e.currentChar;if(c<=126){const l=$[c];switch(l){case 67174411:case 16:case 2162700:case 1074790415:case 69271571:case 20:case 21:case 1074790417:case 18:case 16842801:case 133:case 129:return x(e),l;case 208897:return G(e,t,0);case 4096:return G(e,t,1);case 134283266:return U(e,t,144);case 134283267:return q(e,t,c);case 132:return R(e,t);case 137:return H(e,t);case 131:return K(e);case 128:x(e);break;case 130:r|=5,w(e);break;case 136:E(e,r),r=-5&r|1;break;case 8456258:let u=x(e);if(e.index<e.end){if(60===u)return e.index<e.end&&61===x(e)?(x(e),4194334):8456516;if(61===u)return x(e),8456e3;if(33===u){const n=e.index+1;if(n+1<e.end&&45===i.charCodeAt(n)&&45==i.charCodeAt(n+1)){e.column+=3,e.currentChar=i.charCodeAt(e.index+=3),r=N(e,i,r,t,2,e.tokenPos,e.linePos,e.colPos),o=e.tokenPos,a=e.linePos,s=e.colPos;continue}return 8456258}if(47===u){if((16&t)<1)return 8456258;const r=e.index+1;if(r<e.end&&(u=i.charCodeAt(r),42===u||47===u))break;return x(e),25}}return 8456258;case 1077936157:{x(e);const t=e.currentChar;return 61===t?61===x(e)?(x(e),8455996):8455998:62===t?(x(e),10):1077936157}case 16842800:return 61!==x(e)?16842800:61!==x(e)?8455999:(x(e),8455997);case 8457015:return 61!==x(e)?8457015:(x(e),4194342);case 8457014:{if(x(e),e.index>=e.end)return 8457014;const t=e.currentChar;return 61===t?(x(e),4194340):42!==t?8457014:61!==x(e)?8457273:(x(e),4194337)}case 8455497:return 61!==x(e)?8455497:(x(e),4194343);case 25233970:{x(e);const t=e.currentChar;return 43===t?(x(e),33619995):61===t?(x(e),4194338):25233970}case 25233971:{x(e);const l=e.currentChar;if(45===l){if(x(e),(1&r||n)&&62===e.currentChar){0==(256&t)&&m(e,108),x(e),r=N(e,i,r,t,3,o,a,s),o=e.tokenPos,a=e.linePos,s=e.colPos;continue}return 33619996}return 61===l?(x(e),4194339):25233971}case 8457016:if(x(e),e.index<e.end){const n=e.currentChar;if(47===n){x(e),r=j(e,i,r,0,e.tokenPos,e.linePos,e.colPos),o=e.tokenPos,a=e.linePos,s=e.colPos;continue}if(42===n){x(e),r=I(e,i,r),o=e.tokenPos,a=e.linePos,s=e.colPos;continue}if(32768&t)return L(e,t);if(61===n)return x(e),4259877}return 8457016;case 67108877:const p=x(e);if(p>=48&&p<=57)return U(e,t,80);if(46===p){const t=e.index+1;if(t<e.end&&46===i.charCodeAt(t))return e.column+=2,e.currentChar=i.charCodeAt(e.index+=2),14}return 67108877;case 8455240:{x(e);const t=e.currentChar;return 124===t?(x(e),61===e.currentChar?(x(e),4194346):8979003):61===t?(x(e),4194344):8455240}case 8456259:{x(e);const t=e.currentChar;if(61===t)return x(e),8456001;if(62!==t)return 8456259;if(x(e),e.index<e.end){const t=e.currentChar;if(62===t)return 61===x(e)?(x(e),4194336):8456518;if(61===t)return x(e),4194335}return 8456517}case 8455751:{x(e);const t=e.currentChar;return 38===t?(x(e),61===e.currentChar?(x(e),4194347):8979258):61===t?(x(e),4194345):8455751}case 22:{let t=x(e);if(63===t)return x(e),61===e.currentChar?(x(e),4194348):276889982;if(46===t){const r=e.index+1;if(r<e.end&&(t=i.charCodeAt(r),!(t>=48&&t<=57)))return x(e),67108991}return 22}}}else{if((8232^c)<=1){r=-5&r|1,w(e);continue}if(55296==(64512&c)||0!=(1&v[34816+(c>>>5)]>>>c))return 56320==(64512&c)&&(c=(1023&c)<<10|1023&c|65536,0==(1&v[0+(c>>>5)]>>>c)&&m(e,18,P(c)),e.index++,e.currentChar=c),e.column++,e.tokenValue="",W(e,t,0,0);if(160===(l=c)||65279===l||133===l||5760===l||l>=8192&&l<=8203||8239===l||8287===l||12288===l||8201===l||65519===l){x(e);continue}m(e,18,P(c))}}var l;return 1048576}const ee={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:" ⩓",Aogon:"Ą",Aopf:"𝔸",Ap 
plyFunction:"⁡",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆" ,Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"  Ч",COPY:"©",Cacute:"Ć",Ca
p:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓ ",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",D iacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleD ot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongL
eftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightV
ector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:" Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquar e:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium: "⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSqua re:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ", Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",Gr  eaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ", Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥    ",Jsercy:"Ј",Jukcy:"Є",KH
cy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ"   ,Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lle ftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪ ",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJc  y:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBr eakingSpace:" ",Nopf:"ℕ",
Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹
",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotL
essSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRi
ghtTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceed
sTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",O cy:"О",Odblac:"Ő",Ofr:"𝔒 
",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",O r:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴", OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺" ,PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",P 
si:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖  ",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",S hortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareS ubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮" ,Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",Til deEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú  ",Uarr:"↟",Uarrocir:"⥉",U
brcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBra ce:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑" ,UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",V Dash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀"   ,Wfr:"𝔚",Wopf:"𝕎",Wscr:  
"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr    :"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​   ",Zeta:"Ζ",Zfr:"ℨ",Zopf:"
ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af: "⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:" ⩕",andd:"⩜",andslope:"⩘",
andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å", ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong :"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂ 
",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",b oxDR:"╔",boxDl:"╖",boxDr:
"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷" 
,bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:
"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",ci rceq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop y:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudar rl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",c
urvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit :"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarw edge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"�"",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",e macr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",epars 
l:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",f  
orall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot :"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",
gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox: "⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",g t:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"
↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow: "⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:  "ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:
"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:  "∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmat h:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgre   en:"ĸ",khcy:"х",kjcy:"ќ",
kopf:"𝕜",kscr:"𝓀",lAa  rr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",l
dquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfi
sht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪", llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",loti mes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor: "‚",lstrok:"ł",lt:"<",ltc
c:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:
"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd :"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",  nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:
"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",
ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ng sim:"≵",ngt:"≯",ngtr:"≯",
nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",
nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",noti nvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",n
pr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel: "∦",nsim:"≁",nsime:"≄",ns
imeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntg
l:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂"
,nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼
",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olci r:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",op ar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi: "φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq :"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:" ψ",puncsp:" ",qfr:"𝔮",qi 
nt:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAa  rr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle
:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rha 
rd:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:" ⇉",rsaquo:"›",rscr:"𝓇",r 
sh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown: "⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏" ,sqsube:"⊑",sqsubset:"⊏",
sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",strai ghtphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"
⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tos a:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑ ",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugra ve:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparr 
ow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",v
arsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vn sup:"⊃⃒",vopf:"𝕧",vprop: 
"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar :"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",   xcirc:"◯",xcup:"⋃",xdtri:
"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xo  plus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",y circ:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž"   ,zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj   :"‌"},te={0:65533,128:836
4,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function re(e){return e.replace(/&(?:[a-zA-Z]+|#[xX][\da-fA-F]+|#\d+);/g,(e=>{if("#"===e.charAt(1)){const t=e.charAt(2);return function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in te&&(e=te[e]);return String.fromCodePoint(e)}("X"===t||"x"===t?parseInt(e.slice(3),16):parseInt(e.slice(2),10))}return ee[e.slice(1,-1)]||e}))}function ne(e,t){return e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.token=8192&T[e.currentChar]?function(e,t){const r=e.currentChar;let n=x(e);const i=e.index;for(;n!==r;)e.index>=e.end&&m(e,14),n=x(e);n!==r&&m(e,14);e.tokenValue=e.source.slice(i,e.index),x(e),512&t&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index));return 134283267}(e,t):Z(e,t,0),e.token}function ie(e,t){if(e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.index>=e.end)return e.token=1048576;switch($[e.source.charCodeAt(e.index)]){case 8456258:x(e),47===e.currentChar?(x(e),e.token=25):e.token=8456258;break;case 2162700:x(e),e.token=2162700;break;default:{let r=0;for(;e.index<e.end;){const t=T[e.source.charCodeAt(e.index)];if(1024&t?(r|=5,w(e)):2048&t?(E(e,r),r=-5&r|1):x(e),16384&T[e.currentChar])break}const n=e.source.slice(e.tokenPos,e.index);512&t&&(e.tokenRaw=n),e.tokenValue=re(n),e.token=138}}return e.token}function oe(e){if(143360==(143360&e.token)){const{index:t}=e;let r=e.currentChar;for(;32770&T[r];)r=x(e);e.tokenValue+=e.source.slice(t,e.index)}return e.token=208897,e.token}function ae(e,t,r){0!=(1&e.flags)||1048576==(1048576&e.token)||r||m(e,28,J[255&e.token]),ce(e,t,1074790417)}function se(e,t,r,n){return t-r<13&&"use strict"===n&&(1048576==(1048576&e.token)||1&e.flags)?1:0}function le(e,t,r){return e.token!==r?0:(Q(e,t),1)}function ce(e,t,r){return e.token===r&&(Q(e,t),!0)}function ue(e,t,r){e.token!==r&&m(e,23,J[255&r]),Q(e,t)}function pe(e,t){switch(t.type){case"ArrayExpression":t.type="ArrayPattern";const r=t.elements;for(let t=0,n=r.length;t<n;++t){const n=r[t];n&&pe(e,n)}return;case"ObjectExpression":t.type="ObjectPattern";const n=t.properties;for(let t=0,r=n.length;t<r;++t)pe(e,n[t]);return;case"AssignmentExpression":return t.type="AssignmentPattern","="!==t.operator&&m(e,68),delete t.operator,void pe(e,t.left);case"Property":return void pe(e,t.value);case"SpreadElement":t.type="RestElement",pe(e,t.argument)}}function fe(e,t,r,n,i){1024&t&&(36864==(36864&n)&&m(e,114),i||537079808!=(537079808&n)||m(e,115)),20480==(20480&n)&&m(e,99),24&r&&241739===n&&m(e,97),4196352&t&&209008===n&&m(e,95),2098176&t&&241773===n&&m(e,94,"yield")}function de(e,t,r){1024&t&&(36864==(36864&r)&&m(e,114),537079808==(537079808&r)&&m(e,115),122===r&&m(e,92),121===r&&m(e,92)),20480==(20480&r)&&m(e,99),4196352&t&&209008===r&&m(e,95),2098176&t&&241773===r&&m(e,94,"yield")}function he(e,t,r){return 209008===r&&(4196352&t&&m(e,95),e.destructible|=128),241773===r&&2097152&t&&m(e,94,"yield"),20480==(20480&r)||36864==(36864&r)||122==r}function me(e,t,r,n){for(;t;){if(t["$"+r])return n&&m(e,133),1;n&&t.loop&&(n=0),t=t.$}return 0}function ye(e,t,r,n,i,o){return 2&t&&(o.start=r,o.end=e.startPos,o.range=[r,e.startPos]),4&t&&(o.loc={start:{line:n,column:i},end:{line:e.startLine,column:e.startColumn}},e.sourceFile&&(o.loc.source=e.sourceFile)),o}function be(e){switch(e.type){case"JSXIdentifier":return e.name;case"JSXNamespacedName":return e.namespace+":"+e.name;case"JSXMemberExpression":return be(e.object)+"."+be(e.property)}}function ge(e,t,r){const n=xe({parent:void 0,type:2},1024);return Ee(e,t,n,r,1,0),n}function ve(e,t,...r){const{index:n,line:i,column:o}=e;return{type:t,params:r,index:n,line:i,column:o}}function xe(e,t){return{parent:e,type:t,scopeError:void 0}}function ke(e,t,r,n,i,o){4&i?we(e,t,r,n,i):Ee(e,t,r,n,i,o),64&o&&Pe(e,n)}function Ee(e,t,r,n,i,o){const a=r["#"+n];a&&0==(2&a)&&(1&i?r.scopeError=ve(e,140,n):256&t&&64&a&&2&o||m(e,140,n)),128&r.type&&r.parent["#"+n]&&0==(2&r.parent["#"+n])&&m(e,140,n),1024&r.type&&a&&0==(2&a)&&1&i&&(r.scopeError=ve(e,140,n)),64&r.type&&768&r.parent["#"+n]&&m(e,153,n),r["#"+n]=i}function we(e,t,r,n,i){let o=r;for(;o&&0==(256&o.type);){const a=o["#"+n];248&a&&(256&t&&0==(1024&t)&&(128&i&&68&a||128&a&&68&i)||m(e,140,n)),o===r&&1&a&&1&i&&(o.scopeError=ve(e,140,n)),768&a&&(0==(512&a)||0==(256&t)||1024&t)&&m(e,140,n),o["#"+n]=i,o=o.parent}}function Pe(e,t){void 0!==e.exportedNames&&""!==t&&(e.exportedNames["#"+t]&&m(e,141,t),e.exportedNames["#"+t]=1)}function Se(e,t){void 0!==e.exportedBindings&&""!==t&&(e.exportedBindings["#"+t]=1)}function Te(e,t){return 2098176&e?!(2048&e&&209008===t)&&(!(2097152&e&&241773===t)&&(143360==(143360&t)||12288==(12288&t))):143360==(143360&t)||12288==(12288&t)||36864==(36864&t)}function Ce(e,t,r,n){537079808==(537079808&r)&&(1024&t&&m(e,115),n&&(e.flags|=512)),Te(t,r)||m(e,0)}function De(e,t,r){let n,i,o="";null!=t&&(t.module&&(r|=3072),t.next&&(r|=1),t.loc&&(r|=4),t.ranges&&(r|=2),t.uniqueKeyInPattern&&(r|=-2147483648),t.lexical&&(r|=64),t.webcompat&&(r|=256),t.directives&&(r|=520),t.globalReturn&&(r|=32),t.raw&&(r|=512),t.preserveParens&&(r|=128),t.impliedStrict&&(r|=1024),t.jsx&&(r|=16),t.identifierPattern&&(r|=268435456),t.specDeviation&&(r|=536870912),t.source&&(o=t.source),null!=t.onComment&&(n=Array.isArray(t.onComment)?function(e,t){return function(r,n,i,o,a){const s={type:r,value:n};2&e&&(s.start=i,s.end=o,s.range=[i,o]),4&e&&(s.loc=a),t.push(s)}}(r,t.onComment):t.onComment),null!=t.onToken&&(i=Array.isArray(t.onToken)?function(e,t){return function(r,n,i,o){const a={token:r};2&e&&(a.start=n,a.end=i,a.range=[n,i]),4&e&&(a.loc=o),t.push(a)}}(r,t.onToken):t.onToken));const a=function(e,t,r,n){return{source:e,flags:0,index:0,line:1,column:0,startPos:0,end:e.length,tokenPos:0,startColumn:0,colPos:0,linePos:1,startLine:1,sourceFile:t,tokenValue:"",token:1048576,tokenRaw:"",tokenRegExp:void 0,currentChar:e.charCodeAt(0),exportedNames:[],exportedBindings:[],assignable:1,destructible:0,onComment:r,onToken:n,leadingDecorators:[]}}(e,o,n,i);1&r&&function(e){const t=e.source;35===e.currentChar&&33===t.charCodeAt(e.index+1)&&(x(e),x(e),j(e,t,0,4,e.tokenPos,e.linePos,e.colPos))}(a);const s=64&r?{parent:void 0,type:2}:void 0;let l=[],c="script";if(2048&r){if(c="module",l=function(e,t,r){Q(e,32768|t);const n=[];if(8&t)for(;134283267===e.token;){const{tokenPos:r,linePos:i,colPos:o,token:a}=e;n.push(qe(e,t,mt(e,t),a,r,i,o))}for(;1048576!==e.token;)n.push(Ae(e,t,r));return n}(a,8192|r,s),s)for(const e in a.exportedBindings)"#"!==e[0]||s[e]||m(a,142,e.slice(1))}else l=function(e,t,r){Q(e,1073774592|t);const n=[];for(;134283267===e.token;){const{index:r,tokenPos:i,tokenValue:o,linePos:a,colPos:s,token:l}=e,c=mt(e,t);se(e,r,i,o)&&(t|=1024),n.push(qe(e,t,c,l,i,a,s))}for(;1048576!==e.token;)n.push(_e(e,t,r,4,{}));return n}(a,8192|r,s);const u={type:"Program",sourceType:c,body:l};return 2&r&&(u.start=0,u.end=e.length,u.range=[0,e.length]),4&r&&(u.loc={start:{line:1,column:0},end:{line:a.line,column:a.column}},a.sourceFile&&(u.loc.source=o)),u}function Ae(e,t,r){let n;switch(e.leadingDecorators=jt(e,t),e.token){case 20566:n=function(e,t,r){const n=e.tokenPos,i=e.linePos,o=e.colPos;Q(e,32768|t);const a=[];let s,l=null,c=null;if(ce(e,32768|t,20563)){switch(e.token){case 86106:l=yt(e,t,r,4,1,1,0,e.tokenPos,e.linePos,e.colPos);break;case 133:case 86096:l=Nt(e,t,r,1,e.tokenPos,e.linePos,e.colPos);break;case 209007:const{tokenPos:n,linePos:i,colPos:o}=e;l=ht(e,t,0);const{flags:a}=e;(1&a)<1&&(86106===e.token?l=yt(e,t,r,4,1,1,1,n,i,o):67174411===e.token?(l=Ot(e,t,l,1,1,0,a,n,i,o),l=nt(e,t,l,0,0,n,i,o),l=$e(e,t,0,0,n,i,o,l)):143360&e.token&&(r&&(r=ge(e,t,e.tokenValue)),l=ht(e,t,0),l=Ct(e,t,r,[l],1,n,i,o)));break;default:l=We(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos),ae(e,32768|t)}return r&&Pe(e,"default"),ye(e,t,n,i,o,{type:"ExportDefaultDeclaration",declaration:l})}switch(e.token){case 8457014:{Q(e,t);let a=null;return ce(e,t,77934)&&(r&&Pe(e,e.tokenValue),a=ht(e,t,0)),ue(e,t,12404),134283267!==e.token&&m(e,102,"Export"),c=mt(e,t),ae(e,32768|t),ye(e,t,n,i,o,{type:"ExportAllDeclaration",source:c,exported:a})}case 2162700:{Q(e,t);const n=[],i=[];for(;143360&e.token;){const{tokenPos:o,tokenValue:s,linePos:l,colPos:c}=e,u=ht(e,t,0);let p;77934===e.token?(Q(e,t),134217728==(134217728&e.token)&&m(e,103),r&&(n.push(e.tokenValue),i.push(s)),p=ht(e,t,0)):(r&&(n.push(e.tokenValue),i.push(e.tokenValue)),p=u),a.push(ye(e,t,o,l,c,{type:"ExportSpecifier",local:u,exported:p})),1074790415!==e.token&&ue(e,t,18)}if(ue(e,t,1074790415),ce(e,t,12404))134283267!==e.token&&m(e,102,"Export"),c=mt(e,t);else if(r){let t=0,r=n.length;for(;t<r;t++)Pe(e,n[t]);for(t=0,r=i.length;t<r;t++)Se(e,i[t])}ae(e,32768|t);break}case 86096:l=Nt(e,t,r,2,e.tokenPos,e.linePos,e.colPos);break;case 86106:l=yt(e,t,r,4,1,2,0,e.tokenPos,e.linePos,e.colPos);break;case 241739:l=Re(e,t,r,8,64,e.tokenPos,e.linePos,e.colPos);break;case 86092:l=Re(e,t,r,16,64,e.tokenPos,e.linePos,e.colPos);break;case 86090:l=Me(e,t,r,64,e.tokenPos,e.linePos,e.colPos);break;case 209007:const{tokenPos:u,linePos:p,colPos:f}=e;if(Q(e,t),(1&e.flags)<1&&86106===e.token){l=yt(e,t,r,4,1,2,1,u,p,f),r&&(s=l.id?l.id.name:"",Pe(e,s));break}default:m(e,28,J[255&e.token])}return ye(e,t,n,i,o,{type:"ExportNamedDeclaration",declaration:l,specifiers:a,source:c})}(e,t,r);break;case 86108:n=function(e,t,r){const n=e.tokenPos,i=e.linePos,o=e.colPos;Q(e,t);let a=null;const{tokenPos:s,linePos:l,colPos:c}=e;let u=[];if(134283267===e.token)a=mt(e,t);else{if(143360&e.token){if(u=[ye(e,t,s,l,c,{type:"ImportDefaultSpecifier",local:ze(e,t,r)})],ce(e,t,18))switch(e.token){case 8457014:u.push(Je(e,t,r));break;case 2162700:Xe(e,t,r,u);break;default:m(e,104)}}else switch(e.token){case 8457014:u=[Je(e,t,r)];break;case 2162700:Xe(e,t,r,u);break;case 67174411:return He(e,t,n,i,o);case 67108877:return Ge(e,t,n,i,o);default:m(e,28,J[255&e.token])}a=function(e,t){ce(e,t,12404),134283267!==e.token&&m(e,102,"Import");return mt(e,t)}(e,t)}return ae(e,32768|t),ye(e,t,n,i,o,{type:"ImportDeclaration",specifiers:u,source:a})}(e,t,r);break;default:n=_e(e,t,r,4,{})}return e.leadingDecorators.length&&m(e,164),n}function _e(e,t,r,n,i){const o=e.tokenPos,a=e.linePos,s=e.colPos;switch(e.token){case 86106:return yt(e,t,r,n,1,0,0,o,a,s);case 133:case 86096:return Nt(e,t,r,0,o,a,s);case 86092:return Re(e,t,r,16,0,o,a,s);case 241739:return function(e,t,r,n,i,o,a){const{token:s,tokenValue:l}=e;let c=ht(e,t,0);if(2240512&e.token){const n=Ve(e,t,r,8,0);return ae(e,32768|t),ye(e,t,i,o,a,{type:"VariableDeclaration",kind:"let",declarations:n})}e.assignable=1,1024&t&&m(e,82);if(21===e.token)return Ie(e,t,r,n,{},l,c,s,0,i,o,a);if(10===e.token){let r;64&t&&(r=ge(e,t,l)),e.flags=128^(128|e.flags),c=Ct(e,t,r,[c],0,i,o,a)}else c=nt(e,t,c,0,0,i,o,a),c=$e(e,t,0,0,i,o,a,c);18===e.token&&(c=Ke(e,t,0,i,o,a,c));return je(e,t,c,i,o,a)}(e,t,r,n,o,a,s);case 20566:m(e,100,"export");case 86108:switch(Q(e,t),e.token){case 67174411:return He(e,t,o,a,s);case 67108877:return Ge(e,t,o,a,s);default:m(e,100,"import")}case 209007:return Le(e,t,r,n,i,1,o,a,s);default:return Oe(e,t,r,n,i,1,o,a,s)}}function Oe(e,t,r,n,i,o,a,s,l){switch(e.token){case 86090:return Me(e,t,r,0,a,s,l);case 20574:return function(e,t,r,n,i){(32&t)<1&&8192&t&&m(e,89);Q(e,32768|t);const o=1&e.flags||1048576&e.token?null:Ye(e,t,0,1,e.tokenPos,e.line,e.column);return ae(e,32768|t),ye(e,t,r,n,i,{type:"ReturnStatement",argument:o})}(e,t,a,s,l);case 20571:return function(e,t,r,n,i,o,a){Q(e,t),ue(e,32768|t,67174411),e.assignable=1;const s=Ye(e,t,0,1,e.tokenPos,e.line,e.colPos);ue(e,32768|t,16);const l=Be(e,t,r,n,e.tokenPos,e.linePos,e.colPos);let c=null;20565===e.token&&(Q(e,32768|t),c=Be(e,t,r,n,e.tokenPos,e.linePos,e.colPos));return ye(e,t,i,o,a,{type:"IfStatement",test:s,consequent:l,alternate:c})}(e,t,r,i,a,s,l);case 20569:return function(e,t,r,n,i,o,a){Q(e,t);const s=(4194304&t)>0&&ce(e,t,209008);ue(e,32768|t,67174411),r&&(r=xe(r,1));let l,c=null,u=null,p=0,f=null,d=86090===e.token||241739===e.token||86092===e.token;const{token:h,tokenPos:y,linePos:b,colPos:g}=e;d?241739===h?(f=ht(e,t,0),2240512&e.token?(8738868===e.token?1024&t&&m(e,64):f=ye(e,t,y,b,g,{type:"VariableDeclaration",kind:"let",declarations:Ve(e,134217728|t,r,8,32)}),e.assignable=1):1024&t?m(e,64):(d=!1,e.assignable=1,f=nt(e,t,f,0,0,y,b,g),274549===e.token&&m(e,111))):(Q(e,t),f=ye(e,t,y,b,g,86090===h?{type:"VariableDeclaration",kind:"var",declarations:Ve(e,134217728|t,r,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:Ve(e,134217728|t,r,16,32)}),e.assignable=1):1074790417===h?s&&m(e,79):2097152==(2097152&h)?(f=2162700===h?Et(e,t,void 0,1,0,0,2,32,y,b,g):gt(e,t,void 
0,1,0,0,2,32,y,b,g),p=e.destructible,256&t&&64&p&&m(e,60),e.assignable=16&p?2:1,f=nt(e,134217728|t,f,0,0,e.tokenPos,e.linePos,e.colPos)):f=rt(e,134217728|t,1,0,1,y,b,g);if(262144==(262144&e.token)){if(274549===e.token){2&e.assignable&&m(e,77,s?"await":"of"),pe(e,f),Q(e,32768|t),l=We(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos),ue(e,32768|t,16);return ye(e,t,i,o,a,{type:"ForOfStatement",left:f,right:l,body:Fe(e,t,r,n),await:s})}2&e.assignable&&m(e,77,"in"),pe(e,f),Q(e,32768|t),s&&m(e,79),l=Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos),ue(e,32768|t,16);return ye(e,t,i,o,a,{type:"ForInStatement",body:Fe(e,t,r,n),left:f,right:l})}s&&m(e,79);d||(8&p&&1077936157!==e.token&&m(e,77,"loop"),f=$e(e,134217728|t,0,0,y,b,g,f));18===e.token&&(f=Ke(e,t,0,e.tokenPos,e.linePos,e.colPos,f));ue(e,32768|t,1074790417),1074790417!==e.token&&(c=Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos));ue(e,32768|t,1074790417),16!==e.token&&(u=Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos));ue(e,32768|t,16);const v=Fe(e,t,r,n);return ye(e,t,i,o,a,{type:"ForStatement",init:f,test:c,update:u,body:v})}(e,t,r,i,a,s,l);case 20564:return function(e,t,r,n,i,o,a){Q(e,32768|t);const s=Fe(e,t,r,n);ue(e,t,20580),ue(e,32768|t,67174411);const l=Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos);return ue(e,32768|t,16),ce(e,t,1074790417),ye(e,t,i,o,a,{type:"DoWhileStatement",body:s,test:l})}(e,t,r,i,a,s,l);case 20580:return function(e,t,r,n,i,o,a){Q(e,t),ue(e,32768|t,67174411);const s=Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos);ue(e,32768|t,16);const l=Fe(e,t,r,n);return ye(e,t,i,o,a,{type:"WhileStatement",test:s,body:l})}(e,t,r,i,a,s,l);case 86112:return function(e,t,r,n,i,o,a){Q(e,t),ue(e,32768|t,67174411);const s=Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos);ue(e,t,16),ue(e,t,2162700);const l=[];let c=0;r&&(r=xe(r,8));for(;1074790415!==e.token;){const{tokenPos:i,linePos:o,colPos:a}=e;let s=null;const u=[];for(ce(e,32768|t,20558)?s=Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos):(ue(e,32768|t,20563),c&&m(e,86),c=1),ue(e,32768|t,21);20558!==e.token&&1074790415!==e.token&&20563!==e.token;)u.push(_e(e,4096|t,r,2,{$:n}));l.push(ye(e,t,i,o,a,{type:"SwitchCase",test:s,consequent:u}))}return ue(e,32768|t,1074790415),ye(e,t,i,o,a,{type:"SwitchStatement",discriminant:s,cases:l})}(e,t,r,i,a,s,l);case 1074790417:return function(e,t,r,n,i){return Q(e,32768|t),ye(e,t,r,n,i,{type:"EmptyStatement"})}(e,t,a,s,l);case 2162700:return Ne(e,t,r?xe(r,2):r,i,a,s,l);case 86114:return function(e,t,r,n,i){Q(e,32768|t),1&e.flags&&m(e,87);const o=Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos);return ae(e,32768|t),ye(e,t,r,n,i,{type:"ThrowStatement",argument:o})}(e,t,a,s,l);case 20557:return function(e,t,r,n,i,o){Q(e,32768|t);let a=null;if((1&e.flags)<1&&143360&e.token){const{tokenValue:n}=e;a=ht(e,32768|t,0),me(e,r,n,0)||m(e,134,n)}else(135168&t)<1&&m(e,66);return ae(e,32768|t),ye(e,t,n,i,o,{type:"BreakStatement",label:a})}(e,t,i,a,s,l);case 20561:return function(e,t,r,n,i,o){(131072&t)<1&&m(e,65);Q(e,t);let a=null;if((1&e.flags)<1&&143360&e.token){const{tokenValue:n}=e;a=ht(e,32768|t,0),me(e,r,n,1)||m(e,134,n)}return ae(e,32768|t),ye(e,t,n,i,o,{type:"ContinueStatement",label:a})}(e,t,i,a,s,l);case 20579:return function(e,t,r,n,i,o,a){Q(e,32768|t);const s=r?xe(r,32):void 0,l=Ne(e,t,s,{$:n},e.tokenPos,e.linePos,e.colPos),{tokenPos:c,linePos:u,colPos:p}=e,f=ce(e,32768|t,20559)?function(e,t,r,n,i,o,a){let s=null,l=r;ce(e,t,67174411)&&(r&&(r=xe(r,4)),s=Rt(e,t,r,2097152==(2097152&e.token)?256:512,0,e.tokenPos,e.linePos,e.colPos),18===e.token?m(e,83):1077936157===e.token&&m(e,84),ue(e,32768|t,16),r&&(l=xe(r,64)));const c=Ne(e,t,l,{$:n},e.tokenPos,e.linePos,e.colPos);return ye(e,t,i,o,a,{type:"CatchClause",param:s,body:c})}(e,t,r,n,c,u,p):null;let d=null;if(20568===e.token){Q(e,32768|t);d=Ne(e,t,s?xe(r,4):void 0,{$:n},e.tokenPos,e.linePos,e.colPos)}f||d||m(e,85);return ye(e,t,i,o,a,{type:"TryStatement",block:l,handler:f,finalizer:d})}(e,t,r,i,a,s,l);case 20581:return function(e,t,r,n,i,o,a){Q(e,t),1024&t&&m(e,88);ue(e,32768|t,67174411);const s=Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos);ue(e,32768|t,16);const l=Oe(e,t,r,2,n,0,e.tokenPos,e.linePos,e.colPos);return ye(e,t,i,o,a,{type:"WithStatement",object:s,body:l})}(e,t,r,i,a,s,l);case 20562:return function(e,t,r,n,i){return Q(e,32768|t),ae(e,32768|t),ye(e,t,r,n,i,{type:"DebuggerStatement"})}(e,t,a,s,l);case 209007:return Le(e,t,r,n,i,0,a,s,l);case 20559:m(e,156);case 20568:m(e,157);case 86106:m(e,1024&t?73:(256&t)<1?75:74);case 86096:m(e,76);default:return function(e,t,r,n,i,o,a,s,l){const{tokenValue:c,token:u}=e;let p;switch(u){case 241739:p=ht(e,t,0),1024&t&&m(e,82),69271571===e.token&&m(e,81);break;default:p=ot(e,t,2,0,1,0,0,1,e.tokenPos,e.linePos,e.colPos)}if(143360&u&&21===e.token)return Ie(e,t,r,n,i,c,p,u,o,a,s,l);p=nt(e,t,p,0,0,a,s,l),p=$e(e,t,0,0,a,s,l,p),18===e.token&&(p=Ke(e,t,0,a,s,l,p));return je(e,t,p,a,s,l)}(e,t,r,n,i,o,a,s,l)}}function Ne(e,t,r,n,i,o,a){const s=[];for(ue(e,32768|t,2162700);1074790415!==e.token;)s.push(_e(e,t,r,2,{$:n}));return ue(e,32768|t,1074790415),ye(e,t,i,o,a,{type:"BlockStatement",body:s})}function je(e,t,r,n,i,o){return ae(e,32768|t),ye(e,t,n,i,o,{type:"ExpressionStatement",expression:r})}function Ie(e,t,r,n,i,o,a,s,l,c,u,p){fe(e,t,0,s,1),function(e,t,r){let n=t;for(;n;)n["$"+r]&&m(e,132,r),n=n.$;t["$"+r]=1}(e,i,o),Q(e,32768|t);return ye(e,t,c,u,p,{type:"LabeledStatement",label:a,body:l&&(1024&t)<1&&256&t&&86106===e.token?yt(e,t,xe(r,2),n,0,0,0,e.tokenPos,e.linePos,e.colPos):Oe(e,t,r,n,i,l,e.tokenPos,e.linePos,e.colPos)})}function Le(e,t,r,n,i,o,a,s,l){const{token:c,tokenValue:u}=e;let p=ht(e,t,0);if(21===e.token)return Ie(e,t,r,n,i,u,p,c,1,a,s,l);const 
f=1&e.flags;if(!f){if(86106===e.token)return o||m(e,119),yt(e,t,r,n,1,0,1,a,s,l);if(143360==(143360&e.token))return p=_t(e,t,1,a,s,l),18===e.token&&(p=Ke(e,t,0,a,s,l,p)),je(e,t,p,a,s,l)}return 67174411===e.token?p=Ot(e,t,p,1,1,0,f,a,s,l):(10===e.token&&(Ce(e,t,c,1),p=St(e,t,e.tokenValue,p,0,1,0,a,s,l)),e.assignable=1),p=nt(e,t,p,0,0,a,s,l),18===e.token&&(p=Ke(e,t,0,a,s,l,p)),p=$e(e,t,0,0,a,s,l,p),e.assignable=1,je(e,t,p,a,s,l)}function qe(e,t,r,n,i,o,a){return 1074790417!==n&&(e.assignable=2,r=nt(e,t,r,0,0,i,o,a),1074790417!==e.token&&(r=$e(e,t,0,0,i,o,a,r),18===e.token&&(r=Ke(e,t,0,i,o,a,r))),ae(e,32768|t)),8&t&&"Literal"===r.type&&"string"==typeof r.value?ye(e,t,i,o,a,{type:"ExpressionStatement",expression:r,directive:r.raw.slice(1,-1)}):ye(e,t,i,o,a,{type:"ExpressionStatement",expression:r})}function Be(e,t,r,n,i,o,a){return 1024&t||(256&t)<1||86106!==e.token?Oe(e,t,r,0,{$:n},0,e.tokenPos,e.linePos,e.colPos):yt(e,t,xe(r,2),0,0,0,0,i,o,a)}function Fe(e,t,r,n){return Oe(e,134217728^(134217728|t)|131072,r,0,{loop:1,$:n},0,e.tokenPos,e.linePos,e.colPos)}function Re(e,t,r,n,i,o,a,s){Q(e,t);const l=Ve(e,t,r,n,i);return ae(e,32768|t),ye(e,t,o,a,s,{type:"VariableDeclaration",kind:8&n?"let":"const",declarations:l})}function Me(e,t,r,n,i,o,a){Q(e,t);const s=Ve(e,t,r,4,n);return ae(e,32768|t),ye(e,t,i,o,a,{type:"VariableDeclaration",kind:"var",declarations:s})}function Ve(e,t,r,n,i){let o=1;const a=[Ue(e,t,r,n,i)];for(;ce(e,t,18);)o++,a.push(Ue(e,t,r,n,i));return o>1&&32&i&&262144&e.token&&m(e,58,J[255&e.token]),a}function Ue(e,t,r,n,i){const{token:o,tokenPos:a,linePos:s,colPos:l}=e;let c=null;const u=Rt(e,t,r,n,i,a,s,l);return 1077936157===e.token?(Q(e,32768|t),c=We(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos),(32&i||(2097152&o)<1)&&(274549===e.token||8738868===e.token&&(2097152&o||(4&n)<1||1024&t))&&b(a,e.line,e.index-3,57,274549===e.token?"of":"in")):(16&n||(2097152&o)>0)&&262144!=(262144&e.token)&&m(e,56,16&n?"const":"destructuring"),ye(e,t,a,s,l,{type:"VariableDeclarator",id:u,init:c})}function ze(e,t,r){return Te(t,e.token)||m(e,114),537079808==(537079808&e.token)&&m(e,115),r&&Ee(e,t,r,e.tokenValue,8,0),ht(e,t,0)}function Je(e,t,r){const{tokenPos:n,linePos:i,colPos:o}=e;return Q(e,t),ue(e,t,77934),134217728==(134217728&e.token)&&b(n,e.line,e.index,28,J[255&e.token]),ye(e,t,n,i,o,{type:"ImportNamespaceSpecifier",local:ze(e,t,r)})}function Xe(e,t,r,n){for(Q(e,t);143360&e.token;){let{token:i,tokenValue:o,tokenPos:a,linePos:s,colPos:l}=e;const c=ht(e,t,0);let u;ce(e,t,77934)?(134217728==(134217728&e.token)||18===e.token?m(e,103):fe(e,t,16,e.token,0),o=e.tokenValue,u=ht(e,t,0)):(fe(e,t,16,i,0),u=c),r&&Ee(e,t,r,o,8,0),n.push(ye(e,t,a,s,l,{type:"ImportSpecifier",local:u,imported:c})),1074790415!==e.token&&ue(e,t,18)}return ue(e,t,1074790415),n}function Ge(e,t,r,n,i){let o=at(e,t,ye(e,t,r,n,i,{type:"Identifier",name:"import"}),r,n,i);return o=nt(e,t,o,0,0,r,n,i),o=$e(e,t,0,0,r,n,i,o),je(e,t,o,r,n,i)}function He(e,t,r,n,i){let o=st(e,t,0,r,n,i);return o=nt(e,t,o,0,0,r,n,i),je(e,t,o,r,n,i)}function We(e,t,r,n,i,o,a,s){let l=ot(e,t,2,0,r,n,i,1,o,a,s);return l=nt(e,t,l,i,0,o,a,s),$e(e,t,i,0,o,a,s,l)}function Ke(e,t,r,n,i,o,a){const s=[a];for(;ce(e,32768|t,18);)s.push(We(e,t,1,0,r,e.tokenPos,e.linePos,e.colPos));return ye(e,t,n,i,o,{type:"SequenceExpression",expressions:s})}function Ye(e,t,r,n,i,o,a){const s=We(e,t,n,0,r,i,o,a);return 18===e.token?Ke(e,t,r,i,o,a,s):s}function $e(e,t,r,n,i,o,a,s){const{token:l}=e;if(4194304==(4194304&l)){2&e.assignable&&m(e,24),(!n&&1077936157===l&&"ArrayExpression"===s.type||"ObjectExpression"===s.type)&&pe(e,s),Q(e,32768|t);const c=We(e,t,1,1,r,e.tokenPos,e.linePos,e.colPos);return e.assignable=2,ye(e,t,i,o,a,n?{type:"AssignmentPattern",left:s,right:c}:{type:"AssignmentExpression",left:s,operator:J[255&l],right:c})}return 8454144==(8454144&l)&&(s=et(e,t,r,i,o,a,4,l,s)),ce(e,32768|t,22)&&(s=Ze(e,t,s,i,o,a)),s}function Qe(e,t,r,n,i,o,a,s){const{token:l}=e;Q(e,32768|t);const c=We(e,t,1,1,r,e.tokenPos,e.linePos,e.colPos);return s=ye(e,t,i,o,a,n?{type:"AssignmentPattern",left:s,right:c}:{type:"AssignmentExpression",left:s,operator:J[255&l],right:c}),e.assignable=2,s}function Ze(e,t,r,n,i,o){const a=We(e,134217728^(134217728|t),1,0,0,e.tokenPos,e.linePos,e.colPos);ue(e,32768|t,21),e.assignable=1;const s=We(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=2,ye(e,t,n,i,o,{type:"ConditionalExpression",test:r,consequent:a,alternate:s})}function et(e,t,r,n,i,o,a,s,l){const c=8738868&-((134217728&t)>0);let u,p;for(e.assignable=2;8454144&e.token&&(u=e.token,p=3840&u,(524288&u&&268435456&s||524288&s&&268435456&u)&&m(e,159),!(p+((8457273===u)<<8)-((c===u)<<12)<=a));)Q(e,32768|t),l=ye(e,t,n,i,o,{type:524288&u||268435456&u?"LogicalExpression":"BinaryExpression",left:l,right:et(e,t,r,e.tokenPos,e.linePos,e.colPos,p,u,rt(e,t,0,r,1,e.tokenPos,e.linePos,e.colPos)),operator:J[255&u]});return 1077936157===e.token&&m(e,24),l}function tt(e,t,r,n,i,o){const{tokenPos:a,linePos:s,colPos:l}=e;ue(e,32768|t,2162700);const c=[],u=t;if(1074790415!==e.token){for(;134283267===e.token;){const{index:r,tokenPos:n,tokenValue:i,token:o}=e,a=mt(e,t);se(e,r,n,i)&&(t|=1024,128&e.flags&&b(e.index,e.line,e.tokenPos,63),64&e.flags&&b(e.index,e.line,e.tokenPos,8)),c.push(qe(e,t,a,o,n,e.linePos,e.colPos))}1024&t&&(i&&(537079808==(537079808&i)&&m(e,115),36864==(36864&i)&&m(e,38)),512&e.flags&&m(e,115),256&e.flags&&m(e,114)),64&t&&r&&void 0!==o&&(1024&u)<1&&(8192&t)<1&&y(o)}for(e.flags=832^(832|e.flags),e.destructible=256^(256|e.destructible);1074790415!==e.token;)c.push(_e(e,t,r,4,{}));return ue(e,24&n?32768|t:t,1074790415),e.flags&=-193,1077936157===e.token&&m(e,24),ye(e,t,a,s,l,{type:"BlockStatement",body:c})}function rt(e,t,r,n,i,o,a,s){return nt(e,t,ot(e,t,2,0,r,0,n,i,o,a,s),n,0,o,a,s)}function nt(e,t,r,n,i,o,a,s){if(33619968==(33619968&e.token)&&(1&e.flags)<1)r=function(e,t,r,n,i,o){2&e.assignable&&m(e,52);const{token:a}=e;return Q(e,t),e.assignable=2,ye(e,t,n,i,o,{type:"UpdateExpression",argument:r,operator:J[255&a],prefix:!1})}(e,t,r,o,a,s);else if(67108864==(67108864&e.token)){switch(t=134225920^(134225920|t),e.token){case 67108877:Q(e,1073741824|t),e.assignable=1;r=ye(e,t,o,a,s,{type:"MemberExpression",object:r,computed:!1,property:it(e,t)});break;case 69271571:{let i=!1;2048==(2048&e.flags)&&(i=!0,e.flags=2048^(2048|e.flags)),Q(e,32768|t);const{tokenPos:l,linePos:c,colPos:u}=e,p=Ye(e,t,n,1,l,c,u);ue(e,t,20),e.assignable=1,r=ye(e,t,o,a,s,{type:"MemberExpression",object:r,computed:!0,property:p}),i&&(e.flags|=2048);break}case 67174411:{if(1024==(1024&e.flags))return e.flags=1024^(1024|e.flags),r;let i=!1;2048==(2048&e.flags)&&(i=!0,e.flags=2048^(2048|e.flags));const l=dt(e,t,n);e.assignable=2,r=ye(e,t,o,a,s,{type:"CallExpression",callee:r,arguments:l}),i&&(e.flags|=2048);break}case 67108991:Q(e,t),e.flags|=2048,e.assignable=2,r=function(e,t,r,n,i,o){let a,s=!1;69271571!==e.token&&67174411!==e.token||2048==(2048&e.flags)&&(s=!0,e.flags=2048^(2048|e.flags));if(69271571===e.token){Q(e,32768|t);const{tokenPos:s,linePos:l,colPos:c}=e,u=Ye(e,t,0,1,s,l,c);ue(e,t,20),e.assignable=2,a=ye(e,t,n,i,o,{type:"MemberExpression",object:r,computed:!0,optional:!0,property:u})}else if(67174411===e.token){const s=dt(e,t,0);e.assignable=2,a=ye(e,t,n,i,o,{type:"CallExpression",callee:r,arguments:s,optional:!0})}else{(143360&e.token)<1&&m(e,154);const s=ht(e,t,0);e.assignable=2,a=ye(e,t,n,i,o,{type:"MemberExpression",object:r,computed:!1,optional:!0,property:s})}s&&(e.flags|=2048);return a}(e,t,r,o,a,s);break;default:2048==(2048&e.flags)&&m(e,160),e.assignable=2,r=ye(e,t,o,a,s,{type:"TaggedTemplateExpression",tag:r,quasi:67174408===e.token?ut(e,65536|t):ct(e,t,e.tokenPos,e.linePos,e.colPos)})}r=nt(e,t,r,0,1,o,a,s)}return 0===i&&2048==(2048&e.flags)&&(e.flags=2048^(2048|e.flags),r=ye(e,t,o,a,s,{type:"ChainExpression",expression:r})),r}function it(e,t){return(143360&e.token)<1&&131!==e.token&&m(e,154),1&t&&131===e.token?Bt(e,t,e.tokenPos,e.linePos,e.colPos):ht(e,t,0)}function ot(e,t,r,n,i,o,a,s,l,c,u){if(143360==(143360&e.token)){switch(e.token){case 209008:return function(e,t,r,n,i,o,a){if(n&&(e.destructible|=128),4194304&t){r&&m(e,0),8388608&t&&b(e.index,e.line,e.index,29),Q(e,32768|t);const n=rt(e,t,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.assignable=2,ye(e,t,i,o,a,{type:"AwaitExpression",argument:n})}return 2048&t&&m(e,107,"Await"),Pt(e,t,i,o,a)}(e,t,n,a,l,c,u);case 241773:return function(e,t,r,n,i,o,a){if(r&&(e.destructible|=256),2097152&t){Q(e,32768|t),8388608&t&&m(e,30),n||m(e,24),22===e.token&&m(e,120);let r=null,s=!1;return(1&e.flags)<1&&(s=ce(e,32768|t,8457014),(77824&e.token||s)&&(r=We(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos))),e.assignable=2,ye(e,t,i,o,a,{type:"YieldExpression",argument:r,delegate:s})}return 1024&t&&m(e,94,"yield"),Pt(e,t,i,o,a)}(e,t,a,i,l,c,u);case 209007:return function(e,t,r,n,i,o,a,s,l,c){const{token:u}=e,p=ht(e,t,o),{flags:f}=e;if((1&f)<1){if(86106===e.token)return bt(e,t,1,r,s,l,c);if(143360==(143360&e.token))return n||m(e,0),_t(e,t,i,s,l,c)}return a||67174411!==e.token?10===e.token?(Ce(e,t,u,1),a&&m(e,48),St(e,t,e.tokenValue,p,a,i,0,s,l,c)):p:Ot(e,t,p,i,1,0,f,s,l,c)}(e,t,a,s,i,o,n,l,c,u)}const{token:p,tokenValue:f}=e,d=ht(e,65536|t,o);return 10===e.token?(s||m(e,0),Ce(e,t,p,1),St(e,t,f,d,n,i,0,l,c,u)):(16384&t&&537079928===p&&m(e,126),241739===p&&(1024&t&&m(e,109),24&r&&m(e,97)),e.assignable=1024&t&&537079808==(537079808&p)?2:1,d)}if(134217728==(134217728&e.token))return mt(e,t);switch(e.token){case 33619995:case 33619996:return function(e,t,r,n,i,o,a){r&&m(e,53),n||m(e,0);const{token:s}=e;Q(e,32768|t);const l=rt(e,t,0,0,1,e.tokenPos,e.linePos,e.colPos);return 2&e.assignable&&m(e,52),e.assignable=2,ye(e,t,i,o,a,{type:"UpdateExpression",argument:l,operator:J[255&s],prefix:!0})}(e,t,n,s,l,c,u);case 16863278:case 16842800:case 16842801:case 25233970:case 25233971:case 16863277:case 16863279:return function(e,t,r,n,i,o,a){r||m(e,0);const s=e.token;Q(e,32768|t);const l=rt(e,t,0,a,1,e.tokenPos,e.linePos,e.colPos);var c;return 8457273===e.token&&m(e,31),1024&t&&16863278===s&&("Identifier"===l.type?m(e,117):(c=l).property&&"PrivateIdentifier"===c.property.type&&m(e,123)),e.assignable=2,ye(e,t,n,i,o,{type:"UnaryExpression",operator:J[255&s],argument:l,prefix:!0})}(e,t,s,l,c,u,a);case 86106:return bt(e,t,0,a,l,c,u);case 2162700:return function(e,t,r,n,i,o,a){const s=Et(e,t,void 0,r,n,0,2,0,i,o,a);256&t&&64&e.destructible&&m(e,60);8&e.destructible&&m(e,59);return s}(e,t,i?0:1,a,l,c,u);case 69271571:return function(e,t,r,n,i,o,a){const s=gt(e,t,void 0,r,n,0,2,0,i,o,a);256&t&&64&e.destructible&&m(e,60);8&e.destructible&&m(e,59);return s}(e,t,i?0:1,a,l,c,u);case 67174411:return function(e,t,r,n,i,o,a,s){e.flags=128^(128|e.flags);const{tokenPos:l,linePos:c,colPos:u}=e;Q(e,1073774592|t);const p=64&t?xe({parent:void 0,type:2},1024):void 0;if(ce(e,t=134225920^(134225920|t),16))return Tt(e,t,p,[],r,0,o,a,s);let f,d=0;e.destructible&=-385;let h=[],y=0,b=0;const{tokenPos:g,linePos:v,colPos:x}=e;e.assignable=1;for(;16!==e.token;){const{token:r,tokenPos:o,linePos:a,colPos:s}=e;if(143360&r)p&&Ee(e,t,p,e.tokenValue,1,0),f=ot(e,t,n,0,1,0,1,1,o,a,s),16===e.token||18===e.token?2&e.assignable?(d|=16,b=1):537079808!=(537079808&r)&&36864!=(36864&r)||(b=1):(1077936157===e.token?b=1:d|=16,f=nt(e,t,f,1,0,o,a,s),16!==e.token&&18!==e.token&&(f=$e(e,t,1,0,o,a,s,f)));else{if(2097152!=(2097152&r)){if(14===r){f=xt(e,t,p,16,n,i,0,1,0,o,a,s),16&e.destructible&&m(e,71),b=1,!y||16!==e.token&&18!==e.token||h.push(f),d|=8;break}if(d|=16,f=We(e,t,1,0,1,o,a,s),!y||16!==e.token&&18!==e.token||h.push(f),18===e.token&&(y||(y=1,h=[f])),y){for(;ce(e,32768|t,18);)h.push(We(e,t,1,0,1,e.tokenPos,e.linePos,e.colPos));e.assignable=2,f=ye(e,t,g,v,x,{type:"SequenceExpression",expressions:h})}return ue(e,t,16),e.destructible=d,f}f=2162700===r?Et(e,1073741824|t,p,0,1,0,n,i,o,a,s):gt(e,1073741824|t,p,0,1,0,n,i,o,a,s),d|=e.destructible,b=1,e.assignable=2,16!==e.token&&18!==e.token&&(8&d&&m(e,118),f=nt(e,t,f,0,0,o,a,s),d|=16,16!==e.token&&18!==e.token&&(f=$e(e,t,0,0,o,a,s,f)))}if(!y||16!==e.token&&18!==e.token||h.push(f),!ce(e,32768|t,18))break;if(y||(y=1,h=[f]),16===e.token){d|=8;break}}y&&(e.assignable=2,f=ye(e,t,g,v,x,{type:"SequenceExpression",expressions:h}));ue(e,t,16),16&d&&8&d&&m(e,145);if(d|=256&e.destructible?256:0|128&e.destructible?128:0,10===e.token)return 48&d&&m(e,46),4196352&t&&128&d&&m(e,29),2098176&t&&256&d&&m(e,30),b&&(e.flags|=128),Tt(e,t,p,y?h:[f],r,0,o,a,s);8&d&&m(e,139);return e.destructible=256^(256|e.destructible)|d,128&t?ye(e,t,l,c,u,{type:"ParenthesizedExpression",expression:f}):f}(e,t,i,1,0,l,c,u);case 86021:case 86022:case 86023:return function(e,t,r,n,i){const o=J[255&e.token],a=86023===e.token?null:"true"===o;return Q(e,t),e.assignable=2,ye(e,t,r,n,i,512&t?{type:"Literal",value:a,raw:o}:{type:"Literal",value:a})}(e,t,l,c,u);case 86113:return function(e,t){const{tokenPos:r,linePos:n,colPos:i}=e;return Q(e,t),e.assignable=2,ye(e,t,r,n,i,{type:"ThisExpression"})}(e,t);case 65540:return function(e,t,r,n,i){const{tokenRaw:o,tokenRegExp:a,tokenValue:s}=e;return Q(e,t),e.assignable=2,ye(e,t,r,n,i,512&t?{type:"Literal",value:s,regex:a,raw:o}:{type:"Literal",value:s,regex:a})}(e,t,l,c,u);case 133:case 86096:return function(e,t,r,n,i,o){let a=null,s=null;const l=jt(e,t=16777216^(16778240|t));l.length&&(n=e.tokenPos,i=e.linePos,o=e.colPos);Q(e,t),4096&e.token&&20567!==e.token&&(he(e,t,e.token)&&m(e,114),537079808==(537079808&e.token)&&m(e,115),a=ht(e,t,0));let c=t;ce(e,32768|t,20567)?(s=rt(e,t,0,r,0,e.tokenPos,e.linePos,e.colPos),c|=524288):c=524288^(524288|c);const u=Lt(e,c,t,void 0,2,0,r);return e.assignable=2,ye(e,t,n,i,o,1&t?{type:"ClassExpression",id:a,superClass:s,decorators:l,body:u}:{type:"ClassExpression",id:a,superClass:s,body:u})}(e,t,a,l,c,u);case 86111:return function(e,t,r,n,i){switch(Q(e,t),e.token){case 67108991:m(e,161);case 67174411:(524288&t)<1&&m(e,26),16384&t&&m(e,143),e.assignable=2;break;case 69271571:case 67108877:(262144&t)<1&&m(e,27),16384&t&&m(e,143),e.assignable=1;break;default:m(e,28,"super")}return ye(e,t,r,n,i,{type:"Super"})}(e,t,l,c,u);case 67174409:return ct(e,t,l,c,u);case 67174408:return ut(e,t);case 86109:return function(e,t,r,n,i,o){const a=ht(e,32768|t,0),{tokenPos:s,linePos:l,colPos:c}=e;if(ce(e,t,67108877)){if(67108864&t&&143494===e.token)return e.assignable=2,function(e,t,r,n,i,o){const a=ht(e,t,0);return ye(e,t,n,i,o,{type:"MetaProperty",meta:r,property:a})}(e,t,a,n,i,o);m(e,91)}e.assignable=2,16842752==(16842752&e.token)&&m(e,62,J[255&e.token]);const u=ot(e,t,2,1,0,0,r,1,s,l,c);t=134217728^(134217728|t),67108991===e.token&&m(e,162);const p=At(e,t,u,r,s,l,c);return e.assignable=2,ye(e,t,n,i,o,{type:"NewExpression",callee:p,arguments:67174411===e.token?dt(e,t,r):[]})}(e,t,a,l,c,u);case 134283389:return lt(e,t,l,c,u);case 131:return Bt(e,t,l,c,u);case 86108:return 
function(e,t,r,n,i,o,a){let s=ht(e,t,0);if(67108877===e.token)return at(e,t,s,i,o,a);r&&m(e,137);return s=st(e,t,n,i,o,a),e.assignable=2,nt(e,t,s,n,0,i,o,a)}(e,t,n,a,l,c,u);case 8456258:if(16&t)return Vt(e,t,1,l,c,u);default:if(Te(t,e.token))return Pt(e,t,l,c,u);m(e,28,J[255&e.token])}}function at(e,t,r,n,i,o){return 0==(2048&t)&&m(e,163),Q(e,t),143495!==e.token&&"meta"!==e.tokenValue&&m(e,28,J[255&e.token]),e.assignable=2,ye(e,t,n,i,o,{type:"MetaProperty",meta:r,property:ht(e,t,0)})}function st(e,t,r,n,i,o){ue(e,32768|t,67174411),14===e.token&&m(e,138);const a=We(e,t,1,0,r,e.tokenPos,e.linePos,e.colPos);return ue(e,t,16),ye(e,t,n,i,o,{type:"ImportExpression",source:a})}function lt(e,t,r,n,i){const{tokenRaw:o,tokenValue:a}=e;return Q(e,t),e.assignable=2,ye(e,t,r,n,i,512&t?{type:"Literal",value:a,bigint:o.slice(0,-1),raw:o}:{type:"Literal",value:a,bigint:o.slice(0,-1)})}function ct(e,t,r,n,i){e.assignable=2;const{tokenValue:o,tokenRaw:a,tokenPos:s,linePos:l,colPos:c}=e;ue(e,t,67174409);return ye(e,t,r,n,i,{type:"TemplateLiteral",expressions:[],quasis:[pt(e,t,o,a,s,l,c,!0)]})}function ut(e,t){t=134217728^(134217728|t);const{tokenValue:r,tokenRaw:n,tokenPos:i,linePos:o,colPos:a}=e;ue(e,32768|t,67174408);const s=[pt(e,t,r,n,i,o,a,!1)],l=[Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos)];for(1074790415!==e.token&&m(e,80);67174409!==(e.token=V(e,t));){const{tokenValue:r,tokenRaw:n,tokenPos:i,linePos:o,colPos:a}=e;ue(e,32768|t,67174408),s.push(pt(e,t,r,n,i,o,a,!1)),l.push(Ye(e,t,0,1,e.tokenPos,e.linePos,e.colPos)),1074790415!==e.token&&m(e,80)}{const{tokenValue:r,tokenRaw:n,tokenPos:i,linePos:o,colPos:a}=e;ue(e,t,67174409),s.push(pt(e,t,r,n,i,o,a,!0))}return ye(e,t,i,o,a,{type:"TemplateLiteral",expressions:l,quasis:s})}function pt(e,t,r,n,i,o,a,s){const l=ye(e,t,i,o,a,{type:"TemplateElement",value:{cooked:r,raw:n},tail:s}),c=s?1:2;return 2&t&&(l.start+=1,l.range[0]+=1,l.end-=c,l.range[1]-=c),4&t&&(l.loc.start.column+=1,l.loc.end.column-=c),l}function ft(e,t,r,n,i){ue(e,32768|(t=134217728^(134217728|t)),14);const o=We(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=1,ye(e,t,r,n,i,{type:"SpreadElement",argument:o})}function dt(e,t,r){Q(e,32768|t);const n=[];if(16===e.token)return Q(e,t),n;for(;16!==e.token&&(14===e.token?n.push(ft(e,t,e.tokenPos,e.linePos,e.colPos)):n.push(We(e,t,1,0,r,e.tokenPos,e.linePos,e.colPos)),18===e.token)&&(Q(e,32768|t),16!==e.token););return ue(e,t,16),n}function ht(e,t,r){const{tokenValue:n,tokenPos:i,linePos:o,colPos:a}=e;return Q(e,t),ye(e,t,i,o,a,268435456&t?{type:"Identifier",name:n,pattern:1===r}:{type:"Identifier",name:n})}function mt(e,t){const{tokenValue:r,tokenRaw:n,tokenPos:i,linePos:o,colPos:a}=e;return 134283389===e.token?lt(e,t,i,o,a):(Q(e,t),e.assignable=2,ye(e,t,i,o,a,512&t?{type:"Literal",value:r,raw:n}:{type:"Literal",value:r}))}function yt(e,t,r,n,i,o,a,s,l,c){Q(e,32768|t);const u=i?le(e,t,8457014):0;let p,f=null,d=r?{parent:void 
0,type:2}:void 0;if(67174411===e.token)(1&o)<1&&m(e,37,"Function");else{const i=4&n&&((8192&t)<1||(2048&t)<1)?4:64;de(e,t|(3072&t)<<11,e.token),r&&(4&i?we(e,t,r,e.tokenValue,i):Ee(e,t,r,e.tokenValue,i,n),d=xe(d,256),o&&2&o&&Pe(e,e.tokenValue)),p=e.token,143360&e.token?f=ht(e,t,0):m(e,28,J[255&e.token])}t=32243712^(32243712|t)|67108864|2*a+u<<21|(u?0:1073741824),r&&(d=xe(d,512));return ye(e,t,s,l,c,{type:"FunctionDeclaration",id:f,params:Dt(e,8388608|t,d,0,1),body:tt(e,143360^(143360|t),r?xe(d,128):d,8,p,r?d.scopeError:void 0),async:1===a,generator:1===u})}function bt(e,t,r,n,i,o,a){Q(e,32768|t);const s=le(e,t,8457014),l=2*r+s<<21;let c,u=null,p=64&t?{parent:void 0,type:2}:void 0;(176128&e.token)>0&&(de(e,32243712^(32243712|t)|l,e.token),p&&(p=xe(p,256)),c=e.token,u=ht(e,t,0)),t=32243712^(32243712|t)|67108864|l|(s?0:1073741824),p&&(p=xe(p,512));const f=Dt(e,8388608|t,p,n,1),d=tt(e,-134377473&t,p?xe(p,128):p,0,c,void 0);return e.assignable=2,ye(e,t,i,o,a,{type:"FunctionExpression",id:u,params:f,body:d,async:1===r,generator:1===s})}function gt(e,t,r,n,i,o,a,s,l,c,u){Q(e,32768|t);const p=[];let f=0;for(t=134217728^(134217728|t);20!==e.token;)if(ce(e,32768|t,18))p.push(null);else{let n;const{token:l,tokenPos:c,linePos:u,colPos:d,tokenValue:h}=e;if(143360&l)if(n=ot(e,t,a,0,1,0,i,1,c,u,d),1077936157===e.token){2&e.assignable&&m(e,24),Q(e,32768|t),r&&ke(e,t,r,h,a,s);const l=We(e,t,1,1,i,e.tokenPos,e.linePos,e.colPos);n=ye(e,t,c,u,d,o?{type:"AssignmentPattern",left:n,right:l}:{type:"AssignmentExpression",operator:"=",left:n,right:l}),f|=256&e.destructible?256:0|128&e.destructible?128:0}else 18===e.token||20===e.token?(2&e.assignable?f|=16:r&&ke(e,t,r,h,a,s),f|=256&e.destructible?256:0|128&e.destructible?128:0):(f|=1&a?32:(2&a)<1?16:0,n=nt(e,t,n,i,0,c,u,d),18!==e.token&&20!==e.token?(1077936157!==e.token&&(f|=16),n=$e(e,t,i,o,c,u,d,n)):1077936157!==e.token&&(f|=2&e.assignable?16:32));else 2097152&l?(n=2162700===e.token?Et(e,t,r,0,i,o,a,s,c,u,d):gt(e,t,r,0,i,o,a,s,c,u,d),f|=e.destructible,e.assignable=16&e.destructible?2:1,18===e.token||20===e.token?2&e.assignable&&(f|=16):8&e.destructible?m(e,68):(n=nt(e,t,n,i,0,c,u,d),f=2&e.assignable?16:0,18!==e.token&&20!==e.token?n=$e(e,t,i,o,c,u,d,n):1077936157!==e.token&&(f|=2&e.assignable?16:32))):14===l?(n=xt(e,t,r,20,a,s,0,i,o,c,u,d),f|=e.destructible,18!==e.token&&20!==e.token&&m(e,28,J[255&e.token])):(n=rt(e,t,1,0,1,c,u,d),18!==e.token&&20!==e.token?(n=$e(e,t,i,o,c,u,d,n),(3&a)<1&&67174411===l&&(f|=16)):2&e.assignable?f|=16:67174411===l&&(f|=1&e.assignable&&3&a?32:16));if(p.push(n),!ce(e,32768|t,18))break;if(20===e.token)break}ue(e,t,20);const d=ye(e,t,l,c,u,{type:o?"ArrayPattern":"ArrayExpression",elements:p});return!n&&4194304&e.token?vt(e,t,f,i,o,l,c,u,d):(e.destructible=f,d)}function vt(e,t,r,n,i,o,a,s,l){1077936157!==e.token&&m(e,24),Q(e,32768|t),16&r&&m(e,24),i||pe(e,l);const{tokenPos:c,linePos:u,colPos:p}=e,f=We(e,t,1,1,n,c,u,p);return e.destructible=72^(72|r)|(128&e.destructible?128:0)|(256&e.destructible?256:0),ye(e,t,o,a,s,i?{type:"AssignmentPattern",left:l,right:f}:{type:"AssignmentExpression",left:l,operator:"=",right:f})}function xt(e,t,r,n,i,o,a,s,l,c,u,p){Q(e,32768|t);let f=null,d=0,{token:h,tokenValue:y,tokenPos:b,linePos:g,colPos:v}=e;if(143360&h)e.assignable=1,f=ot(e,t,i,0,1,0,s,1,b,g,v),h=e.token,f=nt(e,t,f,s,0,b,g,v),18!==e.token&&e.token!==n&&(2&e.assignable&&1077936157===e.token&&m(e,68),d|=16,f=$e(e,t,s,l,b,g,v,f)),2&e.assignable?d|=16:h===n||18===h?r&&ke(e,t,r,y,i,o):d|=32,d|=128&e.destructible?128:0;else if(h===n)m(e,39);else{if(!(2097152&h)){d|=32,f=rt(e,t,1,s,1,e.tokenPos,e.linePos,e.colPos);const{token:r,tokenPos:i,linePos:o,colPos:a}=e;return 1077936157===r&&r!==n&&18!==r?(2&e.assignable&&m(e,24),f=$e(e,t,s,l,i,o,a,f),d|=16):(18===r?d|=16:r!==n&&(f=$e(e,t,s,l,i,o,a,f)),d|=1&e.assignable?32:16),e.destructible=d,e.token!==n&&18!==e.token&&m(e,155),ye(e,t,c,u,p,{type:l?"RestElement":"SpreadElement",argument:f})}f=2162700===e.token?Et(e,t,r,1,s,l,i,o,b,g,v):gt(e,t,r,1,s,l,i,o,b,g,v),h=e.token,1077936157!==h&&h!==n&&18!==h?(8&e.destructible&&m(e,68),f=nt(e,t,f,s,0,b,g,v),d|=2&e.assignable?16:0,4194304==(4194304&e.token)?(1077936157!==e.token&&(d|=16),f=$e(e,t,s,l,b,g,v,f)):(8454144==(8454144&e.token)&&(f=et(e,t,1,b,g,v,4,h,f)),ce(e,32768|t,22)&&(f=Ze(e,t,f,b,g,v)),d|=2&e.assignable?16:32)):d|=1074790415===n&&1077936157!==h?16:e.destructible}if(e.token!==n)if(1&i&&(d|=a?16:32),ce(e,32768|t,1077936157)){16&d&&m(e,24),pe(e,f);const r=We(e,t,1,1,s,e.tokenPos,e.linePos,e.colPos);f=ye(e,t,b,g,v,l?{type:"AssignmentPattern",left:f,right:r}:{type:"AssignmentExpression",left:f,operator:"=",right:r}),d=16}else d|=16;return e.destructible=d,ye(e,t,c,u,p,{type:l?"RestElement":"SpreadElement",argument:f})}function kt(e,t,r,n,i,o,a){const s=(64&r)<1?31981568:14680064;let l=64&(t=(t|s)^s|(88&r)<<18|100925440)?xe({parent:void 0,type:2},512):void 0;const c=function(e,t,r,n,i,o){ue(e,t,67174411);const a=[];if(e.flags=128^(128|e.flags),16===e.token)return 512&n&&m(e,35,"Setter","one",""),Q(e,t),a;256&n&&m(e,35,"Getter","no","s");512&n&&14===e.token&&m(e,36);t=134217728^(134217728|t);let s=0,l=0;for(;18!==e.token;){let c=null;const{tokenPos:u,linePos:p,colPos:f}=e;if(143360&e.token?((1024&t)<1&&(36864==(36864&e.token)&&(e.flags|=256),537079808==(537079808&e.token)&&(e.flags|=512)),c=Mt(e,t,r,1|n,0,u,p,f)):(2162700===e.token?c=Et(e,t,r,1,o,1,i,0,u,p,f):69271571===e.token?c=gt(e,t,r,1,o,1,i,0,u,p,f):14===e.token&&(c=xt(e,t,r,16,i,0,0,o,1,u,p,f)),l=1,48&e.destructible&&m(e,47)),1077936157===e.token){Q(e,32768|t),l=1;c=ye(e,t,u,p,f,{type:"AssignmentPattern",left:c,right:We(e,t,1,1,0,e.tokenPos,e.linePos,e.colPos)})}if(s++,a.push(c),!ce(e,t,18))break;if(16===e.token)break}512&n&&1!==s&&m(e,35,"Setter","one","");r&&void 0!==r.scopeError&&y(r.scopeError);l&&(e.flags|=128);return ue(e,t,16),a}(e,8388608|t,l,r,1,n);l&&(l=xe(l,128));return ye(e,t,i,o,a,{type:"FunctionExpression",params:c,body:tt(e,-134230017&t,l,0,void 0,void 0),async:(16&r)>0,generator:(8&r)>0,id:null})}function Et(e,t,r,n,i,o,a,s,l,c,u){Q(e,t);const p=[];let f=0,d=0;for(t=134217728^(134217728|t);1074790415!==e.token;){const{token:n,tokenValue:l,linePos:c,colPos:u,tokenPos:h}=e;if(14===n)p.push(xt(e,t,r,1074790415,a,s,0,i,o,h,c,u));else{let y,g=0,v=null;const x=e.token;if(143360&e.token||121===e.token)if(v=ht(e,t,0),18===e.token||1074790415===e.token||1077936157===e.token)if(g|=4,1024&t&&537079808==(537079808&n)?f|=16:fe(e,t,a,n,0),r&&ke(e,t,r,l,a,s),ce(e,32768|t,1077936157)){f|=8;const r=We(e,t,1,1,i,e.tokenPos,e.linePos,e.colPos);f|=256&e.destructible?256:0|128&e.destructible?128:0,y=ye(e,t,h,c,u,{type:"AssignmentPattern",left:-2147483648&t?Object.assign({},v):v,right:r})}else f|=(209008===n?128:0)|(121===n?16:0),y=-2147483648&t?Object.assign({},v):v;else if(ce(e,32768|t,21)){const{tokenPos:c,linePos:u,colPos:p}=e;if("__proto__"===l&&d++,143360&e.token){const n=e.token,l=e.tokenValue;f|=121===x?16:0,y=ot(e,t,a,0,1,0,i,1,c,u,p);const{token:d}=e;y=nt(e,t,y,i,0,c,u,p),18===e.token||1074790415===e.token?1077936157===d||1074790415===d||18===d?(f|=128&e.destructible?128:0,2&e.assignable?f|=16:r&&143360==(143360&n)&&ke(e,t,r,l,a,s)):f|=1&e.assignable?32:16:4194304==(4194304&e.token)?(2&e.assignable?f|=16:1077936157!==d?f|=32:r&&ke(e,t,r,l,a,s),y=$e(e,t,i,o,c,u,p,y)):(f|=16,8454144==(8454144&e.token)&&(y=et(e,t,1,c,u,p,4,d,y)),ce(e,32768|t,22)&&(y=Ze(e,t,y,c,u,p)))}else 2097152==(2097152&e.token)?(y=69271571===e.token?gt(e,t,r,0,i,o,a,s,c,u,p):Et(e,t,r,0,i,o,a,s,c,u,p),f=e.destructible,e.assignable=16&f?2:1,18===e.token||1074790415===e.token?2&e.assignable&&(f|=16):8&e.destructible?m(e,68):(y=nt(e,t,y,i,0,c,u,p),f=2&e.assignable?16:0,4194304==(4194304&e.token)?y=Qe(e,t,i,o,c,u,p,y):(8454144==(8454144&e.token)&&(y=et(e,t,1,c,u,p,4,n,y)),ce(e,32768|t,22)&&(y=Ze(e,t,y,c,u,p)),f|=2&e.assignable?16:32))):(y=rt(e,t,1,i,1,c,u,p),f|=1&e.assignable?32:16,18===e.token||1074790415===e.token?2&e.assignable&&(f|=16):(y=nt(e,t,y,i,0,c,u,p),f=2&e.assignable?16:0,18!==e.token&&1074790415!==n&&(1077936157!==e.token&&(f|=16),y=$e(e,t,i,o,c,u,p,y))))}else 69271571===e.token?(f|=16,209007===n&&(g|=16),g|=2|(12402===n?256:12403===n?512:1),v=wt(e,t,i),f|=e.assignable,y=kt(e,t,g,i,e.tokenPos,e.linePos,e.colPos)):143360&e.token?(f|=16,121===n&&m(e,92),209007===n&&(1&e.flags&&m(e,128),g|=16),v=ht(e,t,0),g|=12402===n?256:12403===n?512:1,y=kt(e,t,g,i,e.tokenPos,e.linePos,e.colPos)):67174411===e.token?(f|=16,g|=1,y=kt(e,t,g,i,e.tokenPos,e.linePos,e.colPos)):8457014===e.token?(f|=16,12402===n||12403===n?m(e,40):143483===n&&m(e,92),Q(e,t),g|=9|(209007===n?16:0),143360&e.token?v=ht(e,t,0):134217728==(134217728&e.token)?v=mt(e,t):69271571===e.token?(g|=2,v=wt(e,t,i),f|=e.assignable):m(e,28,J[255&e.token]),y=kt(e,t,g,i,e.tokenPos,e.linePos,e.colPos)):134217728==(134217728&e.token)?(209007===n&&(g|=16),g|=12402===n?256:12403===n?512:1,f|=16,v=mt(e,t),y=kt(e,t,g,i,e.tokenPos,e.linePos,e.colPos)):m(e,129);else if(134217728==(134217728&e.token))if(v=mt(e,t),21===e.token){ue(e,32768|t,21);const{tokenPos:c,linePos:u,colPos:p}=e;if("__proto__"===l&&d++,143360&e.token){y=ot(e,t,a,0,1,0,i,1,c,u,p);const{token:n,tokenValue:l}=e;y=nt(e,t,y,i,0,c,u,p),18===e.token||1074790415===e.token?1077936157===n||1074790415===n||18===n?2&e.assignable?f|=16:r&&ke(e,t,r,l,a,s):f|=1&e.assignable?32:16:1077936157===e.token?(2&e.assignable&&(f|=16),y=$e(e,t,i,o,c,u,p,y)):(f|=16,y=$e(e,t,i,o,c,u,p,y))}else 2097152==(2097152&e.token)?(y=69271571===e.token?gt(e,t,r,0,i,o,a,s,c,u,p):Et(e,t,r,0,i,o,a,s,c,u,p),f=e.destructible,e.assignable=16&f?2:1,18===e.token||1074790415===e.token?2&e.assignable&&(f|=16):8!=(8&e.destructible)&&(y=nt(e,t,y,i,0,c,u,p),f=2&e.assignable?16:0,4194304==(4194304&e.token)?y=Qe(e,t,i,o,c,u,p,y):(8454144==(8454144&e.token)&&(y=et(e,t,1,c,u,p,4,n,y)),ce(e,32768|t,22)&&(y=Ze(e,t,y,c,u,p)),f|=2&e.assignable?16:32))):(y=rt(e,t,1,0,1,c,u,p),f|=1&e.assignable?32:16,18===e.token||1074790415===e.token?2&e.assignable&&(f|=16):(y=nt(e,t,y,i,0,c,u,p),f=1&e.assignable?0:16,18!==e.token&&1074790415!==e.token&&(1077936157!==e.token&&(f|=16),y=$e(e,t,i,o,c,u,p,y))))}else 67174411===e.token?(g|=1,y=kt(e,t,g,i,e.tokenPos,e.linePos,e.colPos),f=16|e.assignable):m(e,130);else if(69271571===e.token)if(v=wt(e,t,i),f|=256&e.destructible?256:0,g|=2,21===e.token){Q(e,32768|t);const{tokenPos:l,linePos:c,colPos:u,tokenValue:p,token:d}=e;if(143360&e.token){y=ot(e,t,a,0,1,0,i,1,l,c,u);const{token:n}=e;y=nt(e,t,y,i,0,l,c,u),4194304==(4194304&e.token)?(f|=2&e.assignable?16:1077936157===n?0:32,y=Qe(e,t,i,o,l,c,u,y)):18===e.token||1074790415===e.token?1077936157===n||1074790415===n||18===n?2&e.assignable?f|=16:r&&143360==(143360&d)&&ke(e,t,r,p,a,s):f|=1&e.assignable?32:16:(f|=16,y=$e(e,t,i,o,l,c,u,y))}else 2097152==(2097152&e.token)?(y=69271571===e.token?gt(e,t,r,0,i,o,a,s,l,c,u):Et(e,t,r,0,i,o,a,s,l,c,u),f=e.destructible,e.assignable=16&f?2:1,18===e.token||1074790415===e.token?2&e.assignable&&(f|=16):8&f?m(e,59):(y=nt(e,t,y,i,0,l,c,u),f=2&e.assignable?16|f:0,4194304==(4194304&e.token)?(1077936157!==e.token&&(f|=16),y=Qe(e,t,i,o,l,c,u,y)):(8454144==(8454144&e.token)&&(y=et(e,t,1,l,c,u,4,n,y)),ce(e,32768|t,22)&&(y=Ze(e,t,y,l,c,u)),f|=2&e.assignable?16:32))):(y=rt(e,t,1,0,1,l,c,u),f|=1&e.assignable?32:16,18===e.token||1074790415===e.token?2&e.assignable&&(f|=16):(y=nt(e,t,y,i,0,l,c,u),f=1&e.assignable?0:16,18!==e.token&&1074790415!==e.token&&(1077936157!==e.token&&(f|=16),y=$e(e,t,i,o,l,c,u,y))))}else 67174411===e.token?(g|=1,y=kt(e,t,g,i,e.tokenPos,c,u),f=16):m(e,41);else if(8457014===n)if(ue(e,32768|t,8457014),g|=8,143360&e.token){const{token:r,line:n,index:o}=e;v=ht(e,t,0),g|=1,67174411===e.token?(f|=16,y=kt(e,t,g,i,e.tokenPos,e.linePos,e.colPos)):b(o,n,o,209007===r?43:12402===r||12403===e.token?42:44,J[255&r])}else 134217728==(134217728&e.token)?(f|=16,v=mt(e,t),g|=1,y=kt(e,t,g,i,h,c,u)):69271571===e.token?(f|=16,g|=3,v=wt(e,t,i),y=kt(e,t,g,i,e.tokenPos,e.linePos,e.colPos)):m(e,122);else m(e,28,J[255&n]);f|=128&e.destructible?128:0,e.destructible=f,p.push(ye(e,t,h,c,u,{type:"Property",key:v,value:y,kind:768&g?512&g?"set":"get":"init",computed:(2&g)>0,method:(1&g)>0,shorthand:(4&g)>0}))}if(f|=e.destructible,18!==e.token)break;Q(e,t)}ue(e,t,1074790415),d>1&&(f|=64);const h=ye(e,t,l,c,u,{type:o?"ObjectPattern":"ObjectExpression",properties:p});return!n&&4194304&e.token?vt(e,t,f,i,o,l,c,u,h):(e.destructible=f,h)}function wt(e,t,r){Q(e,32768|t);const n=We(e,134217728^(134217728|t),1,0,r,e.tokenPos,e.linePos,e.colPos);return ue(e,t,20),n}function Pt(e,t,r,n,i){const{tokenValue:o}=e,a=ht(e,t,0);if(e.assignable=1,10===e.token){let s;return 64&t&&(s=ge(e,t,o)),e.flags=128^(128|e.flags),Ct(e,t,s,[a],0,r,n,i)}return a}function St(e,t,r,n,i,o,a,s,l,c){o||m(e,54),i&&m(e,48),e.flags&=-129;return Ct(e,t,64&t?ge(e,t,r):void 0,[n],a,s,l,c)}function Tt(e,t,r,n,i,o,a,s,l){i||m(e,54);for(let t=0;t<n.length;++t)pe(e,n[t]);return Ct(e,t,r,n,o,a,s,l)}function Ct(e,t,r,n,i,o,a,s){1&e.flags&&m(e,45),ue(e,32768|t,10),t=15728640^(15728640|t)|i<<22;const l=2162700!==e.token;let c;if(r&&void 0!==r.scopeError&&y(r.scopeError),l)c=We(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);else{switch(r&&(r=xe(r,128)),c=tt(e,134246400^(134246400|t),r,16,void 0,void 0),e.token){case 69271571:(1&e.flags)<1&&m(e,112);break;case 67108877:case 67174409:case 22:m(e,113);case 67174411:(1&e.flags)<1&&m(e,112),e.flags|=1024}8454144==(8454144&e.token)&&(1&e.flags)<1&&m(e,28,J[255&e.token]),33619968==(33619968&e.token)&&m(e,121)}return e.assignable=2,ye(e,t,o,a,s,{type:"ArrowFunctionExpression",params:n,body:c,async:1===i,expression:l})}function Dt(e,t,r,n,i){ue(e,t,67174411),e.flags=128^(128|e.flags);const o=[];if(ce(e,t,16))return o;t=134217728^(134217728|t);let a=0;for(;18!==e.token;){let s;const{tokenPos:l,linePos:c,colPos:u}=e;if(143360&e.token?((1024&t)<1&&(36864==(36864&e.token)&&(e.flags|=256),537079808==(537079808&e.token)&&(e.flags|=512)),s=Mt(e,t,r,1|i,0,l,c,u)):(2162700===e.token?s=Et(e,t,r,1,n,1,i,0,l,c,u):69271571===e.token?s=gt(e,t,r,1,n,1,i,0,l,c,u):14===e.token?s=xt(e,t,r,16,i,0,0,n,1,l,c,u):m(e,28,J[255&e.token]),a=1,48&e.destructible&&m(e,47)),1077936157===e.token){Q(e,32768|t),a=1;s=ye(e,t,l,c,u,{type:"AssignmentPattern",left:s,right:We(e,t,1,1,n,e.tokenPos,e.linePos,e.colPos)})}if(o.push(s),!ce(e,t,18))break;if(16===e.token)break}return a&&(e.flags|=128),r&&(a||1024&t)&&void 0!==r.scopeError&&y(r.scopeError),ue(e,t,16),o}function At(e,t,r,n,i,o,a){const{token:s}=e;if(67108864&s){if(67108877===s){Q(e,1073741824|t),e.assignable=1;return At(e,t,ye(e,t,i,o,a,{type:"MemberExpression",object:r,computed:!1,property:it(e,t)}),0,i,o,a)}if(69271571===s){Q(e,32768|t);const{tokenPos:s,linePos:l,colPos:c}=e,u=Ye(e,t,n,1,s,l,c);return ue(e,t,20),e.assignable=1,At(e,t,ye(e,t,i,o,a,{type:"MemberExpression",object:r,computed:!0,property:u}),0,i,o,a)}if(67174408===s||67174409===s)return e.assignable=2,At(e,t,ye(e,t,i,o,a,{type:"TaggedTemplateExpression",tag:r,quasi:67174408===e.token?ut(e,65536|t):ct(e,t,e.tokenPos,e.linePos,e.colPos)}),0,i,o,a)}return r}function _t(e,t,r,n,i,o){return 209008===e.token&&m(e,29),2098176&t&&241773===e.token&&m(e,30),537079808==(537079808&e.token)&&(e.flags|=512),St(e,t,e.tokenValue,ht(e,t,0),0,r,1,n,i,o)}function Ot(e,t,r,n,i,o,a,s,l,c){Q(e,32768|t);const u=64&t?xe({parent:void 0,type:2},1024):void 0;if(ce(e,t=134217728^(134217728|t),16))return 10===e.token?(1&a&&m(e,45),Tt(e,t,u,[],n,1,s,l,c)):ye(e,t,s,l,c,{type:"CallExpression",callee:r,arguments:[]});let p=0,f=null,d=0;e.destructible=384^(384|e.destructible);const h=[];for(;16!==e.token;){const{token:n,tokenPos:a,linePos:y,colPos:b}=e;if(143360&n)u&&Ee(e,t,u,e.tokenValue,i,0),f=ot(e,t,i,0,1,0,1,1,a,y,b),16===e.token||18===e.token?2&e.assignable?(p|=16,d=1):537079808==(537079808&n)?e.flags|=512:36864==(36864&n)&&(e.flags|=256):(1077936157===e.token?d=1:p|=16,f=nt(e,t,f,1,0,a,y,b),16!==e.token&&18!==e.token&&(f=$e(e,t,1,0,a,y,b,f)));else if(2097152&n)f=2162700===n?Et(e,t,u,0,1,0,i,o,a,y,b):gt(e,t,u,0,1,0,i,o,a,y,b),p|=e.destructible,d=1,16!==e.token&&18!==e.token&&(8&p&&m(e,118),f=nt(e,t,f,0,0,a,y,b),p|=16,8454144==(8454144&e.token)&&(f=et(e,t,1,s,l,c,4,n,f)),ce(e,32768|t,22)&&(f=Ze(e,t,f,s,l,c)));else{if(14!==n){for(f=We(e,t,1,0,0,a,y,b),p=e.assignable,h.push(f);ce(e,32768|t,18);)h.push(We(e,t,1,0,0,a,y,b));return p|=e.assignable,ue(e,t,16),e.destructible=16|p,e.assignable=2,ye(e,t,s,l,c,{type:"CallExpression",callee:r,arguments:h})}f=xt(e,t,u,16,i,o,1,1,0,a,y,b),p|=(16===e.token?0:16)|e.destructible,d=1}if(h.push(f),!ce(e,32768|t,18))break}return ue(e,t,16),p|=256&e.destructible?256:0|128&e.destructible?128:0,10===e.token?(48&p&&m(e,25),(1&e.flags||1&a)&&m(e,45),128&p&&m(e,29),2098176&t&&256&p&&m(e,30),d&&(e.flags|=128),Tt(e,t,u,h,n,1,s,l,c)):(8&p&&m(e,59),e.assignable=2,ye(e,t,s,l,c,{type:"CallExpression",callee:r,arguments:h}))}function Nt(e,t,r,n,i,o,a){let s=jt(e,t=16777216^(16778240|t));s.length&&(i=e.tokenPos,o=e.linePos,a=e.colPos),e.leadingDecorators.length&&(e.leadingDecorators.push(...s),s=e.leadingDecorators,e.leadingDecorators=[]),Q(e,t);let l=null,c=null;const{tokenValue:u}=e;4096&e.token&&20567!==e.token?(he(e,t,e.token)&&m(e,114),537079808==(537079808&e.token)&&m(e,115),r&&(Ee(e,t,r,u,32,0),n&&2&n&&Pe(e,u)),l=ht(e,t,0)):(1&n)<1&&m(e,37,"Class");let p=t;ce(e,32768|t,20567)?(c=rt(e,t,0,0,0,e.tokenPos,e.linePos,e.colPos),p|=524288):p=524288^(524288|p);const f=Lt(e,p,t,r,2,8,0);return ye(e,t,i,o,a,1&t?{type:"ClassDeclaration",id:l,superClass:c,decorators:s,body:f}:{type:"ClassDeclaration",id:l,superClass:c,body:f})}function jt(e,t){const r=[];if(1&t)for(;133===e.token;)r.push(It(e,t,e.tokenPos,e.linePos,e.colPos));return r}function It(e,t,r,n,i){Q(e,32768|t);let o=ot(e,t,2,0,1,0,0,1,r,n,i);return o=nt(e,t,o,0,0,r,n,i),ye(e,t,r,n,i,{type:"Decorator",expression:o})}function 
Lt(e,t,r,n,i,o,a){const{tokenPos:s,linePos:l,colPos:c}=e;ue(e,32768|t,2162700),t=134217728^(134217728|t),e.flags=32^(32|e.flags);const u=[];let p;for(;1074790415!==e.token;){let o=0;p=jt(e,t),o=p.length,o>0&&"constructor"===e.tokenValue&&m(e,106),1074790415===e.token&&m(e,105),ce(e,t,1074790417)?o>0&&m(e,116):u.push(qt(e,t,n,r,i,p,0,a,e.tokenPos,e.linePos,e.colPos))}return ue(e,8&o?32768|t:t,1074790415),ye(e,t,s,l,c,{type:"ClassBody",body:u})}function qt(e,t,r,n,i,o,a,s,l,c,u){let p=a?32:0,f=null;const{token:d,tokenPos:h,linePos:y,colPos:b}=e;if(176128&d)switch(f=ht(e,t,0),d){case 36972:if(!a&&67174411!==e.token)return qt(e,t,r,n,i,o,1,s,l,c,u);break;case 209007:if(67174411!==e.token&&(1&e.flags)<1){if(1&t&&1073741824==(1073741824&e.token))return Ft(e,t,f,p,o,h,y,b);p|=16|(le(e,t,8457014)?8:0)}break;case 12402:if(67174411!==e.token){if(1&t&&1073741824==(1073741824&e.token))return Ft(e,t,f,p,o,h,y,b);p|=256}break;case 12403:if(67174411!==e.token){if(1&t&&1073741824==(1073741824&e.token))return Ft(e,t,f,p,o,h,y,b);p|=512}}else 69271571===d?(p|=2,f=wt(e,n,s)):134217728==(134217728&d)?f=mt(e,t):8457014===d?(p|=8,Q(e,t)):1&t&&131===e.token?(p|=4096,f=Bt(e,t,h,y,b),t|=16384):1&t&&1073741824==(1073741824&e.token)?(p|=128,t|=16384):122===d?(f=ht(e,t,0),67174411!==e.token&&m(e,28,J[255&e.token])):m(e,28,J[255&e.token]);if(792&p&&(143360&e.token?f=ht(e,t,0):134217728==(134217728&e.token)?f=mt(e,t):69271571===e.token?(p|=2,f=wt(e,t,0)):122===e.token?f=ht(e,t,0):1&t&&131===e.token?(p|=4096,f=Bt(e,t,h,y,b)):m(e,131)),(2&p)<1&&("constructor"===e.tokenValue?(1073741824==(1073741824&e.token)?m(e,125):(32&p)<1&&67174411===e.token&&(920&p?m(e,50,"accessor"):(524288&t)<1&&(32&e.flags?m(e,51):e.flags|=32)),p|=64):(4096&p)<1&&824&p&&"prototype"===e.tokenValue&&m(e,49)),1&t&&67174411!==e.token)return Ft(e,t,f,p,o,h,y,b);const g=kt(e,t,p,s,e.tokenPos,e.linePos,e.colPos);return ye(e,t,l,c,u,1&t?{type:"MethodDefinition",kind:(32&p)<1&&64&p?"constructor":256&p?"get":512&p?"set":"method",static:(32&p)>0,computed:(2&p)>0,key:f,decorators:o,value:g}:{type:"MethodDefinition",kind:(32&p)<1&&64&p?"constructor":256&p?"get":512&p?"set":"method",static:(32&p)>0,computed:(2&p)>0,key:f,value:g})}function Bt(e,t,r,n,i){Q(e,t);const{tokenValue:o}=e;return"constructor"===o&&m(e,124),Q(e,t),ye(e,t,r,n,i,{type:"PrivateIdentifier",name:o})}function Ft(e,t,r,n,i,o,a,s){let l=null;if(8&n&&m(e,0),1077936157===e.token){Q(e,32768|t);const{tokenPos:r,linePos:n,colPos:i}=e;537079928===e.token&&m(e,115),l=ot(e,16384|t,2,0,1,0,0,1,r,n,i),1073741824!=(1073741824&e.token)&&(l=nt(e,16384|t,l,0,0,r,n,i),l=$e(e,16384|t,0,0,r,n,i,l),18===e.token&&(l=Ke(e,t,0,o,a,s,l)))}return ye(e,t,o,a,s,{type:"PropertyDefinition",key:r,value:l,static:(32&n)>0,computed:(2&n)>0,decorators:i})}function Rt(e,t,r,n,i,o,a,s){if(143360&e.token)return Mt(e,t,r,n,i,o,a,s);2097152!=(2097152&e.token)&&m(e,28,J[255&e.token]);const l=69271571===e.token?gt(e,t,r,1,0,1,n,i,o,a,s):Et(e,t,r,1,0,1,n,i,o,a,s);return 16&e.destructible&&m(e,47),32&e.destructible&&m(e,47),l}function Mt(e,t,r,n,i,o,a,s){const{tokenValue:l,token:c}=e;return 1024&t&&(537079808==(537079808&c)?m(e,115):36864==(36864&c)&&m(e,114)),20480==(20480&c)&&m(e,99),2099200&t&&241773===c&&m(e,30),241739===c&&24&n&&m(e,97),4196352&t&&209008===c&&m(e,95),Q(e,t),r&&ke(e,t,r,l,n,i),ye(e,t,o,a,s,{type:"Identifier",name:l})}function Vt(e,t,r,n,i,o){if(Q(e,t),8456259===e.token)return ye(e,t,n,i,o,{type:"JSXFragment",openingFragment:Ut(e,t,n,i,o),children:Jt(e,t),closingFragment:zt(e,t,r,e.tokenPos,e.linePos,e.colPos)});let a=null,s=[];const l=function(e,t,r,n,i,o){143360!=(143360&e.token)&&4096!=(4096&e.token)&&m(e,0);const a=Gt(e,t,e.tokenPos,e.linePos,e.colPos),s=function(e,t){const r=[];for(;8457016!==e.token&&8456259!==e.token&&1048576!==e.token;)r.push(Wt(e,t,e.tokenPos,e.linePos,e.colPos));return r}(e,t),l=8457016===e.token;8456259===e.token?ie(e,t):(ue(e,t,8457016),r?ue(e,t,8456259):ie(e,t));return ye(e,t,n,i,o,{type:"JSXOpeningElement",name:a,attributes:s,selfClosing:l})}(e,t,r,n,i,o);if(!l.selfClosing){s=Jt(e,t),a=function(e,t,r,n,i,o){ue(e,t,25);const a=Gt(e,t,e.tokenPos,e.linePos,e.colPos);r?ue(e,t,8456259):e.token=ie(e,t);return ye(e,t,n,i,o,{type:"JSXClosingElement",name:a})}(e,t,r,e.tokenPos,e.linePos,e.colPos);const n=be(a.name);be(l.name)!==n&&m(e,149,n)}return ye(e,t,n,i,o,{type:"JSXElement",children:s,openingElement:l,closingElement:a})}function Ut(e,t,r,n,i){return ie(e,t),ye(e,t,r,n,i,{type:"JSXOpeningFragment"})}function zt(e,t,r,n,i,o){return ue(e,t,25),ue(e,t,8456259),ye(e,t,n,i,o,{type:"JSXClosingFragment"})}function Jt(e,t){const r=[];for(;25!==e.token;)e.index=e.tokenPos=e.startPos,e.column=e.colPos=e.startColumn,e.line=e.linePos=e.startLine,ie(e,t),r.push(Xt(e,t,e.tokenPos,e.linePos,e.colPos));return r}function Xt(e,t,r,n,i){return 138===e.token?function(e,t,r,n,i){ie(e,t);const o={type:"JSXText",value:e.tokenValue};512&t&&(o.raw=e.tokenRaw);return ye(e,t,r,n,i,o)}(e,t,r,n,i):2162700===e.token?Yt(e,t,0,0,r,n,i):8456258===e.token?Vt(e,t,0,r,n,i):void m(e,0)}function Gt(e,t,r,n,i){oe(e);let o=$t(e,t,r,n,i);if(21===e.token)return Kt(e,t,o,r,n,i);for(;ce(e,t,67108877);)oe(e),o=Ht(e,t,o,r,n,i);return o}function Ht(e,t,r,n,i,o){return ye(e,t,n,i,o,{type:"JSXMemberExpression",object:r,property:$t(e,t,e.tokenPos,e.linePos,e.colPos)})}function Wt(e,t,r,n,i){if(2162700===e.token)return function(e,t,r,n,i){Q(e,t),ue(e,t,14);const o=We(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return ue(e,t,1074790415),ye(e,t,r,n,i,{type:"JSXSpreadAttribute",argument:o})}(e,t,r,n,i);oe(e);let o=null,a=$t(e,t,r,n,i);if(21===e.token&&(a=Kt(e,t,a,r,n,i)),1077936157===e.token){const r=ne(e,t),{tokenPos:n,linePos:i,colPos:a}=e;switch(r){case 134283267:o=mt(e,t);break;case 8456258:o=Vt(e,t,1,n,i,a);break;case 2162700:o=Yt(e,t,1,1,n,i,a);break;default:m(e,148)}}return ye(e,t,r,n,i,{type:"JSXAttribute",value:o,name:a})}function Kt(e,t,r,n,i,o){ue(e,t,21);return ye(e,t,n,i,o,{type:"JSXNamespacedName",namespace:r,name:$t(e,t,e.tokenPos,e.linePos,e.colPos)})}function Yt(e,t,r,n,i,o,a){Q(e,t);const{tokenPos:s,linePos:l,colPos:c}=e;if(14===e.token)return function(e,t,r,n,i){ue(e,t,14);const o=We(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return ue(e,t,1074790415),ye(e,t,r,n,i,{type:"JSXSpreadChild",expression:o})}(e,t,s,l,c);let u=null;return 1074790415===e.token?(n&&m(e,151),u=function(e,t,r,n,i){return e.startPos=e.tokenPos,e.startLine=e.linePos,e.startColumn=e.colPos,ye(e,t,r,n,i,{type:"JSXEmptyExpression"})}(e,t,e.startPos,e.startLine,e.startColumn)):u=We(e,t,1,0,0,s,l,c),r?ue(e,t,1074790415):ie(e,t),ye(e,t,i,o,a,{type:"JSXExpressionContainer",expression:u})}function $t(e,t,r,n,i){const{tokenValue:o}=e;return Q(e,t),ye(e,t,r,n,i,{type:"JSXIdentifier",name:o})}var Qt=Object.freeze({__proto__:null});f.ESTree=Qt,f.parse=function(e,t){return De(e,t,0)},f.parseModule=function(e,t){return De(e,t,3072)},f.parseScript=function(e,t){return De(e,t,0)},f.version="4.1.5";const Zt=f;var er=function(e,t){return Zt.parseModule(e,t)};const tr=n,rr=l,nr=["Node","SourceLocation","Position","Identifier","Literal","RegExpLiteral","Program","Function","Statement","ExpressionStatement","Directive","BlockStatement","FunctionBody","EmptyStatement","DebuggerStatement","WithStatement","ReturnStatement","LabeledStatement","BreakStatement","ContinueStatement","IfStatement","SwitchStatement","SwitchCase","ThrowStatement","TryStatement","CatchClause","WhileStatement","DoWhileStatement","ForStatement","ForInStatement","Declaration","FunctionDeclaration","VariableDeclaration","VariableDeclarator","Expression","ThisExpression","ArrayExpression","ObjectExpression","Property","FunctionExpression","UnaryExpression","UnaryOperator","UpdateExpression","UpdateOperator","BinaryExpression","BinaryOperator","AssignmentExpression","AssignmentOperator","LogicalExpression","LogicalOperator","MemberExpression","ConditionalExpression","CallExpression","NewExpression","SequenceExpression","Pattern","ForOfStatement","Super","SpreadElement","YieldExpression","TemplateLiteral","TaggedTemplateExpression","TemplateElement","ObjectPattern","ArrayPattern","RestElement","AssignmentPattern","Class","ClassBody","MethodDefinition","ClassDeclaration","ClassExpression","MetaProperty","ModuleDeclaration","ModuleSpecifier","ImportDeclaration","ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier","ExportNamedDeclaration","ExportSpecifier","ExportDefaultDeclaration","ExportAllDeclaration","AwaitExpression","BigIntLiteral","ChainExpression","ChainElement","ImportExpression"],ir=p,or=er,ar=function(e){const t=[],r=e.length;let n=0,i=e[0];function o(){return n+=1,i=e[n],i}function a(e){return i===e}function s(e,{key:r,value:n}){t.push({type:e,key:r,value:n})}let l="string",c="",u="";for(;n<r;)a("[")?(l="attribute",o(),c="",u=""):a("=")?(c=u,u="",o()):a("]")?(c||(c=u,u=""),s(l,{key:c,value:u}),o(),c="",u="",l="string"):(u+=i,o());return t},{WILDCARD:sr}=i;function lr(e){return ar(e).reduce(((e,t)=>{if("attribute"===t.type)if(t.value){const{expression:r}=or(t.value).body[0];e[t.key]=ir(r)}else e[t.key]=sr;return e}),{})}function cr(e,t){const r=[];return tr(e,(e=>{rr(e,t)&&r.push(e)})),r}function ur(e){return"string"==typeof e}var pr=function(e,t){return function(e){return nr.includes(e)}(t)?function(e,t){return cr(e,{type:t})}(e,t):function(e){return ur(e)&&e.startsWith("[")&&e.endsWith("]")}(t)?function(e,t){return cr(e,lr(t))}(e,t):function(e){return"*"===e}(t)?function(e){const t=[];return tr(e,(e=>{t.push(e)})),t}(e):ur(t)?function(e,t){return cr(e,lr(t))}(e,t):cr(e,t)};const fr=pr;const dr=pr;const hr=pr;const mr=pr;var yr=function(e,t){return mr(e,t).length};const br=t;var gr=function(e,t){return br.traverse(e,t)};const vr=yr,xr=gr,kr=l;const Er=t,wr=pr,Pr=l;function Sr(e,t,r){let n=0;Er.replace(e,{enter(e){return r.first&&1===n?this.break():t(e)?(n+=1,this.remove()):void 0},leave(e){if(Tr(e))return this.remove()}})}function Tr(e){return function(e){return null===e.expression}(e)||function(e){return"VariableDeclaration"===e.type&&0===e.declarations.length}(e)}const Cr=t;function Dr(e,t,r){const n=e(t,r);if(Array.isArray(n))r.body=r.body.reduce(((e,r)=>e.concat(t===r?n:r)),[]);else{if(n)return n;null===n&&(r.body=r.body.reduce(((e,r)=>e.concat(t===r?null:r)),[]).filter(Boolean))}}var Ar=function(e,t){const r="function"==typeof t?t:t.enter,n=t&&t.leave;return Cr.replace(e,{enter(e,t){if(r){const n=Dr(r,e,t);if(n)return n}},leave(e,t){if(n){const r=Dr(n,e,t);if(r)return r}}})};const _r=er,Or=gr,Nr=Ar,jr=/([^\s,;]?)\s*?%(=?)\s*([\s\S]+?)\s*%\s*?([^\s,;]?)/g,Ir=/^__ASTER_DATA_\d+$/,Lr=/\"(__ASTER_DATA_\d+)\"/g,qr={"<":">","[":"]","(":")","{":"}","'":"'",'"':'"'},Br={ArrayExpression:"elements",CallExpression:"arguments",BlockStatement:"body",FunctionExpression:"params",FunctionDeclaration:"params",Program:"body"};function Fr(e,t,r){return r||(r=t,t=void 0),Fr.compile(e,t)(r)}Fr.modifyTree=function(e){return Or(e,{leave(e,t){if("..."===e.type){var r=Br[t.type];if(!r)throw new TypeError("Unknown substitution in "+t.type);t[r]=t[r].reduce((function(e,t){return"..."===t.type?e.concat(t.argument):(e.push(t),e)}),[])}},keys:{"...":["argument"]}}),e},Fr.compile=function(e,t){var r=[],n=0;e=e.replace(jr,(function(e,t,i,o,a){if(t){var s=qr[t];if(!s||a&&s!==a)return e}if(i){var l="__ASTER_DATA_"+n++,c="<"!==t&&"'"!==t&&'"'!==t;return c?o='{type: "...", argument: '+o+"}":"'"!==t&&'"'!==t||(o='{type: "Literal", value: '+o+"}"),r.push("\t\tvar "+l+" = "+o),c?t+l+a:l}return"<"!==t?e:(r.push(o),"")}));var i=_r(e,t);return Nr(i,{leave:e=>function(e){return"Identifier"===e.type&&Ir.test(e.name)}(e)?e.name:function(e){return"ExpressionStatement"===e.type&&"string"==typeof e.expression}(e)?e.expression:void 0}),t&&t.fast||(r.unshift("\twith (it) {"),r.push("\t}")),r.unshift("return function template(it) {"),r.push("\treturn estemplate.modifyTree("+JSON.stringify(i).replace(Lr,"$1")+")","}"),new Function("estemplate",r.join("\n"))(Fr)};var Rr=Fr,Mr={},Vr=function(e,t){return(Vr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};var Ur=function(){return(Ur=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};var zr=Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function Jr(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Xr(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function Gr(e){return this instanceof Gr?(this.v=e,this):new Gr(e)}var Hr=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};var Wr=e(Object.freeze({__proto__:null,__extends:function(e,t){function r(){this.constructor=e}Vr(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},get __assign(){return Ur},__rest:function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},__decorate:function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},__param:function(e,t){return function(r,n){t(r,n,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},__generator:function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},__createBinding:zr,__exportStar:function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||zr(t,e,r)},__values:Jr,__read:Xr,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Xr(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n},__await:Gr,__asyncGenerator:function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{(r=i[e](t)).value instanceof Gr?Promise.resolve(r.value.v).then(l,c):u(o[0][2],r)}catch(e){u(o[0][3],e)}var r}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}},__asyncDelegator:function(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:Gr(e[n](t)),done:"return"===n}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=Jr(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,i,(t=e[r](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&zr(t,e,r);return Hr(t,e),t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}})),Kr={exports:{}},Yr={};Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.Def=void 0;var $r=Wr,Qr=Object.prototype,Zr=Qr.toString,en=Qr.hasOwnProperty,tn=function(){function e(){}return e.prototype.assert=function(e,t){if(!this.check(e,t)){var r=un(e);throw new Error(r+" does not match type "+this)}return!0},e.prototype.arrayOf=function(){return new rn(this)},e}(),rn=function(e){function t(t){var r=e.call(this)||this;return r.elemType=t,r.kind="ArrayType",r}return $r.__extends(t,e),t.prototype.toString=function(){return"["+this.elemType+"]"},t.prototype.check=function(e,t){var r=this;return Array.isArray(e)&&e.every((function(e){return r.elemType.check(e,t)}))},t}(tn),nn=function(e){function t(t){var r=e.call(this)||this;return r.value=t,r.kind="IdentityType",r}return $r.__extends(t,e),t.prototype.toString=function(){return String(this.value)},t.prototype.check=function(e,t){var r=e===this.value;return r||"function"!=typeof t||t(this,e),r},t}(tn),on=function(e){function t(t){var r=e.call(this)||this;return r.fields=t,r.kind="ObjectType",r}return $r.__extends(t,e),t.prototype.toString=function(){return"{ "+this.fields.join(", ")+" }"},t.prototype.check=function(e,t){return Zr.call(e)===Zr.call({})&&this.fields.every((function(r){return r.type.check(e[r.name],t)}))},t}(tn),an=function(e){function t(t){var r=e.call(this)||this;return r.types=t,r.kind="OrType",r}return $r.__extends(t,e),t.prototype.toString=function(){return this.types.join(" | ")},t.prototype.check=function(e,t){return this.types.some((function(r){return r.check(e,t)}))},t}(tn),sn=function(e){function t(t,r){var n=e.call(this)||this;return n.name=t,n.predicate=r,n.kind="PredicateType",n}return $r.__extends(t,e),t.prototype.toString=function(){return this.name},t.prototype.check=function(e,t){var r=this.predicate(e,t);return r||"function"!=typeof t||t(this,e),r},t}(tn),ln=function(){function e(e,t){this.type=e,this.typeName=t,this.baseNames=[],this.ownFields=Object.create(null),this.allSupertypes=Object.create(null),this.supertypeList=[],this.allFields=Object.create(null),this.fieldNames=[],this.finalized=!1,this.buildable=!1,this.buildParams=[]}return e.prototype.isSupertypeOf=function(t){if(t instanceof e){if(!0!==this.finalized||!0!==t.finalized)throw new Error("");return en.call(t.allSupertypes,this.typeName)}throw new Error(t+" is not a Def")},e.prototype.checkAllFields=function(e,t){var r=this.allFields;if(!0!==this.finalized)throw new Error(""+this.typeName);return null!==e&&"object"==typeof e&&Object.keys(r).every((function(n){var i=r[n],o=i.type,a=i.getValue(e);return o.check(a,t)}))},e.prototype.bases=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.baseNames;if(this.finalized){if(e.length!==r.length)throw new Error("");for(var 
n=0;n<e.length;n++)if(e[n]!==r[n])throw new Error("");return this}return e.forEach((function(e){r.indexOf(e)<0&&r.push(e)})),this},e}();Yr.Def=ln;var cn=function(){function e(e,t,r,n){this.name=e,this.type=t,this.defaultFn=r,this.hidden=!!n}return e.prototype.toString=function(){return JSON.stringify(this.name)+": "+this.type},e.prototype.getValue=function(e){var t=e[this.name];return void 0!==t||"function"==typeof this.defaultFn&&(t=this.defaultFn.call(e)),t},e}();function un(e){return Array.isArray(e)?"["+e.map(un).join(", ")+"]":e&&"object"==typeof e?"{ "+Object.keys(e).map((function(t){return t+": "+e[t]})).join(", ")+" }":JSON.stringify(e)}Yr.default=function(e){var t={or:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new an(e.map((function(e){return t.from(e)})))},from:function(e,i){if(e instanceof rn||e instanceof nn||e instanceof on||e instanceof an||e instanceof sn)return e;if(e instanceof ln)return e.type;if(s.check(e)){if(1!==e.length)throw new Error("only one element type is permitted for typed arrays");return new rn(t.from(e[0]))}if(l.check(e))return new on(Object.keys(e).map((function(r){return new cn(r,t.from(e[r],r))})));if("function"==typeof e){var o=r.indexOf(e);if(o>=0)return n[o];if("string"!=typeof i)throw new Error("missing name");return new sn(i,e)}return new nn(e)},def:function(e){return en.call(y,e)?y[e]:y[e]=new g(e)},hasDef:function(e){return en.call(y,e)}},r=[],n=[];function i(e,t){var i=Zr.call(t),o=new sn(e,(function(e){return Zr.call(e)===i}));return t&&"function"==typeof t.constructor&&(r.push(t.constructor),n.push(o)),o}var o=i("string","truthy"),a=i("function",(function(){})),s=i("array",[]),l=i("object",{}),c=i("RegExp",/./),u=i("Date",new Date),p=i("number",3),f=i("boolean",!0),d=i("null",null),h=i("undefined",void 0),m={string:o,function:a,array:s,object:l,RegExp:c,Date:u,number:p,boolean:f,null:d,undefined:h},y=Object.create(null);function b(e){if(e&&"object"==typeof e){var t=e.type;if("string"==typeof t&&en.call(y,t)){var r=y[t];if(r.finalized)return r}}return null}var g=function(e){function r(t){var r=e.call(this,new sn(t,(function(e,t){return r.check(e,t)})),t)||this;return r}return $r.__extends(r,e),r.prototype.check=function(e,t){if(!0!==this.finalized)throw new Error("prematurely checking unfinalized type "+this.typeName);if(null===e||"object"!=typeof e)return!1;var r=b(e);return r?t&&r===this?this.checkAllFields(e,t):!!this.isSupertypeOf(r)&&(!t||r.checkAllFields(e,t)&&this.checkAllFields(e,!1)):("SourceLocation"===this.typeName||"Position"===this.typeName)&&this.checkAllFields(e,t)},r.prototype.build=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(this.buildParams=t,this.buildable)return this;this.field("type",String,(function(){return e.typeName})),this.buildable=!0;var n=function(t,r,n,i){if(!en.call(t,r)){var o=e.allFields;if(!en.call(o,r))throw new Error(""+r);var 
a,s=o[r],l=s.type;if(i)a=n;else{if(!s.defaultFn){var c="no value or default function given for field "+JSON.stringify(r)+" of "+e.typeName+"("+e.buildParams.map((function(e){return o[e]})).join(", ")+")";throw new Error(c)}a=s.defaultFn.call(t)}if(!l.check(a))throw new Error(un(a)+" does not match field "+s+" of type "+e.typeName);t[r]=a}},i=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=t.length;if(!e.finalized)throw 
new Error("attempting to instantiate unfinalized type "+e.typeName);var o=Object.create(x);if(e.buildParams.forEach((function(e,r){r<i?n(o,e,t[r],!0):n(o,e,null,!1)})),Object.keys(e.allFields).forEach((function(e){n(o,e,null,!1)})),o.type!==e.typeName)throw new Error("");return o};return i.from=function(t){if(!e.finalized)throw new Error("attempting to instantiate unfinalized type "+e.typeName);var r=Object.create(x);if(Object.keys(e.allFields).forEach((function(e){en.call(t,e)?n(r,e,t[e],!0):n(r,e,null,!1)})),r.type!==e.typeName)throw new Error("");return r},Object.defineProperty(v,k(this.typeName),{enumerable:!0,value:i}),this},r.prototype.field=function(e,r,n,i){return this.finalized?(console.error("Ignoring attempt to redefine field "+JSON.stringify(e)+" of finalized type "+JSON.stringify(this.typeName)),this):(this.ownFields[e]=new cn(e,t.from(r),n,i),this)},r.prototype.finalize=function(){var e=this;if(!this.finalized){var t=this.allFields,r=this.allSupertypes;for(var n in this.baseNames.forEach((function(n){var i=y[n];if(!(i instanceof ln)){var o="unknown supertype name "+JSON.stringify(n)+" for subtype "+JSON.stringify(e.typeName);throw new Error(o)}i.finalize(),T(t,i.allFields),T(r,i.allSupertypes)})),T(t,this.ownFields),r[this.typeName]=this,this.fieldNames.length=0,t)en.call(t,n)&&!t[n].hidden&&this.fieldNames.push(n);Object.defineProperty(w,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,function(e,t){t.length=0,t.push(e);for(var r=Object.create(null),n=0;n<t.length;++n){e=t[n];var i=y[e];if(!0!==i.finalized)throw new Error("");en.call(r,e)&&delete t[r[e]],r[e]=n,t.push.apply(t,i.baseNames)}for(var o=0,a=o,s=t.length;a<s;++a)en.call(t,a)&&(t[o++]=t[a]);t.length=o}(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0&&function(e){var t=E(e);if(v[t])return;var r=v[k(e)];if(!r)return;var n=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return v.expressionStatement(r.apply(v,e))};n.from=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return v.expressionStatement(r.from.apply(v,e))},v[t]=n}(this.typeName)}},r}(ln),v=Object.create(null),x={};function k(e){return e.replace(/^[A-Z]+/,(function(e){var t=e.length;switch(t){case 0:return"";case 1:return e.toLowerCase();default:return e.slice(0,t-1).toLowerCase()+e.charAt(t-1)}}))}function E(e){return(e=k(e)).replace(/(Expression)?$/,"Statement")}var w={};function P(e){var t=b(e);if(t)return t.fieldNames.slice(0);if("type"in e)throw new Error("did not recognize object of type "+JSON.stringify(e.type));return Object.keys(e)}function S(e,t){var r=b(e);if(r){var n=r.allFields[t];if(n)return n.getValue(e)}return e&&e[t]}function T(e,t){return Object.keys(t).forEach((function(r){e[r]=t[r]})),e}return{Type:t,builtInTypes:m,getSupertypeNames:function(e){if(!en.call(y,e))throw new Error("");var t=y[e];if(!0!==t.finalized)throw 
new Error("");return t.supertypeList.slice(1)},computeSupertypeLookupTable:function(e){for(var t={},r=Object.keys(y),n=r.length,i=0;i<n;++i){var o=r[i],a=y[o];if(!0!==a.finalized)throw new Error(""+o);for(var s=0;s<a.supertypeList.length;++s){var l=a.supertypeList[s];if(en.call(e,l)){t[o]=l;break}}}return t},builders:v,defineMethod:function(e,t){var r=x[e];return h.check(t)?delete x[e]:(a.assert(t),Object.defineProperty(x,e,{enumerable:!0,configurable:!0,value:t})),r},getBuilderName:k,getStatementBuilderName:E,namedTypes:w,getFieldNames:P,getFieldValue:S,eachField:function(e,t,r){P(e).forEach((function(r){t.call(this,r,S(e,r))}),r)},someField:function(e,t,r){return P(e).some((function(r){return t.call(this,r,S(e,r))}),r)},finalize:function(){Object.keys(y).forEach((function(e){y[e].finalize()}))}}};var pn={exports:{}},fn={exports:{}},dn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr.__importDefault(Yr),n=Object.prototype.hasOwnProperty;t.default=function(e){var t=e.use(r.default),i=t.builtInTypes.array,o=t.builtInTypes.number,a=function e(t,r,n){if(!(this instanceof e))throw new Error("Path constructor cannot be invoked without 'new'");if(r){if(!(r instanceof e))throw new Error("")}else r=null,n=null;this.value=t,this.parentPath=r,this.name=n,this.__childCache=null},s=a.prototype;function l(e){return e.__childCache||(e.__childCache=Object.create(null))}function c(e,t){var r=l(e),i=e.getValueProperty(t),o=r[t];return n.call(r,t)&&o.value===i||(o=r[t]=new e.constructor(i,e,t)),o}function u(){}function p(e,t,r,a){if(i.assert(e.value),0===t)return u;var s=e.value.length;if(s<1)return u;var c=arguments.length;2===c?(r=0,a=s):3===c?(r=Math.max(r,0),a=s):(r=Math.max(r,0),a=Math.min(a,s)),o.assert(r),o.assert(a);for(var p=Object.create(null),f=l(e),d=r;d<a;++d)if(n.call(e.value,d)){var h=e.get(d);if(h.name!==d)throw new Error("");var m=d+t;h.name=m,p[m]=h,delete f[d]}return delete f.length,function(){for(var t in p){var r=p[t];if(r.name!==+t)throw new Error("");f[t]=r,e.value[t]=r.value}}}function f(e){if(!(e instanceof a))throw new Error("");var t=e.parentPath;if(!t)return e;var r=t.value,n=l(t);if(r[e.name]===e.value)n[e.name]=e;else if(i.check(r)){var o=r.indexOf(e.value);o>=0&&(n[e.name=o]=e)}else r[e.name]=e.value,n[e.name]=e;if(r[e.name]!==e.value)throw new Error("");if(e.parentPath.get(e.name)!==e)throw new Error("");return e}return s.getValueProperty=function(e){return this.value[e]},s.get=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=this,n=e.length,i=0;i<n;++i)r=c(r,e[i]);return r},s.each=function(e,t){var r=[],i=this.value.length,o=0;for(o=0;o<i;++o)n.call(this.value,o)&&(r[o]=this.get(o));for(t=t||this,o=0;o<i;++o)n.call(r,o)&&e.call(t,r[o])},s.map=function(e,t){var r=[];return this.each((function(t){r.push(e.call(this,t))}),t),r},s.filter=function(e,t){var r=[];return this.each((function(t){e.call(this,t)&&r.push(t)}),t),r},s.shift=function(){var e=p(this,-1),t=this.value.shift();return e(),t},s.unshift=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=p(this,e.length),n=this.value.unshift.apply(this.value,e);return r(),n},s.push=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.assert(this.value),delete l(this).length,this.value.push.apply(this.value,e)},s.pop=function(){i.assert(this.value);var e=l(this);return delete e[this.value.length-1],delete e.length,this.value.pop()},s.insertAt=function(e){var t=arguments.length,r=p(this,t-1,e);if(r===u&&t<=1)return this;e=Math.max(e,0);for(var n=1;n<t;++n)this.value[e+n-1]=arguments[n];return r(),this},s.insertBefore=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=this.parentPath,n=e.length,i=[this.name],o=0;o<n;++o)i.push(e[o]);return r.insertAt.apply(r,i)},s.insertAfter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=this.parentPath,n=e.length,i=[this.name+1],o=0;o<n;++o)i.push(e[o]);return r.insertAt.apply(r,i)},s.replace=function(e){var t=[],r=this.parentPath.value,n=l(this.parentPath),o=arguments.length;if(f(this),i.check(r)){for(var a=r.length,s=p(this.parentPath,o-1,this.name+1),c=[this.name,1],u=0;u<o;++u)c.push(arguments[u]);var d=r.splice.apply(r,c);if(d[0]!==this.value)throw new Error("");if(r.length!==a-1+o)throw new Error("");if(s(),0===o)delete this.value,delete n[this.name],this.__childCache=null;else{if(r[this.name]!==e)throw new Error("");for(this.value!==e&&(this.value=e,this.__childCache=null),u=0;u<o;++u)t.push(this.parentPath.get(this.name+u));if(t[0]!==this)throw new Error("")}}else if(1===o)this.value!==e&&(this.__childCache=null),this.value=r[this.name]=e,t.push(this);else{if(0!==o)throw new Error("Could not replace path");delete r[this.name],delete this.value,this.__childCache=null}return t},a},e.exports=t.default}(dn,dn.exports);var hn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr.__importDefault(Yr),n=Object.prototype.hasOwnProperty;t.default=function(e){var t=e.use(r.default),i=t.Type,o=t.namedTypes,a=o.Node,s=o.Expression,l=t.builtInTypes.array,c=t.builders,u=function e(t,r){if(!(this instanceof e))throw new Error("Scope constructor cannot be invoked without 'new'");var n;if(f.assert(t.value),r){if(!(r instanceof e))throw new Error("");n=r.depth+1}else r=null,n=0;Object.defineProperties(this,{path:{value:t},node:{value:t.value},isGlobal:{value:!r,enumerable:!0},depth:{value:n},parent:{value:r},bindings:{value:{}},types:{value:{}}})},p=[o.Program,o.Function,o.CatchClause],f=i.or.apply(i,p);u.isEstablishedBy=function(e){return f.check(e)};var d=u.prototype;function h(e,r,i){var c=e.value;e.parent&&o.FunctionExpression.check(e.parent.node)&&e.parent.node.id&&y(e.parent.get("id"),r),c&&(l.check(c)?e.each((function(e){m(e,r,i)})):o.Function.check(c)?(e.get("params").each((function(e){y(e,r)})),m(e.get("body"),r,i)):o.TypeAlias&&o.TypeAlias.check(c)||o.InterfaceDeclaration&&o.InterfaceDeclaration.check(c)||o.TSTypeAliasDeclaration&&o.TSTypeAliasDeclaration.check(c)||o.TSInterfaceDeclaration&&o.TSInterfaceDeclaration.check(c)?function(e,t){var r=e.value;o.Pattern.assert(r),o.Identifier.check(r)&&(n.call(t,r.name)?t[r.name].push(e):t[r.name]=[e])}(e.get("id"),i):o.VariableDeclarator.check(c)?(y(e.get("id"),r),m(e.get("init"),r,i)):"ImportSpecifier"===c.type||"ImportNamespaceSpecifier"===c.type||"ImportDefaultSpecifier"===c.type?y(e.get(c.local?"local":c.name?"name":"id"),r):a.check(c)&&!s.check(c)&&t.eachField(c,(function(t,n){var o=e.get(t);if(!function(e,t){if(e.value===t)return!0;if(Array.isArray(e.value)&&0===e.value.length&&Array.isArray(t)&&0===t.length)return!0;return!1}(o,n))throw new Error("");m(o,r,i)})))}function m(e,t,r){var i=e.value;if(!i||s.check(i));else if(o.FunctionDeclaration.check(i)&&null!==i.id)y(e.get("id"),t);else if(o.ClassDeclaration&&o.ClassDeclaration.check(i))y(e.get("id"),t);else if(f.check(i)){if(o.CatchClause.check(i)&&o.Identifier.check(i.param)){var a=i.param.name,l=n.call(t,a);h(e.get("body"),t,r),l||delete t[a]}}else h(e,t,r)}function y(e,t){var r=e.value;o.Pattern.assert(r),o.Identifier.check(r)?n.call(t,r.name)?t[r.name].push(e):t[r.name]=[e]:o.AssignmentPattern&&o.AssignmentPattern.check(r)?y(e.get("left"),t):o.ObjectPattern&&o.ObjectPattern.check(r)?e.get("properties").each((function(e){var r=e.value;o.Pattern.check(r)?y(e,t):o.Property.check(r)?y(e.get("value"),t):o.SpreadProperty&&o.SpreadProperty.check(r)&&y(e.get("argument"),t)})):o.ArrayPattern&&o.ArrayPattern.check(r)?e.get("elements").each((function(e){var r=e.value;o.Pattern.check(r)?y(e,t):o.SpreadElement&&o.SpreadElement.check(r)&&y(e.get("argument"),t)})):o.PropertyPattern&&o.PropertyPattern.check(r)?y(e.get("pattern"),t):(o.SpreadElementPattern&&o.SpreadElementPattern.check(r)||o.RestElement&&o.RestElement.check(r)||o.SpreadPropertyPattern&&o.SpreadPropertyPattern.check(r))&&y(e.get("argument"),t)}return d.didScan=!1,d.declares=function(e){return this.scan(),n.call(this.bindings,e)},d.declaresType=function(e){return this.scan(),n.call(this.types,e)},d.declareTemporary=function(e){if(e){if(!/^[a-z$_]/i.test(e))throw new Error("")}else e="t$";e+=this.depth.toString(36)+"$",this.scan();for(var r=0;this.declares(e+r);)++r;var n=e+r;return this.bindings[n]=t.builders.identifier(n)},d.injectTemporary=function(e,t){e||(e=this.declareTemporary());var r=this.path.get("body");return o.BlockStatement.check(r.value)&&(r=r.get("body")),r.unshift(c.variableDeclaration("var",[c.variableDeclarator(e,t||null)])),e},d.scan=function(e){if(e||!this.didScan){for(var t in this.bindings)delete this.bindings[t];!function(e,t,r){var n=e.value;if(f.assert(n),o.CatchClause.check(n)){var i=e.get("param");i.value&&y(i,t)}else h(e,t,r)}(this.path,this.bindings,this.types),this.didScan=!0}},d.getBindings=function(){return this.scan(),this.bindings},d.getTypes=function(){return this.scan(),this.types},d.lookup=function(e){for(var t=this;t&&!t.declares(e);t=t.parent);return t},d.lookupType=function(e){for(var t=this;t&&!t.declaresType(e);t=t.parent);return t},d.getGlobalScope=function(){for(var e=this;!e.isGlobal;)e=e.parent;return e},u},e.exports=t.default}(hn,hn.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(Yr),i=r.__importDefault(dn.exports),o=r.__importDefault(hn.exports);t.default=function(e){var t=e.use(n.default),r=t.namedTypes,a=t.builders,s=t.builtInTypes.number,l=t.builtInTypes.array,c=e.use(i.default),u=e.use(o.default),p=function e(t,r,n){if(!(this instanceof e))throw new Error("NodePath constructor cannot be invoked without 'new'");c.call(this,t,r,n)},f=p.prototype=Object.create(c.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}});function d(e){return r.BinaryExpression.check(e)||r.LogicalExpression.check(e)}Object.defineProperties(f,{node:{get:function(){return Object.defineProperty(this,"node",{configurable:!0,value:this._computeNode()}),this.node}},parent:{get:function(){return Object.defineProperty(this,"parent",{configurable:!0,value:this._computeParent()}),this.parent}},scope:{get:function(){return Object.defineProperty(this,"scope",{configurable:!0,value:this._computeScope()}),this.scope}}}),f.replace=function(){return delete this.node,delete this.parent,delete this.scope,c.prototype.replace.apply(this,arguments)},f.prune=function(){var e=this.parent;return this.replace(),function(e){if(r.VariableDeclaration.check(e.node)){var t=e.get("declarations").value;if(!t||0===t.length)return e.prune()}else if(r.ExpressionStatement.check(e.node)){if(!e.get("expression").value)return e.prune()}else r.IfStatement.check(e.node)&&function(e){var t=e.get("test").value,n=e.get("alternate").value,i=e.get("consequent").value;if(i||n){if(!i&&n){var o=a.unaryExpression("!",t,!0);r.UnaryExpression.check(t)&&"!"===t.operator&&(o=t.argument),e.get("test").replace(o),e.get("consequent").replace(n),e.get("alternate").replace()}}else{var s=a.expressionStatement(t);e.replace(s)}}(e);return e}(e)},f._computeNode=function(){var e=this.value;if(r.Node.check(e))return e;var t=this.parentPath;return t&&t.node||null},f._computeParent=function(){var e=this.value,t=this.parentPath;if(!r.Node.check(e)){for(;t&&!r.Node.check(t.value);)t=t.parentPath;t&&(t=t.parentPath)}for(;t&&!r.Node.check(t.value);)t=t.parentPath;return t||null},f._computeScope=function(){var e=this.value,t=this.parentPath,n=t&&t.scope;return r.Node.check(e)&&u.isEstablishedBy(e)&&(n=new u(this,n)),n||null},f.getValueProperty=function(e){return t.getFieldValue(this.value,e)},f.needsParens=function(e){var t=this.parentPath;if(!t)return!1;var n=this.value;if(!r.Expression.check(n))return!1;if("Identifier"===n.type)return!1;for(;!r.Node.check(t.value);)if(!(t=t.parentPath))return!1;var i=t.value;switch(n.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return"MemberExpression"===i.type&&"object"===this.name&&i.object===n;case"BinaryExpression":case"LogicalExpression":switch(i.type){case"CallExpression":return"callee"===this.name&&i.callee===n;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return"object"===this.name&&i.object===n;case"BinaryExpression":case"LogicalExpression":var o=n,a=i.operator,l=h[a],c=o.operator,u=h[c];if(l>u)return!0;if(l===u&&"right"===this.name){if(i.right!==o)throw new Error("Nodes must be equal");return!0}default:return!1}case"SequenceExpression":switch(i.type){case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==this.name;default:return!0}case"YieldExpression":switch(i.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return!0;default:return!1}case"Literal":return"MemberExpression"===i.type&&s.check(n.value)&&"object"===this.name&&i.object===n;case"AssignmentExpression":case"ConditionalExpression":switch(i.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":return"callee"===this.name&&i.callee===n;case"ConditionalExpression":return"test"===this.name&&i.test===n;case"MemberExpression":return"object"===this.name&&i.object===n;default:return!1}default:if("NewExpression"===i.type&&"callee"===this.name&&i.callee===n)return m(n)}return!(!0===e||this.canBeFirstInStatement()||!this.firstInStatement())};var h={};function m(e){return!!r.CallExpression.check(e)||(l.check(e)?e.some(m):!!r.Node.check(e)&&t.someField(e,(function(e,t){return m(t)})))}return[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].forEach((function(e,t){e.forEach((function(e){h[e]=t}))})),f.canBeFirstInStatement=function(){var e=this.node;return!r.FunctionExpression.check(e)&&!r.ObjectExpression.check(e)},f.firstInStatement=function(){return function(e){for(var t,n;e.parent;e=e.parent){if(t=e.node,n=e.parent.node,r.BlockStatement.check(n)&&"body"===e.parent.name&&0===e.name){if(n.body[0]!==t)throw new Error("Nodes must be equal");return!0}if(r.ExpressionStatement.check(n)&&"expression"===e.name){if(n.expression!==t)throw new Error("Nodes must be equal");return!0}if(r.SequenceExpression.check(n)&&"expressions"===e.parent.name&&0===e.name){if(n.expressions[0]!==t)throw new Error("Nodes must be equal")}else if(r.CallExpression.check(n)&&"callee"===e.name){if(n.callee!==t)throw new Error("Nodes must be equal")}else if(r.MemberExpression.check(n)&&"object"===e.name){if(n.object!==t)throw new Error("Nodes must be equal")}else if(r.ConditionalExpression.check(n)&&"test"===e.name){if(n.test!==t)throw new Error("Nodes must be equal")}else if(d(n)&&"left"===e.name){if(n.left!==t)throw new Error("Nodes must be equal")}else{if(!r.UnaryExpression.check(n)||n.prefix||"argument"!==e.name)return!1;if(n.argument!==t)throw new Error("Nodes must be equal")}}return!0}(this)},p},e.exports=t.default}(fn,fn.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(Yr),i=r.__importDefault(fn.exports),o=Object.prototype.hasOwnProperty;t.default=function(e){var t=e.use(n.default),r=e.use(i.default),a=t.builtInTypes.array,s=t.builtInTypes.object,l=t.builtInTypes.function,c=function e(){if(!(this instanceof e))throw new Error("PathVisitor constructor cannot be invoked without 'new'");this._reusableContextStack=[],this._methodNameTable=function(e){var r=Object.create(null);for(var n in e)/^visit[A-Z]/.test(n)&&(r[n.slice("visit".length)]=!0);for(var i=t.computeSupertypeLookupTable(r),o=Object.create(null),a=Object.keys(i),s=a.length,c=0;c<s;++c){var u=a[c];n="visit"+i[u],l.check(e[n])&&(o[u]=n)}return o}(this),this._shouldVisitComments=o.call(this._methodNameTable,"Block")||o.call(this._methodNameTable,"Line"),this.Context=d(this),this._visiting=!1,this._changeReported=!1};function u(e,t){for(var r in t)o.call(t,r)&&(e[r]=t[r]);return e}c.fromMethodsObject=function(e){if(e instanceof c)return e;if(!s.check(e))return new c;var t=function e(){if(!(this instanceof e))throw new Error("Visitor constructor cannot be invoked without 'new'");c.call(this)},r=t.prototype=Object.create(p);return r.constructor=t,u(r,e),u(t,c),l.assert(t.fromMethodsObject),l.assert(t.visit),new t},c.visit=function(e,t){return c.fromMethodsObject(t).visit(e)};var p=c.prototype;function f(e,n){if(!(e instanceof r))throw new Error("");if(!(n instanceof c))throw new Error("");var i=e.value;if(a.check(i))e.each(n.visitWithoutReset,n);else if(s.check(i)){var l=t.getFieldNames(i);n._shouldVisitComments&&i.comments&&l.indexOf("comments")<0&&l.push("comments");for(var u=l.length,p=[],f=0;f<u;++f){var d=l[f];o.call(i,d)||(i[d]=t.getFieldValue(i,d)),p.push(e.get(d))}for(f=0;f<u;++f)n.visitWithoutReset(p[f])}else;return e.value}function d(e){function t(n){if(!(this instanceof t))throw new Error("");if(!(this instanceof c))throw new Error("");if(!(n instanceof r))throw new Error("");Object.defineProperty(this,"visitor",{value:e,writable:!1,enumerable:!0,configurable:!1}),this.currentPath=n,this.needToCallTraverse=!0,Object.seal(this)}if(!(e instanceof c))throw new Error("");var n=t.prototype=Object.create(e);return n.constructor=t,u(n,h),t}p.visit=function(){if(this._visiting)throw new Error("Recursively calling visitor.visit(path) resets visitor state. Try this.visit(path) or this.traverse(path) instead.");this._visiting=!0,this._changeReported=!1,this._abortRequested=!1;for(var e,t=arguments.length,n=new Array(t),i=0;i<t;++i)n[i]=arguments[i];n[0]instanceof r||(n[0]=new r({root:n[0]}).get("root")),this.reset.apply(this,n);try{var o=this.visitWithoutReset(n[0]);e=!0}finally{if(this._visiting=!1,!e&&this._abortRequested)return n[0].value}return o},p.AbortRequest=function(){},p.abort=function(){var e=this;e._abortRequested=!0;var t=new e.AbortRequest;throw t.cancel=function(){e._abortRequested=!1},t},p.reset=function(e){},p.visitWithoutReset=function(e){if(this instanceof this.Context)return this.visitor.visitWithoutReset(e);if(!(e instanceof r))throw new Error("");var t=e.value,n=t&&"object"==typeof t&&"string"==typeof t.type&&this._methodNameTable[t.type];if(!n)return f(e,this);var i=this.acquireContext(e);try{return i.invokeVisitorMethod(n)}finally{this.releaseContext(i)}},p.acquireContext=function(e){return 0===this._reusableContextStack.length?new this.Context(e):this._reusableContextStack.pop().reset(e)},p.releaseContext=function(e){if(!(e instanceof this.Context))throw new Error("");this._reusableContextStack.push(e),e.currentPath=null},p.reportChanged=function(){this._changeReported=!0},p.wasChangeReported=function(){return this._changeReported};var h=Object.create(null);return h.reset=function(e){if(!(this instanceof this.Context))throw new Error("");if(!(e instanceof r))throw new Error("");return this.currentPath=e,this.needToCallTraverse=!0,this},h.invokeVisitorMethod=function(e){if(!(this instanceof this.Context))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");var t=this.visitor[e].call(this,this.currentPath);if(!1===t?this.needToCallTraverse=!1:undefined!==t&&(this.currentPath=this.currentPath.replace(t)[0],this.needToCallTraverse&&this.traverse(this.currentPath)),!1!==this.needToCallTraverse)throw new Error("Must either call this.traverse or return false in "+e);var n=this.currentPath;return n&&n.value},h.traverse=function(e,t){if(!(this instanceof this.Context))throw new Error("");if(!(e instanceof r))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");return this.needToCallTraverse=!1,f(e,c.fromMethodsObject(t||this.visitor))},h.visit=function(e,t){if(!(this instanceof this.Context))throw new Error("");if(!(e instanceof r))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");return this.needToCallTraverse=!1,c.fromMethodsObject(t||this.visitor).visitWithoutReset(e)},h.reportChanged=function(){this.visitor.reportChanged()},h.abort=function(){this.needToCallTraverse=!1,this.visitor.abort()},c},e.exports=t.default}(pn,pn.exports);var mn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr.__importDefault(Yr);t.default=function(e){var t=e.use(r.default),n=t.getFieldNames,i=t.getFieldValue,o=t.builtInTypes.array,a=t.builtInTypes.object,s=t.builtInTypes.Date,l=t.builtInTypes.RegExp,c=Object.prototype.hasOwnProperty;function u(e,t,r){return o.check(r)?r.length=0:r=null,f(e,t,r)}function p(e){return/[_$a-z][_$a-z0-9]*/i.test(e)?"."+e:"["+JSON.stringify(e)+"]"}function f(e,t,r){return e===t||(o.check(e)?function(e,t,r){o.assert(e);var n=e.length;if(!o.check(t)||t.length!==n)return r&&r.push("length"),!1;for(var i=0;i<n;++i){if(r&&r.push(i),i in e!=i in t)return!1;if(!f(e[i],t[i],r))return!1;if(r){var a=r.pop();if(a!==i)throw new Error(""+a)}}return!0}(e,t,r):a.check(e)?function(e,t,r){if(a.assert(e),!a.check(t))return!1;if(e.type!==t.type)return r&&r.push("type"),!1;var o=n(e),s=o.length,l=n(t),u=l.length;if(s===u){for(var p=0;p<s;++p){var 
d=o[p],h=i(e,d),m=i(t,d);if(r&&r.push(d),!f(h,m,r))return!1;if(r){var y=r.pop();if(y!==d)throw new Error(""+y)}}return!0}if(!r)return!1;var b=Object.create(null);for(p=0;p<s;++p)b[o[p]]=!0;for(p=0;p<u;++p){if(d=l[p],!c.call(b,d))return r.push(d),!1;delete b[d]}for(d in b){r.push(d);break}return!1}(e,t,r):s.check(e)?s.check(t)&&+e==+t:l.check(e)?l.check(t)&&e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.ignoreCase===t.ignoreCase:e==t)}return u.assert=function(e,t){var r=[];if(!u(e,t,r)){if(0!==r.length)throw new Error("Nodes differ in the following path: "+r.map(p).join(""));if(e!==t)throw new Error("Nodes must be equal")}},u},e.exports=t.default}(mn,mn.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(Yr),i=r.__importDefault(pn.exports),o=r.__importDefault(mn.exports),a=r.__importDefault(dn.exports),s=r.__importDefault(fn.exports);t.default=function(e){var t=function(){var e=[],t=[];function r(r){var i=e.indexOf(r);return-1===i&&(i=e.length,e.push(r),t[i]=r(n)),t[i]}var n={use:r};return n}(),r=t.use(n.default);e.forEach(t.use),r.finalize();var l=t.use(i.default);return{Type:r.Type,builtInTypes:r.builtInTypes,namedTypes:r.namedTypes,builders:r.builders,defineMethod:r.defineMethod,getFieldNames:r.getFieldNames,getFieldValue:r.getFieldValue,eachField:r.eachField,someField:r.someField,getSupertypeNames:r.getSupertypeNames,getBuilderName:r.getBuilderName,astNodesAreEquivalent:t.use(o.default),finalize:r.finalize,Path:t.use(a.default),NodePath:t.use(s.default),PathVisitor:l,use:t.use,visit:l.visit}},e.exports=t.default}(Kr,Kr.exports);var yn={exports:{}},bn={};Object.defineProperty(bn,"__esModule",{value:!0}),bn.LogicalOperators=bn.AssignmentOperators=bn.BinaryOperators=void 0,bn.BinaryOperators=["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"],bn.AssignmentOperators=["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="],bn.LogicalOperators=["||","&&"];var gn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr.__importDefault(Yr);t.default=function(e){var t=e.use(r.default),n=t.Type,i=t.builtInTypes,o=i.number,a=n.or(i.string,i.number,i.boolean,i.null,i.undefined);return{geq:function(e){return n.from((function(t){return o.check(t)&&t>=e}),o+" >= "+e)},defaults:{null:function(){return null},emptyArray:function(){return[]},false:function(){return!1},true:function(){return!0},undefined:function(){},"use strict":function(){return"use strict"}},isPrimitive:n.from((function(e){if(null===e)return!0;var t=typeof e;return"object"!==t&&"function"!==t}),a.toString())}},e.exports=t.default}(gn,gn.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=bn,i=r.__importDefault(Yr),o=r.__importDefault(gn.exports);t.default=function(e){var t=e.use(i.default).Type,r=t.def,a=t.or,s=e.use(o.default),l=s.defaults,c=s.geq;r("Printable").field("loc",a(r("SourceLocation"),null),l.null,!0),r("Node").bases("Printable").field("type",String).field("comments",a([r("Comment")],null),l.null,!0),r("SourceLocation").field("start",r("Position")).field("end",r("Position")).field("source",a(String,null),l.null),r("Position").field("line",c(1)).field("column",c(0)),r("File").bases("Node").build("program","name").field("program",r("Program")).field("name",a(String,null),l.null),r("Program").bases("Node").build("body").field("body",[r("Statement")]),r("Function").bases("Node").field("id",a(r("Identifier"),null),l.null).field("params",[r("Pattern")]).field("body",r("BlockStatement")).field("generator",Boolean,l.false).field("async",Boolean,l.false),r("Statement").bases("Node"),r("EmptyStatement").bases("Statement").build(),r("BlockStatement").bases("Statement").build("body").field("body",[r("Statement")]),r("ExpressionStatement").bases("Statement").build("expression").field("expression",r("Expression")),r("IfStatement").bases("Statement").build("test","consequent","alternate").field("test",r("Expression")).field("consequent",r("Statement")).field("alternate",a(r("Statement"),null),l.null),r("LabeledStatement").bases("Statement").build("label","body").field("label",r("Identifier")).field("body",r("Statement")),r("BreakStatement").bases("Statement").build("label").field("label",a(r("Identifier"),null),l.null),r("ContinueStatement").bases("Statement").build("label").field("label",a(r("Identifier"),null),l.null),r("WithStatement").bases("Statement").build("object","body").field("object",r("Expression")).field("body",r("Statement")),r("SwitchStatement").bases("Statement").build("discriminant","cases","lexical").field("discriminant",r("Expression")).field("cases",[r("SwitchCase")]).field("lexical",Boolean,l.false),r("ReturnStatement").bases("Statement").build("argument").field("argument",a(r("Expression"),null)),r("ThrowStatement").bases("Statement").build("argument").field("argument",r("Expression")),r("TryStatement").bases("Statement").build("block","handler","finalizer").field("block",r("BlockStatement")).field("handler",a(r("CatchClause"),null),(function(){return this.handlers&&this.handlers[0]||null})).field("handlers",[r("CatchClause")],(function(){return this.handler?[this.handler]:[]}),!0).field("guardedHandlers",[r("CatchClause")],l.emptyArray).field("finalizer",a(r("BlockStatement"),null),l.null),r("CatchClause").bases("Node").build("param","guard","body").field("param",r("Pattern")).field("guard",a(r("Expression"),null),l.null).field("body",r("BlockStatement")),r("WhileStatement").bases("Statement").build("test","body").field("test",r("Expression")).field("body",r("Statement")),r("DoWhileStatement").bases("Statement").build("body","test").field("body",r("Statement")).field("test",r("Expression")),r("ForStatement").bases("Statement").build("init","test","update","body").field("init",a(r("VariableDeclaration"),r("Expression"),null)).field("test",a(r("Expression"),null)).field("update",a(r("Expression"),null)).field("body",r("Statement")),r("ForInStatement").bases("Statement").build("left","right","body").field("left",a(r("VariableDeclaration"),r("Expression"))).field("right",r("Expression")).field("body",r("Statement")),r("DebuggerStatement").bases("Statement").build(),r("Declaration").bases("Statement"),r("FunctionDeclaration").bases("Function","Declaration").build("id","params","body").field("id",r("Identifier")),r("FunctionExpression").bases("Function","Expression").build("id","params","body"),r("VariableDeclaration").bases("Declaration").build("kind","declarations").field("kind",a("var","let","const")).field("declarations",[r("VariableDeclarator")]),r("VariableDeclarator").bases("Node").build("id","init").field("id",r("Pattern")).field("init",a(r("Expression"),null),l.null),r("Expression").bases("Node"),r("ThisExpression").bases("Expression").build(),r("ArrayExpression").bases("Expression").build("elements").field("elements",[a(r("Expression"),null)]),r("ObjectExpression").bases("Expression").build("properties").field("properties",[r("Property")]),r("Property").bases("Node").build("kind","key","value").field("kind",a("init","get","set")).field("key",a(r("Literal"),r("Identifier"))).field("value",r("Expression")),r("SequenceExpression").bases("Expression").build("expressions").field("expressions",[r("Expression")]);var u=a("-","+","!","~","typeof","void","delete");r("UnaryExpression").bases("Expression").build("operator","argument","prefix").field("operator",u).field("argument",r("Expression")).field("prefix",Boolean,l.true);var p=a.apply(void 0,n.BinaryOperators);r("BinaryExpression").bases("Expression").build("operator","left","right").field("operator",p).field("left",r("Expression")).field("right",r("Expression"));var f=a.apply(void 0,n.AssignmentOperators);r("AssignmentExpression").bases("Expression").build("operator","left","right").field("operator",f).field("left",a(r("Pattern"),r("MemberExpression"))).field("right",r("Expression"));var d=a("++","--");r("UpdateExpression").bases("Expression").build("operator","argument","prefix").field("operator",d).field("argument",r("Expression")).field("prefix",Boolean);var h=a.apply(void 0,n.LogicalOperators);r("LogicalExpression").bases("Expression").build("operator","left","right").field("operator",h).field("left",r("Expression")).field("right",r("Expression")),r("ConditionalExpression").bases("Expression").build("test","consequent","alternate").field("test",r("Expression")).field("consequent",r("Expression")).field("alternate",r("Expression")),r("NewExpression").bases("Expression").build("callee","arguments").field("callee",r("Expression")).field("arguments",[r("Expression")]),r("CallExpression").bases("Expression").build("callee","arguments").field("callee",r("Expression")).field("arguments",[r("Expression")]),r("MemberExpression").bases("Expression").build("object","property","computed").field("object",r("Expression")).field("property",a(r("Identifier"),r("Expression"))).field("computed",Boolean,(function(){var e=this.property.type;return"Literal"===e||"MemberExpression"===e||"BinaryExpression"===e})),r("Pattern").bases("Node"),r("SwitchCase").bases("Node").build("test","consequent").field("test",a(r("Expression"),null)).field("consequent",[r("Statement")]),r("Identifier").bases("Expression","Pattern").build("name").field("name",String).field("optional",Boolean,l.false),r("Literal").bases("Expression").build("value").field("value",a(String,Boolean,null,Number,RegExp)).field("regex",a({pattern:String,flags:String},null),(function(){if(this.value instanceof RegExp){var e="";return this.value.ignoreCase&&(e+="i"),this.value.multiline&&(e+="m"),this.value.global&&(e+="g"),{pattern:this.value.source,flags:e}}return null})),r("Comment").bases("Printable").field("value",String).field("leading",Boolean,l.true).field("trailing",Boolean,l.false)},e.exports=t.default}(yn,yn.exports);var vn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(yn.exports),i=r.__importDefault(Yr),o=r.__importDefault(gn.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=t.Type.def,a=t.Type.or,s=e.use(o.default).defaults;r("Function").field("generator",Boolean,s.false).field("expression",Boolean,s.false).field("defaults",[a(r("Expression"),null)],s.emptyArray).field("rest",a(r("Identifier"),null),s.null),r("RestElement").bases("Pattern").build("argument").field("argument",r("Pattern")).field("typeAnnotation",a(r("TypeAnnotation"),r("TSTypeAnnotation"),null),s.null),r("SpreadElementPattern").bases("Pattern").build("argument").field("argument",r("Pattern")),r("FunctionDeclaration").build("id","params","body","generator","expression").field("id",a(r("Identifier"),null)),r("FunctionExpression").build("id","params","body","generator","expression"),r("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,s.null).field("body",a(r("BlockStatement"),r("Expression"))).field("generator",!1,s.false),r("ForOfStatement").bases("Statement").build("left","right","body").field("left",a(r("VariableDeclaration"),r("Pattern"))).field("right",r("Expression")).field("body",r("Statement")),r("YieldExpression").bases("Expression").build("argument","delegate").field("argument",a(r("Expression"),null)).field("delegate",Boolean,s.false),r("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",a(r("Expression"),null)),r("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",a(r("Expression"),null)),r("ComprehensionBlock").bases("Node").build("left","right","each").field("left",r("Pattern")).field("right",r("Expression")).field("each",Boolean),r("Property").field("key",a(r("Literal"),r("Identifier"),r("Expression"))).field("value",a(r("Expression"),r("Pattern"))).field("method",Boolean,s.false).field("shorthand",Boolean,s.false).field("computed",Boolean,s.false),r("ObjectProperty").field("shorthand",Boolean,s.false),r("PropertyPattern").bases("Pattern").build("key","pattern").field("key",a(r("Literal"),r("Identifier"),r("Expression"))).field("pattern",r("Pattern")).field("computed",Boolean,s.false),r("ObjectPattern").bases("Pattern").build("properties").field("properties",[a(r("PropertyPattern"),r("Property"))]),r("ArrayPattern").bases("Pattern").build("elements").field("elements",[a(r("Pattern"),null)]),r("SpreadElement").bases("Node").build("argument").field("argument",r("Expression")),r("ArrayExpression").field("elements",[a(r("Expression"),r("SpreadElement"),r("RestElement"),null)]),r("NewExpression").field("arguments",[a(r("Expression"),r("SpreadElement"))]),r("CallExpression").field("arguments",[a(r("Expression"),r("SpreadElement"))]),r("AssignmentPattern").bases("Pattern").build("left","right").field("left",r("Pattern")).field("right",r("Expression")),r("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",a("constructor","method","get","set")).field("key",r("Expression")).field("value",r("Function")).field("computed",Boolean,s.false).field("static",Boolean,s.false);var l=a(r("MethodDefinition"),r("VariableDeclarator"),r("ClassPropertyDefinition"),r("ClassProperty"));r("ClassProperty").bases("Declaration").build("key").field("key",a(r("Literal"),r("Identifier"),r("Expression"))).field("computed",Boolean,s.false),r("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",l),r("ClassBody").bases("Declaration").build("body").field("body",[l]),r("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",a(r("Identifier"),null)).field("body",r("ClassBody")).field("superClass",a(r("Expression"),null),s.null),r("ClassExpression").bases("Expression").build("id","body","superClass").field("id",a(r("Identifier"),null),s.null).field("body",r("ClassBody")).field("superClass",a(r("Expression"),null),s.null),r("Super").bases("Expression").build(),r("Specifier").bases("Node"),r("ModuleSpecifier").bases("Specifier").field("local",a(r("Identifier"),null),s.null).field("id",a(r("Identifier"),null),s.null).field("name",a(r("Identifier"),null),s.null),r("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",r("Identifier")),r("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local"),r("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local"),r("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[a(r("ImportSpecifier"),r("ImportNamespaceSpecifier"),r("ImportDefaultSpecifier"))],s.emptyArray).field("source",r("Literal")).field("importKind",a("value","type"),(function(){return"value"})),r("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",a(r("Declaration"),null)).field("specifiers",[r("ExportSpecifier")],s.emptyArray).field("source",a(r("Literal"),null),s.null),r("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",r("Identifier")),r("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",a(r("Declaration"),r("Expression"))),r("ExportAllDeclaration").bases("Declaration").build("source").field("source",r("Literal")),r("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",r("Expression")).field("quasi",r("TemplateLiteral")),r("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[r("TemplateElement")]).field("expressions",[r("Expression")]),r("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean),r("MetaProperty").bases("Expression").build("meta","property").field("meta",r("Identifier")).field("property",r("Identifier"))},e.exports=t.default}(vn,vn.exports);var 
xn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=bn,i=r.__importDefault(vn.exports),o=r.__importDefault(Yr);t.default=function(e){e.use(i.default);var t=e.use(o.default),a=t.Type.def,s=t.Type.or,l=s.apply(void 0,r.__spreadArrays(n.BinaryOperators,["**"]));a("BinaryExpression").field("operator",l);var c=s.apply(void 0,r.__spreadArrays(n.AssignmentOperators,["**="]));a("AssignmentExpression").field("operator",c)},e.exports=t.default}(xn,xn.exports);var kn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(xn.exports),i=r.__importDefault(Yr),o=r.__importDefault(gn.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default).Type.def,r=e.use(o.default).defaults;t("Function").field("async",Boolean,r.false),t("AwaitExpression").bases("Expression").build("argument").field("argument",t("Expression"))},e.exports=t.default}(kn,kn.exports);var En={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(kn.exports),i=r.__importDefault(Yr),o=r.__importDefault(gn.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=t.Type.def,a=t.Type.or,s=e.use(o.default).defaults;r("ForOfStatement").field("await",Boolean,s.false),r("SpreadProperty").bases("Node").build("argument").field("argument",r("Expression")),r("ObjectExpression").field("properties",[a(r("Property"),r("SpreadProperty"),r("SpreadElement"))]),r("TemplateElement").field("value",{cooked:a(String,null),raw:String}),r("SpreadPropertyPattern").bases("Pattern").build("argument").field("argument",r("Pattern")),r("ObjectPattern").field("properties",[a(r("PropertyPattern"),r("Property"),r("RestElement"),r("SpreadPropertyPattern"))])},e.exports=t.default}(En,En.exports);var wn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(En.exports),i=r.__importDefault(Yr),o=r.__importDefault(gn.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=t.Type.def,a=t.Type.or,s=e.use(o.default).defaults;r("CatchClause").field("param",a(r("Pattern"),null),s.null)},e.exports=t.default}(wn,wn.exports);var Pn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=bn,i=r.__importDefault(wn.exports),o=r.__importDefault(Yr),a=r.__importDefault(gn.exports);t.default=function(e){e.use(i.default);var t=e.use(o.default),s=t.Type.def,l=t.Type.or,c=e.use(a.default).defaults;s("ImportExpression").bases("Expression").build("source").field("source",s("Expression")),s("ExportAllDeclaration").build("source","exported").field("source",s("Literal")).field("exported",l(s("Identifier"),null)),s("ChainElement").bases("Node").field("optional",Boolean,c.false),s("CallExpression").bases("Expression","ChainElement"),s("MemberExpression").bases("Expression","ChainElement"),s("ChainExpression").bases("Expression").build("expression").field("expression",s("ChainElement")),s("OptionalCallExpression").bases("CallExpression").build("callee","arguments","optional").field("optional",Boolean,c.true),s("OptionalMemberExpression").bases("MemberExpression").build("object","property","computed","optional").field("optional",Boolean,c.true);var u=l.apply(void 0,r.__spreadArrays(n.LogicalOperators,["??"]));s("LogicalExpression").field("operator",u)},e.exports=t.default}(Pn,Pn.exports);var Sn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(Pn.exports),i=r.__importDefault(Yr),o=r.__importDefault(gn.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=t.Type.def,a=t.Type.or,s=e.use(o.default).defaults;r("JSXAttribute").bases("Node").build("name","value").field("name",a(r("JSXIdentifier"),r("JSXNamespacedName"))).field("value",a(r("Literal"),r("JSXExpressionContainer"),r("JSXElement"),r("JSXFragment"),null),s.null),r("JSXIdentifier").bases("Identifier").build("name").field("name",String),r("JSXNamespacedName").bases("Node").build("namespace","name").field("namespace",r("JSXIdentifier")).field("name",r("JSXIdentifier")),r("JSXMemberExpression").bases("MemberExpression").build("object","property").field("object",a(r("JSXIdentifier"),r("JSXMemberExpression"))).field("property",r("JSXIdentifier")).field("computed",Boolean,s.false);var l=a(r("JSXIdentifier"),r("JSXNamespacedName"),r("JSXMemberExpression"));r("JSXSpreadAttribute").bases("Node").build("argument").field("argument",r("Expression"));var c=[a(r("JSXAttribute"),r("JSXSpreadAttribute"))];r("JSXExpressionContainer").bases("Expression").build("expression").field("expression",a(r("Expression"),r("JSXEmptyExpression")));var u=[a(r("JSXText"),r("JSXExpressionContainer"),r("JSXSpreadChild"),r("JSXElement"),r("JSXFragment"),r("Literal"))];r("JSXElement").bases("Expression").build("openingElement","closingElement","children").field("openingElement",r("JSXOpeningElement")).field("closingElement",a(r("JSXClosingElement"),null),s.null).field("children",u,s.emptyArray).field("name",l,(function(){return this.openingElement.name}),!0).field("selfClosing",Boolean,(function(){return this.openingElement.selfClosing}),!0).field("attributes",c,(function(){return this.openingElement.attributes}),!0),r("JSXOpeningElement").bases("Node").build("name","attributes","selfClosing").field("name",l).field("attributes",c,s.emptyArray).field("selfClosing",Boolean,s.false),r("JSXClosingElement").bases("Node").build("name").field("name",l),r("JSXFragment").bases("Expression").build("openingFragment","closingFragment","children").field("openingFragment",r("JSXOpeningFragment")).field("closingFragment",r("JSXClosingFragment")).field("children",u,s.emptyArray),r("JSXOpeningFragment").bases("Node").build(),r("JSXClosingFragment").bases("Node").build(),r("JSXText").bases("Literal").build("value","raw").field("value",String).field("raw",String,(function(){return this.value})),r("JSXEmptyExpression").bases("Node").build(),r("JSXSpreadChild").bases("Node").build("expression").field("expression",r("Expression"))},e.exports=t.default}(Sn,Sn.exports);var Tn={exports:{}},Cn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(Yr),i=r.__importDefault(gn.exports),o=r.__importDefault(Pn.exports);t.default=function(e){e.use(o.default);var t=e.use(n.default),r=t.Type,a=t.Type.def,s=r.or,l=e.use(i.default).defaults;a("AwaitExpression").build("argument","all").field("argument",s(a("Expression"),null)).field("all",Boolean,l.false),a("Decorator").bases("Node").build("expression").field("expression",a("Expression")),a("Property").field("decorators",s([a("Decorator")],null),l.null),a("MethodDefinition").field("decorators",s([a("Decorator")],null),l.null),a("PrivateName").bases("Expression","Pattern").build("id").field("id",a("Identifier")),a("ClassPrivateProperty").bases("ClassProperty").build("key","value").field("key",a("PrivateName")).field("value",s(a("Expression"),null),l.null)},e.exports=t.default}(Cn,Cn.exports);var Dn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(Yr),i=r.__importDefault(gn.exports);t.default=function(e){var t=e.use(n.default),r=t.Type.def,o=t.Type.or,a=e.use(i.default).defaults,s=o(r("TypeAnnotation"),r("TSTypeAnnotation"),null),l=o(r("TypeParameterDeclaration"),r("TSTypeParameterDeclaration"),null);r("Identifier").field("typeAnnotation",s,a.null),r("ObjectPattern").field("typeAnnotation",s,a.null),r("Function").field("returnType",s,a.null).field("typeParameters",l,a.null),r("ClassProperty").build("key","value","typeAnnotation","static").field("value",o(r("Expression"),null)).field("static",Boolean,a.false).field("typeAnnotation",s,a.null),["ClassDeclaration","ClassExpression"].forEach((function(e){r(e).field("typeParameters",l,a.null).field("superTypeParameters",o(r("TypeParameterInstantiation"),r("TSTypeParameterInstantiation"),null),a.null).field("implements",o([r("ClassImplements")],[r("TSExpressionWithTypeArguments")]),a.emptyArray)}))},e.exports=t.default}(Dn,Dn.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(Cn.exports),i=r.__importDefault(Dn.exports),o=r.__importDefault(Yr),a=r.__importDefault(gn.exports);t.default=function(e){e.use(n.default),e.use(i.default);var t=e.use(o.default),r=t.Type.def,s=t.Type.or,l=e.use(a.default).defaults;r("Flow").bases("Node"),r("FlowType").bases("Flow"),r("AnyTypeAnnotation").bases("FlowType").build(),r("EmptyTypeAnnotation").bases("FlowType").build(),r("MixedTypeAnnotation").bases("FlowType").build(),r("VoidTypeAnnotation").bases("FlowType").build(),r("SymbolTypeAnnotation").bases("FlowType").build(),r("NumberTypeAnnotation").bases("FlowType").build(),r("BigIntTypeAnnotation").bases("FlowType").build(),r("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),r("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),r("BigIntLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",null).field("raw",String),r("StringTypeAnnotation").bases("FlowType").build(),r("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String),r("BooleanTypeAnnotation").bases("FlowType").build(),r("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String),r("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",r("FlowType")),r("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",r("FlowType")),r("NullLiteralTypeAnnotation").bases("FlowType").build(),r("NullTypeAnnotation").bases("FlowType").build(),r("ThisTypeAnnotation").bases("FlowType").build(),r("ExistsTypeAnnotation").bases("FlowType").build(),r("ExistentialTypeParam").bases("FlowType").build(),r("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[r("FunctionTypeParam")]).field("returnType",r("FlowType")).field("rest",s(r("FunctionTypeParam"),null)).field("typeParameters",s(r("TypeParameterDeclaration"),null)),r("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",s(r("Identifier"),null)).field("typeAnnotation",r("FlowType")).field("optional",Boolean),r("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",r("FlowType")),r("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[s(r("ObjectTypeProperty"),r("ObjectTypeSpreadProperty"))]).field("indexers",[r("ObjectTypeIndexer")],l.emptyArray).field("callProperties",[r("ObjectTypeCallProperty")],l.emptyArray).field("inexact",s(Boolean,void 0),l[void 0]).field("exact",Boolean,l.false).field("internalSlots",[r("ObjectTypeInternalSlot")],l.emptyArray),r("Variance").bases("Node").build("kind").field("kind",s("plus","minus"));var c=s(r("Variance"),"plus","minus",null);r("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",s(r("Literal"),r("Identifier"))).field("value",r("FlowType")).field("optional",Boolean).field("variance",c,l.null),r("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",r("Identifier")).field("key",r("FlowType")).field("value",r("FlowType")).field("variance",c,l.null).field("static",Boolean,l.false),r("ObjectTypeCallProperty").bases("Node").build("value").field("value",r("FunctionTypeAnnotation")).field("static",Boolean,l.false),r("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",s(r("Identifier"),r("QualifiedTypeIdentifier"))).field("id",r("Identifier")),r("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",s(r("Identifier"),r("QualifiedTypeIdentifier"))).field("typeParameters",s(r("TypeParameterInstantiation"),null)),r("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",r("Identifier")).field("property",s(r("MemberTypeAnnotation"),r("GenericTypeAnnotation"))),r("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",r("FlowType")),r("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",r("FlowType")),r("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",r("Identifier")).field("value",r("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean),r("TypeParameterDeclaration").bases("Node").build("params").field("params",[r("TypeParameter")]),r("TypeParameterInstantiation").bases("Node").build("params").field("params",[r("FlowType")]),r("TypeParameter").bases("FlowType").build("name","variance","bound","default").field("name",String).field("variance",c,l.null).field("bound",s(r("TypeAnnotation"),null),l.null).field("default",s(r("FlowType"),null),l.null),r("ClassProperty").field("variance",c,l.null),r("ClassImplements").bases("Node").build("id").field("id",r("Identifier")).field("superClass",s(r("Expression"),null),l.null).field("typeParameters",s(r("TypeParameterInstantiation"),null),l.null),r("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",r("ObjectTypeAnnotation")).field("extends",s([r("InterfaceExtends")],null),l.null),r("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",r("Identifier")).field("typeParameters",s(r("TypeParameterDeclaration"),null),l.null).field("body",r("ObjectTypeAnnotation")).field("extends",[r("InterfaceExtends")]),r("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends"),r("InterfaceExtends").bases("Node").build("id").field("id",r("Identifier")).field("typeParameters",s(r("TypeParameterInstantiation"),null),l.null),r("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",r("Identifier")).field("typeParameters",s(r("TypeParameterDeclaration"),null)).field("right",r("FlowType")),r("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right"),r("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",r("Identifier")).field("typeParameters",s(r("TypeParameterDeclaration"),null)).field("impltype",r("FlowType")).field("supertype",s(r("FlowType"),null)),r("DeclareOpaqueType").bases("OpaqueType").build("id","typeParameters","supertype").field("impltype",s(r("FlowType"),null)),r("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",r("Expression")).field("typeAnnotation",r("TypeAnnotation")),r("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("DeclareVariable").bases("Statement").build("id").field("id",r("Identifier")),r("DeclareFunction").bases("Statement").build("id").field("id",r("Identifier")).field("predicate",s(r("FlowPredicate"),null),l.null),r("DeclareClass").bases("InterfaceDeclaration").build("id"),r("DeclareModule").bases("Statement").build("id","body").field("id",s(r("Identifier"),r("Literal"))).field("body",r("BlockStatement")),r("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",r("TypeAnnotation")),r("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",s(r("DeclareVariable"),r("DeclareFunction"),r("DeclareClass"),r("FlowType"),r("TypeAlias"),r("DeclareOpaqueType"),r("InterfaceDeclaration"),null)).field("specifiers",[s(r("ExportSpecifier"),r("ExportBatchSpecifier"))],l.emptyArray).field("source",s(r("Literal"),null),l.null),r("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",s(r("Literal"),null),l.null),r("ImportDeclaration").field("importKind",s("value","type","typeof"),(function(){return"value"})),r("FlowPredicate").bases("Flow"),r("InferredPredicate").bases("FlowPredicate").build(),r("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",r("Expression")),r("Function").field("predicate",s(r("FlowPredicate"),null),l.null),r("CallExpression").field("typeArguments",s(null,r("TypeParameterInstantiation")),l.null),r("NewExpression").field("typeArguments",s(null,r("TypeParameterInstantiation")),l.null),r("EnumDeclaration").bases("Declaration").build("id","body").field("id",r("Identifier")).field("body",s(r("EnumBooleanBody"),r("EnumNumberBody"),r("EnumStringBody"),r("EnumSymbolBody"))),r("EnumBooleanBody").build("members","explicitType").field("members",[r("EnumBooleanMember")]).field("explicitType",Boolean),r("EnumNumberBody").build("members","explicitType").field("members",[r("EnumNumberMember")]).field("explicitType",Boolean),r("EnumStringBody").build("members","explicitType").field("members",s([r("EnumStringMember")],[r("EnumDefaultedMember")])).field("explicitType",Boolean),r("EnumSymbolBody").build("members").field("members",[r("EnumDefaultedMember")]),r("EnumBooleanMember").build("id","init").field("id",r("Identifier")).field("init",s(r("Literal"),Boolean)),r("EnumNumberMember").build("id","init").field("id",r("Identifier")).field("init",r("Literal")),r("EnumStringMember").build("id","init").field("id",r("Identifier")).field("init",r("Literal")),r("EnumDefaultedMember").build("id").field("id",r("Identifier"))},e.exports=t.default}(Tn,Tn.exports);var An={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(Pn.exports),i=r.__importDefault(Yr),o=r.__importDefault(gn.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=e.use(o.default).defaults,a=t.Type.def,s=t.Type.or;a("VariableDeclaration").field("declarations",[s(a("VariableDeclarator"),a("Identifier"))]),a("Property").field("value",s(a("Expression"),a("Pattern"))),a("ArrayPattern").field("elements",[s(a("Pattern"),a("SpreadElement"),null)]),a("ObjectPattern").field("properties",[s(a("Property"),a("PropertyPattern"),a("SpreadPropertyPattern"),a("SpreadProperty"))]),a("ExportSpecifier").bases("ModuleSpecifier").build("id","name"),a("ExportBatchSpecifier").bases("Specifier").build(),a("ExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",s(a("Declaration"),a("Expression"),null)).field("specifiers",[s(a("ExportSpecifier"),a("ExportBatchSpecifier"))],r.emptyArray).field("source",s(a("Literal"),null),r.null),a("Block").bases("Comment").build("value","leading","trailing"),a("Line").bases("Comment").build("value","leading","trailing")},e.exports=t.default}(An,An.exports);var _n={exports:{}},On={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(Cn.exports),i=r.__importDefault(Yr),o=r.__importDefault(gn.exports);t.default=function(e){e.use(n.default);var t=e.use(i.default),r=e.use(o.default).defaults,a=t.Type.def,s=t.Type.or;a("Noop").bases("Statement").build(),a("DoExpression").bases("Expression").build("body").field("body",[a("Statement")]),a("BindExpression").bases("Expression").build("object","callee").field("object",s(a("Expression"),null)).field("callee",a("Expression")),a("ParenthesizedExpression").bases("Expression").build("expression").field("expression",a("Expression")),a("ExportNamespaceSpecifier").bases("Specifier").build("exported").field("exported",a("Identifier")),a("ExportDefaultSpecifier").bases("Specifier").build("exported").field("exported",a("Identifier")),a("CommentBlock").bases("Comment").build("value","leading","trailing"),a("CommentLine").bases("Comment").build("value","leading","trailing"),a("Directive").bases("Node").build("value").field("value",a("DirectiveLiteral")),a("DirectiveLiteral").bases("Node","Expression").build("value").field("value",String,r["use strict"]),a("InterpreterDirective").bases("Node").build("value").field("value",String),a("BlockStatement").bases("Statement").build("body").field("body",[a("Statement")]).field("directives",[a("Directive")],r.emptyArray),a("Program").bases("Node").build("body").field("body",[a("Statement")]).field("directives",[a("Directive")],r.emptyArray).field("interpreter",s(a("InterpreterDirective"),null),r.null),a("StringLiteral").bases("Literal").build("value").field("value",String),a("NumericLiteral").bases("Literal").build("value").field("value",Number).field("raw",s(String,null),r.null).field("extra",{rawValue:Number,raw:String},(function(){return{rawValue:this.value,raw:this.value+""}})),a("BigIntLiteral").bases("Literal").build("value").field("value",s(String,Number)).field("extra",{rawValue:String,raw:String},(function(){return{rawValue:String(this.value),raw:this.value+"n"}})),a("NullLiteral").bases("Literal").build().field("value",null,r.null),a("BooleanLiteral").bases("Literal").build("value").field("value",Boolean),a("RegExpLiteral").bases("Literal").build("pattern","flags").field("pattern",String).field("flags",String).field("value",RegExp,(function(){return new RegExp(this.pattern,this.flags)}));var l=s(a("Property"),a("ObjectMethod"),a("ObjectProperty"),a("SpreadProperty"),a("SpreadElement"));a("ObjectExpression").bases("Expression").build("properties").field("properties",[l]),a("ObjectMethod").bases("Node","Function").build("kind","key","params","body","computed").field("kind",s("method","get","set")).field("key",s(a("Literal"),a("Identifier"),a("Expression"))).field("params",[a("Pattern")]).field("body",a("BlockStatement")).field("computed",Boolean,r.false).field("generator",Boolean,r.false).field("async",Boolean,r.false).field("accessibility",s(a("Literal"),null),r.null).field("decorators",s([a("Decorator")],null),r.null),a("ObjectProperty").bases("Node").build("key","value").field("key",s(a("Literal"),a("Identifier"),a("Expression"))).field("value",s(a("Expression"),a("Pattern"))).field("accessibility",s(a("Literal"),null),r.null).field("computed",Boolean,r.false);var c=s(a("MethodDefinition"),a("VariableDeclarator"),a("ClassPropertyDefinition"),a("ClassProperty"),a("ClassPrivateProperty"),a("ClassMethod"),a("ClassPrivateMethod"));a("ClassBody").bases("Declaration").build("body").field("body",[c]),a("ClassMethod").bases("Declaration","Function").build("kind","key","params","body","computed","static").field("key",s(a("Literal"),a("Identifier"),a("Expression"))),a("ClassPrivateMethod").bases("Declaration","Function").build("key","params","body","kind","computed","static").field("key",a("PrivateName")),["ClassMethod","ClassPrivateMethod"].forEach((function(e){a(e).field("kind",s("get","set","method","constructor"),(function(){return"method"})).field("body",a("BlockStatement")).field("computed",Boolean,r.false).field("static",s(Boolean,null),r.null).field("abstract",s(Boolean,null),r.null).field("access",s("public","private","protected",null),r.null).field("accessibility",s("public","private","protected",null),r.null).field("decorators",s([a("Decorator")],null),r.null).field("optional",s(Boolean,null),r.null)}));var u=s(a("Property"),a("PropertyPattern"),a("SpreadPropertyPattern"),a("SpreadProperty"),a("ObjectProperty"),a("RestProperty"));a("ObjectPattern").bases("Pattern").build("properties").field("properties",[u]).field("decorators",s([a("Decorator")],null),r.null),a("SpreadProperty").bases("Node").build("argument").field("argument",a("Expression")),a("RestProperty").bases("Node").build("argument").field("argument",a("Expression")),a("ForAwaitStatement").bases("Statement").build("left","right","body").field("left",s(a("VariableDeclaration"),a("Expression"))).field("right",a("Expression")).field("body",a("Statement")),a("Import").bases("Expression").build()},e.exports=t.default}(On,On.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(On.exports),i=r.__importDefault(Tn.exports);t.default=function(e){e.use(n.default),e.use(i.default)},e.exports=t.default}(_n,_n.exports);var Nn={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Wr,n=r.__importDefault(On.exports),i=r.__importDefault(Dn.exports),o=r.__importDefault(Yr),a=r.__importDefault(gn.exports);t.default=function(e){e.use(n.default),e.use(i.default);var t=e.use(o.default),r=t.namedTypes,s=t.Type.def,l=t.Type.or,c=e.use(a.default).defaults,u=t.Type.from((function(e,t){return!(!r.StringLiteral||!r.StringLiteral.check(e,t))||!(!r.Literal||!r.Literal.check(e,t)||"string"!=typeof e.value)}),"StringLiteral");s("TSType").bases("Node");var p=l(s("Identifier"),s("TSQualifiedName"));s("TSTypeReference").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("typeName","typeParameters").field("typeName",p),s("TSHasOptionalTypeParameterInstantiation").field("typeParameters",l(s("TSTypeParameterInstantiation"),null),c.null),s("TSHasOptionalTypeParameters").field("typeParameters",l(s("TSTypeParameterDeclaration"),null,void 0),c.null),s("TSHasOptionalTypeAnnotation").field("typeAnnotation",l(s("TSTypeAnnotation"),null),c.null),s("TSQualifiedName").bases("Node").build("left","right").field("left",p).field("right",p),s("TSAsExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",s("Expression")).field("typeAnnotation",s("TSType")).field("extra",l({parenthesized:Boolean},null),c.null),s("TSNonNullExpression").bases("Expression","Pattern").build("expression").field("expression",s("Expression")),["TSAnyKeyword","TSBigIntKeyword","TSBooleanKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword","TSThisType"].forEach((function(e){s(e).bases("TSType").build()})),s("TSArrayType").bases("TSType").build("elementType").field("elementType",s("TSType")),s("TSLiteralType").bases("TSType").build("literal").field("literal",l(s("NumericLiteral"),s("StringLiteral"),s("BooleanLiteral"),s("TemplateLiteral"),s("UnaryExpression"))),["TSUnionType","TSIntersectionType"].forEach((function(e){s(e).bases("TSType").build("types").field("types",[s("TSType")])})),s("TSConditionalType").bases("TSType").build("checkType","extendsType","trueType","falseType").field("checkType",s("TSType")).field("extendsType",s("TSType")).field("trueType",s("TSType")).field("falseType",s("TSType")),s("TSInferType").bases("TSType").build("typeParameter").field("typeParameter",s("TSTypeParameter")),s("TSParenthesizedType").bases("TSType").build("typeAnnotation").field("typeAnnotation",s("TSType"));var f=[l(s("Identifier"),s("RestElement"),s("ArrayPattern"),s("ObjectPattern"))];["TSFunctionType","TSConstructorType"].forEach((function(e){s(e).bases("TSType","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters").field("parameters",f)})),s("TSDeclareFunction").bases("Declaration","TSHasOptionalTypeParameters").build("id","params","returnType").field("declare",Boolean,c.false).field("async",Boolean,c.false).field("generator",Boolean,c.false).field("id",l(s("Identifier"),null),c.null).field("params",[s("Pattern")]).field("returnType",l(s("TSTypeAnnotation"),s("Noop"),null),c.null),s("TSDeclareMethod").bases("Declaration","TSHasOptionalTypeParameters").build("key","params","returnType").field("async",Boolean,c.false).field("generator",Boolean,c.false).field("params",[s("Pattern")]).field("abstract",Boolean,c.false).field("accessibility",l("public","private","protected",void 0),c[void 0]).field("static",Boolean,c.false).field("computed",Boolean,c.false).field("optional",Boolean,c.false).field("key",l(s("Identifier"),s("StringLiteral"),s("NumericLiteral"),s("Expression"))).field("kind",l("get","set","method","constructor"),(function(){return"method"})).field("access",l("public","private","protected",void 0),c[void 0]).field("decorators",l([s("Decorator")],null),c.null).field("returnType",l(s("TSTypeAnnotation"),s("Noop"),null),c.null),s("TSMappedType").bases("TSType").build("typeParameter","typeAnnotation").field("readonly",l(Boolean,"+","-"),c.false).field("typeParameter",s("TSTypeParameter")).field("optional",l(Boolean,"+","-"),c.false).field("typeAnnotation",l(s("TSType"),null),c.null),s("TSTupleType").bases("TSType").build("elementTypes").field("elementTypes",[l(s("TSType"),s("TSNamedTupleMember"))]),s("TSNamedTupleMember").bases("TSType").build("label","elementType","optional").field("label",s("Identifier")).field("optional",Boolean,c.false).field("elementType",s("TSType")),s("TSRestType").bases("TSType").build("typeAnnotation").field("typeAnnotation",s("TSType")),s("TSOptionalType").bases("TSType").build("typeAnnotation").field("typeAnnotation",s("TSType")),s("TSIndexedAccessType").bases("TSType").build("objectType","indexType").field("objectType",s("TSType")).field("indexType",s("TSType")),s("TSTypeOperator").bases("TSType").build("operator").field("operator",String).field("typeAnnotation",s("TSType")),s("TSTypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",l(s("TSType"),s("TSTypeAnnotation"))),s("TSIndexSignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",[s("Identifier")]).field("readonly",Boolean,c.false),s("TSPropertySignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("key","typeAnnotation","optional").field("key",s("Expression")).field("computed",Boolean,c.false).field("readonly",Boolean,c.false).field("optional",Boolean,c.false).field("initializer",l(s("Expression"),null),c.null),s("TSMethodSignature").bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("key","parameters","typeAnnotation").field("key",s("Expression")).field("computed",Boolean,c.false).field("optional",Boolean,c.false).field("parameters",f),s("TSTypePredicate").bases("TSTypeAnnotation","TSType").build("parameterName","typeAnnotation","asserts").field("parameterName",l(s("Identifier"),s("TSThisType"))).field("typeAnnotation",l(s("TSTypeAnnotation"),null),c.null).field("asserts",Boolean,c.false),["TSCallSignatureDeclaration","TSConstructSignatureDeclaration"].forEach((function(e){s(e).bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",f)})),s("TSEnumMember").bases("Node").build("id","initializer").field("id",l(s("Identifier"),u)).field("initializer",l(s("Expression"),null),c.null),s("TSTypeQuery").bases("TSType").build("exprName").field("exprName",l(p,s("TSImportType")));var d=l(s("TSCallSignatureDeclaration"),s("TSConstructSignatureDeclaration"),s("TSIndexSignature"),s("TSMethodSignature"),s("TSPropertySignature"));s("TSTypeLiteral").bases("TSType").build("members").field("members",[d]),s("TSTypeParameter").bases("Identifier").build("name","constraint","default").field("name",String).field("constraint",l(s("TSType"),void 0),c[void 0]).field("default",l(s("TSType"),void 0),c[void 0]),s("TSTypeAssertion").bases("Expression","Pattern").build("typeAnnotation","expression").field("typeAnnotation",s("TSType")).field("expression",s("Expression")).field("extra",l({parenthesized:Boolean},null),c.null),s("TSTypeParameterDeclaration").bases("Declaration").build("params").field("params",[s("TSTypeParameter")]),s("TSTypeParameterInstantiation").bases("Node").build("params").field("params",[s("TSType")]),s("TSEnumDeclaration").bases("Declaration").build("id","members").field("id",s("Identifier")).field("const",Boolean,c.false).field("declare",Boolean,c.false).field("members",[s("TSEnumMember")]).field("initializer",l(s("Expression"),null),c.null),s("TSTypeAliasDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","typeAnnotation").field("id",s("Identifier")).field("declare",Boolean,c.false).field("typeAnnotation",s("TSType")),s("TSModuleBlock").bases("Node").build("body").field("body",[s("Statement")]),s("TSModuleDeclaration").bases("Declaration").build("id","body").field("id",l(u,p)).field("declare",Boolean,c.false).field("global",Boolean,c.false).field("body",l(s("TSModuleBlock"),s("TSModuleDeclaration"),null),c.null),s("TSImportType").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("argument","qualifier","typeParameters").field("argument",u).field("qualifier",l(p,void 0),c[void 0]),s("TSImportEqualsDeclaration").bases("Declaration").build("id","moduleReference").field("id",s("Identifier")).field("isExport",Boolean,c.false).field("moduleReference",l(p,s("TSExternalModuleReference"))),s("TSExternalModuleReference").bases("Declaration").build("expression").field("expression",u),s("TSExportAssignment").bases("Statement").build("expression").field("expression",s("Expression")),s("TSNamespaceExportDeclaration").bases("Declaration").build("id").field("id",s("Identifier")),s("TSInterfaceBody").bases("Node").build("body").field("body",[d]),s("TSExpressionWithTypeArguments").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",p),s("TSInterfaceDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","body").field("id",p).field("declare",Boolean,c.false).field("extends",l([s("TSExpressionWithTypeArguments")],null),c.null).field("body",s("TSInterfaceBody")),s("TSParameterProperty").bases("Pattern").build("parameter").field("accessibility",l("public","private","protected",void 0),c[void 0]).field("readonly",Boolean,c.false).field("parameter",l(s("Identifier"),s("AssignmentPattern"))),s("ClassProperty").field("access",l("public","private","protected",void 0),c[void 0]),s("ClassBody").field("body",[l(s("MethodDefinition"),s("VariableDeclarator"),s("ClassPropertyDefinition"),s("ClassProperty"),s("ClassPrivateProperty"),s("ClassMethod"),s("ClassPrivateMethod"),s("TSDeclareMethod"),d)])},e.exports=t.default}(Nn,Nn.exports);var jn={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.namedTypes=void 0,e.namedTypes||(e.namedTypes={})}(jn),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.visit=e.use=e.Type=e.someField=e.PathVisitor=e.Path=e.NodePath=e.namedTypes=e.getSupertypeNames=e.getFieldValue=e.getFieldNames=e.getBuilderName=e.finalize=e.eachField=e.defineMethod=e.builtInTypes=e.builders=e.astNodesAreEquivalent=void 0;var t=Wr,r=t.__importDefault(Kr.exports),n=t.__importDefault(yn.exports),i=t.__importDefault(vn.exports),o=t.__importDefault(xn.exports),a=t.__importDefault(kn.exports),s=t.__importDefault(En.exports),l=t.__importDefault(wn.exports),c=t.__importDefault(Pn.exports),u=t.__importDefault(Sn.exports),p=t.__importDefault(Tn.exports),f=t.__importDefault(An.exports),d=t.__importDefault(_n.exports),h=t.__importDefault(Nn.exports),m=t.__importDefault(Cn.exports),y=jn;Object.defineProperty(e,"namedTypes",{enumerable:!0,get:function(){return y.namedTypes}});var b=r.default([n.default,i.default,o.default,a.default,s.default,l.default,c.default,u.default,p.default,f.default,d.default,h.default,m.default]),g=b.astNodesAreEquivalent,v=b.builders,x=b.builtInTypes,k=b.defineMethod,E=b.eachField,w=b.finalize,P=b.getBuilderName,S=b.getFieldNames,T=b.getFieldValue,C=b.getSupertypeNames,D=b.namedTypes,A=b.NodePath,_=b.Path,O=b.PathVisitor,N=b.someField,j=b.Type,I=b.use,L=b.visit;e.astNodesAreEquivalent=g,e.builders=v,e.builtInTypes=x,e.defineMethod=k,e.eachField=E,e.finalize=w,e.getBuilderName=P,e.getFieldNames=S,e.getFieldValue=T,e.getSupertypeNames=C,e.NodePath=A,e.Path=_,e.PathVisitor=O,e.someField=N,e.Type=j,e.use=I,e.visit=L,Object.assign(y.namedTypes,D)}(Mr);const In=Rr,{builders:Ln}=Mr,qn=er,Bn={Uint8Array:!0,Int8Array:!0,Uint8ClampedArray:!0,Uint16Array:!0,Int16Array:!0,Uint32Array:!0,Int32Array:!0,Float32Array:!0,Float64Array:!0};function Fn(e){if(void 0===e)return Ln.unaryExpression("void",Ln.literal(0));if("number"==typeof e)return isNaN(e)?Ln.identifier("NaN"):e===1/0?Ln.identifier("Infinity"):e<0?Ln.unaryExpression("-",Ln.literal(-e)):Ln.literal(e);if(null===e||"string"==typeof e||"boolean"==typeof e)return Ln.literal(e);if("function"==typeof e){const t=e.toString();try{return qn("x = "+t).body[0].expression.right}catch(e){return Ln.literal(null)}}if(Buffer.isBuffer(e))return Ln.newExpression(Ln.identifier("Buffer"),[Ln.literal(e.toString("base64")),Ln.literal("base64")]);if(Array.isArray(e))return Ln.arrayExpression(e.map(Fn));if("object"==typeof e){const t=Object.prototype.toString.call(e).match(/\[object (.*)\]/)[1];if("String"===t||"Number"===t||"Boolean"===t)return Ln.newExpression(Ln.identifier(t),[Fn(e.valueOf())]);if("ArrayBuffer"===t){const r=new Uint8Array(e);let n=!0;for(let e=0;e<r.length;e++)if(0!==r[e]){n=!1;break}return n?Ln.newExpression(Ln.identifier(t),[Ln.literal(e.byteLength)]):Ln.memberExpression(Fn(r),Ln.identifier("buffer"))}if(Bn[t])return Ln.newExpression(Ln.identifier(t),[Ln.arrayExpression(Array.prototype.slice.call(e).map(Fn))]);if("Date"===t){let r;try{r=Fn(e.toISOString())}catch(e){r=Fn(NaN)}return Ln.newExpression(Ln.identifier(t),[r])}if("Error"===t)return Ln.newExpression(Ln.identifier(e.constructor.name),[Fn(e.message)]);if("RegExp"===t)return Ln.literal(e);if("function"==typeof e.toAST)return e.toAST();const r=[];for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.push(Ln.property("init",Ln.literal(t),Fn(e[t])));return Ln.objectExpression(r)}throw new Error("Unsupported type to convert to AST")}var Rn=function(e,t){return t=t||{},"string"==typeof e?In(e,t).body:Fn(e)};const Mn=Rn;function Vn(e,t){Array.isArray(t)?t.reverse().forEach((t=>e.unshift(t))):e.unshift(t)}const Un=Rn;function zn(e,t){Array.isArray(t)?t.forEach((t=>e.push(t))):e.push(t)}var Jn={};function Xn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.generate=function(e,t){var r=new pi(t);return r.generator[e.type](e,r),r.output},Jn.baseGenerator=Jn.GENERATOR=Jn.EXPRESSIONS_PRECEDENCE=Jn.NEEDS_PARENTHESES=void 0;var Gn=JSON.stringify;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");var Hn={"||":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},Wn=17;Jn.NEEDS_PARENTHESES=Wn;var Kn,Yn,$n,Qn,Zn,ei,ti={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:Wn,ClassExpression:Wn,FunctionExpression:Wn,ObjectExpression:Wn,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function ri(e,t){var r=e.generator;if(e.write("("),null!=t&&t.length>0){r[t[0].type](t[0],e);for(var n=t.length,i=1;i<n;i++){var o=t[i];e.write(", "),r[o.type](o,e)}}e.write(")")}function ni(e,t,r,n){var i=e.expressionsPrecedence[t.type];if(i===Wn)return!0;var o=e.expressionsPrecedence[r.type];return i!==o?!n&&15===i&&14===o&&"**"===r.operator||i<o:(13===i||14===i)&&("**"===t.operator&&"**"===r.operator?!n:n?Hn[t.operator]<=Hn[r.operator]:Hn[t.operator]<Hn[r.operator])}function ii(e,t,r,n){var i=e.generator;ni(e,t,r,n)?(e.write("("),i[t.type](t,e),e.write(")")):i[t.type](t,e)}function oi(e,t,r,n){var i=t.split("\n"),o=i.length-1;if(e.write(i[0].trim()),o>0){e.write(n);for(var a=1;a<o;a++)e.write(r+i[a].trim()+n);e.write(r+i[o].trim())}}function ai(e,t,r,n){for(var i=t.length,o=0;o<i;o++){var a=t[o];e.write(r),"L"===a.type[0]?e.write("// "+a.value.trim()+"\n",a):(e.write("/*"),oi(e,a.value,r,n),e.write("*/"+n))}}function si(e,t){var r=e.generator,n=t.declarations;e.write(t.kind+" ");var i=n.length;if(i>0){r.VariableDeclarator(n[0],e);for(var o=1;o<i;o++)e.write(", "),r.VariableDeclarator(n[o],e)}}Jn.EXPRESSIONS_PRECEDENCE=ti;var li={Program:function(e,t){var r=t.indent.repeat(t.indentLevel),n=t.lineEnd,i=t.writeComments;i&&null!=e.comments&&ai(t,e.comments,r,n);for(var o=e.body,a=o.length,s=0;s<a;s++){var l=o[s];i&&null!=l.comments&&ai(t,l.comments,r,n),t.write(r),this[l.type](l,t),t.write(n)}i&&null!=e.trailingComments&&ai(t,e.trailingComments,r,n)},BlockStatement:ei=function(e,t){var r=t.indent.repeat(t.indentLevel++),n=t.lineEnd,i=t.writeComments,o=r+t.indent;t.write("{");var a=e.body;if(null!=a&&a.length>0){t.write(n),i&&null!=e.comments&&ai(t,e.comments,o,n);for(var s=a.length,l=0;l<s;l++){var c=a[l];i&&null!=c.comments&&ai(t,c.comments,o,n),t.write(o),this[c.type](c,t),t.write(n)}t.write(r)}else i&&null!=e.comments&&(t.write(n),ai(t,e.comments,o,n),t.write(r));i&&null!=e.trailingComments&&ai(t,e.trailingComments,o,n),t.write("}"),t.indentLevel--},ClassBody:ei,EmptyStatement:function(e,t){t.write(";")},ExpressionStatement:function(e,t){var r=t.expressionsPrecedence[e.expression.type];r===Wn||3===r&&"O"===e.expression.left.type[0]?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement:function(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),null!=e.alternate&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement:function(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement:function(e,t){t.write("break"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement:function(e,t){t.write("continue"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement:function(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement:function(e,t){var r=t.indent.repeat(t.indentLevel++),n=t.lineEnd,i=t.writeComments;t.indentLevel++;var o=r+t.indent,a=o+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+n);for(var s=e.cases,l=s.length,c=0;c<l;c++){var u=s[c];i&&null!=u.comments&&ai(t,u.comments,o,n),u.test?(t.write(o+"case "),this[u.test.type](u.test,t),t.write(":"+n)):t.write(o+"default:"+n);for(var p=u.consequent,f=p.length,d=0;d<f;d++){var h=p[d];i&&null!=h.comments&&ai(t,h.comments,a,n),t.write(a),this[h.type](h,t),t.write(n)}}t.indentLevel-=2,t.write(r+"}")},ReturnStatement:function(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement:function(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement:function(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){var r=e.handler;null==r.param?t.write(" catch "):(t.write(" catch ("),this[r.param.type](r.param,t),t.write(") ")),this[r.body.type](r.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement:function(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement:function(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement:function(e,t){if(t.write("for ("),null!=e.init){var r=e.init;"V"===r.type[0]?si(t,r):this[r.type](r,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:Kn=function(e,t){t.write("for ".concat(e.await?"await ":"","("));var r=e.left;"V"===r.type[0]?si(t,r):this[r.type](r,t),t.write("I"===e.type[3]?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:Kn,DebuggerStatement:function(e,t){t.write("debugger;",e)},FunctionDeclaration:Yn=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),ri(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:Yn,VariableDeclaration:function(e,t){si(t,e),t.write(";")},VariableDeclarator:function(e,t){this[e.id.type](e.id,t),null!=e.init&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration:function(e,t){if(t.write("class "+(e.id?"".concat(e.id.name," "):""),e),e.superClass){t.write("extends ");var r=e.superClass,n=r.type,i=t.expressionsPrecedence[n];"C"===n[0]&&"l"===n[1]&&"E"===n[5]||!(i===Wn||i<t.expressionsPrecedence.ClassExpression)?this[r.type](r,t):(t.write("("),this[e.superClass.type](r,t),t.write(")")),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration:function(e,t){t.write("import ");var r=e.specifiers,n=r.length,i=0;if(n>0){for(;i<n;){i>0&&t.write(", ");var o=r[i],a=o.type[6];if("D"===a)t.write(o.local.name,o),i++;else{if("N"!==a)break;t.write("* as "+o.local.name,o),i++}}if(i<n){for(t.write("{");;){var s=r[i],l=s.imported.name;if(t.write(l,s),l!==s.local.name&&t.write(" as "+s.local.name),!(++i<n))break;t.write(", ")}t.write("}")}t.write(" from ")}this.Literal(e.source,t),t.write(";")},ImportExpression:function(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration:function(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),null!=t.expressionsPrecedence[e.declaration.type]&&"F"!==e.declaration.type[0]&&t.write(";")},ExportNamedDeclaration:function(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");var r=e.specifiers,n=r.length;if(n>0)for(var i=0;;){var o=r[i],a=o.local.name;if(t.write(a,o),a!==o.exported.name&&t.write(" as "+o.exported.name),!(++i<n))break;t.write(", ")}t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),t.write(";")}},ExportAllDeclaration:function(e,t){null!=e.exported?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),t.write(";")},MethodDefinition:function(e,t){e.static&&t.write("static ");var r=e.kind[0];"g"!==r&&"s"!==r||t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),ri(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression:function(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression:function(e,t){t.write(e.async?"async ":"",e);var r=e.params;null!=r&&(1===r.length&&"I"===r[0].type[0]?t.write(r[0].name,r[0]):ri(t,e.params)),t.write(" => "),"O"===e.body.type[0]?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression:function(e,t){t.write("this",e)},Super:function(e,t){t.write("super",e)},RestElement:$n=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:$n,YieldExpression:function(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression:function(e,t){t.write("await ",e),ii(t,e.argument,e)},TemplateLiteral:function(e,t){var r=e.quasis,n=e.expressions;t.write("`");for(var i=n.length,o=0;o<i;o++){var a=n[o],s=r[o];t.write(s.value.raw,s),t.write("${"),this[a.type](a,t),t.write("}")}var l=r[r.length-1];t.write(l.value.raw,l),t.write("`")},TemplateElement:function(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression:function(e,t){this[e.tag.type](e.tag,t),this[e.quasi.type](e.quasi,t)},ArrayExpression:Zn=function(e,t){if(t.write("["),e.elements.length>0)for(var r=e.elements,n=r.length,i=0;;){var o=r[i];if(null!=o&&this[o.type](o,t),!(++i<n)){null==o&&t.write(", ");break}t.write(", ")}t.write("]")},ArrayPattern:Zn,ObjectExpression:function(e,t){var r=t.indent.repeat(t.indentLevel++),n=t.lineEnd,i=t.writeComments,o=r+t.indent;if(t.write("{"),e.properties.length>0){t.write(n),i&&null!=e.comments&&ai(t,e.comments,o,n);for(var a=","+n,s=e.properties,l=s.length,c=0;;){var u=s[c];if(i&&null!=u.comments&&ai(t,u.comments,o,n),t.write(o),this[u.type](u,t),!(++c<l))break;t.write(a)}t.write(n),i&&null!=e.trailingComments&&ai(t,e.trailingComments,o,n),t.write(r+"}")}else i?null!=e.comments?(t.write(n),ai(t,e.comments,o,n),null!=e.trailingComments&&ai(t,e.trailingComments,o,n),t.write(r+"}")):null!=e.trailingComments?(t.write(n),ai(t,e.trailingComments,o,n),t.write(r+"}")):t.write("}"):t.write("}");t.indentLevel--},Property:function(e,t){e.method||"i"!==e.kind[0]?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},ObjectPattern:function(e,t){if(t.write("{"),e.properties.length>0)for(var r=e.properties,n=r.length,i=0;this[r[i].type](r[i],t),++i<n;)t.write(", ");t.write("}")},SequenceExpression:function(e,t){ri(t,e.expressions)},UnaryExpression:function(e,t){if(e.prefix){var r=e.operator,n=e.argument,i=e.argument.type;t.write(r);var o=ni(t,n,e);o||!(r.length>1)&&("U"!==i[0]||"n"!==i[1]&&"p"!==i[1]||!n.prefix||n.operator[0]!==r||"+"!==r&&"-"!==r)||t.write(" "),o?(t.write(r.length>1?" (":"("),this[i](n,t),t.write(")")):this[i](n,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression:function(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression:function(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern:function(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:Qn=function(e,t){var r="in"===e.operator;r&&t.write("("),ii(t,e.left,e,!1),t.write(" "+e.operator+" "),ii(t,e.right,e,!0),r&&t.write(")")},LogicalExpression:Qn,ConditionalExpression:function(e,t){var r=e.test,n=t.expressionsPrecedence[r.type];n===Wn||n<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[r.type](r,t),t.write(")")):this[r.type](r,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression:function(e,t){t.write("new ");var r=t.expressionsPrecedence[e.callee.type];r===Wn||r<t.expressionsPrecedence.CallExpression||function(e){for(var t=e;null!=t;){var r=t.type;if("C"===r[0]&&"a"===r[1])return!0;if("M"!==r[0]||"e"!==r[1]||"m"!==r[2])return!1;t=t.object}}(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),ri(t,e.arguments)},CallExpression:function(e,t){var r=t.expressionsPrecedence[e.callee.type];r===Wn||r<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),ri(t,e.arguments)},ChainExpression:function(e,t){this[e.expression.type](e.expression,t)},MemberExpression:function(e,t){var r=t.expressionsPrecedence[e.object.type];r===Wn||r<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty:function(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier:function(e,t){t.write(e.name,e)},Literal:function(e,t){null!=e.raw?t.write(e.raw,e):null!=e.regex?this.RegExpLiteral(e,t):null!=e.bigint?t.write(e.bigint+"n",e):t.write(Gn(e.value),e)},RegExpLiteral:function(e,t){var r=e.regex;t.write("/".concat(r.pattern,"/").concat(r.flags),e)}};Jn.GENERATOR=li;var ci={},ui=li;Jn.baseGenerator=ui;var pi=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var r=null==t?ci:t;this.output="",null!=r.output?(this.output=r.output,this.write=this.writeToStream):this.output="",this.generator=null!=r.generator?r.generator:li,this.expressionsPrecedence=null!=r.expressionsPrecedence?r.expressionsPrecedence:ti,this.indent=null!=r.indent?r.indent:"  ",this.lineEnd=null!=r.lineEnd?r.lineEnd:"\n",this.indentLevel=null!=r.startingIndentLevel?r.startingIndentLevel:0,this.writeComments=!!r.comments&&r.comments,null!=r.sourceMap&&(this.write=null==r.output?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=r.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split("\n").length-1,this.mapping={original:null,generated:this,name:void 0,source:r.sourceMap.file||r.sourceMap._file})}var t,r,n;return t=e,(r=[{key:"write",value:function(e){this.output+=e}},{key:"writeToStream",value:function(e){this.output.write(e)}},{key:"writeAndMap",value:function(e,t){this.output+=e,this.map(e,t)}},{key:"writeToStreamAndMap",value:function(e,t){this.output.write(e),this.map(e,t)}},{key:"map",value:function(e,t){if(null!=t){var r=t.type;if("L"===r[0]&&"n"===r[2])return this.column=0,void this.line++;if(null!=t.loc){var n=this.mapping;n.original=t.loc.start,n.name=t.name,this.sourceMap.addMapping(n)}if("T"===r[0]&&"E"===r[8]||"L"===r[0]&&"i"===r[1]&&"string"==typeof t.value){for(var i=e.length,o=this.column,a=this.line,s=0;s<i;s++)"\n"===e[s]?(o=0,a++):o++;return this.column=o,void(this.line=a)}}var l=e.length,c=this.lineEnd;l>0&&(this.lineEndSize>0&&(1===c.length?e[l-1]===c:e.endsWith(c))?(this.line+=this.lineEndSize,this.column=0):this.column+=l)}},{key:"toString",value:function(){return this.output}}])&&Xn(t.prototype,r),n&&Xn(t,n),e}();const fi=Jn;var di=function(e,t){return fi.generate(e,t)};const hi=n;const mi=l;function yi(e){const[t,r]=e.split("="),n=t.startsWith("[")?1:0,i=r.endsWith("]")?r.length-1:r.length;return{[t.substring(n)]:JSON.parse(r.substring(0,i))}}function bi(e){return e.split("][").reduce(((e,t)=>({...e,...yi(t)})),{})}function gi(e){return e.startsWith("[")?bi(e):e.includes("[")?function(e){const t=e.indexOf("[");return{type:e.substring(0,t),...bi(e.substring(t,e.length))}}(e):{type:e}}var vi=function(e,t){return mi(e,"string"==typeof t?gi(t):t)},xi=e(Object.freeze({__proto__:null,default:{}}));const{SourceMapGenerator:ki}=xi,Ei=di;const wi=n;var Pi=class{constructor(e){this.type="Node",this.loc=null,Object.assign(this,e)}};var Si=class{constructor(e){this.type="SourceLocation",this.source=null,this.start=null,this.end=null,Object.assign(this,e)}};var Ti=class{constructor(e){this.type="Position",Object.assign(this,e)}};var Ci=class{constructor(e){this.type="Identifier";const t="string"==typeof e?{name:e}:e;Object.assign(this,t)}};var Di=class{constructor(e){this.type="Literal";const t=function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||null===e}(e)?{value:e}:e;Object.assign(this,t)}};var Ai=class{constructor(e){this.type="RegExpLiteral",Object.assign(this,e)}};var _i=class{constructor(e){this.type="Program",this.sourceType="script",this.body=[],Object.assign(this,e)}};var Oi=class{constructor(e){this.type="Function",this.generator=!1,Object.assign(this,e)}};var Ni=class{constructor(e){this.type="Statement",Object.assign(this,e)}};const ji=Ni;var Ii=class extends ji{constructor(e){super(),this.type="ExpressionStatement",this.expression=null,Object.assign(this,e)}};var Li=class{constructor(e){this.type="Directive",Object.assign(this,e)}};const qi=Ni;var Bi=class extends qi{constructor(e){super(),this.type="BlockStatement",this.body=[],Object.assign(this,e)}};var Fi=class{constructor(e){this.type="FunctionBody",Object.assign(this,e)}};const Ri=Ni;var Mi=class extends Ri{constructor(e){super(),this.type="EmptyStatement",Object.assign(this,e)}};var Vi=class{constructor(e){this.type="DebuggerStatement",Object.assign(this,e)}};var Ui=class{constructor(e){this.type="WithStatement",Object.assign(this,e)}};var zi=class{constructor(e){this.type="ReturnStatement",Object.assign(this,e)}};var Ji=class{constructor(e){this.type="LabeledStatement",Object.assign(this,e)}};var Xi=class{constructor(e){this.type="BreakStatement",Object.assign(this,e)}};var Gi=class{constructor(e){this.type="ContinueStatement",Object.assign(this,e)}};const Hi=Ni;var Wi=class extends Hi{constructor(e){super(),this.type="IfStatement",this.test=null,this.consequent=null,this.alternate=null,Object.assign(this,e)}};var Ki=class{constructor(e){this.type="SwitchStatement",Object.assign(this,e)}};var Yi=class{constructor(e){this.type="SwitchCase",Object.assign(this,e)}};var $i=class{constructor(e){this.type="ThrowStatement",Object.assign(this,e)}};var Qi=class{constructor(e){this.type="TryStatement",Object.assign(this,e)}};var Zi=class{constructor(e){this.type="CatchClause",Object.assign(this,e)}};var eo=class{constructor(e){this.type="WhileStatement",Object.assign(this,e)}};var to=class{constructor(e){this.type="DoWhileStatement",Object.assign(this,e)}};var ro=class{constructor(e){this.type="ForStatement",Object.assign(this,e)}};var no=class{constructor(e){this.type="ForInStatement",Object.assign(this,e)}};var io=class{constructor(e){this.type="Declaration",Object.assign(this,e)}};var oo=class{constructor(e){this.type="FunctionDeclaration",Object.assign(this,e)}};var ao=class{constructor(e){this.type="VariableDeclaration",Object.assign(this,e)}};var so=class{constructor(e){this.type="VariableDeclarator",Object.assign(this,e)}};var lo=class{constructor(e){this.type="Expression",Object.assign(this,e)}};var co=class{constructor(e){this.type="ThisExpression",Object.assign(this,e)}};var uo=class{constructor(e){this.type="ArrayExpression";const t=Array.isArray(e)?{elements:e}:e;Object.assign(this,t)}};var po=class{constructor(e){this.type="ObjectExpression",Object.assign(this,e)}};var fo=class{constructor(e){this.type="Property",Object.assign(this,e)}};var ho=class{constructor(e){this.type="FunctionExpression",Object.assign(this,e)}};var mo=class{constructor(e){this.type="UnaryExpression",Object.assign(this,e)}};var yo=class{constructor(e){this.type="UnaryOperator",Object.assign(this,e)}};var bo=class{constructor(e){this.type="UpdateExpression",Object.assign(this,e)}};var go=class{constructor(e){this.type="UpdateOperator",Object.assign(this,e)}};var vo=class{constructor(e){this.type="BinaryExpression",Object.assign(this,e)}};var xo=class{constructor(e){this.type="BinaryOperator",Object.assign(this,e)}};var ko=class{constructor(e){this.type="AssignmentExpression",Object.assign(this,e)}};var Eo=class{constructor(e){this.type="AssignmentOperator",Object.assign(this,e)}};var wo=class{constructor(e){this.type="LogicalExpression",Object.assign(this,e)}};var Po=class{constructor(e){this.type="LogicalOperator",Object.assign(this,e)}};var So=class{constructor(e){this.type="MemberExpression",this.computed=!1,Object.assign(this,e)}};var To=class{constructor(e){this.type="ConditionalExpression",Object.assign(this,e)}};const Co=Ci;var Do=class{constructor(e,t){this.type="CallExpression";const r="string"==typeof e?{callee:new Co(e)}:e;Array.isArray(t)&&(r.arguments=t.map((e=>"string"==typeof e?new Co(e):e))),Object.assign(this,r)}};var Ao=class{constructor(e){this.type="NewExpression",Object.assign(this,e)}};var _o=class{constructor(e){this.type="SequenceExpression",Object.assign(this,e)}};var Oo=class{constructor(e){this.type="Pattern",Object.assign(this,e)}};var No=class{constructor(e){this.type="ForOfStatement",Object.assign(this,e)}};var jo=class{constructor(e){this.type="Super",Object.assign(this,e)}};var Io=class{constructor(e){this.type="SpreadElement",Object.assign(this,e)}};var Lo=class{constructor(e){this.type="YieldExpression",Object.assign(this,e)}};var qo=class{constructor(e){this.type="TemplateLiteral",Object.assign(this,e)}};var Bo=class{constructor(e){this.type="TaggedTemplateExpression",Object.assign(this,e)}};var Fo=class{constructor(e){this.type="TemplateElement",Object.assign(this,e)}};var Ro=class{constructor(e){this.type="ObjectPattern",Object.assign(this,e)}};var Mo=class{constructor(e){this.type="ArrayPattern",Object.assign(this,e)}};var Vo=class{constructor(e){this.type="RestElement",Object.assign(this,e)}};var Uo=class{constructor(e){this.type="AssignmentPattern",Object.assign(this,e)}};var zo=class{constructor(e){this.type="Class",Object.assign(this,e)}};var Jo=class{constructor(e){this.type="ClassBody",Object.assign(this,e)}};var Xo=class{constructor(e){this.type="MethodDefinition",Object.assign(this,e)}};var Go=class{constructor(e){this.type="ClassDeclaration",Object.assign(this,e)}};var Ho=class{constructor(e){this.type="ClassExpression",Object.assign(this,e)}};var Wo=class{constructor(e){this.type="MetaProperty",Object.assign(this,e)}};var Ko=class{constructor(e){this.type="ModuleDeclaration",Object.assign(this,e)}};var Yo=class{constructor(e){this.type="ModuleSpecifier",Object.assign(this,e)}};var $o=class{constructor(e){this.type="ImportDeclaration",Object.assign(this,e)}};var Qo=class{constructor(e){this.type="ImportSpecifier",Object.assign(this,e)}};var Zo=class{constructor(e){this.type="ImportDefaultSpecifier",Object.assign(this,e)}};var ea=class{constructor(e){this.type="ImportNamespaceSpecifier",Object.assign(this,e)}};var ta=class{constructor(e){this.type="ExportNamedDeclaration",Object.assign(this,e)}};var ra=class{constructor(e){this.type="ExportSpecifier",Object.assign(this,e)}};var na=class{constructor(e){this.type="ExportDefaultDeclaration",Object.assign(this,e)}};var ia=class{constructor(e){this.type="ExportAllDeclaration",Object.assign(this,e)}};var oa=class{constructor(e){this.type="AwaitExpression",Object.assign(this,e)}};var aa=class{constructor(e){this.type="BigIntLiteral",Object.assign(this,e)}};var sa=class{constructor(e){this.type="ChainExpression",Object.assign(this,e)}};var la=class{constructor(e){this.type="ChainElement",Object.assign(this,e)}};var ca=class{constructor(e){this.type="ImportExpression",Object.assign(this,e)}};const ua=uo,pa=vo,fa=Di;const da=["+","-","*","/","%","**","===","==","!=","!==",">","<",">=","<=","&","|","^","<<",">>"];function ha(e){return 
da.includes(e)}function ma(e,t,r){switch(e){case"+":return t+r;case"-":return t-r;case"*":return t*r;case"/":return t/r;case"%":return t%r;case"**":return t**r;case"==":return t==r;case"===":return t===r;case">":return t>r;case"<":return t<r;case">=":return t>=r;case"<=":return t<=r;case"!==":return t!==r;case"!=":return t!=r;case"&":return t&r;case"|":return t|r;case"^":return t^r;case"<<":return t<<r;case">>":return t>>r}}const ya=["Infinity"],ba=["undefined","NaN"];function ga(e){return!!e}var va=function(e){if("Literal"===e.type)return ga(e.value);if("ArrayExpression"===e.type||"ObjectExpression"===e.type)return!0;if("Identifier"===e.type&&ya.includes(e.name))return!0;if("Identifier"===e.type&&ba.includes(e.name))return!1;if("UnaryExpression"===e.type){if("void"===e.operator)return!1;if("-"===e.operator&&"Identifier"===e.argument.type&&ya.includes(e.argument.name))return!0}else if("TemplateLiteral"===e.type&&0===e.expressions.length)return ga(e.quasis[0].value.raw)};function xa(e){return e&&"BlockStatement"===e.type?1===e.body.length?e.body[0]:e.body:e}const ka=va;const Ea=["Infinity","NaN","undefined","null"];var wa=function(e){return"Identifier"===e.type&&Ea.includes(e.name)};const Pa=wa,Sa=["&&","||","??"];function Ta(e){return Pa(e)?function(e){switch(e){case"Infinity":return 1/0;case"NaN":return NaN;case"undefined":return;case"null":return null}}(e.name):e.value}function Ca(e){return{type:"Identifier",name:e}}function Da(e){switch(e){case 1/0:return Ca("Infinity");case NaN:return Ca("NaN");case void 0:return Ca("undefined");case null:return Ca("null");default:return function(e){return{type:"Literal",value:e}}(e)}}function Aa(e){return"Literal"===e.type||Pa(e)}const _a=va;const Oa=wa;function Na(e){switch(e){case"Infinity":case"NaN":return"number";case"undefined":return"undefined";case"null":return"object"}}const ja=pr,Ia=function(e,t,r){return fr(e,t).forEach(r)},La=function(e,t){return dr(e,t)[0]},qa=function(e,t){const r=hr(e,t);return r[r.length-1]},Ba=yr,Fa=l,Ra=function(e,t){if("string"==typeof t)return vr(e,t)>0;let r=!1;return xr(e,{enter(e){if(kr(e,t))return r=!0,this.break()}}),r},Ma=function(e,t,r={}){return"string"==typeof t?function(e,t,r){const n=wr(e,t);Sr(e,(e=>{for(let t=0,r=n.length;t<r;t+=1)if(Pr(e,n[t]))return!0;return!1}),r)}(e,t,r):"function"==typeof t?function(e,t,r){Er.replace(e,{enter(e){if(null===t(e))return this.remove()},leave(e){if(Tr(e))return this.remove()}})}(e,t):void Sr(e,(e=>Pr(e,t)),r)},Va=function(e,t){return t=function(e){return"string"==typeof e?Mn(e):e}(t),Array.isArray(e)?Vn(e,t):Array.isArray(e.body)&&Vn(e.body,t),e},Ua=function(e,t){return t=function(e){return"string"==typeof e?Un(e):e}(t),Array.isArray(e)?zn(e,t):Array.isArray(e.body)&&zn(e.body,t),e},za=Ar,Ja=n,Xa=gr,Ga=di,Ha=er,Wa=function(e,t,r){return hi(e,(e=>{r=t(r,e)})),r},Ka=Rn,Ya=vi,$a=p,Qa=function(e){const t=new ki({file:"UNKNOWN"});return{source:Ei(e,{sourceMap:t}),map:t.toString()}},Za=function(e){let t=1;wi(e,(e=>{e.cid=t,t+=1}))},es=function(e,t){return{type:"Program",sourceType:"module",body:e=Array.isArray(e)?e:[e].filter(Boolean),...t}},ts=function(e){return{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"FunctionExpression",id:null,params:[],body:{type:"BlockStatement",body:e=Array.isArray(e)?e:[e].filter(Boolean)},async:!1,generator:!1},arguments:[]}}};class rs{static find(e,t){return ja(e,t)}static each(e,t,r){return Ia(e,t,r)}static first(e,t){return La(e,t)}static last(e,t){return qa(e,t)}static count(e,t){return Ba(e,t)}static has(e,t){return Ra(e,t)}static remove(e,t,r){return Ma(e,t,r)}static prepend(e,t){return Va(e,t)}static append(e,t){return Ua(e,t)}static equal(e,t){return Fa(e,t)}static match(e,t){return Ya(e,t)}static generate(e,t){return Ga(e,t)}static parse(e,t){return Ha(e,t)}static walk(e,t){return Ja(e,t)}static serialize(e){return $a(e)}static traverse(e,t){return Xa(e,t)}static replace(e,t){return za(e,t)}static template(e,t){return Ka(e,t)}static reduce(e,t,r){return Wa(e,t,r)}static program(e,t){return es(e,t)}static iife(e){return ts(e)}constructor(e="",t={}){this._tree="string"==typeof e?Ha(e,{loc:!0,...t}):e}get type(){return this._tree.type}get body(){return this._tree.body}get source(){return Ga(this._tree)}get map(){return Qa(this._tree).map}set body(e){this._tree.body=e}find(e){return ja(this._tree,e)}each(e,t){return Ia(this._tree,e,t)}first(e){return La(this._tree,e)}last(e){return qa(this._tree,e)}count(e){return Ba(this._tree,e)}has(e){return Ra(this._tree,e)}remove(e,t){return Ma(this._tree,e,t)}walk(e){return Ja(this._tree,e)}traverse(e){return Xa(this._tree,e)}replace(e){return za(this._tree,e)}reduce(e,t){return Wa(this._tree,e,t)}prepend(e){return Va(this._tree,e)}append(e){return Ua(this._tree,e)}wrap(e){this._tree.body=e(this._tree.body)}unwrap(){this._tree.body=La(this._tree,"BlockStatement").body}mark(){return Za(this._tree)}}return rs.Node=Pi,rs.SourceLocation=Si,rs.Position=Ti,rs.Identifier=Ci,rs.Literal=Di,rs.RegExpLiteral=Ai,rs.Program=_i,rs.Function=Oi,rs.Statement=Ni,rs.ExpressionStatement=Ii,rs.Directive=Li,rs.BlockStatement=Bi,rs.FunctionBody=Fi,rs.EmptyStatement=Mi,rs.DebuggerStatement=Vi,rs.WithStatement=Ui,rs.ReturnStatement=zi,rs.LabeledStatement=Ji,rs.BreakStatement=Xi,rs.ContinueStatement=Gi,rs.IfStatement=Wi,rs.SwitchStatement=Ki,rs.SwitchCase=Yi,rs.ThrowStatement=$i,rs.TryStatement=Qi,rs.CatchClause=Zi,rs.WhileStatement=eo,rs.DoWhileStatement=to,rs.ForStatement=ro,rs.ForInStatement=no,rs.Declaration=io,rs.FunctionDeclaration=oo,rs.VariableDeclaration=ao,rs.VariableDeclarator=so,rs.Expression=lo,rs.ThisExpression=co,rs.ArrayExpression=uo,rs.ObjectExpression=po,rs.Property=fo,rs.FunctionExpression=ho,rs.UnaryExpression=mo,rs.UnaryOperator=yo,rs.UpdateExpression=bo,rs.UpdateOperator=go,rs.BinaryExpression=vo,rs.BinaryOperator=xo,rs.AssignmentExpression=ko,rs.AssignmentOperator=Eo,rs.LogicalExpression=wo,rs.LogicalOperator=Po,rs.MemberExpression=So,rs.ConditionalExpression=To,rs.CallExpression=Do,rs.NewExpression=Ao,rs.SequenceExpression=_o,rs.Pattern=Oo,rs.ForOfStatement=No,rs.Super=jo,rs.SpreadElement=Io,rs.YieldExpression=Lo,rs.TemplateLiteral=qo,rs.TaggedTemplateExpression=Bo,rs.TemplateElement=Fo,rs.ObjectPattern=Ro,rs.ArrayPattern=Mo,rs.RestElement=Vo,rs.AssignmentPattern=Uo,rs.Class=zo,rs.ClassBody=Jo,rs.MethodDefinition=Xo,rs.ClassDeclaration=Go,rs.ClassExpression=Ho,rs.MetaProperty=Wo,rs.ModuleDeclaration=Ko,rs.ModuleSpecifier=Yo,rs.ImportDeclaration=$o,rs.ImportSpecifier=Qo,rs.ImportDefaultSpecifier=Zo,rs.ImportNamespaceSpecifier=ea,rs.ExportNamedDeclaration=ta,rs.ExportSpecifier=ra,rs.ExportDefaultDeclaration=na,rs.ExportAllDeclaration=ia,rs.AwaitExpression=oa,rs.BigIntLiteral=aa,rs.ChainExpression=sa,rs.ChainElement=la,rs.ImportExpression=ca,rs.toBinaryExpression=function(e){const t=Array.isArray(e)?new ua({elements:e}):e;if("ArrayExpression"===t.type){const{elements:e}=t;if(0===e.length)return new fa({value:""});if(1===e.length)return e[0];if(2===e.length)return new pa({operator:"+",left:e[0],right:e[1]});if(e.length>=3){let t=new pa({operator:"+",left:e[0],right:e[1]});for(let r=2;r<e.length;r+=1)t=new pa({operator:"+",left:t,right:e[r]});return t}}return t},rs.binaryExpressionReduction=function e(t){return"BinaryExpression"===t.type&&("BinaryExpression"===t.left.type&&ha(t.left.operator)&&(t.left=e(t.left)),"BinaryExpression"===t.right.type&&ha(t.right.operator)&&(t.right=e(t.right)),"Literal"===t.left.type&&"Literal"===t.right.type&&ha(t.operator))?{type:"Literal",value:ma(t.operator,t.left.value,t.right.value)}:t},rs.ifStatementRemoval=function(e){if("IfStatement"===e.type){const t=ka(e.test);if("boolean"==typeof t)return xa(t?e.consequent:e.alternate)}return e},rs.logicalExpressionReduction=function(e){return"LogicalExpression"===e.type&&Aa(e.left)&&Aa(e.right)&&(t=e.operator,Sa.includes(t))?function(e,t,r){switch(e){case"&&":return Da(t&&r);case"||":return Da(t||r);case"??":return Da(t??r)}}(e.operator,Ta(e.left),Ta(e.right)):e;var t},rs.memberExpressionReduction=function(e){if("MemberExpression"===e.type&&"ObjectExpression"===e.object.type&&"Identifier"===e.property.type){const t=e.object.properties.find((t=>"Identifier"===t.key.type&&t.key.name===e.property.name));if(t&&"Literal"===t.value.type)return t.value}return e},rs.negationOperatorRemoval=function(e){return"UnaryExpression"===e.type&&"!"===e.operator&&"BinaryExpression"===e.argument.type&&(t=e.argument.operator,/^(==|===|!=|!==|<|>|<=|>=)$/.test(t))?(e.argument.operator=function(e){return"==="===e?"!==":"<"===e?">=":">"===e?"<=":">="===e?"<":"<="===e?">":"=="===e?"!=":"!="===e?"==":"!=="===e?"===":void 0}(e.argument.operator),e.argument):e;var t},rs.ternaryOperatorReduction=function(e){if("ConditionalExpression"===e.type){const t=_a(e.test);if("boolean"==typeof t)return t?e.consequent:e.alternate}return e},rs.typeofOperatorReduction=function(e){if("UnaryExpression"===e.type&&"typeof"===e.operator){if("Literal"===e.argument.type)return{type:"Literal",value:typeof e.argument.value};if("ArrayExpression"===e.argument.type)return{type:"Literal",value:typeof[]};if("ObjectExpression"===e.argument.type)return{type:"Literal",value:typeof{}};if(Oa(e.argument))return{type:"Literal",value:Na(e.argument.name)}}return e},rs}));
| 
emilos commented 3 years ago

hey @dokorof, sorry for back and forth on this. I have investigated what's happening here, and I decided not to support a client side version of the lib for now. It's definitely possible, but I currently don't have enough time to finish it in a reasonable deadline.

Just an explanation for this decision - some of the underlying dependencies (e.g. esquery) are written in a way that seems too hard to be consumed by rollup.

As an alternative solution, you could expose an API endpoint that would help with all kind of manipulations. If that's not enough, I recommend trying out other libraries that are in the wild.

Thanks and sorry!

sag1v commented 2 years ago

@emilos Due to the fact that this lib isn't supporting client side, do you know about similar libs that do?

emilos commented 2 years ago

@sag1v you might want to check libs that are mentioned in https://astexplorer.net/

sag1v commented 2 years ago

@emilos Thanks. I'm trying to work with acorn and estraverse. Seems a bit too low level for my needs but lets see