HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/propbase/propbase_website/node_modules/next/dist/compiled/babel/bundle.js
(()=>{var e={5179:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t}))}webpackEmptyAsyncContext.keys=()=>[];webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=5179;e.exports=webpackEmptyAsyncContext},3914:function(e,t,r){(function(t,n){true?e.exports=n(r(4614),r(5328)):0})(this,(function(e,t){"use strict";const r=SegmentObject("",-1,-1,"",null);const n=[];function SegmentObject(e,t,r,n,s){return{source:e,line:t,column:r,name:n,content:s}}function Source(e,t,r,n){return{map:e,sources:t,source:r,content:n}}function MapSource(e,t){return Source(e,t,"",null)}function OriginalSource(e,t){return Source(null,n,e,t)}function traceMappings(n){const s=new t.GenMapping({file:n.map.file});const{sources:i,map:a}=n;const o=a.names;const l=e.decodedMappings(a);for(let e=0;e<l.length;e++){const n=l[e];for(let a=0;a<n.length;a++){const l=n[a];const c=l[0];let u=r;if(l.length!==1){const e=i[l[1]];u=originalPositionFor(e,l[2],l[3],l.length===5?o[l[4]]:"");if(u==null)continue}const{column:p,line:f,name:d,content:h,source:m}=u;t.maybeAddSegment(s,e,c,m,f,p,d);if(m&&h!=null)t.setSourceContent(s,m,h)}}return s}function originalPositionFor(t,n,s,i){if(!t.map){return SegmentObject(t.source,n,s,i,t.content)}const a=e.traceSegment(t.map,n,s);if(a==null)return null;if(a.length===1)return r;return originalPositionFor(t.sources[a[1]],a[2],a[3],a.length===5?t.map.names[a[4]]:i)}function asArray(e){if(Array.isArray(e))return e;return[e]}function buildSourceMapTree(t,r){const n=asArray(t).map((t=>new e.TraceMap(t,"")));const s=n.pop();for(let e=0;e<n.length;e++){if(n[e].sources.length>1){throw new Error(`Transformation map ${e} must have exactly one source file.\n`+"Did you specify these with the most recent transformation maps first?")}}let i=build(s,r,"",0);for(let e=n.length-1;e>=0;e--){i=MapSource(n[e],[i])}return i}function build(t,r,n,s){const{resolvedSources:i,sourcesContent:a}=t;const o=s+1;const l=i.map(((t,s)=>{const i={importer:n,depth:o,source:t||"",content:undefined};const l=r(i.source,i);const{source:c,content:u}=i;if(l)return build(new e.TraceMap(l,c),r,c,o);const p=u!==undefined?u:a?a[s]:null;return OriginalSource(c,p)}));return MapSource(t,l)}class SourceMap{constructor(e,r){const n=r.decodedMappings?t.toDecodedMap(e):t.toEncodedMap(e);this.version=n.version;this.file=n.file;this.mappings=n.mappings;this.names=n.names;this.sourceRoot=n.sourceRoot;this.sources=n.sources;if(!r.excludeContent){this.sourcesContent=n.sourcesContent}}toString(){return JSON.stringify(this)}}function remapping(e,t,r){const n=typeof r==="object"?r:{excludeContent:!!r,decodedMappings:false};const s=buildSourceMapTree(e,t);return new SourceMap(traceMappings(s),n)}return remapping}))},5328:function(e,t,r){(function(e,n){true?n(t,r(7168),r(1575),r(4614)):0})(this,(function(e,t,r,n){"use strict";const s=0;const i=1;const a=2;const o=3;const l=4;const c=-1;e.addSegment=void 0;e.addMapping=void 0;e.maybeAddSegment=void 0;e.maybeAddMapping=void 0;e.setSourceContent=void 0;e.toDecodedMap=void 0;e.toEncodedMap=void 0;e.fromMap=void 0;e.allMappings=void 0;let u;class GenMapping{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray;this._sources=new t.SetArray;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=r}}(()=>{e.addSegment=(e,t,r,n,s,i,a,o)=>u(false,e,t,r,n,s,i,a,o);e.maybeAddSegment=(e,t,r,n,s,i,a,o)=>u(true,e,t,r,n,s,i,a,o);e.addMapping=(e,t)=>addMappingInternal(false,e,t);e.maybeAddMapping=(e,t)=>addMappingInternal(true,e,t);e.setSourceContent=(e,r,n)=>{const{_sources:s,_sourcesContent:i}=e;i[t.put(s,r)]=n};e.toDecodedMap=e=>{const{file:t,sourceRoot:r,_mappings:n,_sources:s,_sourcesContent:i,_names:a}=e;removeEmptyFinalLines(n);return{version:3,file:t||undefined,names:a.array,sourceRoot:r||undefined,sources:s.array,sourcesContent:i,mappings:n}};e.toEncodedMap=t=>{const n=e.toDecodedMap(t);return Object.assign(Object.assign({},n),{mappings:r.encode(n.mappings)})};e.allMappings=e=>{const t=[];const{_mappings:r,_sources:n,_names:c}=e;for(let e=0;e<r.length;e++){const u=r[e];for(let r=0;r<u.length;r++){const p=u[r];const f={line:e+1,column:p[s]};let d=undefined;let h=undefined;let m=undefined;if(p.length!==1){d=n.array[p[i]];h={line:p[a]+1,column:p[o]};if(p.length===5)m=c.array[p[l]]}t.push({generated:f,source:d,original:h,name:m})}}return t};e.fromMap=e=>{const t=new n.TraceMap(e);const r=new GenMapping({file:t.file,sourceRoot:t.sourceRoot});putAll(r._names,t.names);putAll(r._sources,t.sources);r._sourcesContent=t.sourcesContent||t.sources.map((()=>null));r._mappings=n.decodedMappings(t);return r};u=(e,r,n,s,i,a,o,l,u)=>{const{_mappings:p,_sources:f,_sourcesContent:d,_names:h}=r;const m=getLine(p,n);const y=getColumnIndex(m,s);if(!i){if(e&&skipSourceless(m,y))return;return insert(m,y,[s])}const g=t.put(f,i);const b=l?t.put(h,l):c;if(g===d.length)d[g]=u!==null&&u!==void 0?u:null;if(e&&skipSource(m,y,g,a,o,b)){return}return insert(m,y,l?[s,g,a,o,b]:[s,g,a,o])}})();function getLine(e,t){for(let r=e.length;r<=t;r++){e[r]=[]}return e[t]}function getColumnIndex(e,t){let r=e.length;for(let n=r-1;n>=0;r=n--){const r=e[n];if(t>=r[s])break}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function removeEmptyFinalLines(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0;r=t,t--){if(e[t].length>0)break}if(r<t)e.length=r}function putAll(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function skipSourceless(e,t){if(t===0)return true;const r=e[t-1];return r.length===1}function skipSource(e,t,r,n,s,u){if(t===0)return false;const p=e[t-1];if(p.length===1)return false;return r===p[i]&&n===p[a]&&s===p[o]&&u===(p.length===5?p[l]:c)}function addMappingInternal(e,t,r){const{generated:n,source:s,original:i,name:a,content:o}=r;if(!s){return u(e,t,n.line-1,n.column,null,null,null,null,null)}const l=s;return u(e,t,n.line-1,n.column,l,i.line-1,i.column,a,o)}e.GenMapping=GenMapping;Object.defineProperty(e,"__esModule",{value:true})}))},2987:function(e,t,r){(function(e,n){true?n(t,r(7168),r(1575),r(519)):0})(this,(function(e,t,r,n){"use strict";const s=0;const i=1;const a=2;const o=3;const l=4;const c=-1;e.addSegment=void 0;e.addMapping=void 0;e.maybeAddSegment=void 0;e.maybeAddMapping=void 0;e.setSourceContent=void 0;e.toDecodedMap=void 0;e.toEncodedMap=void 0;e.fromMap=void 0;e.allMappings=void 0;let u;class GenMapping{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray;this._sources=new t.SetArray;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=r}}(()=>{e.addSegment=(e,t,r,n,s,i,a,o)=>u(false,e,t,r,n,s,i,a,o);e.maybeAddSegment=(e,t,r,n,s,i,a,o)=>u(true,e,t,r,n,s,i,a,o);e.addMapping=(e,t)=>addMappingInternal(false,e,t);e.maybeAddMapping=(e,t)=>addMappingInternal(true,e,t);e.setSourceContent=(e,r,n)=>{const{_sources:s,_sourcesContent:i}=e;i[t.put(s,r)]=n};e.toDecodedMap=e=>{const{file:t,sourceRoot:r,_mappings:n,_sources:s,_sourcesContent:i,_names:a}=e;removeEmptyFinalLines(n);return{version:3,file:t||undefined,names:a.array,sourceRoot:r||undefined,sources:s.array,sourcesContent:i,mappings:n}};e.toEncodedMap=t=>{const n=e.toDecodedMap(t);return Object.assign(Object.assign({},n),{mappings:r.encode(n.mappings)})};e.allMappings=e=>{const t=[];const{_mappings:r,_sources:n,_names:c}=e;for(let e=0;e<r.length;e++){const u=r[e];for(let r=0;r<u.length;r++){const p=u[r];const f={line:e+1,column:p[s]};let d=undefined;let h=undefined;let m=undefined;if(p.length!==1){d=n.array[p[i]];h={line:p[a]+1,column:p[o]};if(p.length===5)m=c.array[p[l]]}t.push({generated:f,source:d,original:h,name:m})}}return t};e.fromMap=e=>{const t=new n.TraceMap(e);const r=new GenMapping({file:t.file,sourceRoot:t.sourceRoot});putAll(r._names,t.names);putAll(r._sources,t.sources);r._sourcesContent=t.sourcesContent||t.sources.map((()=>null));r._mappings=n.decodedMappings(t);return r};u=(e,r,n,s,i,a,o,l,u)=>{const{_mappings:p,_sources:f,_sourcesContent:d,_names:h}=r;const m=getLine(p,n);const y=getColumnIndex(m,s);if(!i){if(e&&skipSourceless(m,y))return;return insert(m,y,[s])}const g=t.put(f,i);const b=l?t.put(h,l):c;if(g===d.length)d[g]=u!==null&&u!==void 0?u:null;if(e&&skipSource(m,y,g,a,o,b)){return}return insert(m,y,l?[s,g,a,o,b]:[s,g,a,o])}})();function getLine(e,t){for(let r=e.length;r<=t;r++){e[r]=[]}return e[t]}function getColumnIndex(e,t){let r=e.length;for(let n=r-1;n>=0;r=n--){const r=e[n];if(t>=r[s])break}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function removeEmptyFinalLines(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0;r=t,t--){if(e[t].length>0)break}if(r<t)e.length=r}function putAll(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function skipSourceless(e,t){if(t===0)return true;const r=e[t-1];return r.length===1}function skipSource(e,t,r,n,s,u){if(t===0)return false;const p=e[t-1];if(p.length===1)return false;return r===p[i]&&n===p[a]&&s===p[o]&&u===(p.length===5?p[l]:c)}function addMappingInternal(e,t,r){const{generated:n,source:s,original:i,name:a,content:o}=r;if(!s){return u(e,t,n.line-1,n.column,null,null,null,null,null)}const l=s;return u(e,t,n.line-1,n.column,l,i.line-1,i.column,a,o)}e.GenMapping=GenMapping;Object.defineProperty(e,"__esModule",{value:true})}))},6982:function(e){(function(t,r){true?e.exports=r():0})(this,(function(){"use strict";const e=/^[\w+.-]+:\/\//;const t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;const r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var n;(function(e){e[e["Empty"]=1]="Empty";e[e["Hash"]=2]="Hash";e[e["Query"]=3]="Query";e[e["RelativePath"]=4]="RelativePath";e[e["AbsolutePath"]=5]="AbsolutePath";e[e["SchemeRelative"]=6]="SchemeRelative";e[e["Absolute"]=7]="Absolute"})(n||(n={}));function isAbsoluteUrl(t){return e.test(t)}function isSchemeRelativeUrl(e){return e.startsWith("//")}function isAbsolutePath(e){return e.startsWith("/")}function isFileUrl(e){return e.startsWith("file:")}function isRelative(e){return/^[.?#]/.test(e)}function parseAbsoluteUrl(e){const r=t.exec(e);return makeUrl(r[1],r[2]||"",r[3],r[4]||"",r[5]||"/",r[6]||"",r[7]||"")}function parseFileUrl(e){const t=r.exec(e);const n=t[2];return makeUrl("file:","",t[1]||"","",isAbsolutePath(n)?n:"/"+n,t[3]||"",t[4]||"")}function makeUrl(e,t,r,s,i,a,o){return{scheme:e,user:t,host:r,port:s,path:i,query:a,hash:o,type:n.Absolute}}function parseUrl(e){if(isSchemeRelativeUrl(e)){const t=parseAbsoluteUrl("http:"+e);t.scheme="";t.type=n.SchemeRelative;return t}if(isAbsolutePath(e)){const t=parseAbsoluteUrl("http://foo.com"+e);t.scheme="";t.host="";t.type=n.AbsolutePath;return t}if(isFileUrl(e))return parseFileUrl(e);if(isAbsoluteUrl(e))return parseAbsoluteUrl(e);const t=parseAbsoluteUrl("http://foo.com/"+e);t.scheme="";t.host="";t.type=e?e.startsWith("?")?n.Query:e.startsWith("#")?n.Hash:n.RelativePath:n.Empty;return t}function stripPathFilename(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}function mergePaths(e,t){normalizePath(t,t.type);if(e.path==="/"){e.path=t.path}else{e.path=stripPathFilename(t.path)+e.path}}function normalizePath(e,t){const r=t<=n.RelativePath;const s=e.path.split("/");let i=1;let a=0;let o=false;for(let e=1;e<s.length;e++){const t=s[e];if(!t){o=true;continue}o=false;if(t===".")continue;if(t===".."){if(a){o=true;a--;i--}else if(r){s[i++]=t}continue}s[i++]=t;a++}let l="";for(let e=1;e<i;e++){l+="/"+s[e]}if(!l||o&&!l.endsWith("/..")){l+="/"}e.path=l}function resolve(e,t){if(!e&&!t)return"";const r=parseUrl(e);let s=r.type;if(t&&s!==n.Absolute){const e=parseUrl(t);const i=e.type;switch(s){case n.Empty:r.hash=e.hash;case n.Hash:r.query=e.query;case n.Query:case n.RelativePath:mergePaths(r,e);case n.AbsolutePath:r.user=e.user;r.host=e.host;r.port=e.port;case n.SchemeRelative:r.scheme=e.scheme}if(i>s)s=i}normalizePath(r,s);const i=r.query+r.hash;switch(s){case n.Hash:case n.Query:return i;case n.RelativePath:{const n=r.path.slice(1);if(!n)return i||".";if(isRelative(t||e)&&!isRelative(n)){return"./"+n+i}return n+i}case n.AbsolutePath:return r.path+i;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+i}}return resolve}))},7168:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";e.get=void 0;e.put=void 0;e.pop=void 0;class SetArray{constructor(){this._indexes={__proto__:null};this.array=[]}}(()=>{e.get=(e,t)=>e._indexes[t];e.put=(t,r)=>{const n=e.get(t,r);if(n!==undefined)return n;const{array:s,_indexes:i}=t;return i[r]=s.push(r)-1};e.pop=e=>{const{array:t,_indexes:r}=e;if(t.length===0)return;const n=t.pop();r[n]=undefined}})();e.SetArray=SetArray;Object.defineProperty(e,"__esModule",{value:true})}))},1575:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";const t=",".charCodeAt(0);const r=";".charCodeAt(0);const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const s=new Uint8Array(64);const i=new Uint8Array(128);for(let e=0;e<n.length;e++){const t=n.charCodeAt(e);s[e]=t;i[t]=e}const a=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(e){const t=Buffer.from(e.buffer,e.byteOffset,e.byteLength);return t.toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++){t+=String.fromCharCode(e[r])}return t}};function decode(e){const t=new Int32Array(5);const r=[];let n=0;do{const s=indexOf(e,n);const i=[];let a=true;let o=0;t[0]=0;for(let r=n;r<s;r++){let n;r=decodeInteger(e,r,t,0);const l=t[0];if(l<o)a=false;o=l;if(hasMoreVlq(e,r,s)){r=decodeInteger(e,r,t,1);r=decodeInteger(e,r,t,2);r=decodeInteger(e,r,t,3);if(hasMoreVlq(e,r,s)){r=decodeInteger(e,r,t,4);n=[l,t[1],t[2],t[3],t[4]]}else{n=[l,t[1],t[2],t[3]]}}else{n=[l]}i.push(n)}if(!a)sort(i);r.push(i);n=s+1}while(n<=e.length);return r}function indexOf(e,t){const r=e.indexOf(";",t);return r===-1?e.length:r}function decodeInteger(e,t,r,n){let s=0;let a=0;let o=0;do{const r=e.charCodeAt(t++);o=i[r];s|=(o&31)<<a;a+=5}while(o&32);const l=s&1;s>>>=1;if(l){s=-2147483648|-s}r[n]+=s;return t}function hasMoreVlq(e,r,n){if(r>=n)return false;return e.charCodeAt(r)!==t}function sort(e){e.sort(sortComparator)}function sortComparator(e,t){return e[0]-t[0]}function encode(e){const n=new Int32Array(5);const s=1024*16;const i=s-36;const o=new Uint8Array(s);const l=o.subarray(0,i);let c=0;let u="";for(let p=0;p<e.length;p++){const f=e[p];if(p>0){if(c===s){u+=a.decode(o);c=0}o[c++]=r}if(f.length===0)continue;n[0]=0;for(let e=0;e<f.length;e++){const r=f[e];if(c>i){u+=a.decode(l);o.copyWithin(0,i,c);c-=i}if(e>0)o[c++]=t;c=encodeInteger(o,c,n,r,0);if(r.length===1)continue;c=encodeInteger(o,c,n,r,1);c=encodeInteger(o,c,n,r,2);c=encodeInteger(o,c,n,r,3);if(r.length===4)continue;c=encodeInteger(o,c,n,r,4)}}return u+a.decode(o.subarray(0,c))}function encodeInteger(e,t,r,n,i){const a=n[i];let o=a-r[i];r[i]=a;o=o<0?-o<<1|1:o<<1;do{let r=o&31;o>>>=5;if(o>0)r|=32;e[t++]=s[r]}while(o>0);return t}e.decode=decode;e.encode=encode;Object.defineProperty(e,"__esModule",{value:true})}))},4614:function(e,t,r){(function(e,n){true?n(t,r(1575),r(6982)):0})(this,(function(e,t,r){"use strict";function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var n=_interopDefaultLegacy(r);function resolve(e,t){if(t&&!t.endsWith("/"))t+="/";return n["default"](e,t)}function stripFilename(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}const s=0;const i=1;const a=2;const o=3;const l=4;const c=1;const u=2;function maybeSort(e,t){const r=nextUnsortedSegmentLine(e,0);if(r===e.length)return e;if(!t)e=e.slice();for(let n=r;n<e.length;n=nextUnsortedSegmentLine(e,n+1)){e[n]=sortSegments(e[n],t)}return e}function nextUnsortedSegmentLine(e,t){for(let r=t;r<e.length;r++){if(!isSorted(e[r]))return r}return e.length}function isSorted(e){for(let t=1;t<e.length;t++){if(e[t][s]<e[t-1][s]){return false}}return true}function sortSegments(e,t){if(!t)e=e.slice();return e.sort(sortComparator)}function sortComparator(e,t){return e[s]-t[s]}let p=false;function binarySearch(e,t,r,n){while(r<=n){const i=r+(n-r>>1);const a=e[i][s]-t;if(a===0){p=true;return i}if(a<0){r=i+1}else{n=i-1}}p=false;return r-1}function upperBound(e,t,r){for(let n=r+1;n<e.length;r=n++){if(e[n][s]!==t)break}return r}function lowerBound(e,t,r){for(let n=r-1;n>=0;r=n--){if(e[n][s]!==t)break}return r}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(e,t,r,n){const{lastKey:i,lastNeedle:a,lastIndex:o}=r;let l=0;let c=e.length-1;if(n===i){if(t===a){p=o!==-1&&e[o][s]===t;return o}if(t>=a){l=o===-1?0:o}else{c=o}}r.lastKey=n;r.lastNeedle=t;return r.lastIndex=binarySearch(e,t,l,c)}function buildBySources(e,t){const r=t.map(buildNullArray);for(let n=0;n<e.length;n++){const l=e[n];for(let e=0;e<l.length;e++){const c=l[e];if(c.length===1)continue;const u=c[i];const p=c[a];const f=c[o];const d=r[u];const h=d[p]||(d[p]=[]);const m=t[u];const y=upperBound(h,f,memoizedBinarySearch(h,f,m,p));insert(h,m.lastIndex=y+1,[f,n,c[s]])}}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function buildNullArray(){return{__proto__:null}}const AnyMap=function(t,r){const n=typeof t==="string"?JSON.parse(t):t;if(!("sections"in n))return new TraceMap(n,r);const s=[];const i=[];const a=[];const o=[];recurse(n,r,s,i,a,o,0,0,Infinity,Infinity);const l={version:3,file:n.file,names:o,sources:i,sourcesContent:a,mappings:s};return e.presortedDecodedMap(l)};function recurse(e,t,r,n,s,i,a,o,l,c){const{sections:u}=e;for(let e=0;e<u.length;e++){const{map:p,offset:f}=u[e];let d=l;let h=c;if(e+1<u.length){const t=u[e+1].offset;d=Math.min(l,a+t.line);if(d===l){h=Math.min(c,o+t.column)}else if(d<l){h=o+t.column}}addSection(p,t,r,n,s,i,a+f.line,o+f.column,d,h)}}function addSection(t,r,n,c,u,p,f,d,h,m){if("sections"in t)return recurse(...arguments);const y=new TraceMap(t,r);const g=c.length;const b=p.length;const T=e.decodedMappings(y);const{resolvedSources:S,sourcesContent:E}=y;append(c,S);append(p,y.names);if(E)append(u,E);else for(let e=0;e<S.length;e++)u.push(null);for(let e=0;e<T.length;e++){const t=f+e;if(t>h)return;const r=getLine(n,t);const c=e===0?d:0;const u=T[e];for(let e=0;e<u.length;e++){const n=u[e];const p=c+n[s];if(t===h&&p>=m)return;if(n.length===1){r.push([p]);continue}const f=g+n[i];const d=n[a];const y=n[o];r.push(n.length===4?[p,f,d,y]:[p,f,d,y,b+n[l]])}}}function append(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function getLine(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}const f="`line` must be greater than 0 (lines start at line 1)";const d="`column` must be greater than or equal to 0 (columns start at column 0)";const h=-1;const m=1;e.encodedMappings=void 0;e.decodedMappings=void 0;e.traceSegment=void 0;e.originalPositionFor=void 0;e.generatedPositionFor=void 0;e.allGeneratedPositionsFor=void 0;e.eachMapping=void 0;e.sourceContentFor=void 0;e.presortedDecodedMap=void 0;e.decodedMap=void 0;e.encodedMap=void 0;class TraceMap{constructor(e,t){const r=typeof e==="string";if(!r&&e._decodedMemo)return e;const n=r?JSON.parse(e):e;const{version:s,file:i,names:a,sourceRoot:o,sources:l,sourcesContent:c}=n;this.version=s;this.file=i;this.names=a;this.sourceRoot=o;this.sources=l;this.sourcesContent=c;const u=resolve(o||"",stripFilename(t));this.resolvedSources=l.map((e=>resolve(e||"",u)));const{mappings:p}=n;if(typeof p==="string"){this._encoded=p;this._decoded=undefined}else{this._encoded=undefined;this._decoded=maybeSort(p,r)}this._decodedMemo=memoizedState();this._bySources=undefined;this._bySourceMemos=undefined}}(()=>{e.encodedMappings=e=>{var r;return(r=e._encoded)!==null&&r!==void 0?r:e._encoded=t.encode(e._decoded)};e.decodedMappings=e=>e._decoded||(e._decoded=t.decode(e._encoded));e.traceSegment=(t,r,n)=>{const s=e.decodedMappings(t);if(r>=s.length)return null;const i=s[r];const a=traceSegmentInternal(i,t._decodedMemo,r,n,m);return a===-1?null:i[a]};e.originalPositionFor=(t,{line:r,column:n,bias:s})=>{r--;if(r<0)throw new Error(f);if(n<0)throw new Error(d);const c=e.decodedMappings(t);if(r>=c.length)return OMapping(null,null,null,null);const u=c[r];const p=traceSegmentInternal(u,t._decodedMemo,r,n,s||m);if(p===-1)return OMapping(null,null,null,null);const h=u[p];if(h.length===1)return OMapping(null,null,null,null);const{names:y,resolvedSources:g}=t;return OMapping(g[h[i]],h[a]+1,h[o],h.length===5?y[h[l]]:null)};e.allGeneratedPositionsFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||h,true);e.generatedPositionFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||m,false);e.eachMapping=(t,r)=>{const n=e.decodedMappings(t);const{names:s,resolvedSources:i}=t;for(let e=0;e<n.length;e++){const t=n[e];for(let n=0;n<t.length;n++){const a=t[n];const o=e+1;const l=a[0];let c=null;let u=null;let p=null;let f=null;if(a.length!==1){c=i[a[1]];u=a[2]+1;p=a[3]}if(a.length===5)f=s[a[4]];r({generatedLine:o,generatedColumn:l,source:c,originalLine:u,originalColumn:p,name:f})}}};e.sourceContentFor=(e,t)=>{const{sources:r,resolvedSources:n,sourcesContent:s}=e;if(s==null)return null;let i=r.indexOf(t);if(i===-1)i=n.indexOf(t);return i===-1?null:s[i]};e.presortedDecodedMap=(e,t)=>{const r=new TraceMap(clone(e,[]),t);r._decoded=e.mappings;return r};e.decodedMap=t=>clone(t,e.decodedMappings(t));e.encodedMap=t=>clone(t,e.encodedMappings(t));function generatedPosition(t,r,n,s,i,a){n--;if(n<0)throw new Error(f);if(s<0)throw new Error(d);const{sources:o,resolvedSources:l}=t;let p=o.indexOf(r);if(p===-1)p=l.indexOf(r);if(p===-1)return a?[]:GMapping(null,null);const h=t._bySources||(t._bySources=buildBySources(e.decodedMappings(t),t._bySourceMemos=o.map(memoizedState)));const m=h[p][n];if(m==null)return a?[]:GMapping(null,null);const y=t._bySourceMemos[p];if(a)return sliceGeneratedPositions(m,y,n,s,i);const g=traceSegmentInternal(m,y,n,s,i);if(g===-1)return GMapping(null,null);const b=m[g];return GMapping(b[c]+1,b[u])}})();function clone(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t}}function OMapping(e,t,r,n){return{source:e,line:t,column:r,name:n}}function GMapping(e,t){return{line:e,column:t}}function traceSegmentInternal(e,t,r,n,s){let i=memoizedBinarySearch(e,n,t,r);if(p){i=(s===h?upperBound:lowerBound)(e,n,i)}else if(s===h)i++;if(i===-1||i===e.length)return-1;return i}function sliceGeneratedPositions(e,t,r,n,i){let a=traceSegmentInternal(e,t,r,n,m);if(!p&&i===h)a++;if(a===-1||a===e.length)return[];const o=p?n:e[a][s];if(!p)a=lowerBound(e,o,a);const l=upperBound(e,o,a);const f=[];for(;a<=l;a++){const t=e[a];f.push(GMapping(t[c]+1,t[u]))}return f}e.AnyMap=AnyMap;e.GREATEST_LOWER_BOUND=m;e.LEAST_UPPER_BOUND=h;e.TraceMap=TraceMap;Object.defineProperty(e,"__esModule",{value:true})}))},519:function(e,t,r){(function(e,n){true?n(t,r(1575),r(6982)):0})(this,(function(e,t,r){"use strict";function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var n=_interopDefaultLegacy(r);function resolve(e,t){if(t&&!t.endsWith("/"))t+="/";return n["default"](e,t)}function stripFilename(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}const s=0;const i=1;const a=2;const o=3;const l=4;const c=1;const u=2;function maybeSort(e,t){const r=nextUnsortedSegmentLine(e,0);if(r===e.length)return e;if(!t)e=e.slice();for(let n=r;n<e.length;n=nextUnsortedSegmentLine(e,n+1)){e[n]=sortSegments(e[n],t)}return e}function nextUnsortedSegmentLine(e,t){for(let r=t;r<e.length;r++){if(!isSorted(e[r]))return r}return e.length}function isSorted(e){for(let t=1;t<e.length;t++){if(e[t][s]<e[t-1][s]){return false}}return true}function sortSegments(e,t){if(!t)e=e.slice();return e.sort(sortComparator)}function sortComparator(e,t){return e[s]-t[s]}let p=false;function binarySearch(e,t,r,n){while(r<=n){const i=r+(n-r>>1);const a=e[i][s]-t;if(a===0){p=true;return i}if(a<0){r=i+1}else{n=i-1}}p=false;return r-1}function upperBound(e,t,r){for(let n=r+1;n<e.length;r=n++){if(e[n][s]!==t)break}return r}function lowerBound(e,t,r){for(let n=r-1;n>=0;r=n--){if(e[n][s]!==t)break}return r}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(e,t,r,n){const{lastKey:i,lastNeedle:a,lastIndex:o}=r;let l=0;let c=e.length-1;if(n===i){if(t===a){p=o!==-1&&e[o][s]===t;return o}if(t>=a){l=o===-1?0:o}else{c=o}}r.lastKey=n;r.lastNeedle=t;return r.lastIndex=binarySearch(e,t,l,c)}function buildBySources(e,t){const r=t.map(buildNullArray);for(let n=0;n<e.length;n++){const l=e[n];for(let e=0;e<l.length;e++){const c=l[e];if(c.length===1)continue;const u=c[i];const p=c[a];const f=c[o];const d=r[u];const h=d[p]||(d[p]=[]);const m=t[u];const y=upperBound(h,f,memoizedBinarySearch(h,f,m,p));insert(h,m.lastIndex=y+1,[f,n,c[s]])}}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function buildNullArray(){return{__proto__:null}}const AnyMap=function(t,r){const n=typeof t==="string"?JSON.parse(t):t;if(!("sections"in n))return new TraceMap(n,r);const s=[];const i=[];const a=[];const o=[];recurse(n,r,s,i,a,o,0,0,Infinity,Infinity);const l={version:3,file:n.file,names:o,sources:i,sourcesContent:a,mappings:s};return e.presortedDecodedMap(l)};function recurse(e,t,r,n,s,i,a,o,l,c){const{sections:u}=e;for(let e=0;e<u.length;e++){const{map:p,offset:f}=u[e];let d=l;let h=c;if(e+1<u.length){const t=u[e+1].offset;d=Math.min(l,a+t.line);if(d===l){h=Math.min(c,o+t.column)}else if(d<l){h=o+t.column}}addSection(p,t,r,n,s,i,a+f.line,o+f.column,d,h)}}function addSection(t,r,n,c,u,p,f,d,h,m){if("sections"in t)return recurse(...arguments);const y=new TraceMap(t,r);const g=c.length;const b=p.length;const T=e.decodedMappings(y);const{resolvedSources:S,sourcesContent:E}=y;append(c,S);append(p,y.names);if(E)append(u,E);else for(let e=0;e<S.length;e++)u.push(null);for(let e=0;e<T.length;e++){const t=f+e;if(t>h)return;const r=getLine(n,t);const c=e===0?d:0;const u=T[e];for(let e=0;e<u.length;e++){const n=u[e];const p=c+n[s];if(t===h&&p>=m)return;if(n.length===1){r.push([p]);continue}const f=g+n[i];const d=n[a];const y=n[o];r.push(n.length===4?[p,f,d,y]:[p,f,d,y,b+n[l]])}}}function append(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function getLine(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}const f="`line` must be greater than 0 (lines start at line 1)";const d="`column` must be greater than or equal to 0 (columns start at column 0)";const h=-1;const m=1;e.encodedMappings=void 0;e.decodedMappings=void 0;e.traceSegment=void 0;e.originalPositionFor=void 0;e.generatedPositionFor=void 0;e.allGeneratedPositionsFor=void 0;e.eachMapping=void 0;e.sourceContentFor=void 0;e.presortedDecodedMap=void 0;e.decodedMap=void 0;e.encodedMap=void 0;class TraceMap{constructor(e,t){const r=typeof e==="string";if(!r&&e._decodedMemo)return e;const n=r?JSON.parse(e):e;const{version:s,file:i,names:a,sourceRoot:o,sources:l,sourcesContent:c}=n;this.version=s;this.file=i;this.names=a;this.sourceRoot=o;this.sources=l;this.sourcesContent=c;const u=resolve(o||"",stripFilename(t));this.resolvedSources=l.map((e=>resolve(e||"",u)));const{mappings:p}=n;if(typeof p==="string"){this._encoded=p;this._decoded=undefined}else{this._encoded=undefined;this._decoded=maybeSort(p,r)}this._decodedMemo=memoizedState();this._bySources=undefined;this._bySourceMemos=undefined}}(()=>{e.encodedMappings=e=>{var r;return(r=e._encoded)!==null&&r!==void 0?r:e._encoded=t.encode(e._decoded)};e.decodedMappings=e=>e._decoded||(e._decoded=t.decode(e._encoded));e.traceSegment=(t,r,n)=>{const s=e.decodedMappings(t);if(r>=s.length)return null;const i=s[r];const a=traceSegmentInternal(i,t._decodedMemo,r,n,m);return a===-1?null:i[a]};e.originalPositionFor=(t,{line:r,column:n,bias:s})=>{r--;if(r<0)throw new Error(f);if(n<0)throw new Error(d);const c=e.decodedMappings(t);if(r>=c.length)return OMapping(null,null,null,null);const u=c[r];const p=traceSegmentInternal(u,t._decodedMemo,r,n,s||m);if(p===-1)return OMapping(null,null,null,null);const h=u[p];if(h.length===1)return OMapping(null,null,null,null);const{names:y,resolvedSources:g}=t;return OMapping(g[h[i]],h[a]+1,h[o],h.length===5?y[h[l]]:null)};e.allGeneratedPositionsFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||h,true);e.generatedPositionFor=(e,{source:t,line:r,column:n,bias:s})=>generatedPosition(e,t,r,n,s||m,false);e.eachMapping=(t,r)=>{const n=e.decodedMappings(t);const{names:s,resolvedSources:i}=t;for(let e=0;e<n.length;e++){const t=n[e];for(let n=0;n<t.length;n++){const a=t[n];const o=e+1;const l=a[0];let c=null;let u=null;let p=null;let f=null;if(a.length!==1){c=i[a[1]];u=a[2]+1;p=a[3]}if(a.length===5)f=s[a[4]];r({generatedLine:o,generatedColumn:l,source:c,originalLine:u,originalColumn:p,name:f})}}};e.sourceContentFor=(e,t)=>{const{sources:r,resolvedSources:n,sourcesContent:s}=e;if(s==null)return null;let i=r.indexOf(t);if(i===-1)i=n.indexOf(t);return i===-1?null:s[i]};e.presortedDecodedMap=(e,t)=>{const r=new TraceMap(clone(e,[]),t);r._decoded=e.mappings;return r};e.decodedMap=t=>clone(t,e.decodedMappings(t));e.encodedMap=t=>clone(t,e.encodedMappings(t));function generatedPosition(t,r,n,s,i,a){n--;if(n<0)throw new Error(f);if(s<0)throw new Error(d);const{sources:o,resolvedSources:l}=t;let p=o.indexOf(r);if(p===-1)p=l.indexOf(r);if(p===-1)return a?[]:GMapping(null,null);const h=t._bySources||(t._bySources=buildBySources(e.decodedMappings(t),t._bySourceMemos=o.map(memoizedState)));const m=h[p][n];if(m==null)return a?[]:GMapping(null,null);const y=t._bySourceMemos[p];if(a)return sliceGeneratedPositions(m,y,n,s,i);const g=traceSegmentInternal(m,y,n,s,i);if(g===-1)return GMapping(null,null);const b=m[g];return GMapping(b[c]+1,b[u])}})();function clone(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t}}function OMapping(e,t,r,n){return{source:e,line:t,column:r,name:n}}function GMapping(e,t){return{line:e,column:t}}function traceSegmentInternal(e,t,r,n,s){let i=memoizedBinarySearch(e,n,t,r);if(p){i=(s===h?upperBound:lowerBound)(e,n,i)}else if(s===h)i++;if(i===-1||i===e.length)return-1;return i}function sliceGeneratedPositions(e,t,r,n,i){let a=traceSegmentInternal(e,t,r,n,m);if(!p&&i===h)a++;if(a===-1||a===e.length)return[];const o=p?n:e[a][s];if(!p)a=lowerBound(e,o,a);const l=upperBound(e,o,a);const f=[];for(;a<=l;a++){const t=e[a];f.push(GMapping(t[c]+1,t[u]))}return f}e.AnyMap=AnyMap;e.GREATEST_LOWER_BOUND=m;e.LEAST_UPPER_BOUND=h;e.TraceMap=TraceMap;Object.defineProperty(e,"__esModule",{value:true})}))},8535:(e,t,r)=>{"use strict";e=r.nmd(e);const n=r(9054);const wrapAnsi16=(e,t)=>function(){const r=e.apply(n,arguments);return`[${r+t}m`};const wrapAnsi256=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function assembleStyles(){const e=new Map;const t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const s=n[r];t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false});Object.defineProperty(t,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];t.color.close="";t.bgColor.close="";t.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};t.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};t.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};t.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};t.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};t.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(n)){if(typeof n[e]!=="object"){continue}const r=n[e];if(e==="ansi16"){e="ansi"}if("ansi16"in r){t.color.ansi[e]=wrapAnsi16(r.ansi16,0);t.bgColor.ansi[e]=wrapAnsi16(r.ansi16,10)}if("ansi256"in r){t.color.ansi256[e]=wrapAnsi256(r.ansi256,0);t.bgColor.ansi256[e]=wrapAnsi256(r.ansi256,10)}if("rgb"in r){t.color.ansi16m[e]=wrapAnsi16m(r.rgb,0);t.bgColor.ansi16m[e]=wrapAnsi16m(r.rgb,10)}}return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},6148:(e,t,r)=>{"use strict";const n=r(7379);const s=r(8535);const i=r(7220).stdout;const a=r(5299);const o=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const l=["ansi","ansi","ansi256","ansi16m"];const c=new Set(["gray"]);const u=Object.create(null);function applyOptions(e,t){t=t||{};const r=i?i.level:0;e.level=t.level===undefined?r:t.level;e.enabled="enabled"in t?t.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(o){s.blue.open=""}for(const e of Object.keys(s)){s[e].closeRe=new RegExp(n(s[e].close),"g");u[e]={get(){const t=s[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}u.visible={get(){return build.call(this,this._styles||[],true,"visible")}};s.color.closeRe=new RegExp(n(s.color.close),"g");for(const e of Object.keys(s.color.ansi)){if(c.has(e)){continue}u[e]={get(){const t=this.level;return function(){const r=s.color[l[t]][e].apply(null,arguments);const n={open:r,close:s.color.close,closeRe:s.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}s.bgColor.closeRe=new RegExp(n(s.bgColor.close),"g");for(const e of Object.keys(s.bgColor.ansi)){if(c.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const t=this.level;return function(){const r=s.bgColor[l[t]][e].apply(null,arguments);const n={open:r,close:s.bgColor.close,closeRe:s.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const p=Object.defineProperties((()=>{}),u);function build(e,t,r){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=t;const n=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return n.level},set(e){n.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return n.enabled},set(e){n.enabled=e}});builder.hasGrey=this.hasGrey||r==="gray"||r==="grey";builder.__proto__=p;return builder}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let n=1;n<t;n++){r+=" "+e[n]}}if(!this.enabled||this.level<=0||!r){return this._empty?"":r}const n=s.dim.open;if(o&&this.hasGrey){s.dim.open=""}for(const e of this._styles.slice().reverse()){r=e.open+r.replace(e.closeRe,e.open)+e.close;r=r.replace(/\r?\n/g,`${e.close}$&${e.open}`)}s.dim.open=n;return r}function chalkTag(e,t){if(!Array.isArray(t)){return[].slice.call(arguments,1).join(" ")}const r=[].slice.call(arguments,2);const n=[t.raw[0]];for(let e=1;e<t.length;e++){n.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&"));n.push(String(t.raw[e]))}return a(e,n.join(""))}Object.defineProperties(Chalk.prototype,u);e.exports=Chalk();e.exports.supportsColor=i;e.exports["default"]=e.exports},5299:e=>{"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return i.get(e)||e}function parseArguments(e,t){const r=[];const i=t.trim().split(/\s*,\s*/g);let a;for(const t of i){if(!isNaN(t)){r.push(Number(t))}else if(a=t.match(n)){r.push(a[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){n=n[e].apply(n,r[e])}else{n=n[e]}}}return n}e.exports=(e,r)=>{const n=[];const s=[];let i=[];r.replace(t,((t,r,a,o,l,c)=>{if(r){i.push(unescape(r))}else if(o){const t=i.join("");i=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:a,styles:parseStyle(o)})}else if(l){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(i.join("")));i=[];n.pop()}else{i.push(c)}}));s.push(i.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},4117:(e,t,r)=>{var n=r(2251);var s={};for(var i in n){if(n.hasOwnProperty(i)){s[n[i]]=i}}var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in a){if(a.hasOwnProperty(o)){if(!("channels"in a[o])){throw new Error("missing channels property: "+o)}if(!("labels"in a[o])){throw new Error("missing channel labels property: "+o)}if(a[o].labels.length!==a[o].channels){throw new Error("channel and label counts mismatch: "+o)}var l=a[o].channels;var c=a[o].labels;delete a[o].channels;delete a[o].labels;Object.defineProperty(a[o],"channels",{value:l});Object.defineProperty(a[o],"labels",{value:c})}}a.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.min(t,r,n);var i=Math.max(t,r,n);var a=i-s;var o;var l;var c;if(i===s){o=0}else if(t===i){o=(r-n)/a}else if(r===i){o=2+(n-t)/a}else if(n===i){o=4+(t-r)/a}o=Math.min(o*60,360);if(o<0){o+=360}c=(s+i)/2;if(i===s){l=0}else if(c<=.5){l=a/(i+s)}else{l=a/(2-i-s)}return[o,l*100,c*100]};a.rgb.hsv=function(e){var t;var r;var n;var s;var i;var a=e[0]/255;var o=e[1]/255;var l=e[2]/255;var c=Math.max(a,o,l);var u=c-Math.min(a,o,l);var diffc=function(e){return(c-e)/6/u+1/2};if(u===0){s=i=0}else{i=u/c;t=diffc(a);r=diffc(o);n=diffc(l);if(a===c){s=n-r}else if(o===c){s=1/3+t-n}else if(l===c){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,i*100,c*100]};a.rgb.hwb=function(e){var t=e[0];var r=e[1];var n=e[2];var s=a.rgb.hsl(e)[0];var i=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,i*100,n*100]};a.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s;var i;var a;var o;o=Math.min(1-t,1-r,1-n);s=(1-t-o)/(1-o)||0;i=(1-r-o)/(1-o)||0;a=(1-n-o)/(1-o)||0;return[s*100,i*100,a*100,o*100]};function comparativeDistance(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}a.rgb.keyword=function(e){var t=s[e];if(t){return t}var r=Infinity;var i;for(var a in n){if(n.hasOwnProperty(a)){var o=n[a];var l=comparativeDistance(e,o);if(l<r){r=l;i=a}}}return i};a.keyword.rgb=function(e){return n[e]};a.rgb.xyz=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var s=t*.4124+r*.3576+n*.1805;var i=t*.2126+r*.7152+n*.0722;var a=t*.0193+r*.1192+n*.9505;return[s*100,i*100,a*100]};a.rgb.lab=function(e){var t=a.rgb.xyz(e);var r=t[0];var n=t[1];var s=t[2];var i;var o;var l;r/=95.047;n/=100;s/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;i=116*n-16;o=500*(r-n);l=200*(n-s);return[i,o,l]};a.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s;var i;var a;var o;var l;if(r===0){l=n*255;return[l,l,l]}if(n<.5){i=n*(1+r)}else{i=n+r-n*r}s=2*n-i;o=[0,0,0];for(var c=0;c<3;c++){a=t+1/3*-(c-1);if(a<0){a++}if(a>1){a--}if(6*a<1){l=s+(i-s)*6*a}else if(2*a<1){l=i}else if(3*a<2){l=s+(i-s)*(2/3-a)*6}else{l=s}o[c]=l*255}return o};a.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=r;var i=Math.max(n,.01);var a;var o;n*=2;r*=n<=1?n:2-n;s*=i<=1?i:2-i;o=(n+r)/2;a=n===0?2*s/(i+s):2*r/(n+r);return[t,a*100,o*100]};a.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var n=e[2]/100;var s=Math.floor(t)%6;var i=t-Math.floor(t);var a=255*n*(1-r);var o=255*n*(1-r*i);var l=255*n*(1-r*(1-i));n*=255;switch(s){case 0:return[n,l,a];case 1:return[o,n,a];case 2:return[a,n,l];case 3:return[a,o,n];case 4:return[l,a,n];case 5:return[n,a,o]}};a.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=Math.max(n,.01);var i;var a;var o;o=(2-r)*n;i=(2-r)*s;a=r*s;a/=i<=1?i:2-i;a=a||0;o/=2;return[t,a*100,o*100]};a.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s=r+n;var i;var a;var o;var l;if(s>1){r/=s;n/=s}i=Math.floor(6*t);a=1-n;o=6*t-i;if((i&1)!==0){o=1-o}l=r+o*(a-r);var c;var u;var p;switch(i){default:case 6:case 0:c=a;u=l;p=r;break;case 1:c=l;u=a;p=r;break;case 2:c=r;u=a;p=l;break;case 3:c=r;u=l;p=a;break;case 4:c=l;u=r;p=a;break;case 5:c=a;u=r;p=l;break}return[c*255,u*255,p*255]};a.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s=e[3]/100;var i;var a;var o;i=1-Math.min(1,t*(1-s)+s);a=1-Math.min(1,r*(1-s)+s);o=1-Math.min(1,n*(1-s)+s);return[i*255,a*255,o*255]};a.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s;var i;var a;s=t*3.2406+r*-1.5372+n*-.4986;i=t*-.9689+r*1.8758+n*.0415;a=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92;i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92;a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92;s=Math.min(Math.max(0,s),1);i=Math.min(Math.max(0,i),1);a=Math.min(Math.max(0,a),1);return[s*255,i*255,a*255]};a.xyz.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;t/=95.047;r/=100;n/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=116*r-16;i=500*(t-r);a=200*(r-n);return[s,i,a]};a.lab.xyz=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;i=(t+16)/116;s=r/500+i;a=i-n/200;var o=Math.pow(i,3);var l=Math.pow(s,3);var c=Math.pow(a,3);i=o>.008856?o:(i-16/116)/7.787;s=l>.008856?l:(s-16/116)/7.787;a=c>.008856?c:(a-16/116)/7.787;s*=95.047;i*=100;a*=108.883;return[s,i,a]};a.lab.lch=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;s=Math.atan2(n,r);i=s*360/2/Math.PI;if(i<0){i+=360}a=Math.sqrt(r*r+n*n);return[t,a,i]};a.lch.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var i;var a;a=n/360*2*Math.PI;s=r*Math.cos(a);i=r*Math.sin(a);return[t,s,i]};a.rgb.ansi16=function(e){var t=e[0];var r=e[1];var n=e[2];var s=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];s=Math.round(s/50);if(s===0){return 30}var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));if(s===2){i+=60}return i};a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])};a.rgb.ansi256=function(e){var t=e[0];var r=e[1];var n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}var s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};a.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}var r=(~~(e>50)+1)*.5;var n=(t&1)*r*255;var s=(t>>1&1)*r*255;var i=(t>>2&1)*r*255;return[n,s,i]};a.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r;var n=Math.floor(e/36)/5*255;var s=Math.floor((r=e%36)/6)/5*255;var i=r%6/5*255;return[n,s,i]};a.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}var r=t[0];if(t[0].length===3){r=r.split("").map((function(e){return e+e})).join("")}var n=parseInt(r,16);var s=n>>16&255;var i=n>>8&255;var a=n&255;return[s,i,a]};a.rgb.hcg=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.max(Math.max(t,r),n);var i=Math.min(Math.min(t,r),n);var a=s-i;var o;var l;if(a<1){o=i/(1-a)}else{o=0}if(a<=0){l=0}else if(s===t){l=(r-n)/a%6}else if(s===r){l=2+(n-t)/a}else{l=4+(t-r)/a+4}l/=6;l%=1;return[l*360,a*100,o*100]};a.hsl.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1;var s=0;if(r<.5){n=2*t*r}else{n=2*t*(1-r)}if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};a.hsv.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=t*r;var s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};a.hcg.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}var s=[0,0,0];var i=t%1*6;var a=i%1;var o=1-a;var l=0;switch(Math.floor(i)){case 0:s[0]=1;s[1]=a;s[2]=0;break;case 1:s[0]=o;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=a;break;case 3:s[0]=0;s[1]=o;s[2]=1;break;case 4:s[0]=a;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=o}l=(1-r)*n;return[(r*s[0]+l)*255,(r*s[1]+l)*255,(r*s[2]+l)*255]};a.hcg.hsv=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);var s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};a.hcg.hsl=function(e){var t=e[1]/100;var r=e[2]/100;var n=r*(1-t)+.5*t;var s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};a.hcg.hwb=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};a.hwb.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1-r;var s=n-t;var i=0;if(s<1){i=(n-s)/(1-s)}return[e[0],s*100,i*100]};a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]};a.gray.hwb=function(e){return[0,100,e[0]]};a.gray.cmyk=function(e){return[0,0,0,e[0]]};a.gray.lab=function(e){return[e[0],0,0]};a.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255;var r=(t<<16)+(t<<8)+t;var n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};a.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},9054:(e,t,r)=>{var n=r(4117);var s=r(6528);var i={};var a=Object.keys(n);function wrapRaw(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}var r=e(t);if(typeof r==="object"){for(var n=r.length,s=0;s<n;s++){r[s]=Math.round(r[s])}}return r};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}a.forEach((function(e){i[e]={};Object.defineProperty(i[e],"channels",{value:n[e].channels});Object.defineProperty(i[e],"labels",{value:n[e].labels});var t=s(e);var r=Object.keys(t);r.forEach((function(r){var n=t[r];i[e][r]=wrapRounded(n);i[e][r].raw=wrapRaw(n)}))}));e.exports=i},6528:(e,t,r)=>{var n=r(4117);function buildGraph(){var e={};var t=Object.keys(n);for(var r=t.length,s=0;s<r;s++){e[t[s]]={distance:-1,parent:null}}return e}function deriveBFS(e){var t=buildGraph();var r=[e];t[e].distance=0;while(r.length){var s=r.pop();var i=Object.keys(n[s]);for(var a=i.length,o=0;o<a;o++){var l=i[o];var c=t[l];if(c.distance===-1){c.distance=t[s].distance+1;c.parent=s;r.unshift(l)}}}return t}function link(e,t){return function(r){return t(e(r))}}function wrapConversion(e,t){var r=[t[e].parent,e];var s=n[t[e].parent][e];var i=t[e].parent;while(t[i].parent){r.unshift(t[i].parent);s=link(n[t[i].parent][i],s);i=t[i].parent}s.conversion=r;return s}e.exports=function(e){var t=deriveBFS(e);var r={};var n=Object.keys(t);for(var s=n.length,i=0;i<s;i++){var a=n[i];var o=t[a];if(o.parent===null){continue}r[a]=wrapConversion(a,t)}return r}},2251:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},9714:(e,t,r)=>{"use strict";var n=r(7147);var s=r(1017);Object.defineProperty(t,"commentRegex",{get:function getCommentRegex(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}});Object.defineProperty(t,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}});var i;if(typeof Buffer!=="undefined"){if(typeof Buffer.from==="function"){i=decodeBase64WithBufferFrom}else{i=decodeBase64WithNewBuffer}}else{i=decodeBase64WithAtob}function decodeBase64WithBufferFrom(e){return Buffer.from(e,"base64").toString()}function decodeBase64WithNewBuffer(e){if(typeof value==="number"){throw new TypeError("The value to decode must not be of type number.")}return new Buffer(e,"base64").toString()}function decodeBase64WithAtob(e){return decodeURIComponent(escape(atob(e)))}function stripComment(e){return e.split(",").pop()}function readFromFileMap(e,r){var i=t.mapFileCommentRegex.exec(e);var a=i[1]||i[2];var o=s.resolve(r,a);try{return n.readFileSync(o,"utf8")}catch(e){throw new Error("An error occurred while trying to read the map file at "+o+"\n"+e)}}function Converter(e,t){t=t||{};if(t.isFileComment)e=readFromFileMap(e,t.commentFileDir);if(t.hasComment)e=stripComment(e);if(t.isEncoded)e=i(e);if(t.isJSON||t.isEncoded)e=JSON.parse(e);this.sourcemap=e}Converter.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};if(typeof Buffer!=="undefined"){if(typeof Buffer.from==="function"){Converter.prototype.toBase64=encodeBase64WithBufferFrom}else{Converter.prototype.toBase64=encodeBase64WithNewBuffer}}else{Converter.prototype.toBase64=encodeBase64WithBtoa}function encodeBase64WithBufferFrom(){var e=this.toJSON();return Buffer.from(e,"utf8").toString("base64")}function encodeBase64WithNewBuffer(){var e=this.toJSON();if(typeof e==="number"){throw new TypeError("The json to encode must not be of type number.")}return new Buffer(e,"utf8").toString("base64")}function encodeBase64WithBtoa(){var e=this.toJSON();return btoa(unescape(encodeURIComponent(e)))}Converter.prototype.toComment=function(e){var t=this.toBase64();var r="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+r+" */":"//# "+r};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Converter.prototype.setProperty=function(e,t){this.sourcemap[e]=t;return this};Converter.prototype.getProperty=function(e){return this.sourcemap[e]};t.fromObject=function(e){return new Converter(e)};t.fromJSON=function(e){return new Converter(e,{isJSON:true})};t.fromBase64=function(e){return new Converter(e,{isEncoded:true})};t.fromComment=function(e){e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");return new Converter(e,{isEncoded:true,hasComment:true})};t.fromMapFileComment=function(e,t){return new Converter(e,{commentFileDir:t,isFileComment:true,isJSON:true})};t.fromSource=function(e){var r=e.match(t.commentRegex);return r?t.fromComment(r.pop()):null};t.fromMapFileSource=function(e,r){var n=e.match(t.mapFileCommentRegex);return n?t.fromMapFileComment(n.pop(),r):null};t.removeComments=function(e){return e.replace(t.commentRegex,"")};t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")};t.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}},7379:e=>{"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")}},6433:e=>{"use strict";const t=Symbol.for("gensync:v1:start");const r=Symbol.for("gensync:v1:suspend");const n="GENSYNC_EXPECTED_START";const s="GENSYNC_EXPECTED_SUSPEND";const i="GENSYNC_OPTIONS_ERROR";const a="GENSYNC_RACE_NONEMPTY";const o="GENSYNC_ERRBACK_NO_CALLBACK";e.exports=Object.assign((function gensync(e){let t=e;if(typeof e!=="function"){t=newGenerator(e)}else{t=wrapGenerator(e)}return Object.assign(t,makeFunctionAPI(t))}),{all:buildOperation({name:"all",arity:1,sync:function(e){const t=Array.from(e[0]);return t.map((e=>evaluateSync(e)))},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){Promise.resolve().then((()=>t([])));return}let s=0;const i=n.map((()=>undefined));n.forEach(((e,n)=>{evaluateAsync(e,(e=>{i[n]=e;s+=1;if(s===i.length)t(i)}),r)}))}}),race:buildOperation({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(t.length===0){throw makeError("Must race at least 1 item",a)}return evaluateSync(t[0])},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){throw makeError("Must race at least 1 item",a)}for(const e of n){evaluateAsync(e,t,r)}}})});function makeFunctionAPI(e){const t={sync:function(...t){return evaluateSync(e.apply(this,t))},async:function(...t){return new Promise(((r,n)=>{evaluateAsync(e.apply(this,t),r,n)}))},errback:function(...t){const r=t.pop();if(typeof r!=="function"){throw makeError("Asynchronous function called without callback",o)}let n;try{n=e.apply(this,t)}catch(e){r(e);return}evaluateAsync(n,(e=>r(undefined,e)),(e=>r(e)))}};return t}function assertTypeof(e,t,r,n){if(typeof r===e||n&&typeof r==="undefined"){return}let s;if(n){s=`Expected opts.${t} to be either a ${e}, or undefined.`}else{s=`Expected opts.${t} to be a ${e}.`}throw makeError(s,i)}function makeError(e,t){return Object.assign(new Error(e),{code:t})}function newGenerator({name:e,arity:t,sync:r,async:n,errback:s}){assertTypeof("string","name",e,true);assertTypeof("number","arity",t,true);assertTypeof("function","sync",r);assertTypeof("function","async",n,true);assertTypeof("function","errback",s,true);if(n&&s){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",i)}if(typeof e!=="string"){let t;if(s&&s.name&&s.name!=="errback"){t=s.name}if(n&&n.name&&n.name!=="async"){t=n.name.replace(/Async$/,"")}if(r&&r.name&&r.name!=="sync"){t=r.name.replace(/Sync$/,"")}if(typeof t==="string"){e=t}}if(typeof t!=="number"){t=r.length}return buildOperation({name:e,arity:t,sync:function(e){return r.apply(this,e)},async:function(e,t,i){if(n){n.apply(this,e).then(t,i)}else if(s){s.call(this,...e,((e,r)=>{if(e==null)t(r);else i(e)}))}else{t(r.apply(this,e))}}})}function wrapGenerator(e){return setFunctionMetadata(e.name,e.length,(function(...t){return e.apply(this,t)}))}function buildOperation({name:e,arity:n,sync:s,async:i}){return setFunctionMetadata(e,n,(function*(...e){const n=yield t;if(!n){const t=s.call(this,e);return t}let a;try{i.call(this,e,(e=>{if(a)return;a={value:e};n()}),(e=>{if(a)return;a={err:e};n()}))}catch(e){a={err:e};n()}yield r;if(a.hasOwnProperty("err")){throw a.err}return a.value}))}function evaluateSync(e){let t;while(!({value:t}=e.next()).done){assertStart(t,e)}return t}function evaluateAsync(e,t,r){(function step(){try{let r;while(!({value:r}=e.next()).done){assertStart(r,e);let t=true;let n=false;const s=e.next((()=>{if(t){n=true}else{step()}}));t=false;assertSuspend(s,e);if(!n){return}}return t(r)}catch(e){return r(e)}})()}function assertStart(e,r){if(e===t)return;throwError(r,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,n))}function assertSuspend({value:e,done:t},n){if(!t&&e===r)return;throwError(n,makeError(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,s))}function throwError(e,t){if(e.throw)e.throw(t);throw t}function isIterable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!e[Symbol.iterator]}function setFunctionMetadata(e,t,r){if(typeof e==="string"){const t=Object.getOwnPropertyDescriptor(r,"name");if(!t||t.configurable){Object.defineProperty(r,"name",Object.assign(t||{},{configurable:true,value:e}))}}if(typeof t==="number"){const e=Object.getOwnPropertyDescriptor(r,"length");if(!e||e.configurable){Object.defineProperty(r,"length",Object.assign(e||{},{configurable:true,value:t}))}}return r}},6929:(e,t,r)=>{"use strict";e.exports=r(3676)},5343:e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1?true:n<s)}},8874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},4011:e=>{"use strict";const t={};const r=t.hasOwnProperty;const forOwn=(e,t)=>{for(const n in e){if(r.call(e,n)){t(n,e[n])}}};const extend=(e,t)=>{if(!t){return e}forOwn(t,((t,r)=>{e[t]=r}));return e};const forEach=(e,t)=>{const r=e.length;let n=-1;while(++n<r){t(e[n])}};const n=t.toString;const s=Array.isArray;const i=Buffer.isBuffer;const isObject=e=>n.call(e)=="[object Object]";const isString=e=>typeof e=="string"||n.call(e)=="[object String]";const isNumber=e=>typeof e=="number"||n.call(e)=="[object Number]";const isFunction=e=>typeof e=="function";const isMap=e=>n.call(e)=="[object Map]";const isSet=e=>n.call(e)=="[object Set]";const a={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const o=/["'\\\b\f\n\r\t]/;const l=/[0-9]/;const c=/[ !#-&\(-\[\]-_a-~]/;const jsesc=(e,t)=>{const increaseIndentation=()=>{h=d;++t.indentLevel;d=t.indent.repeat(t.indentLevel)};const r={escapeEverything:false,minimal:false,isScriptContext:false,quotes:"single",wrap:false,es6:false,json:false,compact:true,lowercaseHex:false,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:false,__inline2__:false};const n=t&&t.json;if(n){r.quotes="double";r.wrap=true}t=extend(r,t);if(t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"){t.quotes="single"}const u=t.quotes=="double"?'"':t.quotes=="backtick"?"`":"'";const p=t.compact;const f=t.lowercaseHex;let d=t.indent.repeat(t.indentLevel);let h="";const m=t.__inline1__;const y=t.__inline2__;const g=p?"":"\n";let b;let T=true;const S=t.numbers=="binary";const E=t.numbers=="octal";const x=t.numbers=="decimal";const v=t.numbers=="hexadecimal";if(n&&e&&isFunction(e.toJSON)){e=e.toJSON()}if(!isString(e)){if(isMap(e)){if(e.size==0){return"new Map()"}if(!p){t.__inline1__=true;t.__inline2__=false}return"new Map("+jsesc(Array.from(e),t)+")"}if(isSet(e)){if(e.size==0){return"new Set()"}return"new Set("+jsesc(Array.from(e),t)+")"}if(i(e)){if(e.length==0){return"Buffer.from([])"}return"Buffer.from("+jsesc(Array.from(e),t)+")"}if(s(e)){b=[];t.wrap=true;if(m){t.__inline1__=false;t.__inline2__=true}if(!y){increaseIndentation()}forEach(e,(e=>{T=false;if(y){t.__inline2__=false}b.push((p||y?"":d)+jsesc(e,t))}));if(T){return"[]"}if(y){return"["+b.join(", ")+"]"}return"["+g+b.join(","+g)+g+(p?"":h)+"]"}else if(isNumber(e)){if(n){return JSON.stringify(e)}if(x){return String(e)}if(v){let t=e.toString(16);if(!f){t=t.toUpperCase()}return"0x"+t}if(S){return"0b"+e.toString(2)}if(E){return"0o"+e.toString(8)}}else if(!isObject(e)){if(n){return JSON.stringify(e)||"null"}return String(e)}else{b=[];t.wrap=true;increaseIndentation();forOwn(e,((e,r)=>{T=false;b.push((p?"":d)+jsesc(e,t)+":"+(p?"":" ")+jsesc(r,t))}));if(T){return"{}"}return"{"+g+b.join(","+g)+g+(p?"":h)+"}"}}const P=e;let A=-1;const w=P.length;b="";while(++A<w){const e=P.charAt(A);if(t.es6){const e=P.charCodeAt(A);if(e>=55296&&e<=56319&&w>A+1){const t=P.charCodeAt(A+1);if(t>=56320&&t<=57343){const r=(e-55296)*1024+t-56320+65536;let n=r.toString(16);if(!f){n=n.toUpperCase()}b+="\\u{"+n+"}";++A;continue}}}if(!t.escapeEverything){if(c.test(e)){b+=e;continue}if(e=='"'){b+=u==e?'\\"':e;continue}if(e=="`"){b+=u==e?"\\`":e;continue}if(e=="'"){b+=u==e?"\\'":e;continue}}if(e=="\0"&&!n&&!l.test(P.charAt(A+1))){b+="\\0";continue}if(o.test(e)){b+=a[e];continue}const r=e.charCodeAt(0);if(t.minimal&&r!=8232&&r!=8233){b+=e;continue}let s=r.toString(16);if(!f){s=s.toUpperCase()}const i=s.length>2||n;const p="\\"+(i?"u":"x")+("0000"+s).slice(i?-4:-2);b+=p;continue}if(t.wrap){b=u+b+u}if(u=="`"){b=b.replace(/\$\{/g,"\\${")}if(t.isScriptContext){return b.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,n?"\\u003C!--":"\\x3C!--")}return b};jsesc.version="2.5.2";e.exports=jsesc},7220:(e,t,r)=>{"use strict";const n=r(2037);const s=r(5343);const i=process.env;let a;if(s("no-color")||s("no-colors")||s("color=false")){a=false}else if(s("color")||s("colors")||s("color=true")||s("color=always")){a=true}if("FORCE_COLOR"in i){a=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(a===false){return 0}if(s("color=16m")||s("color=full")||s("color=truecolor")){return 3}if(s("color=256")){return 2}if(e&&!e.isTTY&&a!==true){return 0}const t=a?1:0;if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in i))||i.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if(i.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}if(i.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},3797:e=>{"use strict";let t=null;function FastObject(e){if(t!==null&&typeof t.property){const e=t;t=FastObject.prototype=null;return e}t=FastObject.prototype=e==null?Object.create(null):e;return new FastObject}FastObject();e.exports=function toFastproperties(e){return FastObject(e)}},3050:(e,t,r)=>{function types(){return r(776)}function codeFrame(){return r(2430)}function core(){return r(3688)}function coreLibConfig(){return r(4455)}function coreLibNormalizeFile(){return r(4082)}function coreLibNormalizeOpts(){return r(3907)}function coreLibBlockHoistPlugin(){return r(2167)}function coreLibPluginPass(){return r(1732)}function traverse(){return r(2297)}function generator(){return r(3956)}function parser(){return r(7383)}function eslintParser(){return r(3305).eslintParser()}function pluginProposalClassProperties(){return r(3305).pluginProposalClassProperties()}function pluginProposalExportNamespaceFrom(){return r(3305).pluginProposalExportNamespaceFrom()}function pluginProposalNumericSeparator(){return r(3305).pluginProposalNumericSeparator()}function pluginProposalObjectRestSpread(){return r(3305).pluginProposalObjectRestSpread()}function pluginSyntaxBigint(){return r(3305).pluginSyntaxBigint()}function pluginSyntaxDynamicImport(){return r(3305).pluginSyntaxDynamicImport()}function pluginSyntaxImportAssertions(){return r(3305).pluginSyntaxImportAssertions()}function pluginSyntaxJsx(){return r(3305).pluginSyntaxJsx()}function pluginTransformDefine(){return r(3305).pluginTransformDefine()}function pluginTransformModulesCommonjs(){return r(3305).pluginTransformModulesCommonjs()}function pluginTransformReactRemovePropTypes(){return r(3305).pluginTransformReactRemovePropTypes()}function pluginTransformRuntime(){return r(3305).pluginTransformRuntime()}function presetEnv(){return r(3305).presetEnv()}function presetReact(){return r(3305).presetReact()}function presetTypescript(){return r(3305).presetTypescript()}e.exports={types:types,codeFrame:codeFrame,core:core,coreLibConfig:coreLibConfig,coreLibNormalizeFile:coreLibNormalizeFile,coreLibNormalizeOpts:coreLibNormalizeOpts,coreLibBlockHoistPlugin:coreLibBlockHoistPlugin,coreLibPluginPass:coreLibPluginPass,generator:generator,traverse:traverse,eslintParser:eslintParser,parser:parser,pluginProposalClassProperties:pluginProposalClassProperties,pluginProposalExportNamespaceFrom:pluginProposalExportNamespaceFrom,pluginProposalNumericSeparator:pluginProposalNumericSeparator,pluginProposalObjectRestSpread:pluginProposalObjectRestSpread,pluginSyntaxBigint:pluginSyntaxBigint,pluginSyntaxDynamicImport:pluginSyntaxDynamicImport,pluginSyntaxImportAssertions:pluginSyntaxImportAssertions,pluginSyntaxJsx:pluginSyntaxJsx,pluginTransformDefine:pluginTransformDefine,pluginTransformModulesCommonjs:pluginTransformModulesCommonjs,pluginTransformReactRemovePropTypes:pluginTransformReactRemovePropTypes,pluginTransformRuntime:pluginTransformRuntime,presetEnv:presetEnv,presetReact:presetReact,presetTypescript:presetTypescript}},9491:e=>{"use strict";e.exports=require("assert")},7147:e=>{"use strict";e.exports=require("fs")},8188:e=>{"use strict";e.exports=require("module")},3305:e=>{"use strict";e.exports=require("next/dist/compiled/babel-packages")},4907:e=>{"use strict";e.exports=require("next/dist/compiled/browserslist")},6937:e=>{"use strict";e.exports=require("next/dist/compiled/debug")},8310:e=>{"use strict";e.exports=require("next/dist/compiled/json5")},7330:e=>{"use strict";e.exports=require("next/dist/compiled/lru-cache")},7849:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},7282:e=>{"use strict";e.exports=require("process")},7310:e=>{"use strict";e.exports=require("url")},3849:e=>{"use strict";e.exports=require("util")},4655:e=>{"use strict";e.exports=require("v8")},3327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=r(6448);var s=_interopRequireWildcard(r(6148),true);function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;if(a&&(a.get||a.set)){Object.defineProperty(n,i,a)}else{n[i]=e[i]}}}n.default=e;if(r){r.set(e,n)}return n}let i=undefined;function getChalk(e){if(e){var t;(t=i)!=null?t:i=new s.default.constructor({enabled:true,level:1});return i}return s.default}let a=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const c=s.line;const u=s.column;let p=Math.max(o-(i+1),0);let f=Math.min(t.length,c+a);if(o===-1){p=0}if(c===-1){f=t.length}const d=c-o;const h={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===d){h[r]=[0,u]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===u){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,u-l]}}return{start:p,end:f,markerLines:h}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const i=getChalk(r.forceColor);const a=getDefs(i);const maybeHighlight=(e,t)=>s?e(t):t;const l=e.split(o);const{start:c,end:u,markerLines:p}=getMarkerLines(t,l,r);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const h=s?(0,n.default)(e,r):e;let m=h.split(o,u).slice(c,u).map(((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-d);const i=` ${s} |`;const o=p[n];const l=!p[n+1];if(o){let t="";if(Array.isArray(o)){const n=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," ");const s=o[1]||1;t=["\n ",maybeHighlight(a.gutter,i.replace(/\d/g," "))," ",n,maybeHighlight(a.marker,"^").repeat(s)].join("");if(l&&r.message){t+=" "+maybeHighlight(a.message,r.message)}}return[maybeHighlight(a.marker,">"),maybeHighlight(a.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(a.gutter,i)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!f){m=`${" ".repeat(d+1)}${r.message}\n${m}`}if(s){return i.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!a){a=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}},2430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.codeFrameColumns=codeFrameColumns;t["default"]=_default;var n=r(6448);let s=false;function getDefs(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const i=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const c=s.line;const u=s.column;let p=Math.max(o-(i+1),0);let f=Math.min(t.length,c+a);if(o===-1){p=0}if(c===-1){f=t.length}const d=c-o;const h={};if(d){for(let e=0;e<=d;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===d){h[r]=[0,u]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===u){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,u-l]}}return{start:p,end:f,markerLines:h}}function codeFrameColumns(e,t,r={}){const s=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r);const a=(0,n.getChalk)(r);const o=getDefs(a);const maybeHighlight=(e,t)=>s?e(t):t;const l=e.split(i);const{start:c,end:u,markerLines:p}=getMarkerLines(t,l,r);const f=t.start&&typeof t.start.column==="number";const d=String(u).length;const h=s?(0,n.default)(e,r):e;let m=h.split(i,u).slice(c,u).map(((e,t)=>{const n=c+1+t;const s=` ${n}`.slice(-d);const i=` ${s} |`;const a=p[n];const l=!p[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," ");const s=a[1]||1;t=["\n ",maybeHighlight(o.gutter,i.replace(/\d/g," "))," ",n,maybeHighlight(o.marker,"^").repeat(s)].join("");if(l&&r.message){t+=" "+maybeHighlight(o.message,r.message)}}return[maybeHighlight(o.marker,">"),maybeHighlight(o.gutter,i),e.length>0?` ${e}`:"",t].join("")}else{return` ${maybeHighlight(o.gutter,i)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!f){m=`${" ".repeat(d+1)}${r.message}\n${m}`}if(s){return a.reset(m)}else{return m}}function _default(e,t,r,n={}){if(!s){s=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const i={start:{column:r,line:t}};return codeFrameColumns(e,i,n)}},1371:(e,t,r)=>{e.exports=r(212)},2204:(e,t,r)=>{e.exports=r(2735)},9608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertSimpleType=assertSimpleType;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(9367);var s=r(7376);const synchronize=e=>_gensync()(e).sync;function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return synchronize(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return synchronize(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const c=l?i:r;const u=yield*getCachedValueOrWait(l,c,a,e,o);if(u.valid)return u.value;const p=new CacheConfigurator(o);const f=t(e,p);let d;let h;if((0,s.isIterableIterator)(f)){h=yield*(0,n.onFirstPause)(f,(()=>{d=setupAsyncLocks(p,a,e)}))}else{h=f}updateFunctionCache(c,p,e,h);if(d){a.delete(e);d.release(h)}return h}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then((e=>{this._pairs.push([e,r]);return e}))}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using((()=>assertSimpleType(t())))}cacheFn.forever=()=>e.forever();cacheFn.never=()=>e.never();cacheFn.using=t=>e.using((()=>assertSimpleType(t())));cacheFn.invalidate=t=>e.invalidate((()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise((e=>{this._resolve=e}))}release(e){this.released=true;this._resolve(e)}}0&&0},4672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildPresetChainWalker=void 0;t.buildRootChain=buildRootChain;function _path(){const e=r(1017);_path=function(){return e};return e}function _debug(){const e=r(6937);_debug=function(){return e};return e}var n=r(2420);var s=r(1034);var i=r(7526);var a=r(3585);var o=r(8208);var l=r(4613);var c=r(9608);var u=r(8680);const p=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*f(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map((e=>normalizeOptions(e))),files:new Set}}const f=makeChainWalker({root:e=>d(e),env:(e,t)=>h(e)(t),overrides:(e,t)=>m(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=f;const d=(0,c.makeWeakCacheSync)((e=>buildRootDescriptors(e,e.alias,u.createUncachedDescriptors)));const h=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildEnvDescriptors(e,e.alias,u.createUncachedDescriptors,t)))));const m=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildOverrideDescriptors(e,e.alias,u.createUncachedDescriptors,t)))));const y=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>(0,c.makeStrongCacheSync)((r=>buildOverrideEnvDescriptors(e,e.alias,u.createUncachedDescriptors,t,r)))))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const a=yield*S({options:e,dirname:t.cwd},t,undefined,s);if(!a)return null;const o=yield*s.output();let c;if(typeof e.configFile==="string"){c=yield*(0,l.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){c=yield*(0,l.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:u,babelrcRoots:p}=e;let f=t.cwd;const d=emptyChain();const h=new i.ConfigPrinter;if(c){const e=g(c);const n=yield*loadFileChain(e,t,undefined,h);if(!n)return null;r=yield*h.output();if(u===undefined){u=e.options.babelrc}if(p===undefined){f=e.dirname;p=e.options.babelrcRoots}mergeChain(d,n)}let m,y;let T=false;const E=emptyChain();if((u===true||u===undefined)&&typeof t.filename==="string"){const e=yield*(0,l.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,p,f)){({ignore:m,config:y}=yield*(0,l.findRelativeConfig)(e,t.envName,t.caller));if(m){E.files.add(m.filepath)}if(m&&shouldIgnore(t,m.ignore,null,m.dirname)){T=true}if(y&&!T){const e=b(y);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){T=true}else{n=yield*r.output();mergeChain(E,s)}}if(y&&T){E.files.add(y.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,o].filter((e=>!!e)).join("\n\n")+"\n-----End Babel configs-----")}const x=mergeChain(mergeChain(mergeChain(emptyChain(),d),E),a);return{plugins:T?[]:dedupDescriptors(x.plugins),presets:T?[]:dedupDescriptors(x.presets),options:T?[]:x.options.map((e=>normalizeOptions(e))),fileHandling:T?"ignored":"transpile",ignore:m||undefined,babelrc:y||undefined,config:c||undefined,files:x.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.indexOf(i)!==-1}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map((e=>typeof e==="string"?_path().resolve(n,e):e));if(a.length===1&&a[0]===i){return t.directories.indexOf(i)!==-1}return a.some((r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some((t=>matchPattern(r,n,t,e)))}))}const g=(0,c.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options,e.filepath)})));const b=(0,c.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options,e.filepath)})));const T=(0,c.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options,e.filepath)})));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",u.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",u.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",u.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",u.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const E=makeChainWalker({root:e=>x(e),env:(e,t)=>v(e)(t),overrides:(e,t)=>P(e)(t),overridesEnv:(e,t,r)=>A(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*E(e,t,r,n);if(s){s.files.add(e.filepath)}return s}const x=(0,c.makeWeakCacheSync)((e=>buildRootDescriptors(e,e.filepath,u.createUncachedDescriptors)));const v=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildEnvDescriptors(e,e.filepath,u.createUncachedDescriptors,t)))));const P=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildOverrideDescriptors(e,e.filepath,u.createUncachedDescriptors,t)))));const A=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>(0,c.makeStrongCacheSync)((r=>buildOverrideEnvDescriptors(e,e.filepath,u.createUncachedDescriptors,t,r)))))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){const i=t.env&&t.env[s];return i?n(e,i,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){const i=t.overrides&&t.overrides[s];if(!i)throw new Error("Assertion failure - missing override");return n(e,i,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){const a=t.overrides&&t.overrides[s];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[i];return o?n(e,o,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*chainWalker(i,a,o=new Set,l){const{dirname:c}=i;const u=[];const p=e(i);if(configIsApplicable(p,c,a,i.filepath)){u.push({config:p,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,c,a,i.filepath)){u.push({config:e,envName:a.envName,index:undefined})}(p.options.overrides||[]).forEach(((e,t)=>{const s=r(i,t);if(configIsApplicable(s,c,a,i.filepath)){u.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,c,a,i.filepath)){u.push({config:e,index:t,envName:a.envName})}}}))}if(u.some((({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,c)))){return null}const f=emptyChain();const d=s(i,a,l);for(const{config:e,index:t,envName:r}of u){if(!(yield*mergeExtendsChain(f,e.options,c,a,o,l))){return null}d(e,t,r);yield*mergeChainOpts(f,e)}return f}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const a=yield*(0,l.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(a)){throw new Error(`Configuration cycle detected loading ${a.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,(e=>` - ${e.filepath}`)).join("\n"))}s.add(a);const o=yield*loadFileChain(T(a),n,s,i);s.delete(a);if(!o)return false;mergeChain(e,o);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(Object.prototype.hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce(((e,t)=>{e.push(t.value);return e}),[])}function configIsApplicable({options:e},t,r,n){return(e.test===undefined||configFieldIsApplicable(r,e.test,t,n))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t,n))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t,n))}function configFieldIsApplicable(e,t,r,n){const s=Array.isArray(t)?t:[t];return matchesPatterns(e,s,r,n)}function ignoreListReplacer(e,t){if(t instanceof RegExp){return String(t)}return t}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t,ignoreListReplacer)}\` from "${n}"`;p(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r,ignoreListReplacer)}\` from "${n}"`;p(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r,n){return t.some((t=>matchPattern(t,r,e.filename,e,n)))}function matchPattern(e,t,r,n,i){if(typeof e==="function"){return!!(0,a.endHiddenCallStack)(e)(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new o.default(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`,i)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}0&&0},8680:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createDescriptor=createDescriptor;t.createUncachedDescriptors=createUncachedDescriptors;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(128);var s=r(4613);var i=r(1084);var a=r(9608);var o=r(9099);function isEqualDescriptor(e,t){return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&(e.file&&e.file.request)===(t.file&&t.file.request)&&(e.file&&e.file.resolved)===(t.file&&t.file.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,o.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>p(n,e)(r):()=>handlerOf([]),presets:s?()=>c(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:(0,n.once)((()=>createPluginDescriptors(t.plugins||[],e,r))),presets:(0,n.once)((()=>createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)))}}const l=new WeakMap;const c=(0,a.makeWeakCacheSync)(((e,t)=>{const r=t.using((e=>e));return(0,a.makeStrongCacheSync)((t=>(0,a.makeStrongCache)((function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map((e=>loadCachedDescriptor(l,e)))}))))}));const u=new WeakMap;const p=(0,a.makeWeakCacheSync)(((e,t)=>{const r=t.using((e=>e));return(0,a.makeStrongCache)((function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map((e=>loadCachedDescriptor(u,e)))}))}));const f={};function loadCachedDescriptor(e,t){const{value:r,options:n=f}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(i.indexOf(t)===-1){const e=i.filter((e=>isEqualDescriptor(e,t)));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map(((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s}))));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:n,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let c;let u=e;if(Array.isArray(u)){if(u.length===3){[u,c,l]=u}else{[u,c]=u}}let p=undefined;let f=null;if(typeof u==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?s.loadPlugin:s.loadPreset;const n=u;({filepath:f,value:u}=yield*e(u,t));p={request:n,resolved:f}}if(!u){throw new Error(`Unexpected falsy value: ${String(u)}`)}if(typeof u==="object"&&u.__esModule){if(u.default){u=u.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof u!=="object"&&typeof u!=="function"){throw new Error(`Unsupported format: ${typeof u}. Expected an object or a function.`)}if(f!==null&&typeof u==="object"&&u){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${f}`)}return{name:l,alias:f||n,value:u,options:c,dirname:t,ownPass:a,file:p}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter((e=>e.value===r.value));throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,`  plugins: [`,`    ['some-plugin', {}],`,`    ['some-plugin', {}, 'some unique name'],`,`  ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}0&&0},2777:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ROOT_CONFIG_FILENAMES=void 0;t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;function _debug(){const e=r(6937);_debug=function(){return e};return e}function _fs(){const e=r(7147);_fs=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _json(){const e=r(8310);_json=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(9608);var s=r(8836);var i=r(6727);var a=r(4759);var o=r(1034);var l=r(8208);var c=r(9724);var u=r(3585);const p=_debug()("babel:config:loading:files:configuration");const f=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"];t.ROOT_CONFIG_FILENAMES=f;const d=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"];const h=".babelignore";const m=new Set;const y=(0,n.makeStrongCache)((function*readConfigCode(e,t){if(!_fs().existsSync(e)){t.never();return null}if(m.has(e)){t.never();p("Auto-ignoring usage of config %o.",e);return{filepath:e,dirname:_path().dirname(e),options:{}}}let r;try{m.add(e);r=yield*(0,a.default)(e,"You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously.")}finally{m.delete(e)}let n=false;if(typeof r==="function"){yield*[];r=(0,u.endHiddenCallStack)(r)((0,s.makeConfigAPI)(t));n=true}if(!r||typeof r!=="object"||Array.isArray(r)){throw new l.default(`Configuration should be an exported JavaScript object.`,e)}if(typeof r.then==="function"){throw new l.default(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`,e)}if(n&&!t.configured())throwConfigError(e);return{filepath:e,dirname:_path().dirname(e),options:r}}));const g=(0,n.makeWeakCacheSync)((e=>{const t=e.options["babel"];if(typeof t==="undefined")return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new l.default(`.babel property must be an object`,e.filepath)}return{filepath:e.filepath,dirname:e.dirname,options:t}}));const b=(0,i.makeStaticFileCache)(((e,t)=>{let r;try{r=_json().parse(t)}catch(t){throw new l.default(`Error while parsing config - ${t.message}`,e)}if(!r)throw new l.default(`No config detected`,e);if(typeof r!=="object"){throw new l.default(`Config returned typeof ${typeof r}`,e)}if(Array.isArray(r)){throw new l.default(`Expected config object but found array`,e)}delete r["$schema"];return{filepath:e,dirname:_path().dirname(e),options:r}}));const T=(0,i.makeStaticFileCache)(((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map((e=>e.replace(/#(.*?)$/,"").trim())).filter((e=>!!e));for(const t of n){if(t[0]==="!"){throw new l.default(`Negation of file paths is not supported.`,e)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map((e=>(0,o.default)(e,r)))}}));function findConfigUpwards(e){let t=e;for(;;){for(const e of f){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(d,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?g(e.pkg):null)}if(!s){const e=_path().join(o,h);s=yield*T(e);if(s){p("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(f,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map((e=>readConfig(_path().join(t,e),r,n))));const a=i.reduce(((e,r)=>{if(r&&e){throw new l.default(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e}),s);if(a){p("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(8188))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new l.default(`Config file contains no configuration data`,i)}p("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);switch(n){case".js":case".cjs":case".mjs":case".cts":return y(e,{envName:t,caller:r});default:return b(e)}}function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*c.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(e){throw new l.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n  // The API exposes the following:\n\n  // Cache the returned value forever and don't call this function again.\n  api.cache(true);\n\n  // Don't cache at all. Not recommended because it will be very slow.\n  api.cache(false);\n\n  // Cached based on the value of some function. If this function returns a value different from\n  // a previously-encountered value, the plugins will re-evaluate.\n  var env = api.cache(() => process.env.NODE_ENV);\n\n  // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n  // any possible NODE_ENV value that might come up during plugin execution.\n  var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n  // .cache(fn) will perform a linear search though instances to find the matching plugin based\n  // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n  // previous instance whenever something changes, you may use:\n  var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n  // Note, we also expose the following more-verbose versions of the above examples:\n  api.cache.forever(); // api.cache(true)\n  api.cache.never();   // api.cache(false)\n  api.cache.using(fn); // api.cache(fn)\n\n  // Return the value that will be cached.\n  return { };\n};`,e)}0&&0},1503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=resolve;var n=r(5655);let s;{s=n.resolve}function resolve(e,t){return s(e,t)}0&&0},4613:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});var n=r(9369);var s=r(2777);var i=r(2767);({});0&&0},4759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadCodeDefault;t.supportsESM=void 0;var n=r(9367);function _path(){const e=r(1017);_path=function(){return e};return e}function _url(){const e=r(7310);_url=function(){return e};return e}function _semver(){const e=r(7849);_semver=function(){return e};return e}var s=r(3585);var i=r(8208);var a=r(5885);function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)}))}}let o;try{o=r(8204)}catch(e){}const l=_semver().satisfies(process.versions.node,"^12.17 || >=13.2");t.supportsESM=l;function*loadCodeDefault(e,t){switch(_path().extname(e)){case".cjs":{return loadCjsDefault(e,arguments[2])}case".mjs":break;case".cts":return loadCtsDefault(e);default:try{{return loadCjsDefault(e,arguments[2])}}catch(e){if(e.code!=="ERR_REQUIRE_ESM")throw e}}if(yield*(0,n.isAsync)()){return yield*(0,n.waitFor)(loadMjsDefault(e))}throw new i.default(t,e)}function loadCtsDefault(e){const t=".cts";const n=!!(require.extensions[".ts"]||require.extensions[".cts"]||require.extensions[".mts"]);let i;if(!n){const s={babelrc:false,configFile:false,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:_path().basename(e),presets:[[getTSPreset(e),Object.assign({onlyRemoveTypeImports:true,optimizeConstEnums:true},{allowDeclareFields:true})]]};i=function(e,o){if(i&&o.endsWith(t)){try{return e._compile((0,a.transformFileSync)(o,Object.assign({},s,{filename:o})).code,o)}catch(e){if(!n){const e=r(8819);if(_semver().lt(e.version,"7.21.4")){console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}}throw e}}return require.extensions[".js"](e,o)};require.extensions[t]=i}try{const r=(0,s.endHiddenCallStack)(require)(e);return r!=null&&r.__esModule?r.default:r}finally{if(!n){if(require.extensions[t]===i)delete require.extensions[t];i=undefined}}}function loadCjsDefault(e){const t=(0,s.endHiddenCallStack)(require)(e);{return t!=null&&t.__esModule?t.default||(arguments[1]?t:undefined):t}}function loadMjsDefault(e){return _loadMjsDefault.apply(this,arguments)}function _loadMjsDefault(){_loadMjsDefault=_asyncToGenerator((function*(e){if(!o){throw new i.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n",e)}const t=yield(0,s.endHiddenCallStack)(o)((0,_url().pathToFileURL)(e));return t.default}));return _loadMjsDefault.apply(this,arguments)}function getTSPreset(e){try{return r(5432)}catch(t){if(t.code!=="MODULE_NOT_FOUND")throw t;let r="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";{if(process.versions.pnp){r+=`\nIf you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:\n\npackageExtensions:\n\t"@babel/core@*":\n\t\tpeerDependencies:\n\t\t\t"@babel/preset-typescript": "*"\n`}}throw new i.default(r,e)}}0&&0},9369:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(6727);var s=r(8208);const i="package.json";const a=(0,n.makeStaticFileCache)(((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){throw new s.default(`Error while parsing JSON - ${t.message}`,e)}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new s.default(`Config returned typeof ${typeof r}`,e)}if(Array.isArray(r)){throw new s.default(`Expected config object but found array`,e)}return{filepath:e,dirname:_path().dirname(e),options:r}}));function*findPackageData(e){let t=null;const r=[];let n=true;let s=_path().dirname(e);while(!t&&_path().basename(s)!=="node_modules"){r.push(s);t=yield*a(_path().join(s,i));const e=_path().dirname(s);if(s===e){n=false;break}s=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}0&&0},2767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;t.resolvePreset=t.resolvePlugin=void 0;function _debug(){const e=r(6937);_debug=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(9367);var s=r(4759);function _url(){const e=r(7310);_url=function(){return e};return e}var i=r(1503);const a=_debug()("babel:config:loading:files:plugins");const o=/^module:/;const l=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const c=/^(?!@|module:|[^/]+\/|babel-preset-)/;const u=/^(@babel\/)(?!plugin-|[^/]+\/)/;const p=/^(@babel\/)(?!preset-|[^/]+\/)/;const f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const d=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const h=/^(@(?!babel$)[^/]+)$/;const m=resolveStandardizedName.bind(null,"plugin");t.resolvePlugin=m;const y=resolveStandardizedName.bind(null,"preset");t.resolvePreset=y;function*loadPlugin(e,t){const r=m(e,t,yield*(0,n.isAsync)());const s=yield*requireModule("plugin",r);a("Loaded plugin %o from %o.",e,t);return{filepath:r,value:s}}function*loadPreset(e,t){const r=y(e,t,yield*(0,n.isAsync)());const s=yield*requireModule("preset",r);a("Loaded preset %o from %o.",e,t);return{filepath:r,value:s}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?c:l,`babel-${e}-`).replace(r?p:u,`$1${e}-`).replace(r?d:f,`$1babel-${e}-`).replace(h,`$1/babel-${e}`).replace(o,"")}function*resolveAlternativesHelper(e,t){const r=standardizeName(e,t);const{error:n,value:s}=yield r;if(!n)return s;if(n.code!=="MODULE_NOT_FOUND")throw n;if(r!==t&&!(yield t).error){n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}if(!(yield standardizeName(e,"@babel/"+t)).error){n.message+=`\n- Did you mean "@babel/${t}"?`}const i=e==="preset"?"plugin":"preset";if(!(yield standardizeName(i,t)).error){n.message+=`\n- Did you accidentally pass a ${i} as a ${e}?`}if(e==="plugin"){const e=r.replace("-proposal-","-transform-");if(e!==r&&!(yield e).error){n.message+=`\n- Did you mean "${e}"?`}}n.message+=`\n\nMake sure that all the Babel plugins and presets you are using\nare defined as dependencies or devDependencies in your package.json\nfile. It's possible that the missing plugin is loaded by a preset\nyou are using that forgot to add the plugin to its dependencies: you\ncan workaround this problem by explicitly adding the missing package\nto your top-level package.json.\n`;throw n}function tryRequireResolve(e,t){try{if(t){return{error:null,value:(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(8188))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]})}}else{return{error:null,value:require.resolve(e)}}}catch(e){return{error:e,value:null}}}function tryImportMetaResolve(e,t){try{return{error:null,value:(0,i.default)(e,t)}}catch(e){return{error:e,value:null}}}function resolveStandardizedNameForRequire(e,t,r){const n=resolveAlternativesHelper(e,t);let s=n.next();while(!s.done){s=n.next(tryRequireResolve(s.value,r))}return s.value}function resolveStandardizedNameForImport(e,t,r){const n=(0,_url().pathToFileURL)(_path().join(r,"./babel-virtual-resolve-base.js")).href;const s=resolveAlternativesHelper(e,t);let i=s.next();while(!i.done){i=s.next(tryImportMetaResolve(i.value,n))}return(0,_url().fileURLToPath)(i.value)}function resolveStandardizedName(e,t,r,n){if(!s.supportsESM||!n){return resolveStandardizedNameForRequire(e,t,r)}try{return resolveStandardizedNameForImport(e,t,r)}catch(n){try{return resolveStandardizedNameForRequire(e,t,r)}catch(e){if(n.type==="MODULE_NOT_FOUND")throw n;if(e.type==="MODULE_NOT_FOUND")throw e;throw n}}}{var g=new Set}function*requireModule(e,t){{if(!(yield*(0,n.isAsync)())&&g.has(t)){throw new Error(`Reentrant ${e} detected trying to load "${t}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}}try{{g.add(t)}{return yield*(0,s.default)(t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously.",true)}}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${t})`;throw e}finally{{g.delete(t)}}}0&&0},6727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(9608);var s=r(9724);function _fs2(){const e=r(7147);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)((function*(t,r){const n=r.invalidate((()=>fileMtime(t)));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))}))}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}0&&0},402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(9367);var s=r(7376);var i=r(3688);var a=r(7916);var o=r(1084);var l=r(4672);var c=r(9435);function _traverse(){const e=r(2297);_traverse=function(){return e};return e}var u=r(9608);var p=r(2420);var f=r(4059);var d=r(8836);var h=r(1949);var m=r(8208);var y=_gensync()((function*loadFullConfig(e){var t;const r=yield*(0,h.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:u,presets:f}=n;if(!u||!f){throw new Error("Assertion failure - plugins and presets exist")}const d=Object.assign({},i,{targets:n.targets});const toDescriptor=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const m=f.map(toDescriptor);const y=u.map(toDescriptor);const g=[[]];const b=[];const T=[];const S=yield*enhanceError(i,(function*recursePresetDescriptors(e,t){const r=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.options!==false){try{var n=yield*loadPresetDescriptor(i,d)}catch(t){if(t.code==="BABEL_UNKNOWN_OPTION"){(0,p.checkNoUnwrappedItemOptionPairs)(e,s,"preset",t)}throw t}T.push(n.externalDependencies);if(i.ownPass){r.push({preset:n.chain,pass:[]})}else{r.unshift({preset:n.chain,pass:t})}}}if(r.length>0){g.splice(1,0,...r.map((e=>e.pass)).filter((e=>e!==t)));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach((e=>{(0,s.mergeOptions)(l,e)}))}}}))(m,g[0]);if(S)return null;const E=l;(0,s.mergeOptions)(E,n);const x=Object.assign({},d,{assumptions:(t=E.assumptions)!=null?t:{}});yield*enhanceError(i,(function*loadPluginDescriptors(){g[0].unshift(...y);for(const t of g){const r=[];b.push(r);for(let n=0;n<t.length;n++){const s=t[n];if(s.options!==false){try{var e=yield*loadPluginDescriptor(s,x)}catch(e){if(e.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"){(0,p.checkNoUnwrappedItemOptionPairs)(t,n,"plugin",e)}throw e}r.push(e);T.push(e.externalDependencies)}}}}))();E.plugins=b[0];E.presets=b.slice(1).filter((e=>e.length>0)).map((e=>({plugins:e})));E.passPerPreset=E.presets.length>0;return{options:E,passes:b,externalDependencies:(0,c.finalize)(T)}}));t["default"]=y;function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){var s;t.message=`[BABEL] ${(s=e.filename)!=null?s:"unknown file"}: ${t.message}`}throw t}}}const makeDescriptorLoader=e=>(0,u.makeWeakCache)((function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};const l=[];let u=t;if(typeof t==="function"){const c=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const p=Object.assign({},i,e(o,l));try{u=yield*c(p,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!u||typeof u!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(u)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}if(l.length>0&&(!o.configured()||o.mode()==="forever")){let e=`A plugin/preset has external untracked dependencies `+`(${l[0]}), but the cache `;if(!o.configured()){e+=`has not been configured to be invalidated when the external dependencies change. `}else{e+=` has been configured to never be invalidated. `}e+=`Plugins/presets should configure their cache to be invalidated when the external `+`dependencies change, for example using \`api.cache.invalidate(() => `+`statSync(filepath).mtimeMs)\` or \`api.cache.never()\`\n`+`(While processing: ${JSON.stringify(a)})`;throw new Error(e)}return{value:u,options:r,dirname:s,alias:a,externalDependencies:(0,c.finalize)(l)}}));const g=makeDescriptorLoader(d.makePluginAPI);const b=makeDescriptorLoader(d.makePresetAPI);const T=(0,u.makeWeakCache)((function*({value:e,options:t,dirname:r,alias:s,externalDependencies:i},o){const l=(0,f.validatePluginObject)(e);const u=Object.assign({},l);if(u.visitor){u.visitor=_traverse().default.explode(Object.assign({},u.visitor))}if(u.inherits){const e={name:undefined,alias:`${s}$inherits`,value:u.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,(t=>o.invalidate((r=>t(e,r)))));u.pre=chain(a.pre,u.pre);u.post=chain(a.post,u.post);u.manipulateOptions=chain(a.manipulateOptions,u.manipulateOptions);u.visitor=_traverse().default.visitors.merge([a.visitor||{},u.visitor||{}]);if(a.externalDependencies.length>0){if(i.length===0){i=a.externalDependencies}else{i=(0,c.finalize)([i,a.externalDependencies])}}}return new a.default(u,t,s,i)}));function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*T(yield*g(e,t),t)}const needsFilename=e=>e&&typeof e!=="function";const validateIfOptionNeedsFilename=(e,t)=>{if(needsFilename(e.test)||needsFilename(e.include)||needsFilename(e.exclude)){const e=t.name?`"${t.name}"`:"/* your preset */";throw new m.default([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transformSync(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const validatePreset=(e,t,r)=>{if(!t.filename){const{options:t}=e;validateIfOptionNeedsFilename(t,r);if(t.overrides){t.overrides.forEach((e=>validateIfOptionNeedsFilename(e,r)))}}};const S=(0,u.makeWeakCacheSync)((({value:e,dirname:t,alias:r,externalDependencies:n})=>({options:(0,p.validate)("preset",e),alias:r,dirname:t,externalDependencies:n})));function*loadPresetDescriptor(e,t){const r=S(yield*b(e,t));validatePreset(r,t,e);return{chain:yield*(0,l.buildPresetChain)(r,t),externalDependencies:r.externalDependencies}}function chain(e,t){const r=[e,t].filter(Boolean);if(r.length<=1)return r[0];return function(...e){for(const t of r){t.apply(this,e)}}}0&&0},8836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePluginAPI=makePluginAPI;t.makePresetAPI=makePresetAPI;function _semver(){const e=r(7849);_semver=function(){return e};return e}var n=r(3688);var s=r(9608);function makeConfigAPI(e){const env=t=>e.using((e=>{if(typeof t==="undefined")return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}return(Array.isArray(t)?t:[t]).some((t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName}))}));const caller=t=>e.using((e=>(0,s.assertSimpleType)(t(e.caller))));return{version:n.version,cache:e.simple(),env:env,async:()=>false,caller:caller,assertVersion:assertVersion}}function makePresetAPI(e,t){const targets=()=>JSON.parse(e.using((e=>JSON.stringify(e.targets))));const addExternalDependency=e=>{t.push(e)};return Object.assign({},makeConfigAPI(e),{targets:targets,addExternalDependency:addExternalDependency})}function makePluginAPI(e,t){const assumption=t=>e.using((e=>e.assumptions[t]));return Object.assign({},makePresetAPI(e,t),{assumption:assumption})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}0&&0},9435:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.finalize=finalize;t.flattenToSet=flattenToSet;function finalize(e){return Object.freeze(e)}function flattenToSet(e){const t=new Set;const r=[e];while(r.length>0){for(const e of r.pop()){if(Array.isArray(e))r.push(e);else t.add(e)}}return t}0&&0},9658:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}0&&0},4455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;t.createConfigItemSync=t.createConfigItemAsync=void 0;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.loadPartialConfigSync=t.loadPartialConfigAsync=t.loadPartialConfig=t.loadOptionsSync=t.loadOptionsAsync=t.loadOptions=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(402);var s=r(1949);var i=r(1084);const a=_gensync()((function*(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null}));const o=_gensync()(i.createConfigItem);const maybeErrback=e=>(t,r)=>{let n;let s;if(r===undefined&&typeof t==="function"){s=t;n=undefined}else{s=r;n=t}if(!s){return e.sync(n)}e.errback(n,s)};const l=maybeErrback(s.loadPartialConfig);t.loadPartialConfig=l;const c=s.loadPartialConfig.sync;t.loadPartialConfigSync=c;const u=s.loadPartialConfig.async;t.loadPartialConfigAsync=u;const p=maybeErrback(a);t.loadOptions=p;const f=a.sync;t.loadOptionsSync=f;const d=a.async;t.loadOptionsAsync=d;const h=o.sync;t.createConfigItemSync=h;const m=o.async;t.createConfigItemAsync=m;function createConfigItem(e,t,r){if(r!==undefined){o.errback(e,t,r)}else if(typeof t==="function"){o.errback(e,undefined,r)}else{return o.sync(e,t)}}0&&0},1084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;t.createItemFromDescriptor=createItemFromDescriptor;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(8680);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}const s=Symbol.for("@babel/core@7 - ConfigItem");function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype);0&&0},1949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadPrivatePartialConfig;t.loadPartialConfig=void 0;function _path(){const e=r(1017);_path=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(7916);var s=r(7376);var i=r(1084);var a=r(4672);var o=r(9658);var l=r(2420);var c=r(4613);var u=r(9099);const p=["showIgnoredFiles"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i<n.length;i++){s=n[i];if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:p=".",rootMode:f="root",caller:d,cloneInputAst:h=true}=t;const m=_path().resolve(n);const y=resolveRootMode(_path().resolve(m,p),f);const g=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const b=yield*(0,c.resolveShowConfigPath)(m);const T={filename:g,cwd:m,root:y,envName:r,caller:d,showConfig:b===g};const S=yield*(0,a.buildRootChain)(t,T);if(!S)return null;const E={assumptions:{}};S.options.forEach((e=>{(0,s.mergeOptions)(E,e)}));const x=Object.assign({},E,{targets:(0,u.resolveTargets)(E,y),cloneInputAst:h,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:T.envName,cwd:T.cwd,root:T.root,rootMode:"root",filename:typeof T.filename==="string"?T.filename:undefined,plugins:S.plugins.map((e=>(0,i.createItemFromDescriptor)(e))),presets:S.presets.map((e=>(0,i.createItemFromDescriptor)(e)))});return{options:x,context:T,fileHandling:S.fileHandling,ignore:S.ignore,babelrc:S.babelrc,config:S.config,files:S.files}}const f=_gensync()((function*(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,p);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:c,files:u}=s;if(c==="ignored"&&!t){return null}(i.plugins||[]).forEach((e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}}));return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,c,u)}));t.loadPartialConfig=f;class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype);0&&0},1034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=pathToPattern;function _path(){const e=r(1017);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const c=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map(((e,t)=>{const u=t===r.length-1;if(e==="**")return u?c:l;if(e==="*")return u?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(u?s:n)}return escapeRegExp(e)+(u?s:n)}))].join(""))}0&&0},7916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9435);class Plugin{constructor(e,t,r,s=(0,n.finalize)([])){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.externalDependencies=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t;this.externalDependencies=s}}t["default"]=Plugin;0&&0},7526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}const n={Programmatic:0,Config:1};t.ChainFormatter=n;const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map((e=>descriptorToConfig(e)))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map((e=>descriptorToConfig(e)))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().slice(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map((e=>ConfigPrinter.format(e))));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter;0&&0},9099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(1017);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(900);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){const r=e.targets;let n;if(typeof r==="string"||Array.isArray(r)){n={browsers:r}}else if(r){if("esmodules"in r){n=Object.assign({},r,{esmodules:"intersect"})}else{n=r}}const{browserslistConfigFile:s}=e;let i;let a=false;if(typeof s==="string"){i=s}else{a=s===false}return(0,_helperCompilationTargets().default)(n,{ignoreBrowserslistConfig:a,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}0&&0},7376:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIterableIterator=isIterableIterator;t.mergeOptions=mergeOptions;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}0&&0},490:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.access=access;t.assertArray=assertArray;t.assertAssumptions=assertAssumptions;t.assertBabelrcSearch=assertBabelrcSearch;t.assertBoolean=assertBoolean;t.assertCallerMetadata=assertCallerMetadata;t.assertCompact=assertCompact;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertFunction=assertFunction;t.assertIgnoreList=assertIgnoreList;t.assertInputSourceMap=assertInputSourceMap;t.assertObject=assertObject;t.assertPluginList=assertPluginList;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertSourceType=assertSourceType;t.assertString=assertString;t.assertTargets=assertTargets;t.msg=msg;function _helperCompilationTargets(){const e=r(900);_helperCompilationTargets=function(){return e};return e}var n=r(2420);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);if(r){r.forEach(((t,r)=>assertIgnoreItem(access(e,r),t)))}return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined){return t}if(Array.isArray(t)){t.forEach(((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}}))}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean"){return t}if(Array.isArray(t)){t.forEach(((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}}))}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach(((t,r)=>assertPluginItem(access(e,r),t)))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}0&&0},2420:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assumptionsNames=void 0;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.validate=validate;var n=r(6212);var s=r(490);var i=r(8208);const a={cwd:s.assertString,root:s.assertString,rootMode:s.assertRootMode,configFile:s.assertConfigFileSearch,caller:s.assertCallerMetadata,filename:s.assertString,filenameRelative:s.assertString,code:s.assertBoolean,ast:s.assertBoolean,cloneInputAst:s.assertBoolean,envName:s.assertString};const o={babelrc:s.assertBoolean,babelrcRoots:s.assertBabelrcSearch};const l={extends:s.assertString,ignore:s.assertIgnoreList,only:s.assertIgnoreList,targets:s.assertTargets,browserslistConfigFile:s.assertConfigFileSearch,browserslistEnv:s.assertString};const c={inputSourceMap:s.assertInputSourceMap,presets:s.assertPluginList,plugins:s.assertPluginList,passPerPreset:s.assertBoolean,assumptions:s.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:s.assertConfigApplicableTest,include:s.assertConfigApplicableTest,exclude:s.assertConfigApplicableTest,retainLines:s.assertBoolean,comments:s.assertBoolean,shouldPrintComment:s.assertFunction,compact:s.assertCompact,minified:s.assertBoolean,auxiliaryCommentBefore:s.assertString,auxiliaryCommentAfter:s.assertString,sourceType:s.assertSourceType,wrapPluginVisitorMethod:s.assertFunction,highlightCode:s.assertBoolean,sourceMaps:s.assertSourceMaps,sourceMap:s.assertSourceMaps,sourceFileName:s.assertString,sourceRoot:s.assertString,parserOpts:s.assertObject,generatorOpts:s.assertObject};{Object.assign(c,{getModuleId:s.assertFunction,moduleRoot:s.assertString,moduleIds:s.assertBoolean,moduleId:s.assertString})}const u=["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"];const p=new Set(u);t.assumptionsNames=p;function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t,r){try{return validateNested({type:"root",source:e},t)}catch(e){const t=new i.default(e.message,r);if(e.code)t.code=e.code;throw t}}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach((n=>{const i={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,s.msg)(i)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,s.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const u=c[n]||l[n]||o[n]||a[n]||throwUnknownError;u(i,t[n])}));return t}function throwUnknownError(e){const t=e.name;if(n.default[t]){const{message:r,version:i=5}=n.default[t];throw new Error(`Using removed Babel ${i} option: ${(0,s.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,s.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function assertNoDuplicateSourcemap(e){if(has(e,"sourceMap")&&has(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,s.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,s.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const i=(0,s.assertObject)((0,s.access)(e,t),n[t]);if(!i)continue;const a={type:"env",name:t,parent:r};validateNested(a,i)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,s.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,s.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,s.assertArray)(e,t);if(n){for(const[t,i]of n.entries()){const n=(0,s.access)(e,t);const a=(0,s.assertObject)(n,i);if(!a)throw new Error(`${(0,s.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}s": [\n  ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}0&&0},4059:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(490);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach((e=>assertVisitorHandler(e,r[e])));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach((t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}}))}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}return t}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach((r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}}));return e}0&&0},6212:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};t["default"]=r;0&&0},8208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(3585);class ConfigError extends Error{constructor(e,t){super(e);(0,n.expectedError)(this);if(t)(0,n.injectVirtualStackFrame)(this,t)}}t["default"]=ConfigError;0&&0},3585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.beginHiddenCallStack=beginHiddenCallStack;t.endHiddenCallStack=endHiddenCallStack;t.expectedError=expectedError;t.injectVirtualStackFrame=injectVirtualStackFrame;const r=Function.call.bind(Error.prototype.toString);const n=!!Error.captureStackTrace;const s="startHiding - secret - don't use this - v1";const i="stopHiding - secret - don't use this - v1";const a=new WeakSet;const o=new WeakMap;function CallSite(e){return Object.create({isNative:()=>false,isConstructor:()=>false,isToplevel:()=>true,getFileName:()=>e,getLineNumber:()=>undefined,getColumnNumber:()=>undefined,getFunctionName:()=>undefined,getMethodName:()=>undefined,getTypeName:()=>undefined,toString:()=>e})}function injectVirtualStackFrame(e,t){if(!n)return;let r=o.get(e);if(!r)o.set(e,r=[]);r.push(CallSite(t));return e}function expectedError(e){if(!n)return;a.add(e);return e}function beginHiddenCallStack(e){if(!n)return e;return Object.defineProperty((function(...t){setupPrepareStackTrace();return e(...t)}),"name",{value:i})}function endHiddenCallStack(e){if(!n)return e;return Object.defineProperty((function(...t){return e(...t)}),"name",{value:s})}function setupPrepareStackTrace(){setupPrepareStackTrace=()=>{};const{prepareStackTrace:e=defaultPrepareStackTrace}=Error;const t=50;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,t));Error.prepareStackTrace=function stackTraceRewriter(t,r){let n=[];const l=a.has(t);let c=l?"hiding":"unknown";for(let e=0;e<r.length;e++){const a=r[e].getFunctionName();if(a===s){c="hiding"}else if(a===i){if(c==="hiding"){c="showing";if(o.has(t)){n.unshift(...o.get(t))}}else if(c==="unknown"){n=r;break}}else if(c!=="hiding"){n.push(r[e])}}return e(t,n)}}function defaultPrepareStackTrace(e,t){if(t.length===0)return r(e);return`${r(e)}\n    at ${t.join("\n    at ")}`}0&&0},9367:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.forwardAsync=forwardAsync;t.isAsync=void 0;t.isThenable=isThenable;t.maybeAsync=maybeAsync;t.waitFor=t.onFirstPause=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a);var l=o.value}catch(e){r(e);return}if(o.done){t(l)}else{Promise.resolve(l).then(n,s)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(undefined)}))}}const n=_gensync()((function*(e){return yield*e}));const s=_gensync()({sync:()=>false,errback:e=>e(null,true)});t.isAsync=s;function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const i=_gensync()({sync:e=>e("sync"),async:function(){var e=_asyncToGenerator((function*(e){return e("async")}));return function async(t){return e.apply(this,arguments)}}()});function forwardAsync(e,t){const r=_gensync()(e);return i((e=>{const n=r[e];return t(n)}))}const a=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return n.sync(e)},errback:function(e,t,r){let s=false;n.errback(e,((e,t)=>{s=true;r(e,t)}));if(!s){t()}}});t.onFirstPause=a;const o=_gensync()({sync:e=>e,async:function(){var e=_asyncToGenerator((function*(e){return e}));return function async(t){return e.apply(this,arguments)}}()});t.waitFor=o;function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}0&&0},9724:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(7147);_fs=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}const n=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});t.readFile=n;const s=_gensync()({sync:_fs().statSync,errback:_fs().stat});t.stat=s;0&&0},128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.once=once;var n=r(9367);function once(e){let t;let r;return function*(){if(t)return t;if(!(yield*(0,n.isAsync)()))return t=yield*e();if(r)return yield*(0,n.waitFor)(r);let s,i;r=new Promise(((e,t)=>{s=e;i=t}));try{t=yield*e();r=null;s(t);return t}catch(e){i(e);throw e}}}0&&0},3688:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_EXTENSIONS=void 0;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return p.parse}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return p.parseAsync}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return p.parseSync}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty((0,t),"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty((0,t),"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return c.transformFile}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return c.transformFileAsync}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return c.transformFileSync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return u.transformFromAst}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return u.transformFromAstAsync}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return u.transformFromAstSync}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty((0,t),"traverse",{enumerable:true,get:function(){return _traverse().default}});t.version=t.types=void 0;var n=r(6103);var s=r(7472);var i=r(4613);var a=r(9658);function _types(){const e=r(776);_types=function(){return e};return e}Object.defineProperty((0,t),"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(7383);_parser=function(){return e};return e}function _traverse(){const e=r(2297);_traverse=function(){return e};return e}function _template(){const e=r(9128);_template=function(){return e};return e}var o=r(4455);var l=r(9994);var c=r(5885);var u=r(6895);var p=r(352);var f=r(3688);const d="7.22.5";t.version=d;const h=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=h;{{t.OptionManager=class OptionManager{init(e){return(0,o.loadOptionsSync)(e)}};t.Plugin=function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}}}0&&0},352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parse=void 0;t.parseAsync=parseAsync;t.parseSync=parseSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4455);var s=r(2865);var i=r(3907);var a=r(3585);const o=_gensync()((function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)}));const l=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined){{return(0,a.beginHiddenCallStack)(o.sync)(e,t)}}(0,a.beginHiddenCallStack)(o.errback)(e,t,r)};t.parse=l;function parseSync(...e){return(0,a.beginHiddenCallStack)(o.sync)(...e)}function parseAsync(...e){return(0,a.beginHiddenCallStack)(o.async)(...e)}0&&0},2865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parser;function _parser(){const e=r(7383);_parser=function(){return e};return e}function _codeFrame(){const e=r(2430);_codeFrame=function(){return e};return e}var n=r(193);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const r=[];for(const n of e){for(const e of n){const{parserOverride:n}=e;if(n){const e=n(i,t,_parser().parse);if(e!==undefined)r.push(e)}}}if(r.length===0){return(0,_parser().parse)(i,t)}else if(r.length===1){yield*[];if(typeof r[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return r[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}0&&0},193:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}}};{Object.assign(r,{asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-transform-async-generator-functions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-private-methods",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-transform-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-transform-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-transform-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-transform-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-transform-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-transform-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-transform-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-transform-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"},transform:{name:"@babel/plugin-transform-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"}},regexpUnicodeSets:{syntax:{name:"@babel/plugin-syntax-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md"},transform:{name:"@babel/plugin-transform-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"}}})}const getNameURLCombination=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,n){let s=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+n;const i=r[e];if(i){const{syntax:e,transform:t}=i;if(e){const r=getNameURLCombination(e);if(t){const e=getNameURLCombination(t);const n=t.name.startsWith("@babel/plugin")?"plugins":"presets";s+=`\n\nAdd ${e} to the '${n}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{s+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}return s}0&&0},7472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;function helpers(){const e=r(1416);helpers=function(){return e};return e}function _generator(){const e=r(3956);_generator=function(){return e};return e}function _template(){const e=r(9128);_template=function(){return e};return e}function _t(){const e=r(776);_t=function(){return e};return e}var n=r(6103);const{arrayExpression:s,assignmentExpression:i,binaryExpression:a,blockStatement:o,callExpression:l,cloneNode:c,conditionalExpression:u,exportNamedDeclaration:p,exportSpecifier:f,expressionStatement:d,functionExpression:h,identifier:m,memberExpression:y,objectExpression:g,program:b,stringLiteral:T,unaryExpression:S,variableDeclaration:E,variableDeclarator:x}=_t();const buildUmdWrapper=e=>_template().default.statement`
    (function (root, factory) {
      if (typeof define === "function" && define.amd) {
        define(AMD_ARGUMENTS, factory);
      } else if (typeof exports === "object") {
        factory(COMMON_ARGUMENTS);
      } else {
        factory(BROWSER_ARGUMENTS);
      }
    })(UMD_ROOT, function (FACTORY_PARAMETERS) {
      FACTORY_BODY
    });
  `(e);function buildGlobal(e){const t=m("babelHelpers");const r=[];const n=h(null,[m("global")],o(r));const s=b([d(l(n,[u(a("===",S("typeof",m("global")),T("undefined")),m("self"),m("global"))]))]);r.push(E("var",[x(t,i("=",y(m("global"),t),g([])))]));buildHelpers(r,t,e);return s}function buildModule(e){const t=[];const r=buildHelpers(t,null,e);t.unshift(p(null,Object.keys(r).map((e=>f(c(r[e]),m(e))))));return b(t,[],"module")}function buildUmd(e){const t=m("babelHelpers");const r=[];r.push(E("var",[x(t,m("global"))]));buildHelpers(r,t,e);return b([buildUmdWrapper({FACTORY_PARAMETERS:m("global"),BROWSER_ARGUMENTS:i("=",y(m("root"),t),g([])),COMMON_ARGUMENTS:m("exports"),AMD_ARGUMENTS:s([T("exports")]),FACTORY_BODY:r,UMD_ROOT:m("this")})])}function buildVar(e){const t=m("babelHelpers");const r=[];r.push(E("var",[x(t,g([]))]));const n=b(r);buildHelpers(r,t,e);r.push(d(t));return n}function buildHelpers(e,t,r){const getHelperReference=e=>t?y(t,m(e)):m(`_${e}`);const s={};helpers().list.forEach((function(t){if(r&&r.indexOf(t)<0)return;const i=s[t]=getHelperReference(t);helpers().ensure(t,n.default);const{nodes:a}=helpers().get(t,getHelperReference,i);e.push(...a)}));return s}function _default(e,t="global"){let r;const n={global:buildGlobal,module:buildModule,umd:buildUmd,var:buildVar}[t];if(n){r=n(e)}else{throw new Error(`Unsupported output type ${t}`)}return(0,_generator().default)(r).code}0&&0},6895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFromAst=void 0;t.transformFromAstAsync=transformFromAstAsync;t.transformFromAstSync=transformFromAstSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4455);var s=r(8589);var i=r(3585);const a=_gensync()((function*(e,t,r){const i=yield*(0,n.default)(r);if(i===null)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(i,t,e)}));const o=function transformFromAst(e,t,r,n){let s;let o;if(typeof r==="function"){o=r;s=undefined}else{s=r;o=n}if(o===undefined){{return(0,i.beginHiddenCallStack)(a.sync)(e,t,s)}}(0,i.beginHiddenCallStack)(a.errback)(e,t,s,o)};t.transformFromAst=o;function transformFromAstSync(...e){return(0,i.beginHiddenCallStack)(a.sync)(...e)}function transformFromAstAsync(...e){return(0,i.beginHiddenCallStack)(a.async)(...e)}0&&0},5885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformFile=transformFile;t.transformFileAsync=transformFileAsync;t.transformFileSync=transformFileSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4455);var s=r(8589);var i=r(9724);({});const a=_gensync()((function*(e,t){const r=Object.assign({},t,{filename:e});const a=yield*(0,n.default)(r);if(a===null)return null;const o=yield*i.readFile(e,"utf8");return yield*(0,s.run)(a,o)}));function transformFile(...e){a.errback(...e)}function transformFileSync(...e){return a.sync(...e)}function transformFileAsync(...e){return a.async(...e)}0&&0},9994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transform=void 0;t.transformAsync=transformAsync;t.transformSync=transformSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(4455);var s=r(8589);var i=r(3585);const a=_gensync()((function*transform(e,t){const r=yield*(0,n.default)(t);if(r===null)return null;return yield*(0,s.run)(r,e)}));const o=function transform(e,t,r){let n;let s;if(typeof t==="function"){s=t;n=undefined}else{n=t;s=r}if(s===undefined){{return(0,i.beginHiddenCallStack)(a.sync)(e,n)}}(0,i.beginHiddenCallStack)(a.errback)(e,n,s)};t.transform=o;function transformSync(...e){return(0,i.beginHiddenCallStack)(a.sync)(...e)}function transformAsync(...e){return(0,i.beginHiddenCallStack)(a.async)(...e)}0&&0},2167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadBlockHoistPlugin;function _traverse(){const e=r(2297);_traverse=function(){return e};return e}var n=r(7916);let s;const i={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1;let n=false;for(let e=0;e<t.length;e++){const s=t[e];const i=priority(s);if(i>r){n=true;break}r=i}if(!n)return;e.body=stableSort(t.slice())}}}};function loadBlockHoistPlugin(){if(!s){s=new n.default(Object.assign({},i,{visitor:_traverse().default.explode(i.visitor)}),{})}return s}function priority(e){const t=e==null?void 0:e._blockHoist;if(t==null)return 1;if(t===true)return 2;return t}function stableSort(e){const t=Object.create(null);for(let r=0;r<e.length;r++){const n=e[r];const s=priority(n);const i=t[s]||(t[s]=[]);i.push(n)}const r=Object.keys(t).map((e=>+e)).sort(((e,t)=>t-e));let n=0;for(const s of r){const r=t[s];for(const t of r){e[n++]=t}}return e}0&&0},6103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function helpers(){const e=r(1416);helpers=function(){return e};return e}function _traverse(){const e=r(2297);_traverse=function(){return e};return e}function _codeFrame(){const e=r(2430);_codeFrame=function(){return e};return e}function _t(){const e=r(776);_t=function(){return e};return e}function _helperModuleTransforms(){const e=r(6646);_helperModuleTransforms=function(){return e};return e}function _semver(){const e=r(7849);_semver=function(){return e};return e}const{cloneNode:n,interpreterDirective:s}=_t();const i={enter(e,t){const r=e.node.loc;if(r){t.loc=r;e.stop()}}};class File{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map;this.opts=void 0;this.declarations={};this.path=void 0;this.ast=void 0;this.scope=void 0;this.metadata={};this.code="";this.inputMap=void 0;this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};this.opts=e;this.code=t;this.ast=r;this.inputMap=n;this.path=_traverse().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){if(e){this.path.get("interpreter").replaceWith(s(e))}else{this.path.get("interpreter").remove()}}set(e,t){if(e==="helpersNamespace"){throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility."+"If you are using @babel/plugin-external-helpers you will need to use a newer "+"version than the one you currently have installed. "+"If you have your own implementation, you'll want to explore using 'helperGenerator' "+"alongside 'file.availableHelper()'.")}this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,_helperModuleTransforms().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this "+"functionality in Babel 7, you should import the "+"'@babel/helper-module-imports' module and use the functions exposed "+" from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=helpers().minVersion(e)}catch(e){if(e.code!=="BABEL_HELPER_UNKNOWN")throw e;return false}if(typeof t!=="string")return true;if(_semver().valid(t))t=`^${t}`;return!_semver().intersects(`<${r}`,t)&&!_semver().intersects(`>=8.0.0`,t)}addHelper(e){const t=this.declarations[e];if(t)return n(t);const r=this.get("helperGenerator");if(r){const t=r(e);if(t)return t}helpers().ensure(e,File);const s=this.declarations[e]=this.scope.generateUidIdentifier(e);const i={};for(const t of helpers().getDependencies(e)){i[t]=this.addHelper(t)}const{nodes:a,globals:o}=helpers().get(e,(e=>i[e]),s,Object.keys(this.scope.getAllBindings()));o.forEach((e=>{if(this.path.scope.hasBinding(e,true)){this.path.scope.rename(e)}}));a.forEach((e=>{e._compact=true}));this.path.unshiftContainer("body",a);this.path.get("body").forEach((e=>{if(a.indexOf(e.node)===-1)return;if(e.isVariableDeclaration())this.scope.registerDeclaration(e)}));return s}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,_traverse().default)(e,i,this.scope,r);n=r.loc;let s="This is an error on an internal node. Probably an internal error.";if(n)s+=" Location has been estimated.";t+=` (${s})`}if(n){const{highlightCode:e=true}=this.opts;t+="\n"+(0,_codeFrame().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:undefined},{highlightCode:e})}return new r(t)}}t["default"]=File;0&&0},4327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=generateCode;function _convertSourceMap(){const e=r(9714);_convertSourceMap=function(){return e};return e}function _generator(){const e=r(3956);_generator=function(){return e};return e}var n=r(2035);function generateCode(e,t){const{opts:r,ast:s,code:i,inputMap:a}=t;const{generatorOpts:o}=r;o.inputSourceMap=a==null?void 0:a.toObject();const l=[];for(const t of e){for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,o,i,_generator().default);if(e!==undefined)l.push(e)}}}let c;if(l.length===0){c=(0,_generator().default)(s,o,i)}else if(l.length===1){c=l[0];if(typeof c.then==="function"){throw new Error(`You appear to be using an async codegen plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version.`)}}else{throw new Error("More than one plugin attempted to override codegen.")}let{code:u,decodedMap:p=c.map}=c;if(c.__mergedMap){p=Object.assign({},c.map)}else{if(p){if(a){p=(0,n.default)(a.toObject(),p,o.sourceFileName)}else{p=c.map}}}if(r.sourceMaps==="inline"||r.sourceMaps==="both"){u+="\n"+_convertSourceMap().fromObject(p).toComment()}if(r.sourceMaps==="inline"){p=null}return{outputCode:u,outputMap:p}}0&&0},2035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=mergeSourceMap;function _remapping(){const e=r(3914);_remapping=function(){return e};return e}function mergeSourceMap(e,t,r){const n=r.replace(/\\/g,"/");let s=false;const i=_remapping()(rootless(t),((t,r)=>{if(t===n&&!s){s=true;r.source="";return rootless(e)}return null}));if(typeof e.sourceRoot==="string"){i.sourceRoot=e.sourceRoot}return Object.assign({},i)}function rootless(e){return Object.assign({},e,{sourceRoot:null})}0&&0},8589:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.run=run;function _traverse(){const e=r(2297);_traverse=function(){return e};return e}var n=r(1732);var s=r(2167);var i=r(3907);var a=r(4082);var o=r(4327);var l=r(9435);function*run(e,t,r){const n=yield*(0,a.default)(e.passes,(0,i.default)(e),t,r);const s=n.opts;try{yield*transformFile(n,e.passes)}catch(e){var c;e.message=`${(c=s.filename)!=null?c:"unknown file"}: ${e.message}`;if(!e.code){e.code="BABEL_TRANSFORM_ERROR"}throw e}let u,p;try{if(s.code!==false){({outputCode:u,outputMap:p}=(0,o.default)(e.passes,n))}}catch(e){var f;e.message=`${(f=s.filename)!=null?f:"unknown file"}: ${e.message}`;if(!e.code){e.code="BABEL_GENERATE_ERROR"}throw e}return{metadata:n.metadata,options:s,ast:s.ast===true?n.ast:null,code:u===undefined?null:u,map:p===undefined?null:p,sourceType:n.ast.program.sourceType,externalDependencies:(0,l.flattenToSet)(e.externalDependencies)}}function*transformFile(e,t){for(const r of t){const t=[];const i=[];const a=[];for(const o of r.concat([(0,s.default)()])){const r=new n.default(e,o.key,o.options);t.push([o,r]);i.push(r);a.push(o.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .pre, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}const o=_traverse().default.visitors.merge(a,i,e.opts.wrapPluginVisitorMethod);(0,_traverse().default)(e.ast,o,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);yield*[];if(isThenable(r)){throw new Error(`You appear to be using an plugin with an async .post, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}}}}}function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}0&&0},4082:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeFile;function _fs(){const e=r(7147);_fs=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _debug(){const e=r(6937);_debug=function(){return e};return e}function _t(){const e=r(776);_t=function(){return e};return e}function _convertSourceMap(){const e=r(9714);_convertSourceMap=function(){return e};return e}var n=r(6103);var s=r(2865);var i=r(9977);const{file:a,traverseFast:o}=_t();const l=_debug()("babel:transform:file");const c=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/;const u=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function*normalizeFile(e,t,r,o){r=`${r||""}`;if(o){if(o.type==="Program"){o=a(o,[],[])}else if(o.type!=="File"){throw new Error("AST root must be a Program or File node")}if(t.cloneInputAst){o=(0,i.default)(o)}}else{o=yield*(0,s.default)(e,t,r)}let p=null;if(t.inputSourceMap!==false){if(typeof t.inputSourceMap==="object"){p=_convertSourceMap().fromObject(t.inputSourceMap)}if(!p){const e=extractComments(c,o);if(e){try{p=_convertSourceMap().fromComment(e)}catch(e){l("discarding unknown inline input sourcemap",e)}}}if(!p){const e=extractComments(u,o);if(typeof t.filename==="string"&&e){try{const r=u.exec(e);const n=_fs().readFileSync(_path().resolve(_path().dirname(t.filename),r[1]),"utf8");p=_convertSourceMap().fromJSON(n)}catch(e){l("discarding unknown file input sourcemap",e)}}else if(e){l("discarding un-loadable file input sourcemap")}}}return new n.default(t,{code:r,ast:o,inputMap:p})}function extractCommentsFromList(e,t,r){if(t){t=t.filter((({value:t})=>{if(e.test(t)){r=t;return false}return true}))}return[t,r]}function extractComments(e,t){let r=null;o(t,(t=>{[t.leadingComments,r]=extractCommentsFromList(e,t.leadingComments,r);[t.innerComments,r]=extractCommentsFromList(e,t.innerComments,r);[t.trailingComments,r]=extractCommentsFromList(e,t.trailingComments,r)}));return r}0&&0},3907:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeOptions;function _path(){const e=r(1017);_path=function(){return e};return e}function normalizeOptions(e){const{filename:t,cwd:r,filenameRelative:n=(typeof t==="string"?_path().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:i,sourceMaps:a=!!i,sourceRoot:o=e.options.moduleRoot,sourceFileName:l=_path().basename(n),comments:c=true,compact:u="auto"}=e.options;const p=e.options;const f=Object.assign({},p,{parserOpts:Object.assign({sourceType:_path().extname(n)===".mjs"?"module":s,sourceFileName:t,plugins:[]},p.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:p.auxiliaryCommentBefore,auxiliaryCommentAfter:p.auxiliaryCommentAfter,retainLines:p.retainLines,comments:c,shouldPrintComment:p.shouldPrintComment,compact:u,minified:p.minified,sourceMaps:a,sourceRoot:o,sourceFileName:l},p.generatorOpts)});for(const t of e.passes){for(const e of t){if(e.manipulateOptions){e.manipulateOptions(f,f.parserOpts)}}}return f}0&&0},1732:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class PluginPass{constructor(e,t,r){this._map=new Map;this.key=void 0;this.file=void 0;this.opts=void 0;this.cwd=void 0;this.filename=void 0;this.key=t;this.file=e;this.opts=r||{};this.cwd=e.opts.cwd;this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t["default"]=PluginPass;{PluginPass.prototype.getModuleName=function getModuleName(){return this.file.getModuleName()};PluginPass.prototype.addImport=function addImport(){this.file.addImport()}}0&&0},9977:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;function deepClone(e,t){if(e!==null){if(t.has(e))return t.get(e);let r;if(Array.isArray(e)){r=new Array(e.length);t.set(e,r);for(let n=0;n<e.length;n++){r[n]=typeof e[n]!=="object"?e[n]:deepClone(e[n],t)}}else{r={};t.set(e,r);const n=Object.keys(e);for(let s=0;s<n.length;s++){const i=n[s];r[i]=typeof e[i]!=="object"?e[i]:deepClone(e[i],t)}}return r}return e}function _default(e){if(typeof e!=="object")return e;return deepClone(e,new Map)}0&&0},5655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.moduleResolve=moduleResolve;t.resolve=resolve;function _assert(){const e=r(9491);_assert=function(){return e};return e}function _fs(){const e=_interopRequireWildcard(r(7147),true);_fs=function(){return e};return e}function _process(){const e=r(7282);_process=function(){return e};return e}function _url(){const e=r(7310);_url=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _module(){const e=r(8188);_module=function(){return e};return e}function _v(){const e=r(4655);_v=function(){return e};return e}function _util(){const e=r(3849);_util=function(){return e};return e}function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;if(a&&(a.get||a.set)){Object.defineProperty(n,i,a)}else{n[i]=e[i]}}}n.default=e;if(r){r.set(e,n)}return n}const n=_process().platform==="win32";const s={}.hasOwnProperty;const i=/^([A-Z][a-z\d]*)+$/;const a=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]);const o={};function formatList(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const l=new Map;const c="__node_internal_";let u;o.ERR_INVALID_ARG_TYPE=createError("ERR_INVALID_ARG_TYPE",((e,t,r)=>{_assert()(typeof e==="string","'name' must be a string");if(!Array.isArray(t)){t=[t]}let n="The ";if(e.endsWith(" argument")){n+=`${e} `}else{const t=e.includes(".")?"property":"argument";n+=`"${e}" ${t} `}n+="must be ";const s=[];const o=[];const l=[];for(const e of t){_assert()(typeof e==="string","All expected entries have to be of type string");if(a.has(e)){s.push(e.toLowerCase())}else if(i.exec(e)===null){_assert()(e!=="object",'The value "object" should be written as "Object"');l.push(e)}else{o.push(e)}}if(o.length>0){const e=s.indexOf("object");if(e!==-1){s.slice(e,1);o.push("Object")}}if(s.length>0){n+=`${s.length>1?"one of type":"of type"} ${formatList(s,"or")}`;if(o.length>0||l.length>0)n+=" or "}if(o.length>0){n+=`an instance of ${formatList(o,"or")}`;if(l.length>0)n+=" or "}if(l.length>0){if(l.length>1){n+=`one of ${formatList(l,"or")}`}else{if(l[0].toLowerCase()!==l[0])n+="an ";n+=`${l[0]}`}}n+=`. Received ${determineSpecificType(r)}`;return n}),TypeError);o.ERR_INVALID_MODULE_SPECIFIER=createError("ERR_INVALID_MODULE_SPECIFIER",((e,t,r=undefined)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`),TypeError);o.ERR_INVALID_PACKAGE_CONFIG=createError("ERR_INVALID_PACKAGE_CONFIG",((e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`),Error);o.ERR_INVALID_PACKAGE_TARGET=createError("ERR_INVALID_PACKAGE_TARGET",((e,t,r,n=false,s=undefined)=>{const i=typeof r==="string"&&!n&&r.length>0&&!r.startsWith("./");if(t==="."){_assert()(n===false);return`Invalid "exports" main target ${JSON.stringify(r)} defined `+`in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`}return`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${s?` imported from ${s}`:""}${i?'; targets must start with "./"':""}`}),Error);o.ERR_MODULE_NOT_FOUND=createError("ERR_MODULE_NOT_FOUND",((e,t,r="package")=>`Cannot find ${r} '${e}' imported from ${t}`),Error);o.ERR_NETWORK_IMPORT_DISALLOWED=createError("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);o.ERR_PACKAGE_IMPORT_NOT_DEFINED=createError("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`),TypeError);o.ERR_PACKAGE_PATH_NOT_EXPORTED=createError("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,r=undefined)=>{if(t===".")return`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`;return`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`}),Error);o.ERR_UNSUPPORTED_DIR_IMPORT=createError("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported "+"resolving ES modules imported from %s",Error);o.ERR_UNKNOWN_FILE_EXTENSION=createError("ERR_UNKNOWN_FILE_EXTENSION",((e,t)=>`Unknown file extension "${e}" for ${t}`),TypeError);o.ERR_INVALID_ARG_VALUE=createError("ERR_INVALID_ARG_VALUE",((e,t,r="is invalid")=>{let n=(0,_util().inspect)(t);if(n.length>128){n=`${n.slice(0,128)}...`}const s=e.includes(".")?"property":"argument";return`The ${s} '${e}' ${r}. Received ${n}`}),TypeError);o.ERR_UNSUPPORTED_ESM_URL_SCHEME=createError("ERR_UNSUPPORTED_ESM_URL_SCHEME",((e,t)=>{let r=`Only URLs with a scheme in: ${formatList(t)} are supported by the default ESM loader`;if(n&&e.protocol.length===2){r+=". On Windows, absolute paths must be valid file:// URLs"}r+=`. Received protocol '${e.protocol}'`;return r}),Error);function createError(e,t,r){l.set(e,t);return makeNodeErrorWithCode(r,e)}function makeNodeErrorWithCode(e,t){return NodeError;function NodeError(...r){const n=Error.stackTraceLimit;if(isErrorStackTraceLimitWritable())Error.stackTraceLimit=0;const s=new e;if(isErrorStackTraceLimitWritable())Error.stackTraceLimit=n;const i=getMessage(t,r,s);Object.defineProperties(s,{message:{value:i,enumerable:false,writable:true,configurable:true},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:false,writable:true,configurable:true}});p(s);s.code=t;return s}}function isErrorStackTraceLimitWritable(){try{if(_v().startupSnapshot.isBuildingSnapshot()){return false}}catch(e){}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");if(e===undefined){return Object.isExtensible(Error)}return s.call(e,"writable")&&e.writable!==undefined?e.writable:e.set!==undefined}function hideStackFrames(e){const t=c+e.name;Object.defineProperty(e,"name",{value:t});return e}const p=hideStackFrames((function(e){const t=isErrorStackTraceLimitWritable();if(t){u=Error.stackTraceLimit;Error.stackTraceLimit=Number.POSITIVE_INFINITY}Error.captureStackTrace(e);if(t)Error.stackTraceLimit=u;return e}));function getMessage(e,t,r){const n=l.get(e);_assert()(n!==undefined,"expected `message` to be found");if(typeof n==="function"){_assert()(n.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not `+`match the required ones (${n.length}).`);return Reflect.apply(n,r,t)}const s=/%[dfijoOs]/g;let i=0;while(s.exec(n)!==null)i++;_assert()(i===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not `+`match the required ones (${i}).`);if(t.length===0)return n;t.unshift(n);return Reflect.apply(_util().format,null,t)}function determineSpecificType(e){if(e===null||e===undefined){return String(e)}if(typeof e==="function"&&e.name){return`function ${e.name}`}if(typeof e==="object"){if(e.constructor&&e.constructor.name){return`an instance of ${e.constructor.name}`}return`${(0,_util().inspect)(e,{depth:-1})}`}let t=(0,_util().inspect)(e,{colors:false});if(t.length>28){t=`${t.slice(0,25)}...`}return`type ${typeof e} (${t})`}const f={read:read};var d=f;function read(e){try{const t=_fs().default.readFileSync(_path().toNamespacedPath(_path().join(_path().dirname(e),"package.json")),"utf8");return{string:t}}catch(e){const t=e;if(t.code==="ENOENT"){return{string:undefined}}throw t}}const{ERR_INVALID_PACKAGE_CONFIG:h}=o;const m=new Map;function getPackageConfig(e,t,r){const n=m.get(e);if(n!==undefined){return n}const s=d.read(e).string;if(s===undefined){const t={pjsonPath:e,exists:false,main:undefined,name:undefined,type:"none",exports:undefined,imports:undefined};m.set(e,t);return t}let i;try{i=JSON.parse(s)}catch(n){const s=n;throw new h(e,(r?`"${t}" from `:"")+(0,_url().fileURLToPath)(r||t),s.message)}const{exports:a,imports:o,main:l,name:c,type:u}=i;const p={pjsonPath:e,exists:true,main:typeof l==="string"?l:undefined,name:typeof c==="string"?c:undefined,type:u==="module"||u==="commonjs"?u:"none",exports:a,imports:o&&typeof o==="object"?o:undefined};m.set(e,p);return p}function getPackageScopeConfig(e){let t=new(_url().URL)("package.json",e);while(true){const r=t.pathname;if(r.endsWith("node_modules/package.json"))break;const n=getPackageConfig((0,_url().fileURLToPath)(t),e);if(n.exists)return n;const s=t;t=new(_url().URL)("../package.json",t);if(t.pathname===s.pathname)break}const r=(0,_url().fileURLToPath)(t);const n={pjsonPath:r,exists:false,main:undefined,name:undefined,type:"none",exports:undefined,imports:undefined};m.set(r,n);return n}function getPackageType(e){const t=getPackageScopeConfig(e);return t.type}const{ERR_UNKNOWN_FILE_EXTENSION:y}=o;const g={}.hasOwnProperty;const b={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function mimeToFormat(e){if(e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e))return"module";if(e==="application/json")return"json";return null}const T={__proto__:null,"data:":getDataProtocolModuleFormat,"file:":getFileProtocolModuleFormat,"http:":getHttpProtocolModuleFormat,"https:":getHttpProtocolModuleFormat,"node:"(){return"builtin"}};function getDataProtocolModuleFormat(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return mimeToFormat(t)}function extname(e){const t=e.pathname;let r=t.length;while(r--){const e=t.codePointAt(r);if(e===47){return""}if(e===46){return t.codePointAt(r-1)===47?"":t.slice(r)}}return""}function getFileProtocolModuleFormat(e,t,r){const n=extname(e);if(n===".js"){return getPackageType(e)==="module"?"module":"commonjs"}const s=b[n];if(s)return s;if(r){return undefined}const i=(0,_url().fileURLToPath)(e);throw new y(n,i)}function getHttpProtocolModuleFormat(){}function defaultGetFormatWithoutErrors(e,t){if(!g.call(T,e.protocol)){return null}return T[e.protocol](e,t,true)||null}const{ERR_INVALID_ARG_VALUE:S}=o;const E=Object.freeze(["node","import"]);const x=new Set(E);function getDefaultConditions(){return E}function getDefaultConditionsSet(){return x}function getConditionsSet(e){if(e!==undefined&&e!==getDefaultConditions()){if(!Array.isArray(e)){throw new S("conditions",e,"expected an array")}return new Set(e)}return getDefaultConditionsSet()}const v=RegExp.prototype[Symbol.replace];const P=false;const{ERR_NETWORK_IMPORT_DISALLOWED:A,ERR_INVALID_MODULE_SPECIFIER:w,ERR_INVALID_PACKAGE_CONFIG:C,ERR_INVALID_PACKAGE_TARGET:I,ERR_MODULE_NOT_FOUND:O,ERR_PACKAGE_IMPORT_NOT_DEFINED:k,ERR_PACKAGE_PATH_NOT_EXPORTED:N,ERR_UNSUPPORTED_DIR_IMPORT:_,ERR_UNSUPPORTED_ESM_URL_SCHEME:D}=o;const M={}.hasOwnProperty;const L=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i;const j=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i;const F=/^\.|%|\\/;const B=/\*/g;const R=/%2f|%5c/i;const U=new Set;const V=/[/\\]{2}/;function emitInvalidSegmentDeprecation(e,t,r,n,s,i,a){const o=(0,_url().fileURLToPath)(n);const l=V.exec(a?e:t)!==null;_process().emitWarning(`Use of deprecated ${l?"double slash":"leading or trailing slash matching"} resolving "${e}" for module `+`request "${t}" ${t===r?"":`matched to "${r}" `}in the "${s?"imports":"exports"}" field module resolution of the package at ${o}${i?` imported from ${(0,_url().fileURLToPath)(i)}`:""}.`,"DeprecationWarning","DEP0166")}function emitLegacyIndexDeprecation(e,t,r,n){const s=defaultGetFormatWithoutErrors(e,{parentURL:r.href});if(s!=="module")return;const i=(0,_url().fileURLToPath)(e.href);const a=(0,_url().fileURLToPath)(new(_url().URL)(".",t));const o=(0,_url().fileURLToPath)(r);if(n)_process().emitWarning(`Package ${a} has a "main" field set to ${JSON.stringify(n)}, `+`excluding the full filename and extension to the resolved file at "${i.slice(a.length)}", imported from ${o}.\n Automatic extension resolution of the "main" field is`+"deprecated for ES modules.","DeprecationWarning","DEP0151");else _process().emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${i.slice(a.length)}", imported from ${o}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function tryStatSync(e){try{return(0,_fs().statSync)(e)}catch(e){return new(_fs().Stats)}}function fileExists(e){const t=(0,_fs().statSync)(e,{throwIfNoEntry:false});const r=t?t.isFile():undefined;return r===null||r===undefined?false:r}function legacyMainResolve(e,t,r){let n;if(t.main!==undefined){n=new(_url().URL)(t.main,e);if(fileExists(n))return n;const s=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let i=-1;while(++i<s.length){n=new(_url().URL)(s[i],e);if(fileExists(n))break;n=undefined}if(n){emitLegacyIndexDeprecation(n,e,r,t.main);return n}}const s=["./index.js","./index.json","./index.node"];let i=-1;while(++i<s.length){n=new(_url().URL)(s[i],e);if(fileExists(n))break;n=undefined}if(n){emitLegacyIndexDeprecation(n,e,r,t.main);return n}throw new O((0,_url().fileURLToPath)(new(_url().URL)(".",e)),(0,_url().fileURLToPath)(r))}function finalizeResolution(e,t,r){if(R.exec(e.pathname)!==null)throw new w(e.pathname,'must not include encoded "/" or "\\" characters',(0,_url().fileURLToPath)(t));const n=(0,_url().fileURLToPath)(e);const s=tryStatSync(n.endsWith("/")?n.slice(-1):n);if(s.isDirectory()){const r=new _(n,(0,_url().fileURLToPath)(t));r.url=String(e);throw r}if(!s.isFile()){throw new O(n||e.pathname,t&&(0,_url().fileURLToPath)(t),"module")}if(!r){const t=(0,_fs().realpathSync)(n);const{search:r,hash:s}=e;e=(0,_url().pathToFileURL)(t+(n.endsWith(_path().sep)?"/":""));e.search=r;e.hash=s}return e}function importNotDefined(e,t,r){return new k(e,t&&(0,_url().fileURLToPath)(new(_url().URL)(".",t)),(0,_url().fileURLToPath)(r))}function exportsNotFound(e,t,r){return new N((0,_url().fileURLToPath)(new(_url().URL)(".",t)),e,r&&(0,_url().fileURLToPath)(r))}function throwInvalidSubpath(e,t,r,n,s){const i=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${(0,_url().fileURLToPath)(r)}`;throw new w(e,i,s&&(0,_url().fileURLToPath)(s))}function invalidPackageTarget(e,t,r,n,s){t=typeof t==="object"&&t!==null?JSON.stringify(t,null,""):`${t}`;return new I((0,_url().fileURLToPath)(new(_url().URL)(".",r)),e,t,n,s&&(0,_url().fileURLToPath)(s))}function resolvePackageTargetString(e,t,r,n,s,i,a,o,l){if(t!==""&&!i&&e[e.length-1]!=="/")throw invalidPackageTarget(r,e,n,a,s);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let r=false;try{new(_url().URL)(e);r=true}catch(e){}if(!r){const r=i?v.call(B,e,(()=>t)):e+t;return packageResolve(r,n,l)}}throw invalidPackageTarget(r,e,n,a,s)}if(L.exec(e.slice(2))!==null){if(j.exec(e.slice(2))===null){if(!o){const o=i?r.replace("*",(()=>t)):r+t;const l=i?v.call(B,e,(()=>t)):e;emitInvalidSegmentDeprecation(l,o,r,n,a,s,true)}}else{throw invalidPackageTarget(r,e,n,a,s)}}const c=new(_url().URL)(e,n);const u=c.pathname;const p=new(_url().URL)(".",n).pathname;if(!u.startsWith(p))throw invalidPackageTarget(r,e,n,a,s);if(t==="")return c;if(L.exec(t)!==null){const l=i?r.replace("*",(()=>t)):r+t;if(j.exec(t)===null){if(!o){const o=i?v.call(B,e,(()=>t)):e;emitInvalidSegmentDeprecation(o,l,r,n,a,s,false)}}else{throwInvalidSubpath(l,r,n,a,s)}}if(i){return new(_url().URL)(v.call(B,c.href,(()=>t)))}return new(_url().URL)(t,c)}function isArrayIndex(e){const t=Number(e);if(`${t}`!==e)return false;return t>=0&&t<4294967295}function resolvePackageTarget(e,t,r,n,s,i,a,o,l){if(typeof t==="string"){return resolvePackageTargetString(t,r,n,e,s,i,a,o,l)}if(Array.isArray(t)){const c=t;if(c.length===0)return null;let u;let p=-1;while(++p<c.length){const t=c[p];let f;try{f=resolvePackageTarget(e,t,r,n,s,i,a,o,l)}catch(e){const t=e;u=t;if(t.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw e}if(f===undefined)continue;if(f===null){u=null;continue}return f}if(u===undefined||u===null){return null}throw u}if(typeof t==="object"&&t!==null){const c=Object.getOwnPropertyNames(t);let u=-1;while(++u<c.length){const t=c[u];if(isArrayIndex(t)){throw new C((0,_url().fileURLToPath)(e),s,'"exports" cannot contain numeric property keys.')}}u=-1;while(++u<c.length){const p=c[u];if(p==="default"||l&&l.has(p)){const c=t[p];const u=resolvePackageTarget(e,c,r,n,s,i,a,o,l);if(u===undefined)continue;return u}}return null}if(t===null){return null}throw invalidPackageTarget(n,t,e,a,s)}function isConditionalExportsMainSugar(e,t,r){if(typeof e==="string"||Array.isArray(e))return true;if(typeof e!=="object"||e===null)return false;const n=Object.getOwnPropertyNames(e);let s=false;let i=0;let a=-1;while(++a<n.length){const e=n[a];const o=e===""||e[0]!==".";if(i++===0){s=o}else if(s!==o){throw new C((0,_url().fileURLToPath)(t),r,"\"exports\" cannot contain some keys starting with '.' and some not."+" The exports object must either be an object of package subpath keys"+" or an object of main entry condition name keys only.")}}return s}function emitTrailingSlashPatternDeprecation(e,t,r){const n=(0,_url().fileURLToPath)(t);if(U.has(n+"|"+e))return;U.add(n+"|"+e);_process().emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the `+`"exports" field module resolution of the package at ${n}${r?` imported from ${(0,_url().fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155")}function packageExportsResolve(e,t,r,n,s){let i=r.exports;if(isConditionalExportsMainSugar(i,e,n)){i={".":i}}if(M.call(i,t)&&!t.includes("*")&&!t.endsWith("/")){const r=i[t];const a=resolvePackageTarget(e,r,"",t,n,false,false,false,s);if(a===null||a===undefined){throw exportsNotFound(t,e,n)}return a}let a="";let o="";const l=Object.getOwnPropertyNames(i);let c=-1;while(++c<l.length){const r=l[c];const s=r.indexOf("*");if(s!==-1&&t.startsWith(r.slice(0,s))){if(t.endsWith("/")){emitTrailingSlashPatternDeprecation(t,e,n)}const i=r.slice(s+1);if(t.length>=r.length&&t.endsWith(i)&&patternKeyCompare(a,r)===1&&r.lastIndexOf("*")===s){a=r;o=t.slice(s,t.length-i.length)}}}if(a){const r=i[a];const l=resolvePackageTarget(e,r,o,a,n,true,false,t.endsWith("/"),s);if(l===null||l===undefined){throw exportsNotFound(t,e,n)}return l}throw exportsNotFound(t,e,n)}function patternKeyCompare(e,t){const r=e.indexOf("*");const n=t.indexOf("*");const s=r===-1?e.length:r+1;const i=n===-1?t.length:n+1;if(s>i)return-1;if(i>s)return 1;if(r===-1)return 1;if(n===-1)return-1;if(e.length>t.length)return-1;if(t.length>e.length)return 1;return 0}function packageImportsResolve(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){const r="is not a valid internal imports specifier name";throw new w(e,r,(0,_url().fileURLToPath)(t))}let n;const s=getPackageScopeConfig(t);if(s.exists){n=(0,_url().pathToFileURL)(s.pjsonPath);const i=s.imports;if(i){if(M.call(i,e)&&!e.includes("*")){const s=resolvePackageTarget(n,i[e],"",e,t,false,true,false,r);if(s!==null&&s!==undefined){return s}}else{let s="";let a="";const o=Object.getOwnPropertyNames(i);let l=-1;while(++l<o.length){const t=o[l];const r=t.indexOf("*");if(r!==-1&&e.startsWith(t.slice(0,-1))){const n=t.slice(r+1);if(e.length>=t.length&&e.endsWith(n)&&patternKeyCompare(s,t)===1&&t.lastIndexOf("*")===r){s=t;a=e.slice(r,e.length-n.length)}}}if(s){const e=i[s];const o=resolvePackageTarget(n,e,a,s,t,true,true,false,r);if(o!==null&&o!==undefined){return o}}}}}throw importNotDefined(e,n,t)}function parsePackageName(e,t){let r=e.indexOf("/");let n=true;let s=false;if(e[0]==="@"){s=true;if(r===-1||e.length===0){n=false}else{r=e.indexOf("/",r+1)}}const i=r===-1?e:e.slice(0,r);if(F.exec(i)!==null){n=false}if(!n){throw new w(e,"is not a valid package name",(0,_url().fileURLToPath)(t))}const a="."+(r===-1?"":e.slice(r));return{packageName:i,packageSubpath:a,isScoped:s}}function packageResolve(e,t,r){if(_module().builtinModules.includes(e)){return new(_url().URL)("node:"+e)}const{packageName:n,packageSubpath:s,isScoped:i}=parsePackageName(e,t);const a=getPackageScopeConfig(t);if(a.exists){const e=(0,_url().pathToFileURL)(a.pjsonPath);if(a.name===n&&a.exports!==undefined&&a.exports!==null){return packageExportsResolve(e,s,a,t,r)}}let o=new(_url().URL)("./node_modules/"+n+"/package.json",t);let l=(0,_url().fileURLToPath)(o);let c;do{const a=tryStatSync(l.slice(0,-13));if(!a.isDirectory()){c=l;o=new(_url().URL)((i?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",o);l=(0,_url().fileURLToPath)(o);continue}const u=getPackageConfig(l,e,t);if(u.exports!==undefined&&u.exports!==null){return packageExportsResolve(o,s,u,t,r)}if(s==="."){return legacyMainResolve(o,u,t)}return new(_url().URL)(s,o)}while(l.length!==c.length);throw new O(n,(0,_url().fileURLToPath)(t))}function isRelativeSpecifier(e){if(e[0]==="."){if(e.length===1||e[1]==="/")return true;if(e[1]==="."&&(e.length===2||e[2]==="/")){return true}}return false}function shouldBeTreatedAsRelativeOrAbsolutePath(e){if(e==="")return false;if(e[0]==="/")return true;return isRelativeSpecifier(e)}function moduleResolve(e,t,r,n){const s=t.protocol;const i=s==="http:"||s==="https:";let a;if(shouldBeTreatedAsRelativeOrAbsolutePath(e)){a=new(_url().URL)(e,t)}else if(!i&&e[0]==="#"){a=packageImportsResolve(e,t,r)}else{try{a=new(_url().URL)(e)}catch(n){if(!i){a=packageResolve(e,t,r)}}}_assert()(a!==undefined,"expected to be defined");if(a.protocol!=="file:"){return a}return finalizeResolution(a,t,n)}function checkIfDisallowedImport(e,t,r){if(r){const n=r.protocol;if(n==="http:"||n==="https:"){if(shouldBeTreatedAsRelativeOrAbsolutePath(e)){const n=t==null?void 0:t.protocol;if(n&&n!=="https:"&&n!=="http:"){throw new A(e,r,"remote imports cannot import from a local location.")}return{url:(t==null?void 0:t.href)||""}}if(_module().builtinModules.includes(e)){throw new A(e,r,"remote imports cannot import from a local location.")}throw new A(e,r,"only relative and absolute specifiers are supported.")}}}function isURL(e){return Boolean(e&&typeof e==="object"&&"href"in e&&typeof e.href==="string"&&"protocol"in e&&typeof e.protocol==="string"&&e.href&&e.protocol)}function throwIfInvalidParentURL(e){if(e===undefined){return}if(typeof e!=="string"&&!isURL(e)){throw new o.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}}function throwIfUnsupportedURLProtocol(e){const t=e.protocol;if(t!=="file:"&&t!=="data:"&&t!=="node:"){throw new D(e)}}function throwIfUnsupportedURLScheme(e,t){const r=e==null?void 0:e.protocol;if(r&&r!=="file:"&&r!=="data:"&&(!t||r!=="https:"&&r!=="http:")){throw new D(e,["file","data"].concat(t?["https","http"]:[]))}}function defaultResolve(e,t={}){const{parentURL:r}=t;_assert()(r!==undefined,"expected `parentURL` to be defined");throwIfInvalidParentURL(r);let n;if(r){try{n=new(_url().URL)(r)}catch(e){}}let s;try{s=shouldBeTreatedAsRelativeOrAbsolutePath(e)?new(_url().URL)(e,n):new(_url().URL)(e);const t=s.protocol;if(t==="data:"||P&&(t==="https:"||t==="http:")){return{url:s.href,format:null}}}catch(e){}const i=checkIfDisallowedImport(e,s,n);if(i)return i;if(s&&s.protocol==="node:")return{url:e};throwIfUnsupportedURLScheme(s,P);const a=getConditionsSet(t.conditions);const o=moduleResolve(e,new(_url().URL)(r),a,false);throwIfUnsupportedURLProtocol(o);return{url:o.href,format:defaultGetFormatWithoutErrors(o,{parentURL:r})}}function resolve(e,t){if(!t){throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that")}try{return defaultResolve(e,{parentURL:t}).url}catch(e){const t=e;if(t.code==="ERR_UNSUPPORTED_DIR_IMPORT"&&typeof t.url==="string"){return t.url}throw e}}0&&0},9531:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Buffer{constructor(e){this._map=null;this._buf="";this._str="";this._appendCount=0;this._last=0;this._queue=[];this._queueCursor=0;this._canMarkIdName=true;this._position={line:1,column:0};this._sourcePosition={identifierName:undefined,identifierNamePos:undefined,line:undefined,column:undefined,filename:undefined};this._map=e;this._allocQueue()}_allocQueue(){const e=this._queue;for(let t=0;t<16;t++){e.push({char:0,repeat:1,line:undefined,column:undefined,identifierName:undefined,identifierNamePos:undefined,filename:""})}}_pushQueue(e,t,r,n,s){const i=this._queueCursor;if(i===this._queue.length){this._allocQueue()}const a=this._queue[i];a.char=e;a.repeat=t;a.line=r;a.column=n;a.filename=s;this._queueCursor++}_popQueue(){if(this._queueCursor===0){throw new Error("Cannot pop from empty queue")}return this._queue[--this._queueCursor]}get(){this._flush();const e=this._map;const t={code:(this._buf+this._str).trimRight(),decodedMap:e==null?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){const r=e?e.get():null;t.map=r;return r},set map(e){Object.defineProperty(t,"map",{value:e,writable:true})},get rawMappings(){const r=e==null?void 0:e.getRawMappings();t.rawMappings=r;return r},set rawMappings(e){Object.defineProperty(t,"rawMappings",{value:e,writable:true})}};return t}append(e,t){this._flush();this._append(e,this._sourcePosition,t)}appendChar(e){this._flush();this._appendChar(e,1,this._sourcePosition)}queue(e){if(e===10){while(this._queueCursor!==0){const e=this._queue[this._queueCursor-1].char;if(e!==32&&e!==9){break}this._queueCursor--}}const t=this._sourcePosition;this._pushQueue(e,1,t.line,t.column,t.filename)}queueIndentation(e,t){this._pushQueue(e,t,undefined,undefined,undefined)}_flush(){const e=this._queueCursor;const t=this._queue;for(let r=0;r<e;r++){const e=t[r];this._appendChar(e.char,e.repeat,e)}this._queueCursor=0}_appendChar(e,t,r){this._last=e;this._str+=t>1?String.fromCharCode(e).repeat(t):String.fromCharCode(e);if(e!==10){this._mark(r.line,r.column,r.identifierName,r.identifierNamePos,r.filename);this._position.column+=t}else{this._position.line++;this._position.column=0}if(this._canMarkIdName){r.identifierName=undefined;r.identifierNamePos=undefined}}_append(e,t,r){const n=e.length;const s=this._position;this._last=e.charCodeAt(n-1);if(++this._appendCount>4096){+this._str;this._buf+=this._str;this._str=e;this._appendCount=0}else{this._str+=e}if(!r&&!this._map){s.column+=n;return}const{column:i,identifierName:a,identifierNamePos:o,filename:l}=t;let c=t.line;if((a!=null||o!=null)&&this._canMarkIdName){t.identifierName=undefined;t.identifierNamePos=undefined}let u=e.indexOf("\n");let p=0;if(u!==0){this._mark(c,i,a,o,l)}while(u!==-1){s.line++;s.column=0;p=u+1;if(p<n&&c!==undefined){this._mark(++c,0,null,null,l)}u=e.indexOf("\n",p)}s.column+=n-p}_mark(e,t,r,n,s){var i;(i=this._map)==null?void 0:i.mark(this._position,e,t,r,n,s)}removeTrailingNewline(){const e=this._queueCursor;if(e!==0&&this._queue[e-1].char===10){this._queueCursor--}}removeLastSemicolon(){const e=this._queueCursor;if(e!==0&&this._queue[e-1].char===59){this._queueCursor--}}getLastChar(){const e=this._queueCursor;return e!==0?this._queue[e-1].char:this._last}getNewlineCount(){const e=this._queueCursor;let t=0;if(e===0)return this._last===10?1:0;for(let r=e-1;r>=0;r--){if(this._queue[r].char!==10){break}t++}return t===e&&this._last===10?t+1:t}endsWithCharAndNewline(){const e=this._queue;const t=this._queueCursor;if(t!==0){const r=e[t-1].char;if(r!==10)return;if(t>1){return e[t-2].char}else{return this._last}}}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(e,t){if(!this._map){t();return}this.source("start",e);const r=e.identifierName;const n=this._sourcePosition;if(r){this._canMarkIdName=false;n.identifierName=r}t();if(r){this._canMarkIdName=true;n.identifierName=undefined;n.identifierNamePos=undefined}this.source("end",e)}source(e,t){if(!this._map)return;this._normalizePosition(e,t,0,0)}sourceWithOffset(e,t,r,n){if(!this._map)return;this._normalizePosition(e,t,r,n)}withSource(e,t,r){if(this._map){this.source(e,t)}r()}_normalizePosition(e,t,r,n){const s=t[e];const i=this._sourcePosition;if(s){i.line=s.line+r;i.column=s.column+n;i.filename=t.filename}}getCurrentColumn(){const e=this._queue;const t=this._queueCursor;let r=-1;let n=0;for(let s=0;s<t;s++){const t=e[s];if(t.char===10){r=n}n+=t.repeat}return r===-1?this._position.column+n:n-1-r}getCurrentLine(){let e=0;const t=this._queue;for(let r=0;r<this._queueCursor;r++){if(t[r].char===10){e++}}return this._position.line+e}}t["default"]=Buffer},3987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BlockStatement=BlockStatement;t.Directive=Directive;t.DirectiveLiteral=DirectiveLiteral;t.File=File;t.InterpreterDirective=InterpreterDirective;t.Placeholder=Placeholder;t.Program=Program;function File(e){if(e.program){this.print(e.program.interpreter,e)}this.print(e.program,e)}function Program(e){var t;this.noIndentInnerCommentsHere();this.printInnerComments();const r=(t=e.directives)==null?void 0:t.length;if(r){var n;const t=e.body.length?2:1;this.printSequence(e.directives,e,{trailingCommentsLineOffset:t});if(!((n=e.directives[r-1].trailingComments)!=null&&n.length)){this.newline(t)}}this.printSequence(e.body,e)}function BlockStatement(e){var t;this.tokenChar(123);const r=(t=e.directives)==null?void 0:t.length;if(r){var n;const t=e.body.length?2:1;this.printSequence(e.directives,e,{indent:true,trailingCommentsLineOffset:t});if(!((n=e.directives[r-1].trailingComments)!=null&&n.length)){this.newline(t)}}this.printSequence(e.body,e,{indent:true});this.rightBrace(e)}function Directive(e){this.print(e.value,e);this.semicolon()}const r=/(?:^|[^\\])(?:\\\\)*'/;const n=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!==undefined){this.token(t);return}const{value:s}=e;if(!n.test(s)){this.token(`"${s}"`)}else if(!r.test(s)){this.token(`'${s}'`)}else{throw new Error("Malformed AST: it is not possible to print a directive containing"+" both unescaped single and double quotes.")}}function InterpreterDirective(e){this.token(`#!${e.value}`);this.newline(1,true)}function Placeholder(e){this.token("%%");this.print(e.name);this.token("%%");if(e.expectedNode==="Statement"){this.semicolon()}}},5103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ClassAccessorProperty=ClassAccessorProperty;t.ClassBody=ClassBody;t.ClassExpression=t.ClassDeclaration=ClassDeclaration;t.ClassMethod=ClassMethod;t.ClassPrivateMethod=ClassPrivateMethod;t.ClassPrivateProperty=ClassPrivateProperty;t.ClassProperty=ClassProperty;t.StaticBlock=StaticBlock;t._classMethodHead=_classMethodHead;var n=r(776);const{isExportDefaultDeclaration:s,isExportNamedDeclaration:i}=n;function ClassDeclaration(e,t){const r=s(t)||i(t);if(!r||!this._shouldPrintDecoratorsBeforeExport(t)){this.printJoin(e.decorators,e)}if(e.declare){this.word("declare");this.space()}if(e.abstract){this.word("abstract");this.space()}this.word("class");if(e.id){this.space();this.print(e.id,e)}this.print(e.typeParameters,e);if(e.superClass){this.space();this.word("extends");this.space();this.print(e.superClass,e);this.print(e.superTypeParameters,e)}if(e.implements){this.space();this.word("implements");this.space();this.printList(e.implements,e)}this.space();this.print(e.body,e)}function ClassBody(e){this.tokenChar(123);if(e.body.length===0){this.tokenChar(125)}else{this.newline();this.printSequence(e.body,e,{indent:true});if(!this.endsWith(10))this.newline();this.rightBrace(e)}}function ClassProperty(e){var t,r;this.printJoin(e.decorators,e);const n=(t=e.key.loc)==null?void 0:(r=t.end)==null?void 0:r.line;if(n)this.catchUp(n);this.tsPrintClassMemberModifiers(e);if(e.computed){this.tokenChar(91);this.print(e.key,e);this.tokenChar(93)}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.tokenChar(63)}if(e.definite){this.tokenChar(33)}this.print(e.typeAnnotation,e);if(e.value){this.space();this.tokenChar(61);this.space();this.print(e.value,e)}this.semicolon()}function ClassAccessorProperty(e){var t,r;this.printJoin(e.decorators,e);const n=(t=e.key.loc)==null?void 0:(r=t.end)==null?void 0:r.line;if(n)this.catchUp(n);this.tsPrintClassMemberModifiers(e);this.word("accessor",true);this.space();if(e.computed){this.tokenChar(91);this.print(e.key,e);this.tokenChar(93)}else{this._variance(e);this.print(e.key,e)}if(e.optional){this.tokenChar(63)}if(e.definite){this.tokenChar(33)}this.print(e.typeAnnotation,e);if(e.value){this.space();this.tokenChar(61);this.space();this.print(e.value,e)}this.semicolon()}function ClassPrivateProperty(e){this.printJoin(e.decorators,e);if(e.static){this.word("static");this.space()}this.print(e.key,e);this.print(e.typeAnnotation,e);if(e.value){this.space();this.tokenChar(61);this.space();this.print(e.value,e)}this.semicolon()}function ClassMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function ClassPrivateMethod(e){this._classMethodHead(e);this.space();this.print(e.body,e)}function _classMethodHead(e){var t,r;this.printJoin(e.decorators,e);const n=(t=e.key.loc)==null?void 0:(r=t.end)==null?void 0:r.line;if(n)this.catchUp(n);this.tsPrintClassMemberModifiers(e);this._methodHead(e)}function StaticBlock(e){this.word("static");this.space();this.tokenChar(123);if(e.body.length===0){this.tokenChar(125)}else{this.newline();this.printSequence(e.body,e,{indent:true});this.rightBrace(e)}}},9978:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=AssignmentExpression;t.AssignmentPattern=AssignmentPattern;t.AwaitExpression=AwaitExpression;t.BindExpression=BindExpression;t.CallExpression=CallExpression;t.ConditionalExpression=ConditionalExpression;t.Decorator=Decorator;t.DoExpression=DoExpression;t.EmptyStatement=EmptyStatement;t.ExpressionStatement=ExpressionStatement;t.Import=Import;t.MemberExpression=MemberExpression;t.MetaProperty=MetaProperty;t.ModuleExpression=ModuleExpression;t.NewExpression=NewExpression;t.OptionalCallExpression=OptionalCallExpression;t.OptionalMemberExpression=OptionalMemberExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.PrivateName=PrivateName;t.SequenceExpression=SequenceExpression;t.Super=Super;t.ThisExpression=ThisExpression;t.UnaryExpression=UnaryExpression;t.UpdateExpression=UpdateExpression;t.V8IntrinsicIdentifier=V8IntrinsicIdentifier;t.YieldExpression=YieldExpression;t._shouldPrintDecoratorsBeforeExport=_shouldPrintDecoratorsBeforeExport;var n=r(776);var s=r(9939);const{isCallExpression:i,isLiteral:a,isMemberExpression:o,isNewExpression:l}=n;function UnaryExpression(e){const{operator:t}=e;if(t==="void"||t==="delete"||t==="typeof"||t==="throw"){this.word(t);this.space()}else{this.token(t)}this.print(e.argument,e)}function DoExpression(e){if(e.async){this.word("async",true);this.space()}this.word("do");this.space();this.print(e.body,e)}function ParenthesizedExpression(e){this.tokenChar(40);this.print(e.expression,e);this.rightParens(e)}function UpdateExpression(e){if(e.prefix){this.token(e.operator);this.print(e.argument,e)}else{this.printTerminatorless(e.argument,e,true);this.token(e.operator)}}function ConditionalExpression(e){this.print(e.test,e);this.space();this.tokenChar(63);this.space();this.print(e.consequent,e);this.space();this.tokenChar(58);this.space();this.print(e.alternate,e)}function NewExpression(e,t){this.word("new");this.space();this.print(e.callee,e);if(this.format.minified&&e.arguments.length===0&&!e.optional&&!i(t,{callee:e})&&!o(t)&&!l(t)){return}this.print(e.typeArguments,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.tokenChar(40);this.printList(e.arguments,e);this.rightParens(e)}function SequenceExpression(e){this.printList(e.expressions,e)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function isDecoratorMemberExpression(e){switch(e.type){case"Identifier":return true;case"MemberExpression":return!e.computed&&e.property.type==="Identifier"&&isDecoratorMemberExpression(e.object);default:return false}}function shouldParenthesizeDecoratorExpression(e){if(e.type==="ParenthesizedExpression"){return false}return!isDecoratorMemberExpression(e.type==="CallExpression"?e.callee:e)}function _shouldPrintDecoratorsBeforeExport(e){if(typeof this.format.decoratorsBeforeExport==="boolean"){return this.format.decoratorsBeforeExport}return typeof e.start==="number"&&e.start===e.declaration.start}function Decorator(e){this.tokenChar(64);const{expression:t}=e;if(shouldParenthesizeDecoratorExpression(t)){this.tokenChar(40);this.print(t,e);this.tokenChar(41)}else{this.print(t,e)}this.newline()}function OptionalMemberExpression(e){let{computed:t}=e;const{optional:r,property:n}=e;this.print(e.object,e);if(!t&&o(n)){throw new TypeError("Got a MemberExpression for MemberExpression property")}if(a(n)&&typeof n.value==="number"){t=true}if(r){this.token("?.")}if(t){this.tokenChar(91);this.print(n,e);this.tokenChar(93)}else{if(!r){this.tokenChar(46)}this.print(n,e)}}function OptionalCallExpression(e){this.print(e.callee,e);this.print(e.typeParameters,e);if(e.optional){this.token("?.")}this.print(e.typeArguments,e);this.tokenChar(40);this.printList(e.arguments,e);this.rightParens(e)}function CallExpression(e){this.print(e.callee,e);this.print(e.typeArguments,e);this.print(e.typeParameters,e);this.tokenChar(40);this.printList(e.arguments,e);this.rightParens(e)}function Import(){this.word("import")}function AwaitExpression(e){this.word("await");if(e.argument){this.space();this.printTerminatorless(e.argument,e,false)}}function YieldExpression(e){this.word("yield",true);if(e.delegate){this.tokenChar(42);if(e.argument){this.space();this.print(e.argument,e)}}else{if(e.argument){this.space();this.printTerminatorless(e.argument,e,false)}}}function EmptyStatement(){this.semicolon(true)}function ExpressionStatement(e){this.print(e.expression,e);this.semicolon()}function AssignmentPattern(e){this.print(e.left,e);if(e.left.optional)this.tokenChar(63);this.print(e.left.typeAnnotation,e);this.space();this.tokenChar(61);this.space();this.print(e.right,e)}function AssignmentExpression(e,t){const r=this.inForStatementInitCounter&&e.operator==="in"&&!s.needsParens(e,t);if(r){this.tokenChar(40)}this.print(e.left,e);this.space();if(e.operator==="in"||e.operator==="instanceof"){this.word(e.operator)}else{this.token(e.operator)}this.space();this.print(e.right,e);if(r){this.tokenChar(41)}}function BindExpression(e){this.print(e.object,e);this.token("::");this.print(e.callee,e)}function MemberExpression(e){this.print(e.object,e);if(!e.computed&&o(e.property)){throw new TypeError("Got a MemberExpression for MemberExpression property")}let t=e.computed;if(a(e.property)&&typeof e.property.value==="number"){t=true}if(t){this.tokenChar(91);this.print(e.property,e);this.tokenChar(93)}else{this.tokenChar(46);this.print(e.property,e)}}function MetaProperty(e){this.print(e.meta,e);this.tokenChar(46);this.print(e.property,e)}function PrivateName(e){this.tokenChar(35);this.print(e.id,e)}function V8IntrinsicIdentifier(e){this.tokenChar(37);this.word(e.name)}function ModuleExpression(e){this.word("module",true);this.space();this.tokenChar(123);this.indent();const{body:t}=e;if(t.body.length||t.directives.length){this.newline()}this.print(t,e);this.dedent();this.rightBrace(e)}},7138:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AnyTypeAnnotation=AnyTypeAnnotation;t.ArrayTypeAnnotation=ArrayTypeAnnotation;t.BooleanLiteralTypeAnnotation=BooleanLiteralTypeAnnotation;t.BooleanTypeAnnotation=BooleanTypeAnnotation;t.DeclareClass=DeclareClass;t.DeclareExportAllDeclaration=DeclareExportAllDeclaration;t.DeclareExportDeclaration=DeclareExportDeclaration;t.DeclareFunction=DeclareFunction;t.DeclareInterface=DeclareInterface;t.DeclareModule=DeclareModule;t.DeclareModuleExports=DeclareModuleExports;t.DeclareOpaqueType=DeclareOpaqueType;t.DeclareTypeAlias=DeclareTypeAlias;t.DeclareVariable=DeclareVariable;t.DeclaredPredicate=DeclaredPredicate;t.EmptyTypeAnnotation=EmptyTypeAnnotation;t.EnumBooleanBody=EnumBooleanBody;t.EnumBooleanMember=EnumBooleanMember;t.EnumDeclaration=EnumDeclaration;t.EnumDefaultedMember=EnumDefaultedMember;t.EnumNumberBody=EnumNumberBody;t.EnumNumberMember=EnumNumberMember;t.EnumStringBody=EnumStringBody;t.EnumStringMember=EnumStringMember;t.EnumSymbolBody=EnumSymbolBody;t.ExistsTypeAnnotation=ExistsTypeAnnotation;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.FunctionTypeParam=FunctionTypeParam;t.IndexedAccessType=IndexedAccessType;t.InferredPredicate=InferredPredicate;t.InterfaceDeclaration=InterfaceDeclaration;t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=InterfaceExtends;t.InterfaceTypeAnnotation=InterfaceTypeAnnotation;t.IntersectionTypeAnnotation=IntersectionTypeAnnotation;t.MixedTypeAnnotation=MixedTypeAnnotation;t.NullLiteralTypeAnnotation=NullLiteralTypeAnnotation;t.NullableTypeAnnotation=NullableTypeAnnotation;Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return i.NumericLiteral}});t.NumberTypeAnnotation=NumberTypeAnnotation;t.ObjectTypeAnnotation=ObjectTypeAnnotation;t.ObjectTypeCallProperty=ObjectTypeCallProperty;t.ObjectTypeIndexer=ObjectTypeIndexer;t.ObjectTypeInternalSlot=ObjectTypeInternalSlot;t.ObjectTypeProperty=ObjectTypeProperty;t.ObjectTypeSpreadProperty=ObjectTypeSpreadProperty;t.OpaqueType=OpaqueType;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.QualifiedTypeIdentifier=QualifiedTypeIdentifier;Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return i.StringLiteral}});t.StringTypeAnnotation=StringTypeAnnotation;t.SymbolTypeAnnotation=SymbolTypeAnnotation;t.ThisTypeAnnotation=ThisTypeAnnotation;t.TupleTypeAnnotation=TupleTypeAnnotation;t.TypeAlias=TypeAlias;t.TypeAnnotation=TypeAnnotation;t.TypeCastExpression=TypeCastExpression;t.TypeParameter=TypeParameter;t.TypeParameterDeclaration=t.TypeParameterInstantiation=TypeParameterInstantiation;t.TypeofTypeAnnotation=TypeofTypeAnnotation;t.UnionTypeAnnotation=UnionTypeAnnotation;t.Variance=Variance;t.VoidTypeAnnotation=VoidTypeAnnotation;t._interfaceish=_interfaceish;t._variance=_variance;var n=r(776);var s=r(7104);var i=r(5973);const{isDeclareExportDeclaration:a,isStatement:o}=n;function AnyTypeAnnotation(){this.word("any")}function ArrayTypeAnnotation(e){this.print(e.elementType,e,true);this.tokenChar(91);this.tokenChar(93)}function BooleanTypeAnnotation(){this.word("boolean")}function BooleanLiteralTypeAnnotation(e){this.word(e.value?"true":"false")}function NullLiteralTypeAnnotation(){this.word("null")}function DeclareClass(e,t){if(!a(t)){this.word("declare");this.space()}this.word("class");this.space();this._interfaceish(e)}function DeclareFunction(e,t){if(!a(t)){this.word("declare");this.space()}this.word("function");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation.typeAnnotation,e);if(e.predicate){this.space();this.print(e.predicate,e)}this.semicolon()}function InferredPredicate(){this.tokenChar(37);this.word("checks")}function DeclaredPredicate(e){this.tokenChar(37);this.word("checks");this.tokenChar(40);this.print(e.value,e);this.tokenChar(41)}function DeclareInterface(e){this.word("declare");this.space();this.InterfaceDeclaration(e)}function DeclareModule(e){this.word("declare");this.space();this.word("module");this.space();this.print(e.id,e);this.space();this.print(e.body,e)}function DeclareModuleExports(e){this.word("declare");this.space();this.word("module");this.tokenChar(46);this.word("exports");this.print(e.typeAnnotation,e)}function DeclareTypeAlias(e){this.word("declare");this.space();this.TypeAlias(e)}function DeclareOpaqueType(e,t){if(!a(t)){this.word("declare");this.space()}this.OpaqueType(e)}function DeclareVariable(e,t){if(!a(t)){this.word("declare");this.space()}this.word("var");this.space();this.print(e.id,e);this.print(e.id.typeAnnotation,e);this.semicolon()}function DeclareExportDeclaration(e){this.word("declare");this.space();this.word("export");this.space();if(e.default){this.word("default");this.space()}FlowExportDeclaration.call(this,e)}function DeclareExportAllDeclaration(e){this.word("declare");this.space();s.ExportAllDeclaration.call(this,e)}function EnumDeclaration(e){const{id:t,body:r}=e;this.word("enum");this.space();this.print(t,e);this.print(r,e)}function enumExplicitType(e,t,r){if(r){e.space();e.word("of");e.space();e.word(t)}e.space()}function enumBody(e,t){const{members:r}=t;e.token("{");e.indent();e.newline();for(const n of r){e.print(n,t);e.newline()}if(t.hasUnknownMembers){e.token("...");e.newline()}e.dedent();e.token("}")}function EnumBooleanBody(e){const{explicitType:t}=e;enumExplicitType(this,"boolean",t);enumBody(this,e)}function EnumNumberBody(e){const{explicitType:t}=e;enumExplicitType(this,"number",t);enumBody(this,e)}function EnumStringBody(e){const{explicitType:t}=e;enumExplicitType(this,"string",t);enumBody(this,e)}function EnumSymbolBody(e){enumExplicitType(this,"symbol",true);enumBody(this,e)}function EnumDefaultedMember(e){const{id:t}=e;this.print(t,e);this.tokenChar(44)}function enumInitializedMember(e,t){const{id:r,init:n}=t;e.print(r,t);e.space();e.token("=");e.space();e.print(n,t);e.token(",")}function EnumBooleanMember(e){enumInitializedMember(this,e)}function EnumNumberMember(e){enumInitializedMember(this,e)}function EnumStringMember(e){enumInitializedMember(this,e)}function FlowExportDeclaration(e){if(e.declaration){const t=e.declaration;this.print(t,e);if(!o(t))this.semicolon()}else{this.tokenChar(123);if(e.specifiers.length){this.space();this.printList(e.specifiers,e);this.space()}this.tokenChar(125);if(e.source){this.space();this.word("from");this.space();this.print(e.source,e)}this.semicolon()}}function ExistsTypeAnnotation(){this.tokenChar(42)}function FunctionTypeAnnotation(e,t){this.print(e.typeParameters,e);this.tokenChar(40);if(e.this){this.word("this");this.tokenChar(58);this.space();this.print(e.this.typeAnnotation,e);if(e.params.length||e.rest){this.tokenChar(44);this.space()}}this.printList(e.params,e);if(e.rest){if(e.params.length){this.tokenChar(44);this.space()}this.token("...");this.print(e.rest,e)}this.tokenChar(41);const r=t==null?void 0:t.type;if(r!=null&&(r==="ObjectTypeCallProperty"||r==="ObjectTypeInternalSlot"||r==="DeclareFunction"||r==="ObjectTypeProperty"&&t.method)){this.tokenChar(58)}else{this.space();this.token("=>")}this.space();this.print(e.returnType,e)}function FunctionTypeParam(e){this.print(e.name,e);if(e.optional)this.tokenChar(63);if(e.name){this.tokenChar(58);this.space()}this.print(e.typeAnnotation,e)}function InterfaceExtends(e){this.print(e.id,e);this.print(e.typeParameters,e,true)}function _interfaceish(e){var t;this.print(e.id,e);this.print(e.typeParameters,e);if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}if(e.type==="DeclareClass"){var r,n;if((r=e.mixins)!=null&&r.length){this.space();this.word("mixins");this.space();this.printList(e.mixins,e)}if((n=e.implements)!=null&&n.length){this.space();this.word("implements");this.space();this.printList(e.implements,e)}}this.space();this.print(e.body,e)}function _variance(e){var t;const r=(t=e.variance)==null?void 0:t.kind;if(r!=null){if(r==="plus"){this.tokenChar(43)}else if(r==="minus"){this.tokenChar(45)}}}function InterfaceDeclaration(e){this.word("interface");this.space();this._interfaceish(e)}function andSeparator(){this.space();this.tokenChar(38);this.space()}function InterfaceTypeAnnotation(e){var t;this.word("interface");if((t=e.extends)!=null&&t.length){this.space();this.word("extends");this.space();this.printList(e.extends,e)}this.space();this.print(e.body,e)}function IntersectionTypeAnnotation(e){this.printJoin(e.types,e,{separator:andSeparator})}function MixedTypeAnnotation(){this.word("mixed")}function EmptyTypeAnnotation(){this.word("empty")}function NullableTypeAnnotation(e){this.tokenChar(63);this.print(e.typeAnnotation,e)}function NumberTypeAnnotation(){this.word("number")}function StringTypeAnnotation(){this.word("string")}function ThisTypeAnnotation(){this.word("this")}function TupleTypeAnnotation(e){this.tokenChar(91);this.printList(e.types,e);this.tokenChar(93)}function TypeofTypeAnnotation(e){this.word("typeof");this.space();this.print(e.argument,e)}function TypeAlias(e){this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);this.space();this.tokenChar(61);this.space();this.print(e.right,e);this.semicolon()}function TypeAnnotation(e){this.tokenChar(58);this.space();if(e.optional)this.tokenChar(63);this.print(e.typeAnnotation,e)}function TypeParameterInstantiation(e){this.tokenChar(60);this.printList(e.params,e,{});this.tokenChar(62)}function TypeParameter(e){this._variance(e);this.word(e.name);if(e.bound){this.print(e.bound,e)}if(e.default){this.space();this.tokenChar(61);this.space();this.print(e.default,e)}}function OpaqueType(e){this.word("opaque");this.space();this.word("type");this.space();this.print(e.id,e);this.print(e.typeParameters,e);if(e.supertype){this.tokenChar(58);this.space();this.print(e.supertype,e)}if(e.impltype){this.space();this.tokenChar(61);this.space();this.print(e.impltype,e)}this.semicolon()}function ObjectTypeAnnotation(e){if(e.exact){this.token("{|")}else{this.tokenChar(123)}const t=[...e.properties,...e.callProperties||[],...e.indexers||[],...e.internalSlots||[]];if(t.length){this.newline();this.space();this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:true,statement:true,iterator:()=>{if(t.length!==1||e.inexact){this.tokenChar(44);this.space()}}});this.space()}if(e.inexact){this.indent();this.token("...");if(t.length){this.newline()}this.dedent()}if(e.exact){this.token("|}")}else{this.tokenChar(125)}}function ObjectTypeInternalSlot(e){if(e.static){this.word("static");this.space()}this.tokenChar(91);this.tokenChar(91);this.print(e.id,e);this.tokenChar(93);this.tokenChar(93);if(e.optional)this.tokenChar(63);if(!e.method){this.tokenChar(58);this.space()}this.print(e.value,e)}function ObjectTypeCallProperty(e){if(e.static){this.word("static");this.space()}this.print(e.value,e)}function ObjectTypeIndexer(e){if(e.static){this.word("static");this.space()}this._variance(e);this.tokenChar(91);if(e.id){this.print(e.id,e);this.tokenChar(58);this.space()}this.print(e.key,e);this.tokenChar(93);this.tokenChar(58);this.space();this.print(e.value,e)}function ObjectTypeProperty(e){if(e.proto){this.word("proto");this.space()}if(e.static){this.word("static");this.space()}if(e.kind==="get"||e.kind==="set"){this.word(e.kind);this.space()}this._variance(e);this.print(e.key,e);if(e.optional)this.tokenChar(63);if(!e.method){this.tokenChar(58);this.space()}this.print(e.value,e)}function ObjectTypeSpreadProperty(e){this.token("...");this.print(e.argument,e)}function QualifiedTypeIdentifier(e){this.print(e.qualification,e);this.tokenChar(46);this.print(e.id,e)}function SymbolTypeAnnotation(){this.word("symbol")}function orSeparator(){this.space();this.tokenChar(124);this.space()}function UnionTypeAnnotation(e){this.printJoin(e.types,e,{separator:orSeparator})}function TypeCastExpression(e){this.tokenChar(40);this.print(e.expression,e);this.print(e.typeAnnotation,e);this.tokenChar(41)}function Variance(e){if(e.kind==="plus"){this.tokenChar(43)}else{this.tokenChar(45)}}function VoidTypeAnnotation(){this.word("void")}function IndexedAccessType(e){this.print(e.objectType,e,true);this.tokenChar(91);this.print(e.indexType,e);this.tokenChar(93)}function OptionalIndexedAccessType(e){this.print(e.objectType,e);if(e.optional){this.token("?.")}this.tokenChar(91);this.print(e.indexType,e);this.tokenChar(93)}},6376:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(6010);Object.keys(n).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===n[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return n[e]}})}));var s=r(9978);Object.keys(s).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===s[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return s[e]}})}));var i=r(460);Object.keys(i).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===i[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return i[e]}})}));var a=r(5103);Object.keys(a).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===a[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return a[e]}})}));var o=r(5843);Object.keys(o).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===o[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return o[e]}})}));var l=r(7104);Object.keys(l).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})}));var c=r(5973);Object.keys(c).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===c[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return c[e]}})}));var u=r(7138);Object.keys(u).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===u[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return u[e]}})}));var p=r(3987);Object.keys(p).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===p[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return p[e]}})}));var f=r(2280);Object.keys(f).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})}));var d=r(470);Object.keys(d).forEach((function(e){if(e==="default"||e==="__esModule")return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})}))},2280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.JSXAttribute=JSXAttribute;t.JSXClosingElement=JSXClosingElement;t.JSXClosingFragment=JSXClosingFragment;t.JSXElement=JSXElement;t.JSXEmptyExpression=JSXEmptyExpression;t.JSXExpressionContainer=JSXExpressionContainer;t.JSXFragment=JSXFragment;t.JSXIdentifier=JSXIdentifier;t.JSXMemberExpression=JSXMemberExpression;t.JSXNamespacedName=JSXNamespacedName;t.JSXOpeningElement=JSXOpeningElement;t.JSXOpeningFragment=JSXOpeningFragment;t.JSXSpreadAttribute=JSXSpreadAttribute;t.JSXSpreadChild=JSXSpreadChild;t.JSXText=JSXText;function JSXAttribute(e){this.print(e.name,e);if(e.value){this.tokenChar(61);this.print(e.value,e)}}function JSXIdentifier(e){this.word(e.name)}function JSXNamespacedName(e){this.print(e.namespace,e);this.tokenChar(58);this.print(e.name,e)}function JSXMemberExpression(e){this.print(e.object,e);this.tokenChar(46);this.print(e.property,e)}function JSXSpreadAttribute(e){this.tokenChar(123);this.token("...");this.print(e.argument,e);this.tokenChar(125)}function JSXExpressionContainer(e){this.tokenChar(123);this.print(e.expression,e);this.tokenChar(125)}function JSXSpreadChild(e){this.tokenChar(123);this.token("...");this.print(e.expression,e);this.tokenChar(125)}function JSXText(e){const t=this.getPossibleRaw(e);if(t!==undefined){this.token(t,true)}else{this.token(e.value,true)}}function JSXElement(e){const t=e.openingElement;this.print(t,e);if(t.selfClosing)return;this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingElement,e)}function spaceSeparator(){this.space()}function JSXOpeningElement(e){this.tokenChar(60);this.print(e.name,e);this.print(e.typeParameters,e);if(e.attributes.length>0){this.space();this.printJoin(e.attributes,e,{separator:spaceSeparator})}if(e.selfClosing){this.space();this.token("/>")}else{this.tokenChar(62)}}function JSXClosingElement(e){this.token("</");this.print(e.name,e);this.tokenChar(62)}function JSXEmptyExpression(){this.printInnerComments()}function JSXFragment(e){this.print(e.openingFragment,e);this.indent();for(const t of e.children){this.print(t,e)}this.dedent();this.print(e.closingFragment,e)}function JSXOpeningFragment(){this.tokenChar(60);this.tokenChar(62)}function JSXClosingFragment(){this.token("</");this.tokenChar(62)}},5843:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrowFunctionExpression=ArrowFunctionExpression;t.FunctionDeclaration=t.FunctionExpression=FunctionExpression;t._functionHead=_functionHead;t._methodHead=_methodHead;t._param=_param;t._parameters=_parameters;t._params=_params;t._predicate=_predicate;var n=r(776);const{isIdentifier:s}=n;function _params(e,t,r){this.print(e.typeParameters,e);const n=_getFuncIdName.call(this,t,r);if(n){this.sourceIdentifierName(n.name,n.pos)}this.tokenChar(40);this._parameters(e.params,e);this.tokenChar(41);const s=e.type==="ArrowFunctionExpression";this.print(e.returnType,e,s);this._noLineTerminator=s}function _parameters(e,t){const r=e.length;for(let n=0;n<r;n++){this._param(e[n],t);if(n<e.length-1){this.tokenChar(44);this.space()}}}function _param(e,t){this.printJoin(e.decorators,e);this.print(e,t);if(e.optional){this.tokenChar(63)}this.print(e.typeAnnotation,e)}function _methodHead(e){const t=e.kind;const r=e.key;if(t==="get"||t==="set"){this.word(t);this.space()}if(e.async){this.word("async",true);this.space()}if(t==="method"||t==="init"){if(e.generator){this.tokenChar(42)}}if(e.computed){this.tokenChar(91);this.print(r,e);this.tokenChar(93)}else{this.print(r,e)}if(e.optional){this.tokenChar(63)}this._params(e,e.computed&&e.key.type!=="StringLiteral"?undefined:e.key,undefined)}function _predicate(e,t){if(e.predicate){if(!e.returnType){this.tokenChar(58)}this.space();this.print(e.predicate,e,t)}}function _functionHead(e,t){if(e.async){this.word("async");this._endsWithInnerRaw=false;this.space()}this.word("function");if(e.generator){this._endsWithInnerRaw=false;this.tokenChar(42)}this.space();if(e.id){this.print(e.id,e)}this._params(e,e.id,t);if(e.type!=="TSDeclareFunction"){this._predicate(e)}}function FunctionExpression(e,t){this._functionHead(e,t);this.space();this.print(e.body,e)}function ArrowFunctionExpression(e,t){if(e.async){this.word("async",true);this.space()}let r;if(!this.format.retainLines&&e.params.length===1&&s(r=e.params[0])&&!hasTypesOrComments(e,r)){this.print(r,e,true)}else{this._params(e,undefined,t)}this._predicate(e,true);this.space();this.printInnerComments();this.token("=>");this.space();this.print(e.body,e)}function hasTypesOrComments(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||(r=t.leadingComments)!=null&&r.length||(n=t.trailingComments)!=null&&n.length)}function _getFuncIdName(e,t){let r=e;if(!r&&t){const e=t.type;if(e==="VariableDeclarator"){r=t.id}else if(e==="AssignmentExpression"||e==="AssignmentPattern"){r=t.left}else if(e==="ObjectProperty"||e==="ClassProperty"){if(!t.computed||t.key.type==="StringLiteral"){r=t.key}}else if(e==="ClassPrivateProperty"||e==="ClassAccessorProperty"){r=t.key}}if(!r)return;let n;if(r.type==="Identifier"){var s,i;n={pos:(s=r.loc)==null?void 0:s.start,name:((i=r.loc)==null?void 0:i.identifierName)||r.name}}else if(r.type==="PrivateName"){var a;n={pos:(a=r.loc)==null?void 0:a.start,name:"#"+r.id.name}}else if(r.type==="StringLiteral"){var o;n={pos:(o=r.loc)==null?void 0:o.start,name:r.value}}return n}},7104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExportAllDeclaration=ExportAllDeclaration;t.ExportDefaultDeclaration=ExportDefaultDeclaration;t.ExportDefaultSpecifier=ExportDefaultSpecifier;t.ExportNamedDeclaration=ExportNamedDeclaration;t.ExportNamespaceSpecifier=ExportNamespaceSpecifier;t.ExportSpecifier=ExportSpecifier;t.ImportAttribute=ImportAttribute;t.ImportDeclaration=ImportDeclaration;t.ImportDefaultSpecifier=ImportDefaultSpecifier;t.ImportNamespaceSpecifier=ImportNamespaceSpecifier;t.ImportSpecifier=ImportSpecifier;t._printAttributes=_printAttributes;var n=r(776);const{isClassDeclaration:s,isExportDefaultSpecifier:i,isExportNamespaceSpecifier:a,isImportDefaultSpecifier:o,isImportNamespaceSpecifier:l,isStatement:c}=n;function ImportSpecifier(e){if(e.importKind==="type"||e.importKind==="typeof"){this.word(e.importKind);this.space()}this.print(e.imported,e);if(e.local&&e.local.name!==e.imported.name){this.space();this.word("as");this.space();this.print(e.local,e)}}function ImportDefaultSpecifier(e){this.print(e.local,e)}function ExportDefaultSpecifier(e){this.print(e.exported,e)}function ExportSpecifier(e){if(e.exportKind==="type"){this.word("type");this.space()}this.print(e.local,e);if(e.exported&&e.local.name!==e.exported.name){this.space();this.word("as");this.space();this.print(e.exported,e)}}function ExportNamespaceSpecifier(e){this.tokenChar(42);this.space();this.word("as");this.space();this.print(e.exported,e)}let u=false;function _printAttributes(e){const{importAttributesKeyword:t}=this.format;const{attributes:r,assertions:n}=e;if(r&&!t&&!u){u=true;console.warn(`You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with"        : \`import { a } from "b" with { type: "json" };\`\n - "assert"      : \`import { a } from "b" assert { type: "json" };\`\n - "with-legacy" : \`import { a } from "b" with type: "json";\`\n`)}const s=t==="assert"||!t&&n;this.word(s?"assert":"with");this.space();if(!s&&t!=="with"){this.printList(r||n,e);return}this.tokenChar(123);this.space();this.printList(r||n,e);this.space();this.tokenChar(125)}function ExportAllDeclaration(e){var t,r;this.word("export");this.space();if(e.exportKind==="type"){this.word("type");this.space()}this.tokenChar(42);this.space();this.word("from");this.space();if((t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length){this.print(e.source,e,true);this.space();this._printAttributes(e)}else{this.print(e.source,e)}this.semicolon()}function maybePrintDecoratorsBeforeExport(e,t){if(s(t.declaration)&&e._shouldPrintDecoratorsBeforeExport(t)){e.printJoin(t.declaration.decorators,t)}}function ExportNamedDeclaration(e){maybePrintDecoratorsBeforeExport(this,e);this.word("export");this.space();if(e.declaration){const t=e.declaration;this.print(t,e);if(!c(t))this.semicolon()}else{if(e.exportKind==="type"){this.word("type");this.space()}const n=e.specifiers.slice(0);let s=false;for(;;){const t=n[0];if(i(t)||a(t)){s=true;this.print(n.shift(),e);if(n.length){this.tokenChar(44);this.space()}}else{break}}if(n.length||!n.length&&!s){this.tokenChar(123);if(n.length){this.space();this.printList(n,e);this.space()}this.tokenChar(125)}if(e.source){var t,r;this.space();this.word("from");this.space();if((t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length){this.print(e.source,e,true);this.space();this._printAttributes(e)}else{this.print(e.source,e)}}this.semicolon()}}function ExportDefaultDeclaration(e){maybePrintDecoratorsBeforeExport(this,e);this.word("export");this.noIndentInnerCommentsHere();this.space();this.word("default");this.space();const t=e.declaration;this.print(t,e);if(!c(t))this.semicolon()}function ImportDeclaration(e){var t,r;this.word("import");this.space();const n=e.importKind==="type"||e.importKind==="typeof";if(n){this.noIndentInnerCommentsHere();this.word(e.importKind);this.space()}else if(e.module){this.noIndentInnerCommentsHere();this.word("module");this.space()}const s=e.specifiers.slice(0);const i=!!s.length;while(i){const t=s[0];if(o(t)||l(t)){this.print(s.shift(),e);if(s.length){this.tokenChar(44);this.space()}}else{break}}if(s.length){this.tokenChar(123);this.space();this.printList(s,e);this.space();this.tokenChar(125)}else if(n&&!i){this.tokenChar(123);this.tokenChar(125)}if(i||n){this.space();this.word("from");this.space()}if((t=e.attributes)!=null&&t.length||(r=e.assertions)!=null&&r.length){this.print(e.source,e,true);this.space();this._printAttributes(e)}else{this.print(e.source,e)}this.semicolon()}function ImportAttribute(e){this.print(e.key);this.tokenChar(58);this.space();this.print(e.value)}function ImportNamespaceSpecifier(e){this.tokenChar(42);this.space();this.word("as");this.space();this.print(e.local,e)}},460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BreakStatement=BreakStatement;t.CatchClause=CatchClause;t.ContinueStatement=ContinueStatement;t.DebuggerStatement=DebuggerStatement;t.DoWhileStatement=DoWhileStatement;t.ForOfStatement=t.ForInStatement=void 0;t.ForStatement=ForStatement;t.IfStatement=IfStatement;t.LabeledStatement=LabeledStatement;t.ReturnStatement=ReturnStatement;t.SwitchCase=SwitchCase;t.SwitchStatement=SwitchStatement;t.ThrowStatement=ThrowStatement;t.TryStatement=TryStatement;t.VariableDeclaration=VariableDeclaration;t.VariableDeclarator=VariableDeclarator;t.WhileStatement=WhileStatement;t.WithStatement=WithStatement;var n=r(776);const{isFor:s,isForStatement:i,isIfStatement:a,isStatement:o}=n;function WithStatement(e){this.word("with");this.space();this.tokenChar(40);this.print(e.object,e);this.tokenChar(41);this.printBlock(e)}function IfStatement(e){this.word("if");this.space();this.tokenChar(40);this.print(e.test,e);this.tokenChar(41);this.space();const t=e.alternate&&a(getLastStatement(e.consequent));if(t){this.tokenChar(123);this.newline();this.indent()}this.printAndIndentOnComments(e.consequent,e);if(t){this.dedent();this.newline();this.tokenChar(125)}if(e.alternate){if(this.endsWith(125))this.space();this.word("else");this.space();this.printAndIndentOnComments(e.alternate,e)}}function getLastStatement(e){const{body:t}=e;if(o(t)===false){return e}return getLastStatement(t)}function ForStatement(e){this.word("for");this.space();this.tokenChar(40);this.inForStatementInitCounter++;this.print(e.init,e);this.inForStatementInitCounter--;this.tokenChar(59);if(e.test){this.space();this.print(e.test,e)}this.tokenChar(59);if(e.update){this.space();this.print(e.update,e)}this.tokenChar(41);this.printBlock(e)}function WhileStatement(e){this.word("while");this.space();this.tokenChar(40);this.print(e.test,e);this.tokenChar(41);this.printBlock(e)}function ForXStatement(e){this.word("for");this.space();const t=e.type==="ForOfStatement";if(t&&e.await){this.word("await");this.space()}this.noIndentInnerCommentsHere();this.tokenChar(40);this.print(e.left,e);this.space();this.word(t?"of":"in");this.space();this.print(e.right,e);this.tokenChar(41);this.printBlock(e)}const l=ForXStatement;t.ForInStatement=l;const c=ForXStatement;t.ForOfStatement=c;function DoWhileStatement(e){this.word("do");this.space();this.print(e.body,e);this.space();this.word("while");this.space();this.tokenChar(40);this.print(e.test,e);this.tokenChar(41);this.semicolon()}function printStatementAfterKeyword(e,t,r,n){if(t){e.space();e.printTerminatorless(t,r,n)}e.semicolon()}function BreakStatement(e){this.word("break");printStatementAfterKeyword(this,e.label,e,true)}function ContinueStatement(e){this.word("continue");printStatementAfterKeyword(this,e.label,e,true)}function ReturnStatement(e){this.word("return");printStatementAfterKeyword(this,e.argument,e,false)}function ThrowStatement(e){this.word("throw");printStatementAfterKeyword(this,e.argument,e,false)}function LabeledStatement(e){this.print(e.label,e);this.tokenChar(58);this.space();this.print(e.body,e)}function TryStatement(e){this.word("try");this.space();this.print(e.block,e);this.space();if(e.handlers){this.print(e.handlers[0],e)}else{this.print(e.handler,e)}if(e.finalizer){this.space();this.word("finally");this.space();this.print(e.finalizer,e)}}function CatchClause(e){this.word("catch");this.space();if(e.param){this.tokenChar(40);this.print(e.param,e);this.print(e.param.typeAnnotation,e);this.tokenChar(41);this.space()}this.print(e.body,e)}function SwitchStatement(e){this.word("switch");this.space();this.tokenChar(40);this.print(e.discriminant,e);this.tokenChar(41);this.space();this.tokenChar(123);this.printSequence(e.cases,e,{indent:true,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}});this.rightBrace(e)}function SwitchCase(e){if(e.test){this.word("case");this.space();this.print(e.test,e);this.tokenChar(58)}else{this.word("default");this.tokenChar(58)}if(e.consequent.length){this.newline();this.printSequence(e.consequent,e,{indent:true})}}function DebuggerStatement(){this.word("debugger");this.semicolon()}function VariableDeclaration(e,t){if(e.declare){this.word("declare");this.space()}const{kind:r}=e;this.word(r,r==="using"||r==="await using");this.space();let n=false;if(!s(t)){for(const t of e.declarations){if(t.init){n=true}}}this.printList(e.declarations,e,{separator:n?function(){this.tokenChar(44);this.newline()}:undefined,indent:e.declarations.length>1?true:false});if(s(t)){if(i(t)){if(t.init===e)return}else{if(t.left===e)return}}this.semicolon()}function VariableDeclarator(e){this.print(e.id,e);if(e.definite)this.tokenChar(33);this.print(e.id.typeAnnotation,e);if(e.init){this.space();this.tokenChar(61);this.space();this.print(e.init,e)}}},6010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateElement=TemplateElement;t.TemplateLiteral=TemplateLiteral;function TaggedTemplateExpression(e){this.print(e.tag,e);this.print(e.typeParameters,e);this.print(e.quasi,e)}function TemplateElement(e,t){const r=t.quasis[0]===e;const n=t.quasis[t.quasis.length-1]===e;const s=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(s,true)}function TemplateLiteral(e){const t=e.quasis;for(let r=0;r<t.length;r++){this.print(t[r],e);if(r+1<t.length){this.print(e.expressions[r],e)}}}},5973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArgumentPlaceholder=ArgumentPlaceholder;t.ArrayPattern=t.ArrayExpression=ArrayExpression;t.BigIntLiteral=BigIntLiteral;t.BooleanLiteral=BooleanLiteral;t.DecimalLiteral=DecimalLiteral;t.Identifier=Identifier;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.ObjectPattern=t.ObjectExpression=ObjectExpression;t.ObjectMethod=ObjectMethod;t.ObjectProperty=ObjectProperty;t.PipelineBareFunction=PipelineBareFunction;t.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;t.PipelineTopicExpression=PipelineTopicExpression;t.RecordExpression=RecordExpression;t.RegExpLiteral=RegExpLiteral;t.SpreadElement=t.RestElement=RestElement;t.StringLiteral=StringLiteral;t.TopicReference=TopicReference;t.TupleExpression=TupleExpression;var n=r(776);var s=r(4011);const{isAssignmentPattern:i,isIdentifier:a}=n;function Identifier(e){var t;this.sourceIdentifierName(((t=e.loc)==null?void 0:t.identifierName)||e.name);this.word(e.name)}function ArgumentPlaceholder(){this.tokenChar(63)}function RestElement(e){this.token("...");this.print(e.argument,e)}function ObjectExpression(e){const t=e.properties;this.tokenChar(123);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.sourceWithOffset("end",e.loc,0,-1);this.tokenChar(125)}function ObjectMethod(e){this.printJoin(e.decorators,e);this._methodHead(e);this.space();this.print(e.body,e)}function ObjectProperty(e){this.printJoin(e.decorators,e);if(e.computed){this.tokenChar(91);this.print(e.key,e);this.tokenChar(93)}else{if(i(e.value)&&a(e.key)&&e.key.name===e.value.left.name){this.print(e.value,e);return}this.print(e.key,e);if(e.shorthand&&a(e.key)&&a(e.value)&&e.key.name===e.value.name){return}}this.tokenChar(58);this.space();this.print(e.value,e)}function ArrayExpression(e){const t=e.elements;const r=t.length;this.tokenChar(91);for(let n=0;n<t.length;n++){const s=t[n];if(s){if(n>0)this.space();this.print(s,e);if(n<r-1)this.tokenChar(44)}else{this.tokenChar(44)}}this.tokenChar(93)}function RecordExpression(e){const t=e.properties;let r;let n;if(this.format.recordAndTupleSyntaxType==="bar"){r="{|";n="|}"}else if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null){throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`)}else{r="#{";n="}"}this.token(r);if(t.length){this.space();this.printList(t,e,{indent:true,statement:true});this.space()}this.token(n)}function TupleExpression(e){const t=e.elements;const r=t.length;let n;let s;if(this.format.recordAndTupleSyntaxType==="bar"){n="[|";s="|]"}else if(this.format.recordAndTupleSyntaxType==="hash"){n="#[";s="]"}else{throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`)}this.token(n);for(let n=0;n<t.length;n++){const s=t[n];if(s){if(n>0)this.space();this.print(s,e);if(n<r-1)this.tokenChar(44)}}this.token(s)}function RegExpLiteral(e){this.word(`/${e.pattern}/${e.flags}`)}function BooleanLiteral(e){this.word(e.value?"true":"false")}function NullLiteral(){this.word("null")}function NumericLiteral(e){const t=this.getPossibleRaw(e);const r=this.format.jsescOption;const n=e.value+"";if(r.numbers){this.number(s(e.value,r))}else if(t==null){this.number(n)}else if(this.format.minified){this.number(t.length<n.length?t:n)}else{this.number(t)}}function StringLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!==undefined){this.token(t);return}const r=s(e.value,this.format.jsescOption);this.token(r)}function BigIntLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!==undefined){this.word(t);return}this.word(e.value+"n")}function DecimalLiteral(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&t!==undefined){this.word(t);return}this.word(e.value+"m")}const o=new Set(["^^","@@","^","%","#"]);function TopicReference(){const{topicToken:e}=this.format;if(o.has(e)){this.token(e)}else{const t=JSON.stringify(e);const r=Array.from(o,(e=>JSON.stringify(e)));throw new Error(`The "topicToken" generator option must be one of `+`${r.join(", ")} (${t} received instead).`)}}function PipelineTopicExpression(e){this.print(e.expression,e)}function PipelineBareFunction(e){this.print(e.callee,e)}function PipelinePrimaryTopicReference(){this.tokenChar(35)}},470:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TSAnyKeyword=TSAnyKeyword;t.TSArrayType=TSArrayType;t.TSSatisfiesExpression=t.TSAsExpression=TSTypeExpression;t.TSBigIntKeyword=TSBigIntKeyword;t.TSBooleanKeyword=TSBooleanKeyword;t.TSCallSignatureDeclaration=TSCallSignatureDeclaration;t.TSConditionalType=TSConditionalType;t.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;t.TSConstructorType=TSConstructorType;t.TSDeclareFunction=TSDeclareFunction;t.TSDeclareMethod=TSDeclareMethod;t.TSEnumDeclaration=TSEnumDeclaration;t.TSEnumMember=TSEnumMember;t.TSExportAssignment=TSExportAssignment;t.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;t.TSExternalModuleReference=TSExternalModuleReference;t.TSFunctionType=TSFunctionType;t.TSImportEqualsDeclaration=TSImportEqualsDeclaration;t.TSImportType=TSImportType;t.TSIndexSignature=TSIndexSignature;t.TSIndexedAccessType=TSIndexedAccessType;t.TSInferType=TSInferType;t.TSInstantiationExpression=TSInstantiationExpression;t.TSInterfaceBody=TSInterfaceBody;t.TSInterfaceDeclaration=TSInterfaceDeclaration;t.TSIntersectionType=TSIntersectionType;t.TSIntrinsicKeyword=TSIntrinsicKeyword;t.TSLiteralType=TSLiteralType;t.TSMappedType=TSMappedType;t.TSMethodSignature=TSMethodSignature;t.TSModuleBlock=TSModuleBlock;t.TSModuleDeclaration=TSModuleDeclaration;t.TSNamedTupleMember=TSNamedTupleMember;t.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;t.TSNeverKeyword=TSNeverKeyword;t.TSNonNullExpression=TSNonNullExpression;t.TSNullKeyword=TSNullKeyword;t.TSNumberKeyword=TSNumberKeyword;t.TSObjectKeyword=TSObjectKeyword;t.TSOptionalType=TSOptionalType;t.TSParameterProperty=TSParameterProperty;t.TSParenthesizedType=TSParenthesizedType;t.TSPropertySignature=TSPropertySignature;t.TSQualifiedName=TSQualifiedName;t.TSRestType=TSRestType;t.TSStringKeyword=TSStringKeyword;t.TSSymbolKeyword=TSSymbolKeyword;t.TSThisType=TSThisType;t.TSTupleType=TSTupleType;t.TSTypeAliasDeclaration=TSTypeAliasDeclaration;t.TSTypeAnnotation=TSTypeAnnotation;t.TSTypeAssertion=TSTypeAssertion;t.TSTypeLiteral=TSTypeLiteral;t.TSTypeOperator=TSTypeOperator;t.TSTypeParameter=TSTypeParameter;t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=TSTypeParameterInstantiation;t.TSTypePredicate=TSTypePredicate;t.TSTypeQuery=TSTypeQuery;t.TSTypeReference=TSTypeReference;t.TSUndefinedKeyword=TSUndefinedKeyword;t.TSUnionType=TSUnionType;t.TSUnknownKeyword=TSUnknownKeyword;t.TSVoidKeyword=TSVoidKeyword;t.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;t.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;t.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;t.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;t.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;function TSTypeAnnotation(e){this.tokenChar(58);this.space();if(e.optional)this.tokenChar(63);this.print(e.typeAnnotation,e)}function TSTypeParameterInstantiation(e,t){this.tokenChar(60);this.printList(e.params,e,{});if(t.type==="ArrowFunctionExpression"&&e.params.length===1){this.tokenChar(44)}this.tokenChar(62)}function TSTypeParameter(e){if(e.in){this.word("in");this.space()}if(e.out){this.word("out");this.space()}this.word(e.name);if(e.constraint){this.space();this.word("extends");this.space();this.print(e.constraint,e)}if(e.default){this.space();this.tokenChar(61);this.space();this.print(e.default,e)}}function TSParameterProperty(e){if(e.accessibility){this.word(e.accessibility);this.space()}if(e.readonly){this.word("readonly");this.space()}this._param(e.parameter)}function TSDeclareFunction(e,t){if(e.declare){this.word("declare");this.space()}this._functionHead(e,t);this.tokenChar(59)}function TSDeclareMethod(e){this._classMethodHead(e);this.tokenChar(59)}function TSQualifiedName(e){this.print(e.left,e);this.tokenChar(46);this.print(e.right,e)}function TSCallSignatureDeclaration(e){this.tsPrintSignatureDeclarationBase(e);this.tokenChar(59)}function TSConstructSignatureDeclaration(e){this.word("new");this.space();this.tsPrintSignatureDeclarationBase(e);this.tokenChar(59)}function TSPropertySignature(e){const{readonly:t,initializer:r}=e;if(t){this.word("readonly");this.space()}this.tsPrintPropertyOrMethodName(e);this.print(e.typeAnnotation,e);if(r){this.space();this.tokenChar(61);this.space();this.print(r,e)}this.tokenChar(59)}function tsPrintPropertyOrMethodName(e){if(e.computed){this.tokenChar(91)}this.print(e.key,e);if(e.computed){this.tokenChar(93)}if(e.optional){this.tokenChar(63)}}function TSMethodSignature(e){const{kind:t}=e;if(t==="set"||t==="get"){this.word(t);this.space()}this.tsPrintPropertyOrMethodName(e);this.tsPrintSignatureDeclarationBase(e);this.tokenChar(59)}function TSIndexSignature(e){const{readonly:t,static:r}=e;if(r){this.word("static");this.space()}if(t){this.word("readonly");this.space()}this.tokenChar(91);this._parameters(e.parameters,e);this.tokenChar(93);this.print(e.typeAnnotation,e);this.tokenChar(59)}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(e){this.tsPrintFunctionOrConstructorType(e)}function TSConstructorType(e){if(e.abstract){this.word("abstract");this.space()}this.word("new");this.space();this.tsPrintFunctionOrConstructorType(e)}function tsPrintFunctionOrConstructorType(e){const{typeParameters:t}=e;const r=e.parameters;this.print(t,e);this.tokenChar(40);this._parameters(r,e);this.tokenChar(41);this.space();this.token("=>");this.space();const n=e.typeAnnotation;this.print(n.typeAnnotation,e)}function TSTypeReference(e){this.print(e.typeName,e,true);this.print(e.typeParameters,e,true)}function TSTypePredicate(e){if(e.asserts){this.word("asserts");this.space()}this.print(e.parameterName);if(e.typeAnnotation){this.space();this.word("is");this.space();this.print(e.typeAnnotation.typeAnnotation)}}function TSTypeQuery(e){this.word("typeof");this.space();this.print(e.exprName);if(e.typeParameters){this.print(e.typeParameters,e)}}function TSTypeLiteral(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)}function tsPrintTypeLiteralOrInterfaceBody(e,t){tsPrintBraced(this,e,t)}function tsPrintBraced(e,t,r){e.token("{");if(t.length){e.indent();e.newline();for(const n of t){e.print(n,r);e.newline()}e.dedent()}e.rightBrace(r)}function TSArrayType(e){this.print(e.elementType,e,true);this.token("[]")}function TSTupleType(e){this.tokenChar(91);this.printList(e.elementTypes,e);this.tokenChar(93)}function TSOptionalType(e){this.print(e.typeAnnotation,e);this.tokenChar(63)}function TSRestType(e){this.token("...");this.print(e.typeAnnotation,e)}function TSNamedTupleMember(e){this.print(e.label,e);if(e.optional)this.tokenChar(63);this.tokenChar(58);this.space();this.print(e.elementType,e)}function TSUnionType(e){tsPrintUnionOrIntersectionType(this,e,"|")}function TSIntersectionType(e){tsPrintUnionOrIntersectionType(this,e,"&")}function tsPrintUnionOrIntersectionType(e,t,r){e.printJoin(t.types,t,{separator(){this.space();this.token(r);this.space()}})}function TSConditionalType(e){this.print(e.checkType);this.space();this.word("extends");this.space();this.print(e.extendsType);this.space();this.tokenChar(63);this.space();this.print(e.trueType);this.space();this.tokenChar(58);this.space();this.print(e.falseType)}function TSInferType(e){this.token("infer");this.space();this.print(e.typeParameter)}function TSParenthesizedType(e){this.tokenChar(40);this.print(e.typeAnnotation,e);this.tokenChar(41)}function TSTypeOperator(e){this.word(e.operator);this.space();this.print(e.typeAnnotation,e)}function TSIndexedAccessType(e){this.print(e.objectType,e,true);this.tokenChar(91);this.print(e.indexType,e);this.tokenChar(93)}function TSMappedType(e){const{nameType:t,optional:r,readonly:n,typeParameter:s}=e;this.tokenChar(123);this.space();if(n){tokenIfPlusMinus(this,n);this.word("readonly");this.space()}this.tokenChar(91);this.word(s.name);this.space();this.word("in");this.space();this.print(s.constraint,s);if(t){this.space();this.word("as");this.space();this.print(t,e)}this.tokenChar(93);if(r){tokenIfPlusMinus(this,r);this.tokenChar(63)}this.tokenChar(58);this.space();this.print(e.typeAnnotation,e);this.space();this.tokenChar(125)}function tokenIfPlusMinus(e,t){if(t!==true){e.token(t)}}function TSLiteralType(e){this.print(e.literal,e)}function TSExpressionWithTypeArguments(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSInterfaceDeclaration(e){const{declare:t,id:r,typeParameters:n,extends:s,body:i}=e;if(t){this.word("declare");this.space()}this.word("interface");this.space();this.print(r,e);this.print(n,e);if(s!=null&&s.length){this.space();this.word("extends");this.space();this.printList(s,e)}this.space();this.print(i,e)}function TSInterfaceBody(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)}function TSTypeAliasDeclaration(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:s}=e;if(t){this.word("declare");this.space()}this.word("type");this.space();this.print(r,e);this.print(n,e);this.space();this.tokenChar(61);this.space();this.print(s,e);this.tokenChar(59)}function TSTypeExpression(e){var t;const{type:r,expression:n,typeAnnotation:s}=e;const i=!!((t=n.trailingComments)!=null&&t.length);this.print(n,e,true,undefined,i);this.space();this.word(r==="TSAsExpression"?"as":"satisfies");this.space();this.print(s,e)}function TSTypeAssertion(e){const{typeAnnotation:t,expression:r}=e;this.tokenChar(60);this.print(t,e);this.tokenChar(62);this.space();this.print(r,e)}function TSInstantiationExpression(e){this.print(e.expression,e);this.print(e.typeParameters,e)}function TSEnumDeclaration(e){const{declare:t,const:r,id:n,members:s}=e;if(t){this.word("declare");this.space()}if(r){this.word("const");this.space()}this.word("enum");this.space();this.print(n,e);this.space();tsPrintBraced(this,s,e)}function TSEnumMember(e){const{id:t,initializer:r}=e;this.print(t,e);if(r){this.space();this.tokenChar(61);this.space();this.print(r,e)}this.tokenChar(44)}function TSModuleDeclaration(e){const{declare:t,id:r}=e;if(t){this.word("declare");this.space()}if(!e.global){this.word(r.type==="Identifier"?"namespace":"module");this.space()}this.print(r,e);if(!e.body){this.tokenChar(59);return}let n=e.body;while(n.type==="TSModuleDeclaration"){this.tokenChar(46);this.print(n.id,n);n=n.body}this.space();this.print(n,e)}function TSModuleBlock(e){tsPrintBraced(this,e.body,e)}function TSImportType(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import");this.tokenChar(40);this.print(t,e);this.tokenChar(41);if(r){this.tokenChar(46);this.print(r,e)}if(n){this.print(n,e)}}function TSImportEqualsDeclaration(e){const{isExport:t,id:r,moduleReference:n}=e;if(t){this.word("export");this.space()}this.word("import");this.space();this.print(r,e);this.space();this.tokenChar(61);this.space();this.print(n,e);this.tokenChar(59)}function TSExternalModuleReference(e){this.token("require(");this.print(e.expression,e);this.tokenChar(41)}function TSNonNullExpression(e){this.print(e.expression,e);this.tokenChar(33)}function TSExportAssignment(e){this.word("export");this.space();this.tokenChar(61);this.space();this.print(e.expression,e);this.tokenChar(59)}function TSNamespaceExportDeclaration(e){this.word("export");this.space();this.word("as");this.space();this.word("namespace");this.space();this.print(e.id,e)}function tsPrintSignatureDeclarationBase(e){const{typeParameters:t}=e;const r=e.parameters;this.print(t,e);this.tokenChar(40);this._parameters(r,e);this.tokenChar(41);const n=e.typeAnnotation;this.print(n,e)}function tsPrintClassMemberModifiers(e){const t=e.type==="ClassAccessorProperty"||e.type==="ClassProperty";if(t&&e.declare){this.word("declare");this.space()}if(e.accessibility){this.word(e.accessibility);this.space()}if(e.static){this.word("static");this.space()}if(e.override){this.word("override");this.space()}if(e.abstract){this.word("abstract");this.space()}if(t&&e.readonly){this.word("readonly");this.space()}}},3956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CodeGenerator=void 0;t["default"]=generate;var n=r(4095);var s=r(7676);class Generator extends s.default{constructor(e,t={},r){const s=normalizeOptions(r,t);const i=t.sourceMaps?new n.default(t,r):null;super(s,i);this.ast=void 0;this.ast=e}generate(){return super.generate(this.ast)}}function normalizeOptions(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:t.comments==null||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:true,style:"  "},jsescOption:Object.assign({quotes:"double",wrap:true,minimal:false},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType,topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};{r.decoratorsBeforeExport=t.decoratorsBeforeExport;r.jsescOption.json=t.jsonCompatibleStrings}if(r.minified){r.compact=true;r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)}else{r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.includes("@license")||e.includes("@preserve"))}if(r.compact==="auto"){r.compact=typeof e==="string"&&e.length>5e5;if(r.compact){console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of ${"500KB"}.`)}}if(r.compact){r.indent.adjustMultilineComment=false}const{auxiliaryCommentBefore:n,auxiliaryCommentAfter:s,shouldPrintComment:i}=r;if(n&&!i(n)){r.auxiliaryCommentBefore=undefined}if(s&&!i(s)){r.auxiliaryCommentAfter=undefined}return r}class CodeGenerator{constructor(e,t,r){this._generator=void 0;this._generator=new Generator(e,t,r)}generate(){return this._generator.generate()}}t.CodeGenerator=CodeGenerator;function generate(e,t,r){const n=new Generator(e,t,r);return n.generate()}},9939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.needsParens=needsParens;t.needsWhitespace=needsWhitespace;t.needsWhitespaceAfter=needsWhitespaceAfter;t.needsWhitespaceBefore=needsWhitespaceBefore;var n=r(2575);var s=r(8526);var i=r(776);const{FLIPPED_ALIAS_KEYS:a,isCallExpression:o,isExpressionStatement:l,isMemberExpression:c,isNewExpression:u}=i;function expandAliases(e){const t={};function add(e,r){const n=t[e];t[e]=n?function(e,t,s){const i=n(e,t,s);return i==null?r(e,t,s):i}:r}for(const t of Object.keys(e)){const r=a[t];if(r){for(const n of r){add(n,e[t])}}else{add(t,e[t])}}return t}const p=expandAliases(s);const f=expandAliases(n.nodes);function find(e,t,r,n){const s=e[t.type];return s?s(t,r,n):null}function isOrHasCallExpression(e){if(o(e)){return true}return c(e)&&isOrHasCallExpression(e.object)}function needsWhitespace(e,t,r){if(!e)return false;if(l(e)){e=e.expression}const n=find(f,e,t);if(typeof n==="number"){return(n&r)!==0}return false}function needsWhitespaceBefore(e,t){return needsWhitespace(e,t,1)}function needsWhitespaceAfter(e,t){return needsWhitespace(e,t,2)}function needsParens(e,t,r){if(!t)return false;if(u(t)&&t.callee===e){if(isOrHasCallExpression(e))return true}return find(p,e,t,r)}},8526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrowFunctionExpression=ArrowFunctionExpression;t.AssignmentExpression=AssignmentExpression;t.Binary=Binary;t.BinaryExpression=BinaryExpression;t.ClassExpression=ClassExpression;t.ConditionalExpression=ConditionalExpression;t.DoExpression=DoExpression;t.FunctionExpression=FunctionExpression;t.FunctionTypeAnnotation=FunctionTypeAnnotation;t.Identifier=Identifier;t.LogicalExpression=LogicalExpression;t.NullableTypeAnnotation=NullableTypeAnnotation;t.ObjectExpression=ObjectExpression;t.OptionalIndexedAccessType=OptionalIndexedAccessType;t.OptionalCallExpression=t.OptionalMemberExpression=OptionalMemberExpression;t.SequenceExpression=SequenceExpression;t.TSTypeAssertion=t.TSSatisfiesExpression=t.TSAsExpression=TSAsExpression;t.TSInferType=TSInferType;t.TSInstantiationExpression=TSInstantiationExpression;t.TSIntersectionType=t.TSUnionType=TSUnionType;t.UnaryLike=UnaryLike;t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=UnionTypeAnnotation;t.UpdateExpression=UpdateExpression;t.AwaitExpression=t.YieldExpression=YieldExpression;var n=r(776);const{isArrayTypeAnnotation:s,isArrowFunctionExpression:i,isAssignmentExpression:a,isAwaitExpression:o,isBinary:l,isBinaryExpression:c,isUpdateExpression:u,isCallExpression:p,isClass:f,isClassExpression:d,isConditional:h,isConditionalExpression:m,isExportDeclaration:y,isExportDefaultDeclaration:g,isExpressionStatement:b,isFor:T,isForInStatement:S,isForOfStatement:E,isForStatement:x,isFunctionExpression:v,isIfStatement:P,isIndexedAccessType:A,isIntersectionTypeAnnotation:w,isLogicalExpression:C,isMemberExpression:I,isNewExpression:O,isNullableTypeAnnotation:k,isObjectPattern:N,isOptionalCallExpression:_,isOptionalMemberExpression:D,isReturnStatement:M,isSequenceExpression:L,isSwitchStatement:j,isTSArrayType:F,isTSAsExpression:B,isTSInstantiationExpression:R,isTSIntersectionType:U,isTSNonNullExpression:V,isTSOptionalType:K,isTSRestType:W,isTSTypeAssertion:$,isTSUnionType:q,isTaggedTemplateExpression:H,isThrowStatement:J,isTypeAnnotation:G,isUnaryLike:X,isUnionTypeAnnotation:z,isVariableDeclarator:Y,isWhileStatement:Q,isYieldExpression:Z,isTSSatisfiesExpression:ee}=n;const te={"||":0,"??":0,"|>":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};function isTSTypeExpression(e){return B(e)||ee(e)||$(e)}const isClassExtendsClause=(e,t)=>f(t,{superClass:e});const hasPostfixPart=(e,t)=>(I(t)||D(t))&&t.object===e||(p(t)||_(t)||O(t))&&t.callee===e||H(t)&&t.tag===e||V(t);function NullableTypeAnnotation(e,t){return s(t)}function FunctionTypeAnnotation(e,t,r){if(r.length<3)return;return z(t)||w(t)||s(t)||G(t)&&i(r[r.length-3])}function UpdateExpression(e,t){return hasPostfixPart(e,t)||isClassExtendsClause(e,t)}function ObjectExpression(e,t,r){return isFirstInContext(r,1|2)}function DoExpression(e,t,r){return!e.async&&isFirstInContext(r,1)}function Binary(e,t){if(e.operator==="**"&&c(t,{operator:"**"})){return t.left===e}if(isClassExtendsClause(e,t)){return true}if(hasPostfixPart(e,t)||X(t)||o(t)){return true}if(l(t)){const r=t.operator;const n=te[r];const s=e.operator;const i=te[s];if(n===i&&t.right===e&&!C(t)||n>i){return true}}}function UnionTypeAnnotation(e,t){return s(t)||k(t)||w(t)||z(t)}function OptionalIndexedAccessType(e,t){return A(t,{objectType:e})}function TSAsExpression(){return true}function TSUnionType(e,t){return F(t)||K(t)||U(t)||q(t)||W(t)}function TSInferType(e,t){return F(t)||K(t)}function TSInstantiationExpression(e,t){return(p(t)||_(t)||O(t)||R(t))&&!!t.typeParameters}function BinaryExpression(e,t){return e.operator==="in"&&(Y(t)||T(t))}function SequenceExpression(e,t){if(x(t)||J(t)||M(t)||P(t)&&t.test===e||Q(t)&&t.test===e||S(t)&&t.right===e||j(t)&&t.discriminant===e||b(t)&&t.expression===e){return false}return true}function YieldExpression(e,t){return l(t)||X(t)||hasPostfixPart(e,t)||o(t)&&Z(e)||m(t)&&e===t.test||isClassExtendsClause(e,t)}function ClassExpression(e,t,r){return isFirstInContext(r,1|4)}function UnaryLike(e,t){return hasPostfixPart(e,t)||c(t,{operator:"**",left:e})||isClassExtendsClause(e,t)}function FunctionExpression(e,t,r){return isFirstInContext(r,1|4)}function ArrowFunctionExpression(e,t){return y(t)||ConditionalExpression(e,t)}function ConditionalExpression(e,t){if(X(t)||l(t)||m(t,{test:e})||o(t)||isTSTypeExpression(t)){return true}return UnaryLike(e,t)}function OptionalMemberExpression(e,t){return p(t,{callee:e})||I(t,{object:e})}function AssignmentExpression(e,t){if(N(e.left)){return true}else{return ConditionalExpression(e,t)}}function LogicalExpression(e,t){if(isTSTypeExpression(t))return true;switch(e.operator){case"||":if(!C(t))return false;return t.operator==="??"||t.operator==="&&";case"&&":return C(t,{operator:"??"});case"??":return C(t)&&t.operator!=="??"}}function Identifier(e,t,r){var n;if((n=e.extra)!=null&&n.parenthesized&&a(t,{left:e})&&(v(t.right)||d(t.right))&&t.right.id==null){return true}if(e.name==="let"){const n=I(t,{object:e,computed:true})||D(t,{object:e,computed:true,optional:false});return isFirstInContext(r,n?1|8|16|32:32)}return e.name==="async"&&E(t)&&e===t.left}function isFirstInContext(e,t){const r=t&1;const n=t&2;const s=t&4;const o=t&8;const c=t&16;const p=t&32;let f=e.length-1;if(f<=0)return;let d=e[f];f--;let m=e[f];while(f>=0){if(r&&b(m,{expression:d})||s&&g(m,{declaration:d})||n&&i(m,{body:d})||o&&x(m,{init:d})||c&&S(m,{left:d})||p&&E(m,{left:d})){return true}if(f>0&&(hasPostfixPart(d,m)&&!O(m)||L(m)&&m.expressions[0]===d||u(m)&&!m.prefix||h(m,{test:d})||l(m,{left:d})||a(m,{left:d}))){d=m;f--;m=e[f]}else{return false}}return false}},2575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.nodes=void 0;var n=r(776);const{FLIPPED_ALIAS_KEYS:s,isArrayExpression:i,isAssignmentExpression:a,isBinary:o,isBlockStatement:l,isCallExpression:c,isFunction:u,isIdentifier:p,isLiteral:f,isMemberExpression:d,isObjectExpression:h,isOptionalCallExpression:m,isOptionalMemberExpression:y,isStringLiteral:g}=n;function crawlInternal(e,t){if(!e)return t;if(d(e)||y(e)){crawlInternal(e.object,t);if(e.computed)crawlInternal(e.property,t)}else if(o(e)||a(e)){crawlInternal(e.left,t);crawlInternal(e.right,t)}else if(c(e)||m(e)){t.hasCall=true;crawlInternal(e.callee,t)}else if(u(e)){t.hasFunction=true}else if(p(e)){t.hasHelper=t.hasHelper||e.callee&&isHelper(e.callee)}return t}function crawl(e){return crawlInternal(e,{hasCall:false,hasFunction:false,hasHelper:false})}function isHelper(e){if(!e)return false;if(d(e)){return isHelper(e.object)||isHelper(e.property)}else if(p(e)){return e.name==="require"||e.name.charCodeAt(0)===95}else if(c(e)){return isHelper(e.callee)}else if(o(e)||a(e)){return p(e.left)&&isHelper(e.left)||isHelper(e.right)}else{return false}}function isType(e){return f(e)||h(e)||i(e)||p(e)||d(e)}const b={AssignmentExpression(e){const t=crawl(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction){return t.hasFunction?1|2:2}},SwitchCase(e,t){return(!!e.consequent.length||t.cases[0]===e?1:0)|(!e.consequent.length&&t.cases[t.cases.length-1]===e?2:0)},LogicalExpression(e){if(u(e.left)||u(e.right)){return 2}},Literal(e){if(g(e)&&e.value==="use strict"){return 2}},CallExpression(e){if(u(e.callee)||isHelper(e)){return 1|2}},OptionalCallExpression(e){if(u(e.callee)){return 1|2}},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const r=e.declarations[t];let n=isHelper(r.id)&&!isType(r.init);if(!n&&r.init){const e=crawl(r.init);n=isHelper(r.init)&&e.hasCall||e.hasFunction}if(n){return 1|2}}},IfStatement(e){if(l(e.consequent)){return 1|2}}};t.nodes=b;b.ObjectProperty=b.ObjectTypeProperty=b.ObjectMethod=function(e,t){if(t.properties[0]===e){return 1}};b.ObjectTypeCallProperty=function(e,t){var r;if(t.callProperties[0]===e&&!((r=t.properties)!=null&&r.length)){return 1}};b.ObjectTypeIndexer=function(e,t){var r,n;if(t.indexers[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length)){return 1}};b.ObjectTypeInternalSlot=function(e,t){var r,n,s;if(t.internalSlots[0]===e&&!((r=t.properties)!=null&&r.length)&&!((n=t.callProperties)!=null&&n.length)&&!((s=t.indexers)!=null&&s.length)){return 1}};[["Function",true],["Class",true],["Loop",true],["LabeledStatement",true],["SwitchStatement",true],["TryStatement",true]].forEach((function([e,t]){[e].concat(s[e]||[]).forEach((function(e){const r=t?1|2:0;b[e]=()=>r}))}))},7676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9531);var s=r(9939);var i=r(776);var a=r(6376);const{isFunction:o,isStatement:l,isClassBody:c,isTSInterfaceBody:u,isTSEnumDeclaration:p}=i;const f=/e/i;const d=/\.0+$/;const h=/^0[box]/;const m=/^\s*[@#]__PURE__\s*$/;const y=/[\n\r\u2028\u2029]/;const g=/\*\//;const{needsParens:b}=s;class Printer{constructor(e,t){this.inForStatementInitCounter=0;this._printStack=[];this._indent=0;this._indentChar=0;this._indentRepeat=0;this._insideAux=false;this._parenPushNewlineState=null;this._noLineTerminator=false;this._printAuxAfterOnNextUserNode=false;this._printedComments=new Set;this._endsWithInteger=false;this._endsWithWord=false;this._lastCommentLine=0;this._endsWithInnerRaw=false;this._indentInnerComments=true;this.format=e;this._buf=new n.default(t);this._indentChar=e.indent.style.charCodeAt(0);this._indentRepeat=e.indent.style.length;this._inputMap=t==null?void 0:t._inputMap}generate(e){this.print(e);this._maybeAddAuxComment();return this._buf.get()}indent(){if(this.format.compact||this.format.concise)return;this._indent++}dedent(){if(this.format.compact||this.format.concise)return;this._indent--}semicolon(e=false){this._maybeAddAuxComment();if(e){this._appendChar(59)}else{this._queue(59)}this._noLineTerminator=false}rightBrace(e){if(this.format.minified){this._buf.removeLastSemicolon()}this.sourceWithOffset("end",e.loc,0,-1);this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,0,-1);this.tokenChar(41)}space(e=false){if(this.format.compact)return;if(e){this._space()}else if(this._buf.hasContent()){const e=this.getLastChar();if(e!==32&&e!==10){this._space()}}}word(e,t=false){this._maybePrintInnerComments();if(this._endsWithWord||e.charCodeAt(0)===47&&this.endsWith(47)){this._space()}this._maybeAddAuxComment();this._append(e,false);this._endsWithWord=true;this._noLineTerminator=t}number(e){this.word(e);this._endsWithInteger=Number.isInteger(+e)&&!h.test(e)&&!f.test(e)&&!d.test(e)&&e.charCodeAt(e.length-1)!==46}token(e,t=false){this._maybePrintInnerComments();const r=this.getLastChar();const n=e.charCodeAt(0);if(r===33&&(e==="--"||n===61)||n===43&&r===43||n===45&&r===45||n===46&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._append(e,t);this._noLineTerminator=false}tokenChar(e){this._maybePrintInnerComments();const t=this.getLastChar();if(e===43&&t===43||e===45&&t===45||e===46&&this._endsWithInteger){this._space()}this._maybeAddAuxComment();this._appendChar(e);this._noLineTerminator=false}newline(e=1,t){if(e<=0)return;if(!t){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}if(e>2)e=2;e-=this._buf.getNewlineCount();for(let t=0;t<e;t++){this._newline()}return}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){if(!e){t();return}this._catchUp("start",e);this._buf.exactSource(e,t)}source(e,t){if(!t)return;this._catchUp(e,t);this._buf.source(e,t)}sourceWithOffset(e,t,r,n){if(!t)return;this._catchUp(e,t);this._buf.sourceWithOffset(e,t,r,n)}withSource(e,t,r){if(!t){r();return}this._catchUp(e,t);this._buf.withSource(e,t,r)}sourceIdentifierName(e,t){if(!this._buf._canMarkIdName)return;const r=this._buf._sourcePosition;r.identifierNamePos=t;r.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_append(e,t){this._maybeAddParen(e);this._maybeIndent(e.charCodeAt(0));this._buf.append(e,t);this._endsWithWord=false;this._endsWithInteger=false}_appendChar(e){this._maybeAddParenChar(e);this._maybeIndent(e);this._buf.appendChar(e);this._endsWithWord=false;this._endsWithInteger=false}_queue(e){this._maybeAddParenChar(e);this._maybeIndent(e);this._buf.queue(e);this._endsWithWord=false;this._endsWithInteger=false}_maybeIndent(e){if(this._indent&&e!==10&&this.endsWith(10)){this._buf.queueIndentation(this._indentChar,this._getIndent())}}_shouldIndent(e){if(this._indent&&e!==10&&this.endsWith(10)){return true}}_maybeAddParenChar(e){const t=this._parenPushNewlineState;if(!t)return;if(e===32){return}if(e!==10){this._parenPushNewlineState=null;return}this.tokenChar(40);this.indent();t.printed=true}_maybeAddParen(e){const t=this._parenPushNewlineState;if(!t)return;const r=e.length;let n;for(n=0;n<r&&e.charCodeAt(n)===32;n++)continue;if(n===r){return}const s=e.charCodeAt(n);if(s!==10){if(s!==47||n+1===r){this._parenPushNewlineState=null;return}const t=e.charCodeAt(n+1);if(t===42){if(m.test(e.slice(n+2,r-2))){return}}else if(t!==47){this._parenPushNewlineState=null;return}}this.tokenChar(40);this.indent();t.printed=true}catchUp(e){if(!this.format.retainLines)return;const t=e-this._buf.getCurrentLine();for(let e=0;e<t;e++){this._newline()}}_catchUp(e,t){var r;if(!this.format.retainLines)return;const n=t==null?void 0:(r=t[e])==null?void 0:r.line;if(n!=null){const e=n-this._buf.getCurrentLine();for(let t=0;t<e;t++){this._newline()}}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e,t,r){if(r){this._noLineTerminator=true;this.print(e,t)}else{const r={printed:false};this._parenPushNewlineState=r;this.print(e,t);if(r.printed){this.dedent();this.newline();this.tokenChar(41)}}}print(e,t,r,n,s){var i;if(!e)return;this._endsWithInnerRaw=false;const a=e.type;const o=this.format;const l=o.concise;if(e._compact){o.concise=true}const c=this[a];if(c===undefined){throw new ReferenceError(`unknown node of type ${JSON.stringify(a)} with constructor ${JSON.stringify(e.constructor.name)}`)}this._printStack.push(e);const u=this._insideAux;this._insideAux=e.loc==undefined;this._maybeAddAuxComment(this._insideAux&&!u);const p=s||o.retainFunctionParens&&a==="FunctionExpression"&&((i=e.extra)==null?void 0:i.parenthesized)||b(e,t,this._printStack);if(p){this.tokenChar(40);this._endsWithInnerRaw=false}this._lastCommentLine=0;this._printLeadingComments(e,t);const f=a==="Program"||a==="File"?null:e.loc;this.exactSource(f,c.bind(this,e,t));if(p){this._printTrailingComments(e,t);this.tokenChar(41);this._noLineTerminator=r}else if(r&&!this._noLineTerminator){this._noLineTerminator=true;this._printTrailingComments(e,t)}else{this._printTrailingComments(e,t,n)}this._printStack.pop();o.concise=l;this._insideAux=u;this._endsWithInnerRaw=false}_maybeAddAuxComment(e){if(e)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=true;const e=this.format.auxiliaryCommentBefore;if(e){this._printComment({type:"CommentBlock",value:e},0)}}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=false;const e=this.format.auxiliaryCommentAfter;if(e){this._printComment({type:"CommentBlock",value:e},0)}}getPossibleRaw(e){const t=e.extra;if(t&&t.raw!=null&&t.rawValue!=null&&e.value===t.rawValue){return t.raw}}printJoin(e,t,r={}){if(!(e!=null&&e.length))return;let{indent:n}=r;if(n==null&&this.format.retainLines){var s;const t=(s=e[0].loc)==null?void 0:s.start.line;if(t!=null&&t!==this._buf.getCurrentLine()){n=true}}if(n)this.indent();const i={addNewlines:r.addNewlines,nextNodeStartLine:0};const a=r.separator?r.separator.bind(this):null;const o=e.length;for(let n=0;n<o;n++){const s=e[n];if(!s)continue;if(r.statement)this._printNewline(n===0,i);this.print(s,t,undefined,r.trailingCommentsLineOffset||0);r.iterator==null?void 0:r.iterator(s,n);if(n<o-1)a==null?void 0:a();if(r.statement){if(n+1===o){this.newline(1)}else{var l;const t=e[n+1];i.nextNodeStartLine=((l=t.loc)==null?void 0:l.start.line)||0;this._printNewline(true,i)}}}if(n)this.dedent()}printAndIndentOnComments(e,t){const r=e.leadingComments&&e.leadingComments.length>0;if(r)this.indent();this.print(e,t);if(r)this.dedent()}printBlock(e){const t=e.body;if(t.type!=="EmptyStatement"){this.space()}this.print(t,e)}_printTrailingComments(e,t,r){const{innerComments:n,trailingComments:s}=e;if(n!=null&&n.length){this._printComments(2,n,e,t,r)}if(s!=null&&s.length){this._printComments(2,s,e,t,r)}}_printLeadingComments(e,t){const r=e.leadingComments;if(!(r!=null&&r.length))return;this._printComments(0,r,e,t)}_maybePrintInnerComments(){if(this._endsWithInnerRaw)this.printInnerComments();this._endsWithInnerRaw=true;this._indentInnerComments=true}printInnerComments(){const e=this._printStack[this._printStack.length-1];const t=e.innerComments;if(!(t!=null&&t.length))return;const r=this.endsWith(32);const n=this._indentInnerComments;const s=this._printedComments.size;if(n)this.indent();this._printComments(1,t,e);if(r&&s!==this._printedComments.size){this.space()}if(n)this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=false}printSequence(e,t,r={}){var n;r.statement=true;(n=r.indent)!=null?n:r.indent=false;this.printJoin(e,t,r)}printList(e,t,r={}){if(r.separator==null){r.separator=commaSeparator}this.printJoin(e,t,r)}_printNewline(e,t){const r=this.format;if(r.retainLines||r.compact)return;if(r.concise){this.space();return}if(!e){return}const n=t.nextNodeStartLine;const s=this._lastCommentLine;if(n>0&&s>0){const e=n-s;if(e>=0){this.newline(e||1);return}}if(this._buf.hasContent()){this.newline(1)}}_shouldPrintComment(e){if(e.ignore)return 0;if(this._printedComments.has(e))return 0;if(this._noLineTerminator&&(y.test(e.value)||g.test(e.value))){return 2}this._printedComments.add(e);if(!this.format.shouldPrintComment(e.value)){return 0}return 1}_printComment(e,t){const r=this._noLineTerminator;const n=e.type==="CommentBlock";const s=n&&t!==1&&!this._noLineTerminator;if(s&&this._buf.hasContent()&&t!==2){this.newline(1)}const i=this.getLastChar();if(i!==91&&i!==123){this.space()}let a;if(n){a=`/*${e.value}*/`;if(this.format.indent.adjustMultilineComment){var o;const t=(o=e.loc)==null?void 0:o.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");a=a.replace(e,"\n")}let r=this.format.retainLines?0:this._buf.getCurrentColumn();if(this._shouldIndent(47)||this.format.retainLines){r+=this._getIndent()}a=a.replace(/\n(?!$)/g,`\n${" ".repeat(r)}`)}}else if(!r){a=`//${e.value}`}else{a=`/*${e.value}*/`}if(this.endsWith(47))this._space();this.source("start",e.loc);this._append(a,n);if(!n&&!r){this.newline(1,true)}if(s&&t!==3){this.newline(1)}}_printComments(e,t,r,n,s=0){const i=r.loc;const a=t.length;let f=!!i;const d=f?i.start.line:0;const h=f?i.end.line:0;let m=0;let g=0;const b=this._noLineTerminator?function(){}:this.newline.bind(this);for(let i=0;i<a;i++){const T=t[i];const S=this._shouldPrintComment(T);if(S===2){f=false;break}if(f&&T.loc&&S===1){const t=T.loc.start.line;const r=T.loc.end.line;if(e===0){let e=0;if(i===0){if(this._buf.hasContent()&&(T.type==="CommentLine"||t!=r)){e=g=1}}else{e=t-m}m=r;b(e);this._printComment(T,1);if(i+1===a){b(Math.max(d-m,g));m=d}}else if(e===1){const e=t-(i===0?d:m);m=r;b(e);this._printComment(T,1);if(i+1===a){b(Math.min(1,h-m));m=h}}else{const e=t-(i===0?h-s:m);m=r;b(e);this._printComment(T,1)}}else{f=false;if(S!==1){continue}if(a===1){const t=T.loc?T.loc.start.line===T.loc.end.line:!y.test(T.value);const s=t&&!l(r)&&!c(n)&&!u(n)&&!p(n);if(e===0){this._printComment(T,s&&r.type!=="ObjectExpression"||t&&o(n,{body:r})?1:0)}else if(s&&e===2){this._printComment(T,1)}else{this._printComment(T,0)}}else if(e===1&&!(r.type==="ObjectExpression"&&r.properties.length>1)&&r.type!=="ClassBody"&&r.type!=="TSInterfaceBody"){this._printComment(T,i===0?2:i===a-1?3:0)}else{this._printComment(T,0)}}}if(e===2&&f&&m){this._lastCommentLine=m}}}Object.assign(Printer.prototype,a);{Printer.prototype.Noop=function Noop(){}}var T=Printer;t["default"]=T;function commaSeparator(){this.tokenChar(44);this.space()}},4095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(2987);var s=r(4614);class SourceMap{constructor(e,t){var r;this._map=void 0;this._rawMappings=void 0;this._sourceFileName=void 0;this._lastGenLine=0;this._lastSourceLine=0;this._lastSourceColumn=0;this._inputMap=void 0;const i=this._map=new n.GenMapping({sourceRoot:e.sourceRoot});this._sourceFileName=(r=e.sourceFileName)==null?void 0:r.replace(/\\/g,"/");this._rawMappings=undefined;if(e.inputSourceMap){this._inputMap=new s.TraceMap(e.inputSourceMap);const t=this._inputMap.resolvedSources;if(t.length){for(let e=0;e<t.length;e++){var a;(0,n.setSourceContent)(i,t[e],(a=this._inputMap.sourcesContent)==null?void 0:a[e])}}}if(typeof t==="string"&&!e.inputSourceMap){(0,n.setSourceContent)(i,this._sourceFileName,t)}else if(typeof t==="object"){for(const e of Object.keys(t)){(0,n.setSourceContent)(i,e.replace(/\\/g,"/"),t[e])}}}get(){return(0,n.toEncodedMap)(this._map)}getDecoded(){return(0,n.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,n.allMappings)(this._map))}mark(e,t,r,i,a,o){var l;this._rawMappings=undefined;let c;if(t!=null){if(this._inputMap){c=(0,s.originalPositionFor)(this._inputMap,{line:t,column:r});if(!c.name&&a){const e=(0,s.originalPositionFor)(this._inputMap,a);if(e.name){i=e.name}}}else{c={source:(o==null?void 0:o.replace(/\\/g,"/"))||this._sourceFileName,line:t,column:r}}}(0,n.maybeAddMapping)(this._map,{name:i,generated:e,source:(l=c)==null?void 0:l.source,original:c})}}t["default"]=SourceMap},365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=annotateAsPure;var n=r(776);const{addComment:s}=n;const i="#__PURE__";const isPureAnnotated=({leadingComments:e})=>!!e&&e.some((e=>/[@#]__PURE__/.test(e.value)));function annotateAsPure(e){const t=e["node"]||e;if(isPureAnnotated(t)){return}s(t,"leading",i)}},8288:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getInclusionReasons=getInclusionReasons;var n=r(7849);var s=r(6783);var i=r(2423);function getInclusionReasons(e,t,r){const a=r[e]||{};return Object.keys(t).reduce(((e,r)=>{const o=(0,i.getLowestImplementedVersion)(a,r);const l=t[r];if(!o){e[r]=(0,s.prettifyVersion)(l)}else{const t=(0,i.isUnreleasedVersion)(o,r);const a=(0,i.isUnreleasedVersion)(l,r);if(!a&&(t||n.lt(l.toString(),(0,i.semverify)(o)))){e[r]=(0,s.prettifyVersion)(l)}}return e}),{})}},6743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=filterItems;t.isRequired=isRequired;t.targetsSupported=targetsSupported;var n=r(7849);var s=r(2204);var i=r(2423);function targetsSupported(e,t){const r=Object.keys(e);if(r.length===0){return false}const s=r.filter((r=>{const s=(0,i.getLowestImplementedVersion)(t,r);if(!s){return true}const a=e[r];if((0,i.isUnreleasedVersion)(a,r)){return false}if((0,i.isUnreleasedVersion)(s,r)){return true}if(!n.valid(a.toString())){throw new Error(`Invalid version passed for target "${r}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return n.gt((0,i.semverify)(s),a.toString())}));return s.length===0}function isRequired(e,t,{compatData:r=s,includes:n,excludes:i}={}){if(i!=null&&i.has(e))return false;if(n!=null&&n.has(e))return true;return!targetsSupported(t,r[e])}function filterItems(e,t,r,n,s,i,a){const o=new Set;const l={compatData:e,includes:t,excludes:r};for(const t in e){if(isRequired(t,n,l)){o.add(t)}else if(a){const e=a.get(t);if(e){o.add(e)}}}s==null?void 0:s.forEach((e=>!r.has(e)&&o.add(e)));i==null?void 0:i.forEach((e=>!t.has(e)&&o.delete(e)));return o}},900:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"TargetNames",{enumerable:true,get:function(){return c.TargetNames}});t["default"]=getTargets;Object.defineProperty(t,"filterItems",{enumerable:true,get:function(){return f.default}});Object.defineProperty(t,"getInclusionReasons",{enumerable:true,get:function(){return p.getInclusionReasons}});t.isBrowsersQueryValid=isBrowsersQueryValid;Object.defineProperty(t,"isRequired",{enumerable:true,get:function(){return f.isRequired}});Object.defineProperty(t,"prettifyTargets",{enumerable:true,get:function(){return u.prettifyTargets}});Object.defineProperty(t,"unreleasedLabels",{enumerable:true,get:function(){return l.unreleasedLabels}});var n=r(4907);var s=r(4716);var i=r(1371);var a=r(7330);var o=r(2423);var l=r(3519);var c=r(9376);var u=r(6783);var p=r(8288);var f=r(6743);const d=i["es6.module"];const h=new s.OptionValidator("@babel/helper-compilation-targets");function validateTargetNames(e){const t=Object.keys(c.TargetNames);for(const r of Object.keys(e)){if(!(r in c.TargetNames)){throw new Error(h.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}return e}function isBrowsersQueryValid(e){return typeof e==="string"||Array.isArray(e)&&e.every((e=>typeof e==="string"))}function validateBrowsers(e){h.invariant(e===undefined||isBrowsersQueryValid(e),`'${String(e)}' is not a valid browserslist query`);return e}function getLowestVersions(e){return e.reduce(((e,t)=>{const[r,n]=t.split(" ");const s=l.browserNameMap[r];if(!s){return e}try{const t=n.split("-")[0].toLowerCase();const r=(0,o.isUnreleasedVersion)(t,s);if(!e[s]){e[s]=r?t:(0,o.semverify)(t);return e}const i=e[s];const a=(0,o.isUnreleasedVersion)(i,s);if(a&&r){e[s]=(0,o.getLowestUnreleased)(i,t,s)}else if(a){e[s]=(0,o.semverify)(t)}else if(!a&&!r){const r=(0,o.semverify)(t);e[s]=(0,o.semverMin)(i,r)}}catch(e){}return e}),{})}function outputDecimalWarning(e){if(!e.length){return}console.warn("Warning, the following targets are using a decimal version:\n");e.forEach((({target:e,value:t})=>console.warn(`  ${e}: ${t}`)));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(e,t){try{return(0,o.semverify)(t)}catch(r){throw new Error(h.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}function nodeTargetParser(e){const t=e===true||e==="current"?process.versions.node:semverifyTarget("node",e);return["node",t]}function defaultTargetParser(e,t){const r=(0,o.isUnreleasedVersion)(t,e)?t.toLowerCase():semverifyTarget(e,t);return[e,r]}function generateTargets(e){const t=Object.assign({},e);delete t.esmodules;delete t.browsers;return t}function resolveTargets(e,t){const r=n(e,{mobileToDesktop:true,env:t});return getLowestVersions(r)}const m=new a({max:64});function resolveTargetsCached(e,t){const r=typeof e==="string"?e:e.join()+t;let n=m.get(r);if(!n){n=resolveTargets(e,t);m.set(r,n)}return Object.assign({},n)}function getTargets(e={},t={}){var r,s;let{browsers:i,esmodules:a}=e;const{configPath:l="."}=t;validateBrowsers(i);const c=generateTargets(e);let u=validateTargetNames(c);const p=!!i;const f=p||Object.keys(u).length>0;const h=!t.ignoreBrowserslistConfig&&!f;if(!i&&h){i=n.loadConfig({config:t.configFile,path:l,env:t.browserslistEnv});if(i==null){{i=[]}}}if(a&&(a!=="intersect"||!((r=i)!=null&&r.length))){i=Object.keys(d).map((e=>`${e} >= ${d[e]}`)).join(", ");a=false}if((s=i)!=null&&s.length){const e=resolveTargetsCached(i,t.browserslistEnv);if(a==="intersect"){for(const t of Object.keys(e)){if(t!=="deno"&&t!=="ie"){const r=d[t==="opera_mobile"?"op_mob":t];if(r){const n=e[t];e[t]=(0,o.getHighestUnreleased)(n,(0,o.semverify)(r),t)}else{delete e[t]}}else{delete e[t]}}}u=Object.assign(e,u)}const m={};const y=[];for(const e of Object.keys(u).sort()){const t=u[e];if(typeof t==="number"&&t%1!==0){y.push({target:e,value:t})}const[r,n]=e==="node"?nodeTargetParser(t):defaultTargetParser(e,t);if(n){m[r]=n}}outputDecimalWarning(y);return m}},9376:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TargetNames=void 0;const r={node:"node",deno:"deno",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino",opera_mobile:"opera_mobile"};t.TargetNames=r},6783:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.prettifyTargets=prettifyTargets;t.prettifyVersion=prettifyVersion;var n=r(7849);var s=r(3519);function prettifyVersion(e){if(typeof e!=="string"){return e}const{major:t,minor:r,patch:s}=n.parse(e);const i=[t];if(r||s){i.push(r)}if(s){i.push(s)}return i.join(".")}function prettifyTargets(e){return Object.keys(e).reduce(((t,r)=>{let n=e[r];const i=s.unreleasedLabels[r];if(typeof n==="string"&&i!==n){n=prettifyVersion(n)}t[r]=n;return t}),{})}},3519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.unreleasedLabels=t.browserNameMap=void 0;const r={safari:"tp"};t.unreleasedLabels=r;const n={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera_mobile",opera:"opera",safari:"safari",samsung:"samsung"};t.browserNameMap=n},2423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHighestUnreleased=getHighestUnreleased;t.getLowestImplementedVersion=getLowestImplementedVersion;t.getLowestUnreleased=getLowestUnreleased;t.isUnreleasedVersion=isUnreleasedVersion;t.semverMin=semverMin;t.semverify=semverify;var n=r(7849);var s=r(4716);var i=r(3519);const a=/^(\d+|\d+.\d+)$/;const o=new s.OptionValidator("@babel/helper-compilation-targets");function semverMin(e,t){return e&&n.lt(e,t)?e:t}function semverify(e){if(typeof e==="string"&&n.valid(e)){return e}o.invariant(typeof e==="number"||typeof e==="string"&&a.test(e),`'${e}' is not a valid version`);e=e.toString();let t=0;let r=0;while((t=e.indexOf(".",t+1))>0){r++}return e+".0".repeat(2-r)}function isUnreleasedVersion(e,t){const r=i.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()}function getLowestUnreleased(e,t,r){const n=i.unreleasedLabels[r];if(e===n){return t}if(t===n){return e}return semverMin(e,t)}function getHighestUnreleased(e,t,r){return getLowestUnreleased(e,t,r)===e?t:e}function getLowestImplementedVersion(e,t){const r=e[t];if(!r&&t==="android"){return e.chrome}return r}},327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildDecoratedClass=buildDecoratedClass;t.hasDecorators=hasDecorators;t.hasOwnDecorators=hasOwnDecorators;var n=r(3688);var s=r(9775);var i=r(4940);function hasOwnDecorators(e){var t;return!!((t=e.decorators)!=null&&t.length)}function hasDecorators(e){return hasOwnDecorators(e)||e.body.body.some(hasOwnDecorators)}function prop(e,t){if(!t)return null;return n.types.objectProperty(n.types.identifier(e),t)}function method(e,t){return n.types.objectMethod("method",n.types.identifier(e),[],n.types.blockStatement(t))}function takeDecorators(e){let t;if(e.decorators&&e.decorators.length>0){t=n.types.arrayExpression(e.decorators.map((e=>e.expression)))}e.decorators=undefined;return t}function getKey(e){if(e.computed){return e.key}else if(n.types.isIdentifier(e.key)){return n.types.stringLiteral(e.key.name)}else{return n.types.stringLiteral(String(e.key.value))}}function extractElementDescriptor(e,t,r,a){const o=a.isClassMethod();if(a.isPrivate()){throw a.buildCodeFrameError(`Private ${o?"methods":"fields"} in decorated classes are not supported yet.`)}if(a.node.type==="ClassAccessorProperty"){throw a.buildCodeFrameError(`Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.`)}if(a.node.type==="StaticBlock"){throw a.buildCodeFrameError(`Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.`)}const{node:l,scope:c}=a;if(!a.isTSDeclareMethod()){new s.default({methodPath:a,objectRef:t,superRef:r,file:e,refToPreserve:t}).replace()}const u=[prop("kind",n.types.stringLiteral(n.types.isClassMethod(l)?l.kind:"field")),prop("decorators",takeDecorators(l)),prop("static",l.static&&n.types.booleanLiteral(true)),prop("key",getKey(l))].filter(Boolean);if(n.types.isClassMethod(l)){const e=l.computed?null:l.key;const t=n.types.toExpression(l);u.push(prop("value",(0,i.default)({node:t,id:e,scope:c})||t))}else if(n.types.isClassProperty(l)&&l.value){u.push(method("value",n.template.statements.ast`return ${l.value}`))}else{u.push(prop("value",c.buildUndefinedNode()))}a.remove();return n.types.objectExpression(u)}function addDecorateHelper(e){return e.addHelper("decorate")}function buildDecoratedClass(e,t,r,s){const{node:i,scope:a}=t;const o=a.generateUidIdentifier("initialize");const l=i.id&&t.isDeclaration();const c=t.isInStrictMode();const{superClass:u}=i;i.type="ClassDeclaration";if(!i.id)i.id=n.types.cloneNode(e);let p;if(u){p=a.generateUidIdentifierBasedOnNode(i.superClass,"super");i.superClass=p}const f=takeDecorators(i);const d=n.types.arrayExpression(r.filter((e=>!e.node.abstract&&e.node.type!=="TSIndexSignature")).map((e=>extractElementDescriptor(s,i.id,p,e))));const h=n.template.expression.ast`
    ${addDecorateHelper(s)}(
      ${f||n.types.nullLiteral()},
      function (${o}, ${u?n.types.cloneNode(p):null}) {
        ${i}
        return { F: ${n.types.cloneNode(i.id)}, d: ${d} };
      },
      ${u}
    )
  `;if(!c){h.arguments[1].body.directives.push(n.types.directive(n.types.directiveLiteral("use strict")))}let m=h;let y="arguments.1.body.body.0";if(l){m=n.template.statement.ast`let ${e} = ${h}`;y="declarations.0.init."+y}return{instanceNodes:[n.template.statement.ast`${n.types.cloneNode(o)}(this)`],wrapClass(e){e.replaceWith(m);return e.get(y)}}}},5929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FEATURES=void 0;t.enableFeature=enableFeature;t.isLoose=isLoose;t.shouldTransform=shouldTransform;var n=r(327);const s=Object.freeze({fields:1<<1,privateMethods:1<<2,decorators:1<<3,privateIn:1<<4,staticBlocks:1<<5});t.FEATURES=s;const i=new Map([[s.fields,"@babel/plugin-transform-class-properties"],[s.privateMethods,"@babel/plugin-transform-private-methods"],[s.privateIn,"@babel/plugin-transform-private-property-in-object"]]);const a="@babel/plugin-class-features/featuresKey";const o="@babel/plugin-class-features/looseKey";const l="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function enableFeature(e,t,r){if(!hasFeature(e,t)||canIgnoreLoose(e,t)){e.set(a,e.get(a)|t);if(r==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"){setLoose(e,t,true);e.set(l,e.get(l)|t)}else if(r==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"){setLoose(e,t,false);e.set(l,e.get(l)|t)}else{setLoose(e,t,r)}}let n;let s;for(const[t,r]of i){if(!hasFeature(e,t))continue;const i=isLoose(e,t);if(canIgnoreLoose(e,t)){continue}else if(n===!i){throw new Error("'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, "+"@babel/plugin-transform-private-methods and "+"@babel/plugin-transform-private-property-in-object (when they are enabled).")}else{n=i;s=r}}if(n!==undefined){for(const[t,r]of i){if(hasFeature(e,t)&&isLoose(e,t)!==n){setLoose(e,t,n);console.warn(`Though the "loose" option was set to "${!n}" in your @babel/preset-env `+`config, it will not be used for ${r} since the "loose" mode option was set to `+`"${n}" for ${s}.\nThe "loose" option must be the `+`same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods `+`and @babel/plugin-transform-private-property-in-object (when they are enabled): you can `+`silence this warning by explicitly adding\n`+`\t["${r}", { "loose": ${n} }]\n`+`to the "plugins" section of your Babel config.`)}}}}function hasFeature(e,t){return!!(e.get(a)&t)}function isLoose(e,t){return!!(e.get(o)&t)}function setLoose(e,t,r){if(r)e.set(o,e.get(o)|t);else e.set(o,e.get(o)&~t);e.set(l,e.get(l)&~t)}function canIgnoreLoose(e,t){return!!(e.get(l)&t)}function shouldTransform(e,t){let r=null;let i=null;let a=null;let o=null;let l=null;if((0,n.hasOwnDecorators)(e.node)){r=e.get("decorators.0")}for(const t of e.get("body.body")){if(!r&&(0,n.hasOwnDecorators)(t.node)){r=t.get("decorators.0")}if(!i&&t.isClassProperty()){i=t}if(!a&&t.isClassPrivateProperty()){a=t}if(!o&&t.isClassPrivateMethod!=null&&t.isClassPrivateMethod()){o=t}if(!l&&t.isStaticBlock!=null&&t.isStaticBlock()){l=t}}if(r&&a){throw a.buildCodeFrameError("Private fields in decorated classes are not supported yet.")}if(r&&o){throw o.buildCodeFrameError("Private methods in decorated classes are not supported yet.")}if(r&&!hasFeature(t,s.decorators)){throw e.buildCodeFrameError("Decorators are not enabled."+"\nIf you are using "+'["@babel/plugin-proposal-decorators", { "version": "legacy" }], '+'make sure it comes *before* "@babel/plugin-transform-class-properties" '+"and enable loose mode, like so:\n"+'\t["@babel/plugin-proposal-decorators", { "version": "legacy" }]\n'+'\t["@babel/plugin-transform-class-properties", { "loose": true }]')}if(o&&!hasFeature(t,s.privateMethods)){throw o.buildCodeFrameError("Class private methods are not enabled. "+"Please add `@babel/plugin-transform-private-methods` to your configuration.")}if((i||a)&&!hasFeature(t,s.fields)&&!hasFeature(t,s.privateMethods)){throw e.buildCodeFrameError("Class fields are not enabled. "+"Please add `@babel/plugin-transform-class-properties` to your configuration.")}if(l&&!hasFeature(t,s.staticBlocks)){throw e.buildCodeFrameError("Static class blocks are not enabled. "+"Please add `@babel/plugin-transform-class-static-block` to your configuration.")}if(r||o||l){return true}if((i||a)&&hasFeature(t,s.fields)){return true}return false}},9076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildCheckInRHS=buildCheckInRHS;t.buildFieldsInitNodes=buildFieldsInitNodes;t.buildPrivateNamesMap=buildPrivateNamesMap;t.buildPrivateNamesNodes=buildPrivateNamesNodes;t.transformPrivateNamesUsage=transformPrivateNamesUsage;var n=r(3688);var s=r(9775);var i=r(8552);var a=r(3590);var o=r(1475);var l=r(365);var c=r(7255);var u=r(5963);function buildPrivateNamesMap(e){const t=new Map;for(const r of e){if(r.isPrivate()){const{name:e}=r.node.key.id;const n=t.has(e)?t.get(e):{id:r.scope.generateUidIdentifier(e),static:r.node.static,method:!r.isProperty()};if(r.isClassPrivateMethod()){if(r.node.kind==="get"){n.getId=r.scope.generateUidIdentifier(`get_${e}`)}else if(r.node.kind==="set"){n.setId=r.scope.generateUidIdentifier(`set_${e}`)}else if(r.node.kind==="method"){n.methodId=r.scope.generateUidIdentifier(e)}}t.set(e,n)}}return t}function buildPrivateNamesNodes(e,t,r,s){const i=[];for(const[a,o]of e){const{static:e,method:c,getId:u,setId:p}=o;const f=u||p;const d=n.types.cloneNode(o.id);let h;if(t){h=n.types.callExpression(s.addHelper("classPrivateFieldLooseKey"),[n.types.stringLiteral(a)])}else if(r){h=n.types.callExpression(n.types.identifier("Symbol"),[n.types.stringLiteral(a)])}else if(!e){h=n.types.newExpression(n.types.identifier(!c||f?"WeakMap":"WeakSet"),[])}if(h){(0,l.default)(h);i.push(n.template.statement.ast`var ${d} = ${h}`)}}return i}function privateNameVisitorFactory(e){const t=n.traverse.visitors.merge([Object.assign({},e),i.default]);const r=Object.assign({},e,{Class(e){const{privateNamesMap:n}=this;const s=e.get("body.body");const i=new Map(n);const a=[];for(const e of s){if(!e.isPrivate())continue;const{name:t}=e.node.key.id;i.delete(t);a.push(t)}if(!a.length){return}e.get("body").traverse(t,Object.assign({},this,{redeclared:a}));e.traverse(r,Object.assign({},this,{privateNamesMap:i}));e.skipKey("body")}});return r}const p=privateNameVisitorFactory({PrivateName(e,{noDocumentAll:t}){const{privateNamesMap:r,redeclared:n}=this;const{node:s,parentPath:i}=e;if(!i.isMemberExpression({property:s})&&!i.isOptionalMemberExpression({property:s})){return}const{name:a}=s.id;if(!r.has(a))return;if(n&&n.includes(a))return;this.handle(i,t)}});function unshadow(e,t,r){while((n=t)!=null&&n.hasBinding(e)&&!t.bindingIdentifierEquals(e,r)){var n;t.rename(e);t=t.parent}}function buildCheckInRHS(e,t,r){if(r||!(t.availableHelper!=null&&t.availableHelper("checkInRHS")))return e;return n.types.callExpression(t.addHelper("checkInRHS"),[e])}const f=privateNameVisitorFactory({BinaryExpression(e,{file:t}){const{operator:r,left:s,right:i}=e.node;if(r!=="in")return;if(!n.types.isPrivateName(s))return;const{privateFieldsAsProperties:a,privateNamesMap:o,redeclared:l}=this;const{name:c}=s.id;if(!o.has(c))return;if(l&&l.includes(c))return;unshadow(this.classRef.name,e.scope,this.innerBinding);if(a){const{id:r}=o.get(c);e.replaceWith(n.template.expression.ast`
        Object.prototype.hasOwnProperty.call(${buildCheckInRHS(i,t)}, ${n.types.cloneNode(r)})
      `);return}const{id:u,static:p}=o.get(c);if(p){e.replaceWith(n.template.expression.ast`${buildCheckInRHS(i,t)} === ${n.types.cloneNode(this.classRef)}`);return}e.replaceWith(n.template.expression.ast`${n.types.cloneNode(u)}.has(${buildCheckInRHS(i,t)})`)}});const d={memoise(e,t){const{scope:r}=e;const{object:n}=e.node;const s=r.maybeGenerateMemoised(n);if(!s){return}this.memoiser.set(n,s,t)},receiver(e){const{object:t}=e.node;if(this.memoiser.has(t)){return n.types.cloneNode(this.memoiser.get(t))}return n.types.cloneNode(t)},get(e){const{classRef:t,privateNamesMap:r,file:s,innerBinding:i}=this;const{name:a}=e.node.property.id;const{id:o,static:l,method:c,methodId:u,getId:p,setId:f}=r.get(a);const d=p||f;if(l){const r=c&&!d?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";unshadow(t.name,e.scope,i);return n.types.callExpression(s.addHelper(r),[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(o)])}if(c){if(d){if(!p&&f){if(s.availableHelper("writeOnlyError")){return n.types.sequenceExpression([this.receiver(e),n.types.callExpression(s.addHelper("writeOnlyError"),[n.types.stringLiteral(`#${a}`)])])}console.warn(`@babel/helpers is outdated, update it to silence this warning.`)}return n.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(o)])}return n.types.callExpression(s.addHelper("classPrivateMethodGet"),[this.receiver(e),n.types.cloneNode(o),n.types.cloneNode(u)])}return n.types.callExpression(s.addHelper("classPrivateFieldGet"),[this.receiver(e),n.types.cloneNode(o)])},boundGet(e){this.memoise(e,1);return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[this.receiver(e)])},set(e,t){const{classRef:r,privateNamesMap:s,file:i}=this;const{name:a}=e.node.property.id;const{id:o,static:l,method:c,setId:u,getId:p}=s.get(a);const f=p||u;if(l){const s=c&&!f?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return n.types.callExpression(i.addHelper(s),[this.receiver(e),n.types.cloneNode(r),n.types.cloneNode(o),t])}if(c){if(u){return n.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])}return n.types.sequenceExpression([this.receiver(e),t,n.types.callExpression(i.addHelper("readOnlyError"),[n.types.stringLiteral(`#${a}`)])])}return n.types.callExpression(i.addHelper("classPrivateFieldSet"),[this.receiver(e),n.types.cloneNode(o),t])},destructureSet(e){const{classRef:t,privateNamesMap:r,file:s}=this;const{name:i}=e.node.property.id;const{id:a,static:o}=r.get(i);if(o){try{var l=s.addHelper("classStaticPrivateFieldDestructureSet")}catch(e){throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \n"+"please update @babel/helpers to the latest version.")}return n.types.memberExpression(n.types.callExpression(l,[this.receiver(e),n.types.cloneNode(t),n.types.cloneNode(a)]),n.types.identifier("value"))}return n.types.memberExpression(n.types.callExpression(s.addHelper("classPrivateFieldDestructureSet"),[this.receiver(e),n.types.cloneNode(a)]),n.types.identifier("value"))},call(e,t){this.memoise(e,1);return(0,o.default)(this.get(e),this.receiver(e),t,false)},optionalCall(e,t){this.memoise(e,1);return(0,o.default)(this.get(e),this.receiver(e),t,true)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};const h={get(e){const{privateNamesMap:t,file:r}=this;const{object:s}=e.node;const{name:i}=e.node.property.id;return n.template.expression`BASE(REF, PROP)[PROP]`({BASE:r.addHelper("classPrivateFieldLooseBase"),REF:n.types.cloneNode(s),PROP:n.types.cloneNode(t.get(i).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(e){return n.types.callExpression(n.types.memberExpression(this.get(e),n.types.identifier("bind")),[n.types.cloneNode(e.node.object)])},simpleSet(e){return this.get(e)},destructureSet(e){return this.get(e)},call(e,t){return n.types.callExpression(this.get(e),t)},optionalCall(e,t){return n.types.optionalCallExpression(this.get(e),t,true)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function transformPrivateNamesUsage(e,t,r,{privateFieldsAsProperties:n,noDocumentAll:s,innerBinding:i},o){if(!r.size)return;const l=t.get("body");const c=n?h:d;(0,a.default)(l,p,Object.assign({privateNamesMap:r,classRef:e,file:o},c,{noDocumentAll:s,innerBinding:i}));l.traverse(f,{privateNamesMap:r,classRef:e,file:o,privateFieldsAsProperties:n,innerBinding:i})}function buildPrivateFieldInitLoose(e,t,r){const{id:s}=r.get(t.node.key.id.name);const i=t.node.value||t.scope.buildUndefinedNode();return inheritPropComments(n.template.statement.ast`
      Object.defineProperty(${e}, ${n.types.cloneNode(s)}, {
        // configurable is false by default
        // enumerable is false by default
        writable: true,
        value: ${i}
      });
    `,t)}function buildPrivateInstanceFieldInitSpec(e,t,r,s){const{id:i}=r.get(t.node.key.id.name);const a=t.node.value||t.scope.buildUndefinedNode();{if(!s.availableHelper("classPrivateFieldInitSpec")){return inheritPropComments(n.template.statement.ast`${n.types.cloneNode(i)}.set(${e}, {
          // configurable is always false for private elements
          // enumerable is always false for private elements
          writable: true,
          value: ${a},
        })`,t)}}const o=s.addHelper("classPrivateFieldInitSpec");return inheritPropComments(n.template.statement.ast`${o}(
      ${n.types.thisExpression()},
      ${n.types.cloneNode(i)},
      {
        writable: true,
        value: ${a}
      },
    )`,t)}function buildPrivateStaticFieldInitSpec(e,t){const r=t.get(e.node.key.id.name);const{id:s,getId:i,setId:a,initAdded:o}=r;const l=i||a;if(!e.isProperty()&&(o||!l))return;if(l){t.set(e.node.key.id.name,Object.assign({},r,{initAdded:true}));return inheritPropComments(n.template.statement.ast`
        var ${n.types.cloneNode(s)} = {
          // configurable is false by default
          // enumerable is false by default
          // writable is false by default
          get: ${i?i.name:e.scope.buildUndefinedNode()},
          set: ${a?a.name:e.scope.buildUndefinedNode()}
        }
      `,e)}const c=e.node.value||e.scope.buildUndefinedNode();return inheritPropComments(n.template.statement.ast`
      var ${n.types.cloneNode(s)} = {
        // configurable is false by default
        // enumerable is false by default
        writable: true,
        value: ${c}
      };
    `,e)}function buildPrivateMethodInitLoose(e,t,r){const s=r.get(t.node.key.id.name);const{methodId:i,id:a,getId:o,setId:l,initAdded:c}=s;if(c)return;if(i){return inheritPropComments(n.template.statement.ast`
        Object.defineProperty(${e}, ${a}, {
          // configurable is false by default
          // enumerable is false by default
          // writable is false by default
          value: ${i.name}
        });
      `,t)}const u=o||l;if(u){r.set(t.node.key.id.name,Object.assign({},s,{initAdded:true}));return inheritPropComments(n.template.statement.ast`
        Object.defineProperty(${e}, ${a}, {
          // configurable is false by default
          // enumerable is false by default
          // writable is false by default
          get: ${o?o.name:t.scope.buildUndefinedNode()},
          set: ${l?l.name:t.scope.buildUndefinedNode()}
        });
      `,t)}}function buildPrivateInstanceMethodInitSpec(e,t,r,n){const s=r.get(t.node.key.id.name);const{getId:i,setId:a,initAdded:o}=s;if(o)return;const l=i||a;if(l){return buildPrivateAccessorInitialization(e,t,r,n)}return buildPrivateInstanceMethodInitialization(e,t,r,n)}function buildPrivateAccessorInitialization(e,t,r,s){const i=r.get(t.node.key.id.name);const{id:a,getId:o,setId:l}=i;r.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));{if(!s.availableHelper("classPrivateFieldInitSpec")){return inheritPropComments(n.template.statement.ast`
          ${a}.set(${e}, {
            get: ${o?o.name:t.scope.buildUndefinedNode()},
            set: ${l?l.name:t.scope.buildUndefinedNode()}
          });
        `,t)}}const c=s.addHelper("classPrivateFieldInitSpec");return inheritPropComments(n.template.statement.ast`${c}(
      ${n.types.thisExpression()},
      ${n.types.cloneNode(a)},
      {
        get: ${o?o.name:t.scope.buildUndefinedNode()},
        set: ${l?l.name:t.scope.buildUndefinedNode()}
      },
    )`,t)}function buildPrivateInstanceMethodInitialization(e,t,r,s){const i=r.get(t.node.key.id.name);const{id:a}=i;{if(!s.availableHelper("classPrivateMethodInitSpec")){return inheritPropComments(n.template.statement.ast`${a}.add(${e})`,t)}}const o=s.addHelper("classPrivateMethodInitSpec");return inheritPropComments(n.template.statement.ast`${o}(
      ${n.types.thisExpression()},
      ${n.types.cloneNode(a)}
    )`,t)}function buildPublicFieldInitLoose(e,t){const{key:r,computed:s}=t.node;const i=t.node.value||t.scope.buildUndefinedNode();return inheritPropComments(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(e,r,s||n.types.isLiteral(r)),i)),t)}function buildPublicFieldInitSpec(e,t,r){const{key:s,computed:i}=t.node;const a=t.node.value||t.scope.buildUndefinedNode();return inheritPropComments(n.types.expressionStatement(n.types.callExpression(r.addHelper("defineProperty"),[e,i||n.types.isLiteral(s)?s:n.types.stringLiteral(s.name),a])),t)}function buildPrivateStaticMethodInitLoose(e,t,r,s){const i=s.get(t.node.key.id.name);const{id:a,methodId:o,getId:l,setId:c,initAdded:u}=i;if(u)return;const p=l||c;if(p){s.set(t.node.key.id.name,Object.assign({},i,{initAdded:true}));return inheritPropComments(n.template.statement.ast`
        Object.defineProperty(${e}, ${a}, {
          // configurable is false by default
          // enumerable is false by default
          // writable is false by default
          get: ${l?l.name:t.scope.buildUndefinedNode()},
          set: ${c?c.name:t.scope.buildUndefinedNode()}
        })
      `,t)}return inheritPropComments(n.template.statement.ast`
      Object.defineProperty(${e}, ${a}, {
        // configurable is false by default
        // enumerable is false by default
        // writable is false by default
        value: ${o.name}
      });
    `,t)}function buildPrivateMethodDeclaration(e,t,r=false){const s=t.get(e.node.key.id.name);const{id:i,methodId:a,getId:o,setId:l,getterDeclared:c,setterDeclared:u,static:p}=s;const{params:f,body:d,generator:h,async:m}=e.node;const y=o&&!c&&f.length===0;const g=l&&!u&&f.length>0;let b=a;if(y){t.set(e.node.key.id.name,Object.assign({},s,{getterDeclared:true}));b=o}else if(g){t.set(e.node.key.id.name,Object.assign({},s,{setterDeclared:true}));b=l}else if(p&&!r){b=i}return inheritPropComments(n.types.functionDeclaration(n.types.cloneNode(b),f,d,h,m),e)}const m=n.traverse.visitors.merge([{UnaryExpression(e){const{node:t}=e;if(t.operator==="delete"){const r=(0,c.skipTransparentExprWrapperNodes)(t.argument);if(n.types.isThisExpression(r)){e.replaceWith(n.types.booleanLiteral(true))}}},ThisExpression(e,t){t.needsClassRef=true;e.replaceWith(n.types.cloneNode(t.classRef))},MetaProperty(e){const{node:t,scope:r}=e;if(t.meta.name==="new"&&t.property.name==="target"){e.replaceWith(r.buildUndefinedNode())}}},i.default]);const y={ReferencedIdentifier(e,t){if(e.scope.bindingIdentifierEquals(e.node.name,t.innerBinding)){t.needsClassRef=true;e.node.name=t.classRef.name}}};function replaceThisContext(e,t,r){var n;const s={classRef:t,needsClassRef:false,innerBinding:r};if(!e.isMethod()){e.traverse(m,s)}if(r!=null&&(n=s.classRef)!=null&&n.name&&s.classRef.name!==r.name){e.traverse(y,s)}return s.needsClassRef}function isNameOrLength({key:e,computed:t}){if(e.type==="Identifier"){return!t&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function inheritPropComments(e,t){n.types.inheritLeadingComments(e,t.node);n.types.inheritInnerComments(e,t.node);return e}function buildFieldsInitNodes(e,t,r,i,a,o,l,c,p){var f,d;let h=0;let m;const y=[];const g=[];const b=[];let T=null;const S=n.types.isIdentifier(t)?()=>t:()=>{var e;(e=m)!=null?e:m=r[0].scope.generateUidIdentifierBasedOnNode(t);return m};const E=(f=e)!=null?f:r[0].scope.generateUidIdentifier("class");(d=e)!=null?d:e=n.types.cloneNode(p);for(const t of r){t.isClassProperty()&&u.assertFieldTransformed(t);const r=!(n.types.isStaticBlock!=null&&n.types.isStaticBlock(t.node))&&t.node.static;const f=!r;const d=t.isPrivate();const m=!d;const T=t.isProperty();const x=!T;const v=t.isStaticBlock==null?void 0:t.isStaticBlock();if(r)h|=1;if(r||x&&d||v){new s.default({methodPath:t,constantSuper:c,file:a,refToPreserve:p,getSuperRef:S,getObjectRef(){h|=2;if(r||v){return E}else{return n.types.memberExpression(E,n.types.identifier("prototype"))}}}).replace();const e=replaceThisContext(t,E,p);if(e){h|=2}}switch(true){case v:{const e=t.node.body;if(e.length===1&&n.types.isExpressionStatement(e[0])){y.push(inheritPropComments(e[0],t))}else{y.push(n.types.inheritsComments(n.template.statement.ast`(() => { ${e} })()`,t.node))}break}case r&&d&&T&&l:y.push(buildPrivateFieldInitLoose(n.types.cloneNode(e),t,i));break;case r&&d&&T&&!l:y.push(buildPrivateStaticFieldInitSpec(t,i));break;case r&&m&&T&&o:if(!isNameOrLength(t.node)){y.push(buildPublicFieldInitLoose(n.types.cloneNode(e),t));break}case r&&m&&T&&!o:y.push(buildPublicFieldInitSpec(n.types.cloneNode(e),t,a));break;case f&&d&&T&&l:g.push(buildPrivateFieldInitLoose(n.types.thisExpression(),t,i));break;case f&&d&&T&&!l:g.push(buildPrivateInstanceFieldInitSpec(n.types.thisExpression(),t,i,a));break;case f&&d&&x&&l:g.unshift(buildPrivateMethodInitLoose(n.types.thisExpression(),t,i));b.push(buildPrivateMethodDeclaration(t,i,l));break;case f&&d&&x&&!l:g.unshift(buildPrivateInstanceMethodInitSpec(n.types.thisExpression(),t,i,a));b.push(buildPrivateMethodDeclaration(t,i,l));break;case r&&d&&x&&!l:y.unshift(buildPrivateStaticFieldInitSpec(t,i));b.push(buildPrivateMethodDeclaration(t,i,l));break;case r&&d&&x&&l:y.unshift(buildPrivateStaticMethodInitLoose(n.types.cloneNode(e),t,a,i));b.push(buildPrivateMethodDeclaration(t,i,l));break;case f&&m&&T&&o:g.push(buildPublicFieldInitLoose(n.types.thisExpression(),t));break;case f&&m&&T&&!o:g.push(buildPublicFieldInitSpec(n.types.thisExpression(),t,a));break;default:throw new Error("Unreachable.")}}if(h&2&&p!=null){T=n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(E),n.types.cloneNode(p)))}return{staticNodes:y.filter(Boolean),instanceNodes:g.filter(Boolean),pureStaticNodes:b.filter(Boolean),classBindingNode:T,wrapClass(t){for(const e of r){e.node.leadingComments=null;e.remove()}if(m){t.scope.push({id:n.types.cloneNode(m)});t.set("superClass",n.types.assignmentExpression("=",m,t.node.superClass))}if(h!==0){if(t.isClassExpression()){t.scope.push({id:e});t.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(e),t.node))}else{if(p==null){t.node.id=e}if(T!=null){t.scope.push({id:E})}}}return t}}}},269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"FEATURES",{enumerable:true,get:function(){return u.FEATURES}});Object.defineProperty(t,"buildCheckInRHS",{enumerable:true,get:function(){return o.buildCheckInRHS}});t.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(t,"enableFeature",{enumerable:true,get:function(){return u.enableFeature}});Object.defineProperty(t,"injectInitialization",{enumerable:true,get:function(){return c.injectInitialization}});var n=r(3688);var s=r(4940);var i=r(4097);var a=r(7849);var o=r(9076);var l=r(327);var c=r(1822);var u=r(5929);var p=r(5963);const f="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:t,loose:r,manipulateOptions:d,api:h,inherits:m}){{var y;(y=h)!=null?y:h={assumption:()=>void 0}}const g=h.assumption("setPublicClassFields");const b=h.assumption("privateFieldsAsSymbols");const T=h.assumption("privateFieldsAsProperties");const S=h.assumption("constantSuper");const E=h.assumption("noDocumentAll");if(T&&b){throw new Error(`Cannot enable both the "privateFieldsAsProperties" and `+`"privateFieldsAsSymbols" assumptions as the same time.`)}const x=T||b;if(r===true){const t=[];if(g!==undefined){t.push(`"setPublicClassFields"`)}if(T!==undefined){t.push(`"privateFieldsAsProperties"`)}if(b!==undefined){t.push(`"privateFieldsAsSymbols"`)}if(t.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${t.join(" and ")}`+` assumption${t.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsSymbols": true\n`+`\t}`)}}return{name:e,manipulateOptions:d,inherits:m,pre(e){(0,u.enableFeature)(e,t,r);{if(typeof e.get(f)==="number"){e.set(f,"7.22.15");return}}if(!e.get(f)||a.lt(e.get(f),"7.22.15")){e.set(f,"7.22.15")}},visitor:{Class(e,{file:r}){var i;if(r.get(f)!=="7.22.15")return;if(!(0,u.shouldTransform)(e,r))return;const a=e.isClassDeclaration();if(a)(0,p.assertFieldTransformed)(e);const d=(0,u.isLoose)(r,t);let h;const m=(0,l.hasDecorators)(e.node);const y=[];const v=[];const P=[];const A=new Set;const w=e.get("body");for(const e of w.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){P.push(e)}if(e.isPrivate()){const{name:t}=e.node.key.id;const r=`get ${t}`;const n=`set ${t}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if(A.has(r)||A.has(t)&&!A.has(n)){throw e.buildCodeFrameError("Duplicate private field")}A.add(r).add(t)}else if(e.node.kind==="set"){if(A.has(n)||A.has(t)&&!A.has(r)){throw e.buildCodeFrameError("Duplicate private field")}A.add(n).add(t)}}else{if(A.has(t)&&!A.has(r)&&!A.has(n)||A.has(t)&&(A.has(r)||A.has(n))){throw e.buildCodeFrameError("Duplicate private field")}A.add(t)}}if(e.isClassMethod({kind:"constructor"})){h=e}else{v.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){y.push(e)}}}{if(!y.length&&!m)return}const C=e.node.id;let I;if(!C||!a){(0,s.default)(e);I=e.scope.generateUidIdentifier("class")}const O=(i=I)!=null?i:n.types.cloneNode(C);const k=(0,o.buildPrivateNamesMap)(y);const N=(0,o.buildPrivateNamesNodes)(k,T!=null?T:d,b!=null?b:false,r);(0,o.transformPrivateNamesUsage)(O,e,k,{privateFieldsAsProperties:x!=null?x:d,noDocumentAll:E,innerBinding:C},r);let _,D,M,L,j,F;{if(m){D=L=_=[];({instanceNodes:M,wrapClass:F}=(0,l.buildDecoratedClass)(O,e,v,r))}else{_=(0,c.extractComputedKeys)(e,P,r);({staticNodes:D,pureStaticNodes:L,instanceNodes:M,classBindingNode:j,wrapClass:F}=(0,o.buildFieldsInitNodes)(I,e.node.superClass,y,k,r,g!=null?g:d,x!=null?x:d,S!=null?S:d,C))}}if(M.length>0){(0,c.injectInitialization)(e,h,M,((e,t)=>{{if(m)return}for(const r of y){if(n.types.isStaticBlock!=null&&n.types.isStaticBlock(r.node)||r.node.static)continue;r.traverse(e,t)}}))}const B=F(e);B.insertBefore([...N,..._]);if(D.length>0){B.insertAfter(D)}if(L.length>0){B.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(L)}if(j!=null&&a){B.insertAfter(j)}},ExportDefaultDeclaration(e,{file:t}){{if(t.get(f)!=="7.22.15")return;const r=e.get("declaration");if(r.isClassDeclaration()&&(0,l.hasDecorators)(r.node)){if(r.node.id){(0,i.default)(e)}else{r.node.type="ClassExpression"}}}}}}}},1822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extractComputedKeys=extractComputedKeys;t.injectInitialization=injectInitialization;var n=r(3688);var s=r(8552);const i=n.traverse.visitors.merge([{Super(e){const{node:t,parentPath:r}=e;if(r.isCallExpression({callee:t})){this.push(r)}}},s.default]);const a={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:t}){if(t.hasOwnBinding(e.node.name)){t.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,t){if(t.classBinding&&t.classBinding===e.scope.getBinding(e.node.name)){const r=t.file.addHelper("classNameTDZError");const s=n.types.callExpression(r,[n.types.stringLiteral(e.node.name)]);e.replaceWith(n.types.sequenceExpression([s,e.node]));e.skip()}}const o={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,t,r,s){if(!r.length)return;const o=!!e.node.superClass;if(!t){const r=n.types.classMethod("constructor",n.types.identifier("constructor"),[],n.types.blockStatement([]));if(o){r.params=[n.types.restElement(n.types.identifier("args"))];r.body.body.push(n.template.statement.ast`super(...args)`)}[t]=e.get("body").unshiftContainer("body",r)}if(s){s(a,{scope:t.scope})}if(o){const e=[];t.traverse(i,e);let s=true;for(const t of e){if(s){t.insertAfter(r);s=false}else{t.insertAfter(r.map((e=>n.types.cloneNode(e))))}}}else{t.get("body").unshiftContainer("body",r)}}function extractComputedKeys(e,t,r){const s=[];const i={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:r};for(const r of t){const t=r.get("key");if(t.isReferencedIdentifier()){handleClassTDZ(t,i)}else{t.traverse(o,i)}const a=r.node;if(!t.isConstantExpression()){const t=e.scope.generateUidIdentifierBasedOnNode(a.key);e.scope.push({id:t,kind:"let"});s.push(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(t),a.key)));a.key=n.types.cloneNode(t)}}return s}},5963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare||false){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-transform-class-properties\n`+` - @babel/plugin-transform-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},8552:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{t.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:t,node:r}=e;if(r.computed){t.maybeQueue(e.get("key"))}if(r.decorators){for(const r of e.get("decorators")){t.maybeQueue(r)}}}const r={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var n=r;t["default"]=n},4940:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var n=r(9128);var s=r(776);const{NOT_LOCAL_BINDING:i,cloneNode:a,identifier:o,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:u,isIdentifier:p,isLiteral:f,isNullLiteral:d,isObjectMethod:h,isObjectProperty:m,isRegExpLiteral:y,isRestElement:g,isTemplateLiteral:b,isVariableDeclarator:T,toBindingIdentifierName:S}=s;function getFunctionArity(e){const t=e.params.findIndex((e=>c(e)||g(e)));return t===-1?e.params.length:t}const E=n.default.statement(`\n  (function (FUNCTION_KEY) {\n    function FUNCTION_ID() {\n      return FUNCTION_KEY.apply(this, arguments);\n    }\n\n    FUNCTION_ID.toString = function () {\n      return FUNCTION_KEY.toString();\n    }\n\n    return FUNCTION_ID;\n  })(FUNCTION)\n`);const x=n.default.statement(`\n  (function (FUNCTION_KEY) {\n    function* FUNCTION_ID() {\n      return yield* FUNCTION_KEY.apply(this, arguments);\n    }\n\n    FUNCTION_ID.toString = function () {\n      return FUNCTION_KEY.toString();\n    };\n\n    return FUNCTION_ID;\n  })(FUNCTION)\n`);const v={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);if(r!==t.outerDeclar)return;t.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(d(e)){return"null"}if(y(e)){return`_${e.pattern}_${e.flags}`}if(b(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,t,r,n){if(e.selfReference){if(n.hasBinding(r.name)&&!n.hasGlobal(r.name)){n.rename(r.name)}else{if(!u(t))return;let e=E;if(t.generator){e=x}const s=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:n.generateUidIdentifier(r.name)}).expression;const i=s.callee.body.body[0].params;for(let e=0,r=getFunctionArity(t);e<r;e++){i.push(n.generateUidIdentifier("x"))}return s}}t.id=r;n.getProgramParent().references[r.name]=true}function visit(e,t,r){const n={selfAssignment:false,selfReference:false,outerDeclar:r.getBindingIdentifier(t),name:t};const s=r.getOwnBinding(t);if(s){if(s.kind==="param"){n.selfReference=true}else{}}else if(n.outerDeclar||r.hasGlobal(t)){r.traverse(e,v,n)}return n}function _default({node:e,parent:t,scope:r,id:n},s=false,c=false){if(e.id)return;if((m(t)||h(t,{kind:"method"}))&&(!t.computed||f(t.key))){n=t.key}else if(T(t)){n=t.id;if(p(n)&&!s){const t=r.parent.getBinding(n.name);if(t&&t.constant&&r.getBinding(n.name)===t){e.id=a(n);e.id[i]=true;return}}}else if(l(t,{operator:"="})){n=t.left}else if(!n){return}let d;if(n&&f(n)){d=getNameFromLiteralId(n)}else if(n&&p(n)){d=n.name}if(d===undefined){return}if(!c&&u(e)&&/[\uD800-\uDFFF]/.test(d)){return}d=S(d);const y=o(d);y[i]=true;const g=visit(e,d,r);return wrap(g,e,y,r)||e}},405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=hoistVariables;var n=r(776);const{assignmentExpression:s,expressionStatement:i,identifier:a}=n;const o={Scope(e,t){if(t.kind==="let")e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const r=[];const n=e.get("declarations");let o;for(const e of n){o=e.node.id;if(e.node.init){r.push(i(s("=",e.node.id,e.node.init)))}for(const r of Object.keys(e.getBindingIdentifiers())){t.emit(a(r),r,e.node.init!==null)}}if(e.parentPath.isFor({left:e.node})){e.replaceWith(o)}else{e.replaceWithMultiple(r)}}};function hoistVariables(e,t,r="var"){e.traverse(o,{kind:r,emit:t})}},3590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(776);function _interopNamespace(e){if(e&&e.__esModule)return e;var t=Object.create(null);if(e){Object.keys(e).forEach((function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:true,get:function(){return e[r]}})}}))}t.default=e;return Object.freeze(t)}var s=_interopNamespace(n);function willPathCastToBoolean(e){const t=e;const{node:r,parentPath:n}=t;if(n.isLogicalExpression()){const{operator:e,right:t}=n.node;if(e==="&&"||e==="||"||e==="??"&&r===t){return willPathCastToBoolean(n)}}if(n.isSequenceExpression()){const{expressions:e}=n.node;if(e[e.length-1]===r){return willPathCastToBoolean(n)}else{return true}}return n.isConditional({test:r})||n.isUnaryExpression({operator:"!"})||n.isLoop({test:r})}const{LOGICAL_OPERATORS:i,arrowFunctionExpression:a,assignmentExpression:o,binaryExpression:l,booleanLiteral:c,callExpression:u,cloneNode:p,conditionalExpression:f,identifier:d,isMemberExpression:h,isOptionalCallExpression:m,isOptionalMemberExpression:y,isUpdateExpression:g,logicalExpression:b,memberExpression:T,nullLiteral:S,optionalCallExpression:E,optionalMemberExpression:x,sequenceExpression:v,updateExpression:P}=s;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const t=this._map.get(e);const{value:r}=t;t.count--;if(t.count===0){return o("=",r,e)}return r}set(e,t,r){return this._map.set(e,{count:r,value:t})}}function toNonOptional(e,t){const{node:r}=e;if(y(r)){return T(t,r.property,r.computed)}if(e.isOptionalCallExpression()){const r=e.get("callee");if(e.node.optional&&r.isOptionalMemberExpression()){const n=r.node.object;const s=e.scope.maybeGenerateMemoised(n);r.get("object").replaceWith(o("=",s,n));return u(T(t,d("call")),[s,...e.node.arguments])}return u(t,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:t,container:r,listKey:n}=e;const s=t.node;if(n){if(r!==s[n]){return true}}else{if(r!==s)return true}e=t}return false}const A={memoise(){},handle(e,t){const{node:r,parent:n,parentPath:s,scope:i}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const g=e.find((({node:t,parent:r})=>{if(y(r)){return r.optional||r.object!==t}if(m(r)){return t!==e.node&&r.optional||r.callee!==t}return true}));if(i.path.isPattern()){g.replaceWith(u(a([],g.node),[]));return}const T=willPathCastToBoolean(g);const v=g.parentPath;if(v.isUpdateExpression({argument:r})){throw e.buildCodeFrameError(`can't handle update expression`)}const P=v.isAssignmentExpression({left:g.node});const A=v.isUnaryExpression({operator:"delete"});if(A&&g.isOptionalMemberExpression()&&g.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let w=e;for(;;){if(w.isOptionalMemberExpression()){if(w.node.optional)break;w=w.get("object");continue}else if(w.isOptionalCallExpression()){if(w.node.optional)break;w=w.get("callee");continue}throw new Error(`Internal error: unexpected ${w.node.type}`)}const C=w.isOptionalMemberExpression()?w.node.object:w.node.callee;const I=i.maybeGenerateMemoised(C);const O=I!=null?I:C;const k=s.isOptionalCallExpression({callee:r});const isOptionalCall=e=>k;const N=s.isCallExpression({callee:r});w.replaceWith(toNonOptional(w,O));if(isOptionalCall()){if(n.optional){s.replaceWith(this.optionalCall(e,n.arguments))}else{s.replaceWith(this.call(e,n.arguments))}}else if(N){e.replaceWith(this.boundGet(e))}else if(this.delete&&s.isUnaryExpression({operator:"delete"})){s.replaceWith(this.delete(e))}else if(s.isAssignmentExpression()){handleAssignment(this,e,s)}else{e.replaceWith(this.get(e))}let _=e.node;for(let t=e;t!==g;){const e=t.parentPath;if(e===g&&isOptionalCall()&&n.optional){_=e.node;break}_=toNonOptional(e,_);t=e}let D;const M=g.parentPath;if(h(_)&&M.isOptionalCallExpression({callee:g.node,optional:true})){const{object:t}=_;D=e.scope.maybeGenerateMemoised(t);if(D){_.object=o("=",D,t)}}let L=g;if(A||P){L=M;_=M.node}const j=I?o("=",p(O),p(C)):p(O);if(T){let e;if(t){e=l("!=",j,S())}else{e=b("&&",l("!==",j,S()),l("!==",p(O),i.buildUndefinedNode()))}L.replaceWith(b("&&",e,_))}else{let e;if(t){e=l("==",j,S())}else{e=b("||",l("===",j,S()),l("===",p(O),i.buildUndefinedNode()))}L.replaceWith(f(e,A?c(true):i.buildUndefinedNode(),_))}if(D){const e=M.node;M.replaceWith(E(x(e.callee,d("call"),false,true),[p(D),...e.arguments],false))}return}if(g(n,{argument:r})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:t,prefix:a}=n;this.memoise(e,2);const l=i.generateUidIdentifierBasedOnNode(r);i.push({id:l});const c=[o("=",p(l),this.get(e))];if(a){c.push(P(t,p(l),a));const r=v(c);s.replaceWith(this.set(e,r));return}else{const n=i.generateUidIdentifierBasedOnNode(r);i.push({id:n});c.push(o("=",p(n),P(t,p(l),a)),p(l));const u=v(c);s.replaceWith(v([this.set(e,u),p(n)]));return}}if(s.isAssignmentExpression({left:r})){handleAssignment(this,e,s);return}if(s.isCallExpression({callee:r})){s.replaceWith(this.call(e,s.node.arguments));return}if(s.isOptionalCallExpression({callee:r})){if(i.path.isPattern()){s.replaceWith(u(a([],s.node),[]));return}s.replaceWith(this.optionalCall(e,s.node.arguments));return}if(this.delete&&s.isUnaryExpression({operator:"delete"})){s.replaceWith(this.delete(e));return}if(s.isForXStatement({left:r})||s.isObjectProperty({value:r})&&s.parentPath.isObjectPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isObjectProperty({value:n})&&s.parentPath.parentPath.isObjectPattern()||s.isArrayPattern()||s.isAssignmentPattern({left:r})&&s.parentPath.isArrayPattern()||s.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(s.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function handleAssignment(e,t,r){if(e.simpleSet){t.replaceWith(e.simpleSet(t));return}const{operator:n,right:s}=r.node;if(n==="="){r.replaceWith(e.set(t,s))}else{const a=n.slice(0,-1);if(i.includes(a)){e.memoise(t,1);r.replaceWith(b(a,e.get(t),e.set(t,s)))}else{e.memoise(t,2);r.replaceWith(e.set(t,l(a,e.get(t),s)))}}}function memberExpressionToFunctions(e,t,r){e.traverse(t,Object.assign({},A,r,{memoiser:new AssignmentMemoiser}))}t["default"]=memberExpressionToFunctions},4835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9491);var s=r(776);const{callExpression:i,cloneNode:a,expressionStatement:o,identifier:l,importDeclaration:c,importDefaultSpecifier:u,importNamespaceSpecifier:p,importSpecifier:f,memberExpression:d,stringLiteral:h,variableDeclaration:m,variableDeclarator:y}=s;class ImportBuilder{constructor(e,t,r){this._statements=[];this._resultName=null;this._importedSource=void 0;this._scope=t;this._hub=r;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(c([],h(this._importedSource)));return this}require(){this._statements.push(o(i(l("require"),[h(this._importedSource)])));return this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[p(t)];this._resultName=a(t);return this}default(e){const t=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];n(r.type==="ImportDeclaration");n(r.specifiers.length===0);r.specifiers=[u(t)];this._resultName=a(t);return this}named(e,t){if(t==="default")return this.default(e);const r=this._scope.generateUidIdentifier(e);const s=this._statements[this._statements.length-1];n(s.type==="ImportDeclaration");n(s.specifiers.length===0);s.specifiers=[f(r,l(t))];this._resultName=a(r);return this}var(e){const t=this._scope.generateUidIdentifier(e);let r=this._statements[this._statements.length-1];if(r.type!=="ExpressionStatement"){n(this._resultName);r=o(this._resultName);this._statements.push(r)}this._statements[this._statements.length-1]=m("var",[y(t,r.expression)]);this._resultName=a(t);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=i(e,[t.expression])}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=i(e,[t.declarations[0].init])}else{n.fail("Unexpected type.")}return this}prop(e){const t=this._statements[this._statements.length-1];if(t.type==="ExpressionStatement"){t.expression=d(t.expression,l(e))}else if(t.type==="VariableDeclaration"){n(t.declarations.length===1);t.declarations[0].init=d(t.declarations[0].init,l(e))}else{n.fail("Unexpected type:"+t.type)}return this}read(e){this._resultName=d(this._resultName,l(e))}}t["default"]=ImportBuilder},8539:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9491);var s=r(776);var i=r(4835);var a=r(8089);const{numericLiteral:o,sequenceExpression:l}=s;class ImportInjector{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const n=e.find((e=>e.isProgram()));this._programPath=n;this._programScope=n.scope;this._hub=n.hub;this._defaultOpts=this._applyDefaults(t,r,true)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){n(typeof e==="string");return this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),void 0)}_applyDefaults(e,t,r=false){let s;if(typeof e==="string"){s=Object.assign({},this._defaultOpts,{importedSource:e},t)}else{n(!t,"Unexpected secondary arguments.");s=Object.assign({},this._defaultOpts,e)}if(!r&&t){if(t.nameHint!==undefined)s.nameHint=t.nameHint;if(t.blockHoist!==undefined)s.blockHoist=t.blockHoist}return s}_generateImport(e,t){const r=t==="default";const n=!!t&&!r;const s=t===null;const{importedSource:c,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:d,ensureNoContext:h,nameHint:m,importPosition:y,blockHoist:g}=e;let b=m||t;const T=(0,a.default)(this._programPath);const S=T&&f==="node";const E=T&&f==="babel";if(y==="after"&&!T){throw new Error(`"importPosition": "after" is only supported in modules`)}const x=new i.default(c,this._programScope,this._hub);if(u==="es6"){if(!S&&!E){throw new Error("Cannot import an ES6 module from CommonJS")}x.import();if(s){x.namespace(m||c)}else if(r||n){x.named(b,t)}}else if(u!=="commonjs"){throw new Error(`Unexpected interopType "${u}"`)}else if(p==="babel"){if(S){b=b!=="default"?b:c;const e=`${c}$es6Default`;x.import();if(s){x.default(e).var(b||c).wildcardInterop()}else if(r){if(d){x.default(e).var(b||c).defaultInterop().read("default")}else{x.default(e).var(b).defaultInterop().prop(t)}}else if(n){x.default(e).read(t)}}else if(E){x.import();if(s){x.namespace(b||c)}else if(r||n){x.named(b,t)}}else{x.require();if(s){x.var(b||c).wildcardInterop()}else if((r||n)&&d){if(r){b=b!=="default"?b:c;x.var(b).read(t);x.defaultInterop()}else{x.var(c).read(t)}}else if(r){x.var(b).defaultInterop().prop(t)}else if(n){x.var(b).prop(t)}}}else if(p==="compiled"){if(S){x.import();if(s){x.default(b||c)}else if(r||n){x.default(c).read(b)}}else if(E){x.import();if(s){x.namespace(b||c)}else if(r||n){x.named(b,t)}}else{x.require();if(s){x.var(b||c)}else if(r||n){if(d){x.var(c).read(b)}else{x.prop(t).var(b)}}}}else if(p==="uncompiled"){if(r&&d){throw new Error("No live reference for commonjs default")}if(S){x.import();if(s){x.default(b||c)}else if(r){x.default(b)}else if(n){x.default(c).read(b)}}else if(E){x.import();if(s){x.default(b||c)}else if(r){x.default(b)}else if(n){x.named(b,t)}}else{x.require();if(s){x.var(b||c)}else if(r){x.var(b)}else if(n){if(d){x.var(c).read(b)}else{x.var(b).prop(t)}}}}else{throw new Error(`Unknown importedInterop "${p}".`)}const{statements:v,resultName:P}=x.done();this._insertStatements(v,y,g);if((r||n)&&h&&P.type!=="Identifier"){return l([o(0),P])}return P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if(t==="after"){for(let t=n.length-1;t>=0;t--){if(n[t].isImportDeclaration()){n[t].insertAfter(e);return}}}else{e.forEach((e=>{e._blockHoist=r}));const t=n.find((e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4}));if(t){t.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}t["default"]=ImportInjector},3380:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ImportInjector",{enumerable:true,get:function(){return n.default}});t.addDefault=addDefault;t.addNamed=addNamed;t.addNamespace=addNamespace;t.addSideEffect=addSideEffect;Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return s.default}});var n=r(8539);var s=r(8089);function addDefault(e,t,r){return new n.default(e).addDefault(t,r)}function addNamed(e,t,r,s){return new n.default(e).addNamed(t,r,s)}function addNamespace(e,t,r){return new n.default(e).addNamespace(t,r)}function addSideEffect(e,t,r){return new n.default(e).addSideEffect(t,r)}},8089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isModule;function isModule(e){return e.node.sourceType==="module"}},3664:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildDynamicImport=buildDynamicImport;var n=r(3688);{t.getDynamicImportSource=function getDynamicImportSource(e){const[t]=e.arguments;return n.types.isStringLiteral(t)||n.types.isTemplateLiteral(t)?t:n.template.expression.ast`\`\${${t}}\``}}function buildDynamicImport(e,t,r,s){const i=n.types.isCallExpression(e)?e.arguments[0]:e.source;if(n.types.isStringLiteral(i)||n.types.isTemplateLiteral(i)&&i.quasis.length===0){if(t){return n.template.expression.ast`
        Promise.resolve().then(() => ${s(i)})
      `}else return s(i)}const a=n.types.isTemplateLiteral(i)?n.types.identifier("specifier"):n.types.templateLiteral([n.types.templateElement({raw:""}),n.types.templateElement({raw:""})],[n.types.identifier("specifier")]);if(t){return n.template.expression.ast`
      (specifier =>
        new Promise(r => r(${a}))
          .then(s => ${s(n.types.identifier("s"))})
      )(${i})
    `}else if(r){return n.template.expression.ast`
      (specifier =>
        new Promise(r => r(${s(a)}))
      )(${i})
    `}else{return n.template.expression.ast`
      (specifier => ${s(a)})(${i})
    `}}},7406:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getModuleName;{const e=getModuleName;t["default"]=getModuleName=function getModuleName(t,r){var n,s,i,a;return e(t,{moduleId:(n=r.moduleId)!=null?n:t.moduleId,moduleIds:(s=r.moduleIds)!=null?s:t.moduleIds,getModuleId:(i=r.getModuleId)!=null?i:t.getModuleId,moduleRoot:(a=r.moduleRoot)!=null?a:t.moduleRoot})}}function getModuleName(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:s=t.moduleRoot}=e;const{moduleId:i,moduleIds:a=!!i,getModuleId:o,moduleRoot:l=s}=t;if(!a)return null;if(i!=null&&!o){return i}let c=l!=null?l+"/":"";if(n){const e=s!=null?new RegExp("^"+s+"/?"):"";c+=n.replace(e,"").replace(/\.(\w*?)$/,"")}c=c.replace(/\\/g,"/");if(o){return o(c)||c}else{return c}}},6646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"buildDynamicImport",{enumerable:true,get:function(){return u.buildDynamicImport}});t.buildNamespaceInitStatements=buildNamespaceInitStatements;t.ensureStatementsHoisted=ensureStatementsHoisted;Object.defineProperty(t,"getModuleName",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"hasExports",{enumerable:true,get:function(){return l.hasExports}});Object.defineProperty(t,"isModule",{enumerable:true,get:function(){return i.isModule}});Object.defineProperty(t,"isSideEffectImport",{enumerable:true,get:function(){return l.isSideEffectImport}});t.rewriteModuleStatementsAndPrepareHeader=rewriteModuleStatementsAndPrepareHeader;Object.defineProperty(t,"rewriteThis",{enumerable:true,get:function(){return a.default}});t.wrapInterop=wrapInterop;var n=r(9491);var s=r(3688);var i=r(3380);var a=r(2268);var o=r(7258);var l=r(4042);var c=r(8652);var u=r(3664);var p=r(7406);const{booleanLiteral:f,callExpression:d,cloneNode:h,directive:m,directiveLiteral:y,expressionStatement:g,identifier:b,isIdentifier:T,memberExpression:S,stringLiteral:E,valueToNode:x,variableDeclaration:v,variableDeclarator:P}=s.types;{t.getDynamicImportSource=r(3664).getDynamicImportSource}function rewriteModuleStatementsAndPrepareHeader(e,{exportName:t,strict:r,allowTopLevelThis:s,strictMode:u,noInterop:p,importInterop:f=(p?"none":"babel"),lazy:d,getWrapperPayload:h=c.toGetWrapperPayload(d!=null?d:false),wrapReference:g=c.wrapReference,esNamespaceOnly:b,filename:T,constantReexports:S=arguments[1].loose,enumerableModuleMeta:E=arguments[1].loose,noIncompleteNsImportDetection:x}){(0,l.validateImportInteropOption)(f);n((0,i.isModule)(e),"Cannot process module statements in a script");e.node.sourceType="script";const v=(0,l.default)(e,t,{importInterop:f,initializeReexports:S,getWrapperPayload:h,esNamespaceOnly:b,filename:T});if(!s){(0,a.default)(e)}(0,o.default)(e,v,g);if(u!==false){const t=e.node.directives.some((e=>e.value.value==="use strict"));if(!t){e.unshiftContainer("directives",m(y("use strict")))}}const P=[];if((0,l.hasExports)(v)&&!r){P.push(buildESModuleHeader(v,E))}const A=buildExportNameListDeclaration(e,v);if(A){v.exportNameListName=A.name;P.push(A.statement)}P.push(...buildExportInitializationStatements(e,v,g,S,x));return{meta:v,headers:P}}function ensureStatementsHoisted(e){e.forEach((e=>{e._blockHoist=3}))}function wrapInterop(e,t,r){if(r==="none"){return null}if(r==="node-namespace"){return d(e.hub.addHelper("interopRequireWildcard"),[t,f(true)])}else if(r==="node-default"){return null}let n;if(r==="default"){n="interopRequireDefault"}else if(r==="namespace"){n="interopRequireWildcard"}else{throw new Error(`Unknown interop: ${r}`)}return d(e.hub.addHelper(n),[t])}function buildNamespaceInitStatements(e,t,r=false,n=c.wrapReference){var i;const a=[];const o=b(t.name);for(const e of t.importsNamespace){if(e===t.name)continue;a.push(s.template.statement`var NAME = SOURCE;`({NAME:e,SOURCE:h(o)}))}const l=(i=n(o,t.wrap))!=null?i:o;if(r){a.push(...buildReexportsFromMeta(e,t,true,n))}for(const r of t.reexportNamespace){a.push((!s.types.isIdentifier(l)?s.template.statement`
            Object.defineProperty(EXPORTS, "NAME", {
              enumerable: true,
              get: function() {
                return NAMESPACE;
              }
            });
          `:s.template.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:r,NAMESPACE:h(l)}))}if(t.reexportAll){const n=buildNamespaceReexport(e,h(l),r);n.loc=t.reexportAll.loc;a.push(n)}return a}const A={constant:s.template.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:s.template.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:s.template.statement`
    Object.defineProperty(EXPORTS, "EXPORT_NAME", {
      enumerable: true,
      get: function() {
        return NAMESPACE_IMPORT;
      },
    });
    `};function buildReexportsFromMeta(e,t,r,n){var s;let i=b(t.name);i=(s=n(i,t.wrap))!=null?s:i;const{stringSpecifiers:a}=e;return Array.from(t.reexports,(([n,s])=>{let o=h(i);if(s==="default"&&t.interop==="node-default"){}else if(a.has(s)){o=S(o,E(s),true)}else{o=S(o,b(s))}const l={EXPORTS:e.exportName,EXPORT_NAME:n,NAMESPACE_IMPORT:o};if(r||T(o)){if(a.has(n)){return A.constantComputed(l)}else{return A.constant(l)}}else{return A.spec(l)}}))}function buildESModuleHeader(e,t=false){return(t?s.template.statement`
        EXPORTS.__esModule = true;
      `:s.template.statement`
        Object.defineProperty(EXPORTS, "__esModule", {
          value: true,
        });
      `)({EXPORTS:e.exportName})}function buildNamespaceReexport(e,t,r){return(r?s.template.statement`
        Object.keys(NAMESPACE).forEach(function(key) {
          if (key === "default" || key === "__esModule") return;
          VERIFY_NAME_LIST;
          if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;

          EXPORTS[key] = NAMESPACE[key];
        });
      `:s.template.statement`
        Object.keys(NAMESPACE).forEach(function(key) {
          if (key === "default" || key === "__esModule") return;
          VERIFY_NAME_LIST;
          if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;

          Object.defineProperty(EXPORTS, key, {
            enumerable: true,
            get: function() {
              return NAMESPACE[key];
            },
          });
        });
    `)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?(0,s.template)`
            if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
          `({EXPORTS_LIST:e.exportNameListName}):null})}function buildExportNameListDeclaration(e,t){const r=Object.create(null);for(const e of t.local.values()){for(const t of e.names){r[t]=true}}let n=false;for(const e of t.source.values()){for(const t of e.reexports.keys()){r[t]=true}for(const t of e.reexportNamespace){r[t]=true}n=n||!!e.reexportAll}if(!n||Object.keys(r).length===0)return null;const s=e.scope.generateUidIdentifier("exportNames");delete r.default;return{name:s.name,statement:v("var",[P(s,x(r))])}}function buildExportInitializationStatements(e,t,r,n=false,s=false){const i=[];for(const[e,r]of t.local){if(r.kind==="import"){}else if(r.kind==="hoisted"){i.push([r.names[0],buildInitStatement(t,r.names,b(e))])}else if(!s){for(const e of r.names){i.push([e,null])}}}for(const e of t.source.values()){if(!n){const n=buildReexportsFromMeta(t,e,false,r);const s=[...e.reexports.keys()];for(let e=0;e<n.length;e++){i.push([s[e],n[e]])}}if(!s){for(const t of e.reexportNamespace){i.push([t,null])}}}i.sort((([e],[t])=>{if(e<t)return-1;if(t<e)return 1;return 0}));const a=[];if(s){for(const[,e]of i){a.push(e)}}else{const r=100;for(let n=0;n<i.length;n+=r){let s=[];for(let o=0;o<r&&n+o<i.length;o++){const[r,l]=i[n+o];if(l!==null){if(s.length>0){a.push(buildInitStatement(t,s,e.scope.buildUndefinedNode()));s=[]}a.push(l)}else{s.push(r)}}if(s.length>0){a.push(buildInitStatement(t,s,e.scope.buildUndefinedNode()))}}}return a}const w={computed:s.template.expression`EXPORTS["NAME"] = VALUE`,default:s.template.expression`EXPORTS.NAME = VALUE`};function buildInitStatement(e,t,r){const{stringSpecifiers:n,exportName:s}=e;return g(t.reduce(((e,t)=>{const r={EXPORTS:s,NAME:t,VALUE:e};if(n.has(t)){return w.computed(r)}else{return w.default(r)}}),r))}},8652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toGetWrapperPayload=toGetWrapperPayload;t.wrapReference=wrapReference;var n=r(3688);var s=r(4042);function toGetWrapperPayload(e){return(t,r)=>{if(e===false)return null;if((0,s.isSideEffectImport)(r)||r.reexportAll)return null;if(e===true){return/\./.test(t)?null:"lazy"}if(Array.isArray(e)){return e.indexOf(t)===-1?null:"lazy"}if(typeof e==="function"){return e(t)?"lazy":null}throw new Error(`.lazy must be a boolean, string array, or function`)}}function wrapReference(e,t){if(t==="lazy")return n.types.callExpression(e,[]);return null}},4042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=normalizeModuleAndLoadMetadata;t.hasExports=hasExports;t.isSideEffectImport=isSideEffectImport;t.validateImportInteropOption=validateImportInteropOption;var n=r(1017);var s=r(4975);var i=r(4097);function hasExports(e){return e.hasExports}function isSideEffectImport(e){return e.imports.size===0&&e.importsNamespace.size===0&&e.reexports.size===0&&e.reexportNamespace.size===0&&!e.reexportAll}function validateImportInteropOption(e){if(typeof e!=="function"&&e!=="none"&&e!=="babel"&&e!=="node"){throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`)}return e}function resolveImportInterop(e,t,r){if(typeof e==="function"){return validateImportInteropOption(e(t,r))}return e}function normalizeModuleAndLoadMetadata(e,t,{importInterop:r,initializeReexports:n=false,getWrapperPayload:s,esNamespaceOnly:i=false,filename:a}){if(!t){t=e.scope.generateUidIdentifier("exports").name}const o=new Set;nameAnonymousExports(e);const{local:l,sources:c,hasExports:u}=getModuleMetadata(e,{initializeReexports:n,getWrapperPayload:s},o);removeImportExportDeclarations(e);for(const[e,t]of c){const{importsNamespace:n,imports:s}=t;if(n.size>0&&s.size===0){const[e]=n;t.name=e}const o=resolveImportInterop(r,e,a);if(o==="none"){t.interop="none"}else if(o==="node"&&t.interop==="namespace"){t.interop="node-namespace"}else if(o==="node"&&t.interop==="default"){t.interop="node-default"}else if(i&&t.interop==="namespace"){t.interop="default"}}return{exportName:t,exportNameListName:null,hasExports:u,local:l,source:c,stringSpecifiers:o}}function getExportSpecifierName(e,t){if(e.isIdentifier()){return e.node.name}else if(e.isStringLiteral()){const r=e.node.value;if(!(0,s.isIdentifierName)(r)){t.add(r)}return r}else{throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${e.node.type}`)}}function assertExportSpecifier(e){if(e.isExportSpecifier()){return}else if(e.isExportNamespaceSpecifier()){throw e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`.")}else{throw e.buildCodeFrameError("Unexpected export specifier type")}}function getModuleMetadata(e,{getWrapperPayload:t,initializeReexports:r},s){const i=getLocalExportMetadata(e,r,s);const a=new Map;const o=new Map;const getData=(t,r)=>{const s=t.value;let i=o.get(s);if(!i){i={name:e.scope.generateUidIdentifier((0,n.basename)(s,(0,n.extname)(s))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return this.wrap==="lazy"},referenced:false};o.set(s,i);a.set(s,[r])}else{a.get(s).push(r)}return i};let l=false;e.get("body").forEach((e=>{if(e.isImportDeclaration()){const t=getData(e.node.source,e.node);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach((e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=i.get(r);if(n){i.delete(r);n.names.forEach((e=>{t.reexports.set(e,"default")}));t.referenced=true}}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=i.get(r);if(n){i.delete(r);n.names.forEach((e=>{t.reexportNamespace.add(e)}));t.referenced=true}}else if(e.isImportSpecifier()){const r=getExportSpecifierName(e.get("imported"),s);const n=e.get("local").node.name;t.imports.set(n,r);const a=i.get(n);if(a){i.delete(n);a.names.forEach((e=>{t.reexports.set(e,r)}));t.referenced=true}}}))}else if(e.isExportAllDeclaration()){l=true;const t=getData(e.node.source,e.node);if(!t.loc)t.loc=e.node.loc;t.reexportAll={loc:e.node.loc};t.referenced=true}else if(e.isExportNamedDeclaration()&&e.node.source){l=true;const t=getData(e.node.source,e.node);if(!t.loc)t.loc=e.node.loc;e.get("specifiers").forEach((e=>{assertExportSpecifier(e);const r=getExportSpecifierName(e.get("local"),s);const n=getExportSpecifierName(e.get("exported"),s);t.reexports.set(n,r);t.referenced=true;if(n==="__esModule"){throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')}}))}else if(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration()){l=true}}));for(const e of o.values()){let t=false;let r=false;if(e.importsNamespace.size>0){t=true;r=true}if(e.reexportAll){r=true}for(const n of e.imports.values()){if(n==="default")t=true;else r=true}for(const n of e.reexports.values()){if(n==="default")t=true;else r=true}if(t&&r){e.interop="namespace"}else if(t){e.interop="default"}}if(t){for(const[e,r]of o){r.wrap=t(e,r,a.get(e))}}return{hasExports:l,local:i,sources:o}}function getLocalExportMetadata(e,t,r){const n=new Map;e.get("body").forEach((e=>{let r;if(e.isImportDeclaration()){r="import"}else{if(e.isExportDefaultDeclaration()){e=e.get("declaration")}if(e.isExportNamedDeclaration()){if(e.node.declaration){e=e.get("declaration")}else if(t&&e.node.source&&e.get("source").isStringLiteral()){e.get("specifiers").forEach((e=>{assertExportSpecifier(e);n.set(e.get("local").node.name,"block")}));return}}if(e.isFunctionDeclaration()){r="hoisted"}else if(e.isClassDeclaration()){r="block"}else if(e.isVariableDeclaration({kind:"var"})){r="var"}else if(e.isVariableDeclaration()){r="block"}else{return}}Object.keys(e.getOuterBindingIdentifiers()).forEach((e=>{n.set(e,r)}))}));const s=new Map;const getLocalMetadata=e=>{const t=e.node.name;let r=s.get(t);if(!r){const i=n.get(t);if(i===undefined){throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`)}r={names:[],kind:i};s.set(t,r)}return r};e.get("body").forEach((e=>{if(e.isExportNamedDeclaration()&&(t||!e.node.source)){if(e.node.declaration){const t=e.get("declaration");const r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach((e=>{if(e==="__esModule"){throw t.buildCodeFrameError('Illegal export "__esModule".')}getLocalMetadata(r[e]).names.push(e)}))}else{e.get("specifiers").forEach((e=>{const t=e.get("local");const n=e.get("exported");const s=getLocalMetadata(t);const i=getExportSpecifierName(n,r);if(i==="__esModule"){throw n.buildCodeFrameError('Illegal export "__esModule".')}s.names.push(i)}))}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){getLocalMetadata(t.get("id")).names.push("default")}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}}));return s}function nameAnonymousExports(e){e.get("body").forEach((e=>{if(!e.isExportDefaultDeclaration())return;(0,i.default)(e)}))}function removeImportExportDeclarations(e){e.get("body").forEach((e=>{if(e.isImportDeclaration()){e.remove()}else if(e.isExportNamedDeclaration()){if(e.node.declaration){e.node.declaration._blockHoist=e.node._blockHoist;e.replaceWith(e.node.declaration)}else{e.remove()}}else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(t.isFunctionDeclaration()||t.isClassDeclaration()){t._blockHoist=e.node._blockHoist;e.replaceWith(t)}else{throw t.buildCodeFrameError("Unexpected default expression export.")}}else if(e.isExportAllDeclaration()){e.remove()}}))}},7258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rewriteLiveReferences;var n=r(9491);var s=r(3688);var i=r(6118);const{assignmentExpression:a,cloneNode:o,expressionStatement:l,getOuterBindingIdentifiers:c,identifier:u,isArrowFunctionExpression:p,isClassExpression:f,isFunctionExpression:d,isIdentifier:h,isMemberExpression:m,isVariableDeclaration:y,jsxIdentifier:g,jsxMemberExpression:b,memberExpression:T,numericLiteral:S,sequenceExpression:E,stringLiteral:x,variableDeclaration:v,variableDeclarator:P}=s.types;function isInType(e){do{switch(e.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return true;case"ExportSpecifier":return e.parentPath.parent.exportKind==="type";default:if(e.parentPath.isStatement()||e.parentPath.isExpression()){return false}}}while(e=e.parentPath)}function rewriteLiveReferences(e,t,r){const n=new Map;const s=new Map;const requeueInParent=t=>{e.requeue(t)};for(const[e,r]of t.source){for(const[t,s]of r.imports){n.set(t,[e,s,null])}for(const t of r.importsNamespace){n.set(t,[e,null,t])}}for(const[e,r]of t.local){let t=s.get(e);if(!t){t=[];s.set(e,t)}t.push(...r.names)}const a={metadata:t,requeueInParent:requeueInParent,scope:e.scope,exported:s};e.traverse(A,a);const o=new Set([...Array.from(n.keys()),...Array.from(s.keys())]);{(0,i.default)(e,o,false)}const l={seen:new WeakSet,metadata:t,requeueInParent:requeueInParent,scope:e.scope,imported:n,exported:s,buildImportReference([e,n,s],i){const a=t.source.get(e);a.referenced=true;if(s){if(a.wrap){var o;i=(o=r(i,a.wrap))!=null?o:i}return i}let l=u(a.name);if(a.wrap){var c;l=(c=r(l,a.wrap))!=null?c:l}if(n==="default"&&a.interop==="node-default"){return l}const p=t.stringSpecifiers.has(n);return T(l,p?x(n):u(n),p)}};e.traverse(w,l)}const A={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const{id:s}=e.node;if(!s)throw new Error("Expected class to have a name");const i=s.name;const a=r.get(i)||[];if(a.length>0){const r=l(buildBindingExportAssignmentExpression(n,a,u(i),e.scope));r._blockHoist=e.node._blockHoist;t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;const s=e.node.kind==="var";for(const i of e.get("declarations")){const{id:a}=i.node;let{init:o}=i.node;if(h(a)&&r.has(a.name)&&!p(o)&&(!d(o)||o.id)&&(!f(o)||o.id)){if(!o){if(s){continue}else{o=e.scope.buildUndefinedNode()}}i.node.init=buildBindingExportAssignmentExpression(n,r.get(a.name),o,e.scope);t(i.get("init"))}else{for(const s of Object.keys(i.getOuterBindingIdentifiers())){if(r.has(s)){const i=l(buildBindingExportAssignmentExpression(n,r.get(s),u(s),e.scope));i._blockHoist=e.node._blockHoist;t(e.insertAfter(i)[0])}}}}}};const buildBindingExportAssignmentExpression=(e,t,r,n)=>{const s=e.exportName;for(let e=n;e!=null;e=e.parent){if(e.hasOwnBinding(s)){e.rename(s)}}return(t||[]).reduce(((t,r)=>{const{stringSpecifiers:n}=e;const i=n.has(r);return a("=",T(u(s),i?x(r):u(r),i),t)}),r)};const buildImportThrow=e=>s.template.expression.ast`
    (function() {
      throw new Error('"' + '${e}' + '" is read-only.');
    })()
  `;const w={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:s,requeueInParent:i}=this;if(t.has(e.node))return;t.add(e.node);const a=e.node.name;const o=s.get(a);if(o){if(isInType(e)){throw e.buildCodeFrameError(`Cannot transform the imported binding "${a}" since it's also used in a type annotation. `+`Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`)}const t=e.scope.getBinding(a);const s=n.getBinding(a);if(s!==t)return;const l=r(o,e.node);l.loc=e.node.loc;if((e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&m(l)){e.replaceWith(E([S(0),l]))}else if(e.isJSXIdentifier()&&m(l)){const{object:t,property:r}=l;e.replaceWith(b(g(t.name),g(r.name)))}else{e.replaceWith(l)}i(e);e.skip()}},UpdateExpression(e){const{scope:t,seen:r,imported:n,exported:s,requeueInParent:i,buildImportReference:l}=this;if(r.has(e.node))return;r.add(e.node);const c=e.get("argument");if(c.isMemberExpression())return;const p=e.node;if(c.isIdentifier()){const r=c.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const i=s.get(r);const f=n.get(r);if((i==null?void 0:i.length)>0||f){if(f){e.replaceWith(a(p.operator[0]+"=",l(f,c.node),buildImportThrow(r)))}else if(p.prefix){e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,i,o(p),e.scope))}else{const n=t.generateDeclaredUidIdentifier(r);e.replaceWith(E([a("=",o(n),o(p)),buildBindingExportAssignmentExpression(this.metadata,i,u(r),e.scope),o(n)]))}}}i(e);e.skip()},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:s,exported:i,requeueInParent:a,buildImportReference:o}=this;if(r.has(e.node))return;r.add(e.node);const c=e.get("left");if(c.isMemberExpression())return;if(c.isIdentifier()){const r=c.node.name;if(t.getBinding(r)!==e.scope.getBinding(r)){return}const l=i.get(r);const u=s.get(r);if((l==null?void 0:l.length)>0||u){n(e.node.operator==="=","Path was not simplified");const t=e.node;if(u){t.left=o(u,c.node);t.right=E([t.right,buildImportThrow(r)])}e.replaceWith(buildBindingExportAssignmentExpression(this.metadata,l,t,e.scope));a(e)}}else{const r=c.getOuterBindingIdentifiers();const n=Object.keys(r).filter((r=>t.getBinding(r)===e.scope.getBinding(r)));const o=n.find((e=>s.has(e)));if(o){e.node.right=E([e.node.right,buildImportThrow(o)])}const p=[];n.forEach((t=>{const r=i.get(t)||[];if(r.length>0){p.push(buildBindingExportAssignmentExpression(this.metadata,r,u(t),e.scope))}}));if(p.length>0){let t=E(p);if(e.parentPath.isExpressionStatement()){t=l(t);t._blockHoist=e.parentPath.node._blockHoist}const r=e.insertAfter(t)[0];a(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e;const{left:n}=r;const{exported:s,imported:i,scope:u}=this;if(!y(n)){let r=false,p;const f=e.get("body").scope;for(const e of Object.keys(c(n))){if(u.getBinding(e)===t.getBinding(e)){if(s.has(e)){r=true;if(f.hasOwnBinding(e)){f.rename(e)}}if(i.has(e)&&!p){p=e}}}if(!r&&!p){return}e.ensureBlock();const d=e.get("body");const h=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(v("let",[P(o(h))]));t.registerDeclaration(e.get("left"));if(r){d.unshiftContainer("body",l(a("=",n,h)))}if(p){d.unshiftContainer("body",l(buildImportThrow(p)))}}}}},2268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rewriteThis;var n=r(8552);var s=r(3688);const{numericLiteral:i,unaryExpression:a}=s.types;const o=s.traverse.visitors.merge([n.default,{ThisExpression(e){e.replaceWith(a("void",i(0),true))}}]);function rewriteThis(e){(0,s.traverse)(e.node,Object.assign({},o,{noScope:true}))}},1475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=optimiseCallExpression;var n=r(776);const{callExpression:s,identifier:i,isIdentifier:a,isSpreadElement:o,memberExpression:l,optionalCallExpression:c,optionalMemberExpression:u}=n;function optimiseCallExpression(e,t,r,n){if(r.length===1&&o(r[0])&&a(r[0].argument,{name:"arguments"})){if(n){return c(u(e,i("apply"),false,true),[t,r[0].argument],false)}return s(l(e,i("apply")),[t,r[0].argument])}else{if(n){return c(u(e,i("call"),false,true),[t,...r],false)}return s(l(e,i("call")),[t,...r])}}},5389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.declare=declare;t.declarePreset=void 0;const r={assertVersion:e=>t=>{throwVersionError(t,e.version)}};{Object.assign(r,{targets:()=>()=>({}),assumption:()=>()=>undefined})}function declare(e){return(t,n,s)=>{var i;let a;for(const e of Object.keys(r)){var o;if(t[e])continue;(o=a)!=null?o:a=copyApiObject(t);a[e]=r[e](a)}return e((i=a)!=null?i:t,n||{},s)}}const n=declare;t.declarePreset=n;function copyApiObject(e){let t=null;if(typeof e.version==="string"&&/^7\./.test(e.version)){t=Object.getPrototypeOf(e);if(t&&(!has(t,"version")||!has(t,"transform")||!has(t,"template")||!has(t,"types"))){t=null}}return Object.assign({},t,e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function throwVersionError(e,t){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}const r=Error.stackTraceLimit;if(typeof r==="number"&&r<25){Error.stackTraceLimit=25}let n;if(t.slice(0,2)==="7."){n=new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${t}". `+`You'll need to update your @babel/core version.`)}else{n=new Error(`Requires Babel "${e}", but was loaded with "${t}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`)}if(typeof r==="number"){Error.stackTraceLimit=r}throw Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:t,range:e})}},9775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(8552);var s=r(3590);var i=r(1475);var a=r(3688);const{assignmentExpression:o,booleanLiteral:l,callExpression:c,cloneNode:u,identifier:p,memberExpression:f,sequenceExpression:d,stringLiteral:h,thisExpression:m}=a.types;{const e=r(8552);t.environmentVisitor=e.default;t.skipAllButComputedKey=e.skipAllButComputedKey}function getPrototypeOfExpression(e,t,r,n){e=u(e);const s=t||n?e:f(e,p("prototype"));return c(r.addHelper("getPrototypeOf"),[s])}const y=a.traverse.visitors.merge([n.default,{Super(e,t){const{node:r,parentPath:n}=e;if(!n.isMemberExpression({object:r}))return;t.handle(n)}}]);const g=a.traverse.visitors.merge([n.default,{Scopable(e,{refName:t}){const r=e.scope.getOwnBinding(t);if(r&&r.identifier.name===t){e.scope.rename(t)}}}]);const b={memoise(e,t){const{scope:r,node:n}=e;const{computed:s,property:i}=n;if(!s){return}const a=r.maybeGenerateMemoised(i);if(!a){return}this.memoiser.set(i,a,t)},prop(e){const{computed:t,property:r}=e.node;if(this.memoiser.has(r)){return u(this.memoiser.get(r))}if(t){return u(r)}return h(r.name)},get(e){return this._get(e,this._getThisRefs())},_get(e,t){const r=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return c(this.file.addHelper("get"),[t.memo?d([t.memo,r]):r,this.prop(e),t.this])},_getThisRefs(){if(!this.isDerivedConstructor){return{this:m()}}const e=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:o("=",e,m()),this:u(e)}},set(e,t){const r=this._getThisRefs();const n=getPrototypeOfExpression(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return c(this.file.addHelper("set"),[r.memo?d([r.memo,n]):n,this.prop(e),t,r.this,l(e.isInStrictMode())])},destructureSet(e){throw e.buildCodeFrameError(`Destructuring to a super field is not supported yet.`)},call(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),u(r.this),t,false)},optionalCall(e,t){const r=this._getThisRefs();return(0,i.default)(this._get(e,r),u(r.this),t,true)},delete(e){if(e.node.computed){return d([c(this.file.addHelper("toPropertyKey"),[u(e.node.property)]),a.template.expression.ast`
          function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
        `])}else{return a.template.expression.ast`
        function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
      `}}};const T=Object.assign({},b,{prop(e){const{property:t}=e.node;if(this.memoiser.has(t)){return u(this.memoiser.get(t))}return u(t)},get(e){const{isStatic:t,getSuperRef:r}=this;const{computed:n}=e.node;const s=this.prop(e);let i;if(t){var a;i=(a=r())!=null?a:f(p("Function"),p("prototype"))}else{var o;i=f((o=r())!=null?o:p("Object"),p("prototype"))}return f(i,s,n)},set(e,t){const{computed:r}=e.node;const n=this.prop(e);return o("=",f(m(),n,r),t)},destructureSet(e){const{computed:t}=e.node;const r=this.prop(e);return f(m(),r,t)},call(e,t){return(0,i.default)(this.get(e),m(),t,false)},optionalCall(e,t){return(0,i.default)(this.get(e),m(),t,true)}});class ReplaceSupers{constructor(e){var t;const r=e.methodPath;this.methodPath=r;this.isDerivedConstructor=r.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=r.isObjectMethod()||r.node.static||(r.isStaticBlock==null?void 0:r.isStaticBlock());this.isPrivateMethod=r.isPrivate()&&r.isMethod();this.file=e.file;this.constantSuper=(t=e.constantSuper)!=null?t:e.isLoose;this.opts=e}getObjectRef(){return u(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return u(this.opts.superRef);if(this.opts.getSuperRef){return u(this.opts.getSuperRef())}}replace(){if(this.opts.refToPreserve){this.methodPath.traverse(g,{refName:this.opts.refToPreserve.name})}const e=this.constantSuper?T:b;(0,s.default)(this.methodPath,y,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:e.get},e))}}t["default"]=ReplaceSupers},6118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=simplifyAccess;var n=r(776);const{LOGICAL_OPERATORS:s,assignmentExpression:i,binaryExpression:a,cloneNode:o,identifier:l,logicalExpression:c,numericLiteral:u,sequenceExpression:p,unaryExpression:f}=n;const d={AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:n}=this;if(e.node.operator==="=")return;if(r.has(e.node))return;r.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const u=l.node.name;if(!n.has(u))return;if(t.getBinding(u)!==e.scope.getBinding(u)){return}const p=e.node.operator.slice(0,-1);if(s.includes(p)){e.replaceWith(c(p,e.node.left,i("=",o(e.node.left),e.node.right)))}else{e.node.right=a(p,o(e.node.left),e.node.right);e.node.operator="="}}}};{d.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;const{scope:t,bindingNames:r}=this;const n=e.get("argument");if(!n.isIdentifier())return;const s=n.node.name;if(!r.has(s))return;if(t.getBinding(s)!==e.scope.getBinding(s)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t=e.node.operator=="++"?"+=":"-=";e.replaceWith(i(t,n.node,u(1)))}else if(e.node.prefix){e.replaceWith(i("=",l(s),a(e.node.operator[0],f("+",n.node),u(1))))}else{const t=e.scope.generateUidIdentifierBasedOnNode(n.node,"old");const r=t.name;e.scope.push({id:t});const s=a(e.node.operator[0],l(r),u(1));e.replaceWith(p([i("=",l(r),f("+",n.node)),i("=",o(n.node),s),l(r)]))}}}}function simplifyAccess(e,t){{var r;e.traverse(d,{scope:e.scope,bindingNames:t,seen:new WeakSet,includeUpdateExpression:(r=arguments[2])!=null?r:true})}}},7255:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isTransparentExprWrapper=isTransparentExprWrapper;t.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;t.skipTransparentExprWrappers=skipTransparentExprWrappers;var n=r(776);const{isParenthesizedExpression:s,isTSAsExpression:i,isTSNonNullExpression:a,isTSSatisfiesExpression:o,isTSTypeAssertion:l,isTypeCastExpression:c}=n;function isTransparentExprWrapper(e){return i(e)||o(e)||l(e)||a(e)||c(e)||s(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},4097:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=splitExportDeclaration;var n=r(776);const{cloneNode:s,exportNamedDeclaration:i,exportSpecifier:a,identifier:o,variableDeclaration:l,variableDeclarator:c}=n;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const t=e.get("declaration");const r=t.isFunctionDeclaration()||t.isClassDeclaration();const n=t.isFunctionExpression()||t.isClassExpression();const u=t.isScope()?t.scope.parent:t.scope;let p=t.node.id;let f=false;if(!p){f=true;p=u.generateUidIdentifier("default");if(r||n){t.node.id=s(p)}}else if(n&&u.hasBinding(p.name)){f=true;p=u.generateUidIdentifier(p.name)}const d=r?t.node:l("var",[c(s(p),t.node)]);const h=i(null,[a(s(p),o("default"))]);e.insertAfter(h);e.replaceWith(d);if(f){u.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const t=e.get("declaration");const r=t.getOuterBindingIdentifiers();const n=Object.keys(r).map((e=>a(o(e),o(e))));const u=i(null,n);e.insertAfter(u);e.replaceWith(t.node);return e}},6476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readCodePoint=readCodePoint;t.readInt=readInt;t.readStringContents=readStringContents;var r=function isDigit(e){return e>=48&&e<=57};const n={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])};const s={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function readStringContents(e,t,r,n,s,i){const a=r;const o=n;const l=s;let c="";let u=null;let p=r;const{length:f}=t;for(;;){if(r>=f){i.unterminated(a,o,l);c+=t.slice(p,r);break}const d=t.charCodeAt(r);if(isStringEnd(e,d,t,r)){c+=t.slice(p,r);break}if(d===92){c+=t.slice(p,r);const a=readEscapedChar(t,r,n,s,e==="template",i);if(a.ch===null&&!u){u={pos:r,lineStart:n,curLine:s}}else{c+=a.ch}({pos:r,lineStart:n,curLine:s}=a);p=r}else if(d===8232||d===8233){++r;++s;n=r}else if(d===10||d===13){if(e==="template"){c+=t.slice(p,r)+"\n";++r;if(d===13&&t.charCodeAt(r)===10){++r}++s;p=n=r}else{i.unterminated(a,o,l)}}else{++r}}return{pos:r,str:c,firstInvalidLoc:u,lineStart:n,curLine:s,containsInvalid:!!u}}function isStringEnd(e,t,r,n){if(e==="template"){return t===96||t===36&&r.charCodeAt(n+1)===123}return t===(e==="double"?34:39)}function readEscapedChar(e,t,r,n,s,i){const a=!s;t++;const res=e=>({pos:t,ch:e,lineStart:r,curLine:n});const o=e.charCodeAt(t++);switch(o){case 110:return res("\n");case 114:return res("\r");case 120:{let s;({code:s,pos:t}=readHexChar(e,t,r,n,2,false,a,i));return res(s===null?null:String.fromCharCode(s))}case 117:{let s;({code:s,pos:t}=readCodePoint(e,t,r,n,a,i));return res(s===null?null:String.fromCodePoint(s))}case 116:return res("\t");case 98:return res("\b");case 118:return res("\v");case 102:return res("\f");case 13:if(e.charCodeAt(t)===10){++t}case 10:r=t;++n;case 8232:case 8233:return res("");case 56:case 57:if(s){return res(null)}else{i.strictNumericEscape(t-1,r,n)}default:if(o>=48&&o<=55){const a=t-1;const o=e.slice(a,t+2).match(/^[0-7]+/);let l=o[0];let c=parseInt(l,8);if(c>255){l=l.slice(0,-1);c=parseInt(l,8)}t+=l.length-1;const u=e.charCodeAt(t);if(l!=="0"||u===56||u===57){if(s){return res(null)}else{i.strictNumericEscape(a,r,n)}}return res(String.fromCharCode(c))}return res(String.fromCharCode(o))}}function readHexChar(e,t,r,n,s,i,a,o){const l=t;let c;({n:c,pos:t}=readInt(e,t,r,n,16,s,i,false,o,!a));if(c===null){if(a){o.invalidEscapeSequence(l,r,n)}else{t=l-1}}return{code:c,pos:t}}function readInt(e,t,i,a,o,l,c,u,p,f){const d=t;const h=o===16?n.hex:n.decBinOct;const m=o===16?s.hex:o===10?s.dec:o===8?s.oct:s.bin;let y=false;let g=0;for(let n=0,s=l==null?Infinity:l;n<s;++n){const n=e.charCodeAt(t);let s;if(n===95&&u!=="bail"){const r=e.charCodeAt(t-1);const n=e.charCodeAt(t+1);if(!u){if(f)return{n:null,pos:t};p.numericSeparatorInEscapeSequence(t,i,a)}else if(Number.isNaN(n)||!m(n)||h.has(r)||h.has(n)){if(f)return{n:null,pos:t};p.unexpectedNumericSeparator(t,i,a)}++t;continue}if(n>=97){s=n-97+10}else if(n>=65){s=n-65+10}else if(r(n)){s=n-48}else{s=Infinity}if(s>=o){if(s<=9&&f){return{n:null,pos:t}}else if(s<=9&&p.invalidDigit(t,i,a,o)){s=0}else if(c){s=0;y=true}else{break}}++t;g=g*o+s}if(t===d||l!=null&&t-d!==l||y){return{n:null,pos:t}}return{n:g,pos:t}}function readCodePoint(e,t,r,n,s,i){const a=e.charCodeAt(t);let o;if(a===123){++t;({code:o,pos:t}=readHexChar(e,t,r,n,e.indexOf("}",t)-t,true,s,i));++t;if(o!==null&&o>1114111){if(s){i.invalidCodePoint(t,r,n)}else{return{code:null,pos:t}}}}else{({code:o,pos:t}=readHexChar(e,t,r,n,4,false,s,i))}return{code:o,pos:t}}},4387:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIdentifierChar=isIdentifierChar;t.isIdentifierName=isIdentifierName;t.isIdentifierStart=isIdentifierStart;let r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let n="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const s=new RegExp("["+r+"]");const i=new RegExp("["+r+n+"]");r=n=null;const a=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}return isInAstralSet(e,a)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&i.test(String.fromCharCode(e))}return isInAstralSet(e,a)||isInAstralSet(e,o)}function isIdentifierName(e){let t=true;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){const t=e.charCodeAt(++r);if((t&64512)===56320){n=65536+((n&1023)<<10)+(t&1023)}}if(t){t=false;if(!isIdentifierStart(n)){return false}}else if(!isIdentifierChar(n)){return false}}return!t}},4975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"isIdentifierChar",{enumerable:true,get:function(){return n.isIdentifierChar}});Object.defineProperty(t,"isIdentifierName",{enumerable:true,get:function(){return n.isIdentifierName}});Object.defineProperty(t,"isIdentifierStart",{enumerable:true,get:function(){return n.isIdentifierStart}});Object.defineProperty(t,"isKeyword",{enumerable:true,get:function(){return s.isKeyword}});Object.defineProperty(t,"isReservedWord",{enumerable:true,get:function(){return s.isReservedWord}});Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return s.isStrictBindOnlyReservedWord}});Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:true,get:function(){return s.isStrictBindReservedWord}});Object.defineProperty(t,"isStrictReservedWord",{enumerable:true,get:function(){return s.isStrictReservedWord}});var n=r(4387);var s=r(4348)},4348:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyword=isKeyword;t.isReservedWord=isReservedWord;t.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;t.isStrictBindReservedWord=isStrictBindReservedWord;t.isStrictReservedWord=isStrictReservedWord;const r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const n=new Set(r.keyword);const s=new Set(r.strict);const i=new Set(r.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||s.has(e)}function isStrictBindOnlyReservedWord(e){return i.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return n.has(e)}},8112:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findSuggestion=findSuggestion;const{min:r}=Math;function levenshtein(e,t){let n=[],s=[],i,a;const o=e.length,l=t.length;if(!o){return l}if(!l){return o}for(a=0;a<=l;a++){n[a]=a}for(i=1;i<=o;i++){for(s=[i],a=1;a<=l;a++){s[a]=e[i-1]===t[a-1]?n[a-1]:r(n[a-1],n[a],s[a-1])+1}n=s}return s[l]}function findSuggestion(e,t){const n=t.map((t=>levenshtein(t,e)));return t[n.indexOf(r(...n))]}},4716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"OptionValidator",{enumerable:true,get:function(){return n.OptionValidator}});Object.defineProperty(t,"findSuggestion",{enumerable:true,get:function(){return s.findSuggestion}});var n=r(2729);var s=r(8112)},2729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionValidator=void 0;var n=r(8112);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const t of Object.keys(e)){if(!r.includes(t)){throw new Error(this.formatMessage(`'${t}' is not a valid top-level option.\n- Did you mean '${(0,n.findSuggestion)(t,r)}'?`))}}}validateBooleanOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="boolean",`'${e}' option must be a boolean.`)}return t}validateStringOption(e,t,r){if(t===undefined){return r}else{this.invariant(typeof t==="string",`'${e}' option must be a string.`)}return t}invariant(e,t){if(!e){throw new Error(this.formatMessage(t))}}formatMessage(e){return`${this.descriptor}: ${e}`}}t.OptionValidator=OptionValidator},3563:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9128);function helper(e,t){return Object.freeze({minVersion:e,ast:()=>n.default.program.ast(t,{preserveComments:true})})}var s=Object.freeze({AsyncGenerator:helper("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};'),OverloadYield:helper("7.18.14","export default function _OverloadYield(t,e){this.v=t,this.k=e}"),applyDecs:helper("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:t,isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a){var r;throw r=0===e?"field":10===e?"class":"method",new TypeError(r+" decorators must return a function or void 0")}}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&"undefined"!=typeof console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,h=a[0];if(n?c=0===o||1===o?{get:a[3],set:a[4]}:3===o?{get:a[3]}:4===o?{set:a[3]}:{value:a[3]}:0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?u={get:c.get,set:c.set}:2===o?u=c.value:3===o?u=c.get:4===o&&(u=c.set),"function"==typeof h)void 0!==(f=old_memberDec(h,r,c,l,s,o,i,n,u))&&(old_assertValidReturnValue(o,f),0===o?d=f:1===o?(d=old_getInit(f),p=f.get||u.get,v=f.set||u.set,u={get:p,set:v}):u=f);else for(var y=h.length-1;y>=0;y--){var b;if(void 0!==(f=old_memberDec(h[y],r,c,l,s,o,i,n,u)))old_assertValidReturnValue(o,f),0===o?b=f:1===o?(b=old_getInit(f),p=f.get||u.get,v=f.set||u.set,u={get:p,set:v}):u=f,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var m=d;d=function(e,t){return m.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=u.get,c.set=u.set):2===o?c.value=u:3===o?c.get=u:4===o&&(c.set=u),n?1===o?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===o?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],h=d[2],y=d.length>3,b=v>=5;if(b?(u=t,f=r,0!==(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!y){var g=b?s:l,m=g.get(h)||0;if(!0===m||3===m&&4!==v||4===m&&3!==v)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!m&&v>2?g.set(h,v):g.set(h,!0)}old_applyMemberDec(e,u,d,h,v,b,y,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}export default function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}'),applyDecs2203:helper("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var a;throw a=0===e?"field":10===e?"class":"method",new TypeError(a+" decorators must return a function or void 0")}}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;if(void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u)))assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;export default function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}'),applyDecs2203R:helper("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,s,o){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":10===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function applyMemberDec(e,t,r,n,a,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===a||1===a?{get:r[3],set:r[4]}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?u={get:c.get,set:c.set}:2===a?u=c.value:3===a?u=c.get:4===a&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,n,c,o,a,i,s,u))&&(assertValidReturnValue(a,f),0===a?l=f:1===a?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;if(void 0!==(f=memberDec(h[v],n,c,o,a,i,s,u)))assertValidReturnValue(a,f),0===a?g=f:1===a?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,n=0;n<y.length;n++)r=y[n].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=u.get,c.set=u.set):2===a?c.value=u:3===a?c.get=u:4===a&&(c.set=u),s?1===a?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===a?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,s=new Map,o=0;o<t.length;o++){var c=t[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!==(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}export default function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}'),applyDecs2301:helper("7.21.0",'import checkInRHS from"checkInRHS";function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:t,static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":10===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,g=r[0];if(s?u=0===a||1===a?{get:(p=r[3],function(){return p(this)}),set:curryThis2(r[4])}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:u.get,set:u.set}:2===a?f=u.value:3===a?f=u.get:4===a&&(f=u.set),"function"==typeof g)void 0!==(d=memberDec(g,n,u,o,a,i,s,f,c))&&(assertValidReturnValue(a,d),0===a?l=d:1===a?(l=d.init,h=d.get||f.get,v=d.set||f.set,f={get:h,set:v}):f=d);else for(var y=g.length-1;y>=0;y--){var m;if(void 0!==(d=memberDec(g[y],n,u,o,a,i,s,f,c)))assertValidReturnValue(a,d),0===a?m=d:1===a?(m=d.init,h=d.get||f.get,v=d.set||f.set,f={get:h,set:v}):f=d,void 0!==m&&(void 0===l?l=m:"function"==typeof l?l=[l,m]:l.push(m))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var b=l;l=function(e,t){for(var r=t,n=0;n<b.length;n++)r=b[n].call(e,r);return r}}else{var I=l;l=function(e,t){return I.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=f.get,u.set=f.set):2===a?u.value=f:3===a?u.get=f:4===a&&(u.set=f),s?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,g=d>=5,y=r;if(g?(f=e,0!==(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),y=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=g?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,g,v,p,y)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}export default function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}'),applyDecs2305:helper("7.21.0",'import checkInRHS from"checkInRHS";function createAddInitializerMethod(e,t){return function(r){assertNotFinished(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,a,n,i,s,o,c,l,u){var f;switch(i){case 1:f="accessor";break;case 2:f="method";break;case 3:f="getter";break;case 4:f="setter";break;default:f="field"}var d,p,h={kind:f,name:o?"#"+r:r,static:s,private:o,metadata:u},v={v:!1};if(0!==i&&(h.addInitializer=createAddInitializerMethod(n,v)),o||0!==i&&2!==i)if(2===i)d=function(e){return assertInstanceIfPrivate(l,e),a.value};else{var y=0===i||1===i;(y||3===i)&&(d=o?function(e){return assertInstanceIfPrivate(l,e),a.get.call(e)}:function(e){return a.get.call(e)}),(y||4===i)&&(p=o?function(e,t){assertInstanceIfPrivate(l,e),a.set.call(e,t)}:function(e,t){a.set.call(e,t)})}else d=function(e){return e[r]},0===i&&(p=function(e,t){e[r]=t});var m=o?l.bind():function(e){return r in e};h.access=d&&p?{get:d,set:p,has:m}:d?{get:d,has:m}:{set:p,has:m};try{return e.call(t,c,h)}finally{v.v=!0}}function assertNotFinished(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var a;throw a=0===e?"field":5===e?"class":"method",new TypeError(a+" decorators must return a function or void 0")}}function curryThis1(e){return function(){return e(this)}}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,a,n,i,s,o,c,l,u){var f,d,p,h,v,y,m=r[0];a||Array.isArray(m)||(m=[m]),o?f=0===i||1===i?{get:curryThis1(r[3]),set:curryThis2(r[4])}:3===i?{get:r[3]}:4===i?{set:r[3]}:{value:r[3]}:0!==i&&(f=Object.getOwnPropertyDescriptor(t,n)),1===i?p={get:f.get,set:f.set}:2===i?p=f.value:3===i?p=f.get:4===i&&(p=f.set);for(var g=a?2:1,b=m.length-1;b>=0;b-=g){var I;if(void 0!==(h=memberDec(m[b],a?m[b-1]:void 0,n,f,c,i,s,o,p,l,u)))assertValidReturnValue(i,h),0===i?I=h:1===i?(I=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==I&&(void 0===d?d=I:"function"==typeof d?d=[d,I]:d.push(I))}if(0===i||1===i){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var r=t,a=w.length-1;a>=0;a--)r=w[a].call(e,r);return r}}else{var M=d;d=function(e,t){return M.call(e,t)}}e.push(d)}0!==i&&(1===i?(f.get=p.get,f.set=p.set):2===i?f.value=p:3===i?f.get=p:4===i&&(f.set=p),o?1===i?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===i?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,f))}function applyMemberDecs(e,t,r,a){for(var n,i,s,o=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,p,h=f[1],v=f[2],y=f.length>3,m=16&h,g=!!(8&h),b=r;if(h&=7,g?(d=e,0!==h&&(p=i=i||[]),y&&!s&&(s=function(t){return checkInRHS(t)===e}),b=s):(d=e.prototype,0!==h&&(p=n=n||[])),0!==h&&!y){var I=g?l:c,w=I.get(v)||0;if(!0===w||3===w&&4!==h||4===w&&3!==h)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);I.set(v,!(!w&&h>2)||h)}applyMemberDec(o,d,f,m,v,h,g,y,p,b,a)}}return pushInitializers(o,n),pushInitializers(o,i),o}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function applyClassDecs(e,t,r,a){if(t.length){for(var n=[],i=e,s=e.name,o=r?2:1,c=t.length-1;c>=0;c-=o){var l={v:!1};try{var u=t[c].call(r?t[c-1]:void 0,i,{kind:"class",name:s,addInitializer:createAddInitializerMethod(n,l),metadata:a})}finally{l.v=!0}void 0!==u&&(assertValidReturnValue(5,u),i=u)}return[defineMetadata(i,a),function(){for(var e=0;e<n.length;e++)n[e].call(i)}]}}function defineMetadata(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}export default function applyDecs2305(e,t,r,a,n,i){if(arguments.length>=6)var s=i[Symbol.metadata||Symbol.for("Symbol.metadata")];var o=Object.create(void 0===s?null:s),c=applyMemberDecs(e,t,n,o);return r.length||defineMetadata(e,o),{e:c,get c(){return applyClassDecs(e,r,a,o)}}}'),asyncGeneratorDelegate:helper("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}'),asyncIterator:helper("7.15.9",'export default function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}'),awaitAsyncGenerator:helper("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}'),checkInRHS:helper("7.20.5",'export default function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of \'in\' should be an object, got "+(null!==e?typeof e:"null"));return e}'),defineAccessor:helper("7.20.7","export default function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}"),dispose:helper("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=r,this.error=e,this.stack=(new Error).stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}export default function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(r,e):r,s=!0,next()}return next()}'),importDeferProxy:helper("7.23.0","export default function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}"),iterableToArrayLimit:helper("7.0.0-beta.0",'export default function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}'),iterableToArrayLimitLoose:helper("7.0.0-beta.0",'export default function _iterableToArrayLimitLoose(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var o,l=[];for(t=t.call(e);e.length<r&&!(o=t.next()).done;)l.push(o.value);return l}}'),jsx:helper("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;export default function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=new Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}'),objectSpread2:helper("7.5.0",'import defineProperty from"defineProperty";function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}export default function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}'),regeneratorRuntime:helper("7.18.0",'export default function _regeneratorRuntime(){"use strict";\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a \'"+n+"\' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}'),typeof:helper("7.0.0-beta.0",'export default function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}'),using:helper("7.22.0",'export default function _using(o,e,n){if(null==e)return e;if("object"!=typeof e)throw new TypeError("using declarations can only be used with objects, null, or undefined.");if(n)var r=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=e[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:e,d:r,a:n}),e}'),wrapRegExp:helper("7.19.0",'import setPrototypeOf from"setPrototypeOf";import inherits from"inherits";export default function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=new RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)>/g,(function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}')});t["default"]=s},5095:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(9128);var s=r(3563);const i=Object.assign({__proto__:null},s.default);var a=i;t["default"]=a;const helper=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});{i.AwaitValue=helper("7.0.0-beta.0")`
    export default function _AwaitValue(value) {
      this.wrapped = value;
    }
  `}i.wrapAsyncGenerator=helper("7.0.0-beta.0")`
  import AsyncGenerator from "AsyncGenerator";

  export default function _wrapAsyncGenerator(fn) {
    return function () {
      return new AsyncGenerator(fn.apply(this, arguments));
    };
  }
`;i.asyncToGenerator=helper("7.0.0-beta.0")`
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
    try {
      var info = gen[key](arg);
      var value = info.value;
    } catch (error) {
      reject(error);
      return;
    }

    if (info.done) {
      resolve(value);
    } else {
      Promise.resolve(value).then(_next, _throw);
    }
  }

  export default function _asyncToGenerator(fn) {
    return function () {
      var self = this, args = arguments;
      return new Promise(function (resolve, reject) {
        var gen = fn.apply(self, args);
        function _next(value) {
          asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
        }
        function _throw(err) {
          asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
        }

        _next(undefined);
      });
    };
  }
`;i.classCallCheck=helper("7.0.0-beta.0")`
  export default function _classCallCheck(instance, Constructor) {
    if (!(instance instanceof Constructor)) {
      throw new TypeError("Cannot call a class as a function");
    }
  }
`;i.createClass=helper("7.0.0-beta.0")`
  import toPropertyKey from "toPropertyKey";
  function _defineProperties(target, props) {
    for (var i = 0; i < props.length; i ++) {
      var descriptor = props[i];
      descriptor.enumerable = descriptor.enumerable || false;
      descriptor.configurable = true;
      if ("value" in descriptor) descriptor.writable = true;
      Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
    }
  }

  export default function _createClass(Constructor, protoProps, staticProps) {
    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
    if (staticProps) _defineProperties(Constructor, staticProps);
    Object.defineProperty(Constructor, "prototype", { writable: false });
    return Constructor;
  }
`;i.defineEnumerableProperties=helper("7.0.0-beta.0")`
  export default function _defineEnumerableProperties(obj, descs) {
    for (var key in descs) {
      var desc = descs[key];
      desc.configurable = desc.enumerable = true;
      if ("value" in desc) desc.writable = true;
      Object.defineProperty(obj, key, desc);
    }

    // Symbols are not enumerated over by for-in loops. If native
    // Symbols are available, fetch all of the descs object's own
    // symbol properties and define them on our target object too.
    if (Object.getOwnPropertySymbols) {
      var objectSymbols = Object.getOwnPropertySymbols(descs);
      for (var i = 0; i < objectSymbols.length; i++) {
        var sym = objectSymbols[i];
        var desc = descs[sym];
        desc.configurable = desc.enumerable = true;
        if ("value" in desc) desc.writable = true;
        Object.defineProperty(obj, sym, desc);
      }
    }
    return obj;
  }
`;i.defaults=helper("7.0.0-beta.0")`
  export default function _defaults(obj, defaults) {
    var keys = Object.getOwnPropertyNames(defaults);
    for (var i = 0; i < keys.length; i++) {
      var key = keys[i];
      var value = Object.getOwnPropertyDescriptor(defaults, key);
      if (value && value.configurable && obj[key] === undefined) {
        Object.defineProperty(obj, key, value);
      }
    }
    return obj;
  }
`;i.defineProperty=helper("7.0.0-beta.0")`
  import toPropertyKey from "toPropertyKey";
  export default function _defineProperty(obj, key, value) {
    key = toPropertyKey(key);
    // Shortcircuit the slow defineProperty path when possible.
    // We are trying to avoid issues where setters defined on the
    // prototype cause side effects under the fast path of simple
    // assignment. By checking for existence of the property with
    // the in operator, we can optimize most of this overhead away.
    if (key in obj) {
      Object.defineProperty(obj, key, {
        value: value,
        enumerable: true,
        configurable: true,
        writable: true
      });
    } else {
      obj[key] = value;
    }
    return obj;
  }
`;i.extends=helper("7.0.0-beta.0")`
  export default function _extends() {
    _extends = Object.assign ? Object.assign.bind() : function (target) {
      for (var i = 1; i < arguments.length; i++) {
        var source = arguments[i];
        for (var key in source) {
          if (Object.prototype.hasOwnProperty.call(source, key)) {
            target[key] = source[key];
          }
        }
      }
      return target;
    };

    return _extends.apply(this, arguments);
  }
`;{i.objectSpread=helper("7.0.0-beta.0")`
    import defineProperty from "defineProperty";

    export default function _objectSpread(target) {
      for (var i = 1; i < arguments.length; i++) {
        var source = (arguments[i] != null) ? Object(arguments[i]) : {};
        var ownKeys = Object.keys(source);
        if (typeof Object.getOwnPropertySymbols === 'function') {
          ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function(sym) {
            return Object.getOwnPropertyDescriptor(source, sym).enumerable;
          }));
        }
        ownKeys.forEach(function(key) {
          defineProperty(target, key, source[key]);
        });
      }
      return target;
    }
  `}i.inherits=helper("7.0.0-beta.0")`
  import setPrototypeOf from "setPrototypeOf";

  export default function _inherits(subClass, superClass) {
    if (typeof superClass !== "function" && superClass !== null) {
      throw new TypeError("Super expression must either be null or a function");
    }
    // We can't use defineProperty to set the prototype in a single step because it
    // doesn't work in Chrome <= 36. https://github.com/babel/babel/issues/14056
    // V8 bug: https://bugs.chromium.org/p/v8/issues/detail?id=3334
    subClass.prototype = Object.create(superClass && superClass.prototype, {
      constructor: {
        value: subClass,
        writable: true,
        configurable: true
      }
    });
    Object.defineProperty(subClass, "prototype", { writable: false });
    if (superClass) setPrototypeOf(subClass, superClass);
  }
`;i.inheritsLoose=helper("7.0.0-beta.0")`
  import setPrototypeOf from "setPrototypeOf";

  export default function _inheritsLoose(subClass, superClass) {
    subClass.prototype = Object.create(superClass.prototype);
    subClass.prototype.constructor = subClass;
    setPrototypeOf(subClass, superClass);
  }
`;i.getPrototypeOf=helper("7.0.0-beta.0")`
  export default function _getPrototypeOf(o) {
    _getPrototypeOf = Object.setPrototypeOf
      ? Object.getPrototypeOf.bind()
      : function _getPrototypeOf(o) {
          return o.__proto__ || Object.getPrototypeOf(o);
        };
    return _getPrototypeOf(o);
  }
`;i.setPrototypeOf=helper("7.0.0-beta.0")`
  export default function _setPrototypeOf(o, p) {
    _setPrototypeOf = Object.setPrototypeOf
      ? Object.setPrototypeOf.bind()
      : function _setPrototypeOf(o, p) {
          o.__proto__ = p;
          return o;
        };
    return _setPrototypeOf(o, p);
  }
`;i.isNativeReflectConstruct=helper("7.9.0")`
  export default function _isNativeReflectConstruct() {
    if (typeof Reflect === "undefined" || !Reflect.construct) return false;

    // core-js@3
    if (Reflect.construct.sham) return false;

    // Proxy can't be polyfilled. Every browser implemented
    // proxies before or at the same time as Reflect.construct,
    // so if they support Proxy they also support Reflect.construct.
    if (typeof Proxy === "function") return true;

    // Since Reflect.construct can't be properly polyfilled, some
    // implementations (e.g. core-js@2) don't set the correct internal slots.
    // Those polyfills don't allow us to subclass built-ins, so we need to
    // use our fallback implementation.
    try {
      // If the internal slots aren't set, this throws an error similar to
      //   TypeError: this is not a Boolean object.

      Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
      return true;
    } catch (e) {
      return false;
    }
  }
`;i.construct=helper("7.0.0-beta.0")`
  import setPrototypeOf from "setPrototypeOf";
  import isNativeReflectConstruct from "isNativeReflectConstruct";

  export default function _construct(Parent, args, Class) {
    if (isNativeReflectConstruct()) {
      _construct = Reflect.construct.bind();
    } else {
      // NOTE: If Parent !== Class, the correct __proto__ is set *after*
      //       calling the constructor.
      _construct = function _construct(Parent, args, Class) {
        var a = [null];
        a.push.apply(a, args);
        var Constructor = Function.bind.apply(Parent, a);
        var instance = new Constructor();
        if (Class) setPrototypeOf(instance, Class.prototype);
        return instance;
      };
    }
    // Avoid issues with Class being present but undefined when it wasn't
    // present in the original call.
    return _construct.apply(null, arguments);
  }
`;i.isNativeFunction=helper("7.0.0-beta.0")`
  export default function _isNativeFunction(fn) {
    // Note: This function returns "true" for core-js functions.
    return Function.toString.call(fn).indexOf("[native code]") !== -1;
  }
`;i.wrapNativeSuper=helper("7.0.0-beta.0")`
  import getPrototypeOf from "getPrototypeOf";
  import setPrototypeOf from "setPrototypeOf";
  import isNativeFunction from "isNativeFunction";
  import construct from "construct";

  export default function _wrapNativeSuper(Class) {
    var _cache = typeof Map === "function" ? new Map() : undefined;

    _wrapNativeSuper = function _wrapNativeSuper(Class) {
      if (Class === null || !isNativeFunction(Class)) return Class;
      if (typeof Class !== "function") {
        throw new TypeError("Super expression must either be null or a function");
      }
      if (typeof _cache !== "undefined") {
        if (_cache.has(Class)) return _cache.get(Class);
        _cache.set(Class, Wrapper);
      }
      function Wrapper() {
        return construct(Class, arguments, getPrototypeOf(this).constructor)
      }
      Wrapper.prototype = Object.create(Class.prototype, {
        constructor: {
          value: Wrapper,
          enumerable: false,
          writable: true,
          configurable: true,
        }
      });

      return setPrototypeOf(Wrapper, Class);
    }

    return _wrapNativeSuper(Class)
  }
`;i.instanceof=helper("7.0.0-beta.0")`
  export default function _instanceof(left, right) {
    if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
      return !!right[Symbol.hasInstance](left);
    } else {
      return left instanceof right;
    }
  }
`;i.interopRequireDefault=helper("7.0.0-beta.0")`
  export default function _interopRequireDefault(obj) {
    return obj && obj.__esModule ? obj : { default: obj };
  }
`;i.interopRequireWildcard=helper("7.14.0")`
  function _getRequireWildcardCache(nodeInterop) {
    if (typeof WeakMap !== "function") return null;

    var cacheBabelInterop = new WeakMap();
    var cacheNodeInterop = new WeakMap();
    return (_getRequireWildcardCache = function (nodeInterop) {
      return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
    })(nodeInterop);
  }

  export default function _interopRequireWildcard(obj, nodeInterop) {
    if (!nodeInterop && obj && obj.__esModule) {
      return obj;
    }

    if (obj === null || (typeof obj !== "object" && typeof obj !== "function")) {
      return { default: obj }
    }

    var cache = _getRequireWildcardCache(nodeInterop);
    if (cache && cache.has(obj)) {
      return cache.get(obj);
    }

    var newObj = {};
    var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
    for (var key in obj) {
      if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
        var desc = hasPropertyDescriptor
          ? Object.getOwnPropertyDescriptor(obj, key)
          : null;
        if (desc && (desc.get || desc.set)) {
          Object.defineProperty(newObj, key, desc);
        } else {
          newObj[key] = obj[key];
        }
      }
    }
    newObj.default = obj;
    if (cache) {
      cache.set(obj, newObj);
    }
    return newObj;
  }
`;i.newArrowCheck=helper("7.0.0-beta.0")`
  export default function _newArrowCheck(innerThis, boundThis) {
    if (innerThis !== boundThis) {
      throw new TypeError("Cannot instantiate an arrow function");
    }
  }
`;i.objectDestructuringEmpty=helper("7.0.0-beta.0")`
  export default function _objectDestructuringEmpty(obj) {
    if (obj == null) throw new TypeError("Cannot destructure " + obj);
  }
`;i.objectWithoutPropertiesLoose=helper("7.0.0-beta.0")`
  export default function _objectWithoutPropertiesLoose(source, excluded) {
    if (source == null) return {};

    var target = {};
    var sourceKeys = Object.keys(source);
    var key, i;

    for (i = 0; i < sourceKeys.length; i++) {
      key = sourceKeys[i];
      if (excluded.indexOf(key) >= 0) continue;
      target[key] = source[key];
    }

    return target;
  }
`;i.objectWithoutProperties=helper("7.0.0-beta.0")`
  import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose";

  export default function _objectWithoutProperties(source, excluded) {
    if (source == null) return {};

    var target = objectWithoutPropertiesLoose(source, excluded);
    var key, i;

    if (Object.getOwnPropertySymbols) {
      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
      for (i = 0; i < sourceSymbolKeys.length; i++) {
        key = sourceSymbolKeys[i];
        if (excluded.indexOf(key) >= 0) continue;
        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
        target[key] = source[key];
      }
    }

    return target;
  }
`;i.assertThisInitialized=helper("7.0.0-beta.0")`
  export default function _assertThisInitialized(self) {
    if (self === void 0) {
      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
    }
    return self;
  }
`;i.possibleConstructorReturn=helper("7.0.0-beta.0")`
  import assertThisInitialized from "assertThisInitialized";

  export default function _possibleConstructorReturn(self, call) {
    if (call && (typeof call === "object" || typeof call === "function")) {
      return call;
    } else if (call !== void 0) {
      throw new TypeError("Derived constructors may only return object or undefined");
    }

    return assertThisInitialized(self);
  }
`;i.createSuper=helper("7.9.0")`
  import getPrototypeOf from "getPrototypeOf";
  import isNativeReflectConstruct from "isNativeReflectConstruct";
  import possibleConstructorReturn from "possibleConstructorReturn";

  export default function _createSuper(Derived) {
    var hasNativeReflectConstruct = isNativeReflectConstruct();

    return function _createSuperInternal() {
      var Super = getPrototypeOf(Derived), result;
      if (hasNativeReflectConstruct) {
        // NOTE: This doesn't work if this.__proto__.constructor has been modified.
        var NewTarget = getPrototypeOf(this).constructor;
        result = Reflect.construct(Super, arguments, NewTarget);
      } else {
        result = Super.apply(this, arguments);
      }
      return possibleConstructorReturn(this, result);
    }
  }
 `;i.superPropBase=helper("7.0.0-beta.0")`
  import getPrototypeOf from "getPrototypeOf";

  export default function _superPropBase(object, property) {
    // Yes, this throws if object is null to being with, that's on purpose.
    while (!Object.prototype.hasOwnProperty.call(object, property)) {
      object = getPrototypeOf(object);
      if (object === null) break;
    }
    return object;
  }
`;i.get=helper("7.0.0-beta.0")`
  import superPropBase from "superPropBase";

  export default function _get() {
    if (typeof Reflect !== "undefined" && Reflect.get) {
      _get = Reflect.get.bind();
    } else {
      _get = function _get(target, property, receiver) {
        var base = superPropBase(target, property);

        if (!base) return;

        var desc = Object.getOwnPropertyDescriptor(base, property);
        if (desc.get) {
          // STEP 3. If receiver is not present, then set receiver to target.
          return desc.get.call(arguments.length < 3 ? target : receiver);
        }

        return desc.value;
      };
    }
    return _get.apply(this, arguments);
  }
`;i.set=helper("7.0.0-beta.0")`
  import superPropBase from "superPropBase";
  import defineProperty from "defineProperty";

  function set(target, property, value, receiver) {
    if (typeof Reflect !== "undefined" && Reflect.set) {
      set = Reflect.set;
    } else {
      set = function set(target, property, value, receiver) {
        var base = superPropBase(target, property);
        var desc;

        if (base) {
          desc = Object.getOwnPropertyDescriptor(base, property);
          if (desc.set) {
            desc.set.call(receiver, value);
            return true;
          } else if (!desc.writable) {
            // Both getter and non-writable fall into this.
            return false;
          }
        }

        // Without a super that defines the property, spec boils down to
        // "define on receiver" for some reason.
        desc = Object.getOwnPropertyDescriptor(receiver, property);
        if (desc) {
          if (!desc.writable) {
            // Setter, getter, and non-writable fall into this.
            return false;
          }

          desc.value = value;
          Object.defineProperty(receiver, property, desc);
        } else {
          // Avoid setters that may be defined on Sub's prototype, but not on
          // the instance.
          defineProperty(receiver, property, value);
        }

        return true;
      };
    }

    return set(target, property, value, receiver);
  }

  export default function _set(target, property, value, receiver, isStrict) {
    var s = set(target, property, value, receiver || target);
    if (!s && isStrict) {
      throw new TypeError('failed to set property');
    }

    return value;
  }
`;i.taggedTemplateLiteral=helper("7.0.0-beta.0")`
  export default function _taggedTemplateLiteral(strings, raw) {
    if (!raw) { raw = strings.slice(0); }
    return Object.freeze(Object.defineProperties(strings, {
        raw: { value: Object.freeze(raw) }
    }));
  }
`;i.taggedTemplateLiteralLoose=helper("7.0.0-beta.0")`
  export default function _taggedTemplateLiteralLoose(strings, raw) {
    if (!raw) { raw = strings.slice(0); }
    strings.raw = raw;
    return strings;
  }
`;i.readOnlyError=helper("7.0.0-beta.0")`
  export default function _readOnlyError(name) {
    throw new TypeError("\\"" + name + "\\" is read-only");
  }
`;i.writeOnlyError=helper("7.12.13")`
  export default function _writeOnlyError(name) {
    throw new TypeError("\\"" + name + "\\" is write-only");
  }
`;i.classNameTDZError=helper("7.0.0-beta.0")`
  export default function _classNameTDZError(name) {
    throw new ReferenceError("Class \\"" + name + "\\" cannot be referenced in computed property keys.");
  }
`;i.temporalUndefined=helper("7.0.0-beta.0")`
  // This function isn't mean to be called, but to be used as a reference.
  // We can't use a normal object because it isn't hoisted.
  export default function _temporalUndefined() {}
`;i.tdz=helper("7.5.5")`
  export default function _tdzError(name) {
    throw new ReferenceError(name + " is not defined - temporal dead zone");
  }
`;i.temporalRef=helper("7.0.0-beta.0")`
  import undef from "temporalUndefined";
  import err from "tdz";

  export default function _temporalRef(val, name) {
    return val === undef ? err(name) : val;
  }
`;i.slicedToArray=helper("7.0.0-beta.0")`
  import arrayWithHoles from "arrayWithHoles";
  import iterableToArrayLimit from "iterableToArrayLimit";
  import unsupportedIterableToArray from "unsupportedIterableToArray";
  import nonIterableRest from "nonIterableRest";

  export default function _slicedToArray(arr, i) {
    return (
      arrayWithHoles(arr) ||
      iterableToArrayLimit(arr, i) ||
      unsupportedIterableToArray(arr, i) ||
      nonIterableRest()
    );
  }
`;i.slicedToArrayLoose=helper("7.0.0-beta.0")`
  import arrayWithHoles from "arrayWithHoles";
  import iterableToArrayLimitLoose from "iterableToArrayLimitLoose";
  import unsupportedIterableToArray from "unsupportedIterableToArray";
  import nonIterableRest from "nonIterableRest";

  export default function _slicedToArrayLoose(arr, i) {
    return (
      arrayWithHoles(arr) ||
      iterableToArrayLimitLoose(arr, i) ||
      unsupportedIterableToArray(arr, i) ||
      nonIterableRest()
    );
  }
`;i.toArray=helper("7.0.0-beta.0")`
  import arrayWithHoles from "arrayWithHoles";
  import iterableToArray from "iterableToArray";
  import unsupportedIterableToArray from "unsupportedIterableToArray";
  import nonIterableRest from "nonIterableRest";

  export default function _toArray(arr) {
    return (
      arrayWithHoles(arr) ||
      iterableToArray(arr) ||
      unsupportedIterableToArray(arr) ||
      nonIterableRest()
    );
  }
`;i.toConsumableArray=helper("7.0.0-beta.0")`
  import arrayWithoutHoles from "arrayWithoutHoles";
  import iterableToArray from "iterableToArray";
  import unsupportedIterableToArray from "unsupportedIterableToArray";
  import nonIterableSpread from "nonIterableSpread";

  export default function _toConsumableArray(arr) {
    return (
      arrayWithoutHoles(arr) ||
      iterableToArray(arr) ||
      unsupportedIterableToArray(arr) ||
      nonIterableSpread()
    );
  }
`;i.arrayWithoutHoles=helper("7.0.0-beta.0")`
  import arrayLikeToArray from "arrayLikeToArray";

  export default function _arrayWithoutHoles(arr) {
    if (Array.isArray(arr)) return arrayLikeToArray(arr);
  }
`;i.arrayWithHoles=helper("7.0.0-beta.0")`
  export default function _arrayWithHoles(arr) {
    if (Array.isArray(arr)) return arr;
  }
`;i.maybeArrayLike=helper("7.9.0")`
  import arrayLikeToArray from "arrayLikeToArray";

  export default function _maybeArrayLike(next, arr, i) {
    if (arr && !Array.isArray(arr) && typeof arr.length === "number") {
      var len = arr.length;
      return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
    }
    return next(arr, i);
  }
`;i.iterableToArray=helper("7.0.0-beta.0")`
  export default function _iterableToArray(iter) {
    if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  }
`;i.unsupportedIterableToArray=helper("7.9.0")`
  import arrayLikeToArray from "arrayLikeToArray";

  export default function _unsupportedIterableToArray(o, minLen) {
    if (!o) return;
    if (typeof o === "string") return arrayLikeToArray(o, minLen);
    var n = Object.prototype.toString.call(o).slice(8, -1);
    if (n === "Object" && o.constructor) n = o.constructor.name;
    if (n === "Map" || n === "Set") return Array.from(o);
    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
      return arrayLikeToArray(o, minLen);
  }
`;i.arrayLikeToArray=helper("7.9.0")`
  export default function _arrayLikeToArray(arr, len) {
    if (len == null || len > arr.length) len = arr.length;
    for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
    return arr2;
  }
`;i.nonIterableSpread=helper("7.0.0-beta.0")`
  export default function _nonIterableSpread() {
    throw new TypeError(
      "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
    );
  }
`;i.nonIterableRest=helper("7.0.0-beta.0")`
  export default function _nonIterableRest() {
    throw new TypeError(
      "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
    );
  }
`;i.createForOfIteratorHelper=helper("7.9.0")`
  import unsupportedIterableToArray from "unsupportedIterableToArray";

  // s: start (create the iterator)
  // n: next
  // e: error (called whenever something throws)
  // f: finish (always called at the end)

  export default function _createForOfIteratorHelper(o, allowArrayLike) {
    var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

    if (!it) {
      // Fallback for engines without symbol support
      if (
        Array.isArray(o) ||
        (it = unsupportedIterableToArray(o)) ||
        (allowArrayLike && o && typeof o.length === "number")
      ) {
        if (it) o = it;
        var i = 0;
        var F = function(){};
        return {
          s: F,
          n: function() {
            if (i >= o.length) return { done: true };
            return { done: false, value: o[i++] };
          },
          e: function(e) { throw e; },
          f: F,
        };
      }

      throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
    }

    var normalCompletion = true, didErr = false, err;

    return {
      s: function() {
        it = it.call(o);
      },
      n: function() {
        var step = it.next();
        normalCompletion = step.done;
        return step;
      },
      e: function(e) {
        didErr = true;
        err = e;
      },
      f: function() {
        try {
          if (!normalCompletion && it.return != null) it.return();
        } finally {
          if (didErr) throw err;
        }
      }
    };
  }
`;i.createForOfIteratorHelperLoose=helper("7.9.0")`
  import unsupportedIterableToArray from "unsupportedIterableToArray";

  export default function _createForOfIteratorHelperLoose(o, allowArrayLike) {
    var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

    if (it) return (it = it.call(o)).next.bind(it);

    // Fallback for engines without symbol support
    if (
      Array.isArray(o) ||
      (it = unsupportedIterableToArray(o)) ||
      (allowArrayLike && o && typeof o.length === "number")
    ) {
      if (it) o = it;
      var i = 0;
      return function() {
        if (i >= o.length) return { done: true };
        return { done: false, value: o[i++] };
      }
    }

    throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  }
`;i.skipFirstGeneratorNext=helper("7.0.0-beta.0")`
  export default function _skipFirstGeneratorNext(fn) {
    return function () {
      var it = fn.apply(this, arguments);
      it.next();
      return it;
    }
  }
`;i.toPrimitive=helper("7.1.5")`
  export default function _toPrimitive(
    input,
    hint /*: "default" | "string" | "number" | void */
  ) {
    if (typeof input !== "object" || input === null) return input;
    var prim = input[Symbol.toPrimitive];
    if (prim !== undefined) {
      var res = prim.call(input, hint || "default");
      if (typeof res !== "object") return res;
      throw new TypeError("@@toPrimitive must return a primitive value.");
    }
    return (hint === "string" ? String : Number)(input);
  }
`;i.toPropertyKey=helper("7.1.5")`
  import toPrimitive from "toPrimitive";

  export default function _toPropertyKey(arg) {
    var key = toPrimitive(arg, "string");
    return typeof key === "symbol" ? key : String(key);
  }
`;i.initializerWarningHelper=helper("7.0.0-beta.0")`
    export default function _initializerWarningHelper(descriptor, context){
        throw new Error(
          'Decorating class property failed. Please ensure that ' +
          'transform-class-properties is enabled and runs after the decorators transform.'
        );
    }
`;i.initializerDefineProperty=helper("7.0.0-beta.0")`
    export default function _initializerDefineProperty(target, property, descriptor, context){
        if (!descriptor) return;

        Object.defineProperty(target, property, {
            enumerable: descriptor.enumerable,
            configurable: descriptor.configurable,
            writable: descriptor.writable,
            value: descriptor.initializer ? descriptor.initializer.call(context) : void 0,
        });
    }
`;i.applyDecoratedDescriptor=helper("7.0.0-beta.0")`
    export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){
        var desc = {};
        Object.keys(descriptor).forEach(function(key){
            desc[key] = descriptor[key];
        });
        desc.enumerable = !!desc.enumerable;
        desc.configurable = !!desc.configurable;
        if ('value' in desc || desc.initializer){
            desc.writable = true;
        }

        desc = decorators.slice().reverse().reduce(function(desc, decorator){
            return decorator(target, property, desc) || desc;
        }, desc);

        if (context && desc.initializer !== void 0){
            desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
            desc.initializer = undefined;
        }

        if (desc.initializer === void 0){
            Object.defineProperty(target, property, desc);
            desc = null;
        }

        return desc;
    }
`;i.classPrivateFieldLooseKey=helper("7.0.0-beta.0")`
  var id = 0;
  export default function _classPrivateFieldKey(name) {
    return "__private_" + (id++) + "_" + name;
  }
`;i.classPrivateFieldLooseBase=helper("7.0.0-beta.0")`
  export default function _classPrivateFieldBase(receiver, privateKey) {
    if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
      throw new TypeError("attempted to use private field on non-instance");
    }
    return receiver;
  }
`;i.classPrivateFieldGet=helper("7.0.0-beta.0")`
  import classApplyDescriptorGet from "classApplyDescriptorGet";
  import classExtractFieldDescriptor from "classExtractFieldDescriptor";
  export default function _classPrivateFieldGet(receiver, privateMap) {
    var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
    return classApplyDescriptorGet(receiver, descriptor);
  }
`;i.classPrivateFieldSet=helper("7.0.0-beta.0")`
  import classApplyDescriptorSet from "classApplyDescriptorSet";
  import classExtractFieldDescriptor from "classExtractFieldDescriptor";
  export default function _classPrivateFieldSet(receiver, privateMap, value) {
    var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
    classApplyDescriptorSet(receiver, descriptor, value);
    return value;
  }
`;i.classPrivateFieldDestructureSet=helper("7.4.4")`
  import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet";
  import classExtractFieldDescriptor from "classExtractFieldDescriptor";
  export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
    var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
    return classApplyDescriptorDestructureSet(receiver, descriptor);
  }
`;i.classExtractFieldDescriptor=helper("7.13.10")`
  export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
    if (!privateMap.has(receiver)) {
      throw new TypeError("attempted to " + action + " private field on non-instance");
    }
    return privateMap.get(receiver);
  }
`;i.classStaticPrivateFieldSpecGet=helper("7.0.2")`
  import classApplyDescriptorGet from "classApplyDescriptorGet";
  import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
  import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
  export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
    classCheckPrivateStaticAccess(receiver, classConstructor);
    classCheckPrivateStaticFieldDescriptor(descriptor, "get");
    return classApplyDescriptorGet(receiver, descriptor);
  }
`;i.classStaticPrivateFieldSpecSet=helper("7.0.2")`
  import classApplyDescriptorSet from "classApplyDescriptorSet";
  import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
  import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
  export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
    classCheckPrivateStaticAccess(receiver, classConstructor);
    classCheckPrivateStaticFieldDescriptor(descriptor, "set");
    classApplyDescriptorSet(receiver, descriptor, value);
    return value;
  }
`;i.classStaticPrivateMethodGet=helper("7.3.2")`
  import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
  export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
    classCheckPrivateStaticAccess(receiver, classConstructor);
    return method;
  }
`;i.classStaticPrivateMethodSet=helper("7.3.2")`
  export default function _classStaticPrivateMethodSet() {
    throw new TypeError("attempted to set read only static private field");
  }
`;i.classApplyDescriptorGet=helper("7.13.10")`
  export default function _classApplyDescriptorGet(receiver, descriptor) {
    if (descriptor.get) {
      return descriptor.get.call(receiver);
    }
    return descriptor.value;
  }
`;i.classApplyDescriptorSet=helper("7.13.10")`
  export default function _classApplyDescriptorSet(receiver, descriptor, value) {
    if (descriptor.set) {
      descriptor.set.call(receiver, value);
    } else {
      if (!descriptor.writable) {
        // This should only throw in strict mode, but class bodies are
        // always strict and private fields can only be used inside
        // class bodies.
        throw new TypeError("attempted to set read only private field");
      }
      descriptor.value = value;
    }
  }
`;i.classApplyDescriptorDestructureSet=helper("7.13.10")`
  export default function _classApplyDescriptorDestructureSet(receiver, descriptor) {
    if (descriptor.set) {
      if (!("__destrObj" in descriptor)) {
        descriptor.__destrObj = {
          set value(v) {
            descriptor.set.call(receiver, v)
          },
        };
      }
      return descriptor.__destrObj;
    } else {
      if (!descriptor.writable) {
        // This should only throw in strict mode, but class bodies are
        // always strict and private fields can only be used inside
        // class bodies.
        throw new TypeError("attempted to set read only private field");
      }

      return descriptor;
    }
  }
`;i.classStaticPrivateFieldDestructureSet=helper("7.13.10")`
  import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet";
  import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
  import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
  export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
    classCheckPrivateStaticAccess(receiver, classConstructor);
    classCheckPrivateStaticFieldDescriptor(descriptor, "set");
    return classApplyDescriptorDestructureSet(receiver, descriptor);
  }
`;i.classCheckPrivateStaticAccess=helper("7.13.10")`
  export default function _classCheckPrivateStaticAccess(receiver, classConstructor) {
    if (receiver !== classConstructor) {
      throw new TypeError("Private static access of wrong provenance");
    }
  }
`;i.classCheckPrivateStaticFieldDescriptor=helper("7.13.10")`
  export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
    if (descriptor === undefined) {
      throw new TypeError("attempted to " + action + " private static field before its declaration");
    }
  }
`;i.decorate=helper("7.1.5")`
  import toArray from "toArray";
  import toPropertyKey from "toPropertyKey";

  // These comments are stripped by @babel/template
  /*::
  type PropertyDescriptor =
    | {
        value: any,
        writable: boolean,
        configurable: boolean,
        enumerable: boolean,
      }
    | {
        get?: () => any,
        set?: (v: any) => void,
        configurable: boolean,
        enumerable: boolean,
      };

  type FieldDescriptor ={
    writable: boolean,
    configurable: boolean,
    enumerable: boolean,
  };

  type Placement = "static" | "prototype" | "own";
  type Key = string | symbol; // PrivateName is not supported yet.

  type ElementDescriptor =
    | {
        kind: "method",
        key: Key,
        placement: Placement,
        descriptor: PropertyDescriptor
      }
    | {
        kind: "field",
        key: Key,
        placement: Placement,
        descriptor: FieldDescriptor,
        initializer?: () => any,
      };

  // This is exposed to the user code
  type ElementObjectInput = ElementDescriptor & {
    [@@toStringTag]?: "Descriptor"
  };

  // This is exposed to the user code
  type ElementObjectOutput = ElementDescriptor & {
    [@@toStringTag]?: "Descriptor"
    extras?: ElementDescriptor[],
    finisher?: ClassFinisher,
  };

  // This is exposed to the user code
  type ClassObject = {
    [@@toStringTag]?: "Descriptor",
    kind: "class",
    elements: ElementDescriptor[],
  };

  type ElementDecorator = (descriptor: ElementObjectInput) => ?ElementObjectOutput;
  type ClassDecorator = (descriptor: ClassObject) => ?ClassObject;
  type ClassFinisher = <A, B>(cl: Class<A>) => Class<B>;

  // Only used by Babel in the transform output, not part of the spec.
  type ElementDefinition =
    | {
        kind: "method",
        value: any,
        key: Key,
        static?: boolean,
        decorators?: ElementDecorator[],
      }
    | {
        kind: "field",
        value: () => any,
        key: Key,
        static?: boolean,
        decorators?: ElementDecorator[],
    };

  declare function ClassFactory<C>(initialize: (instance: C) => void): {
    F: Class<C>,
    d: ElementDefinition[]
  }

  */

  /*::
  // Various combinations with/without extras and with one or many finishers

  type ElementFinisherExtras = {
    element: ElementDescriptor,
    finisher?: ClassFinisher,
    extras?: ElementDescriptor[],
  };

  type ElementFinishersExtras = {
    element: ElementDescriptor,
    finishers: ClassFinisher[],
    extras: ElementDescriptor[],
  };

  type ElementsFinisher = {
    elements: ElementDescriptor[],
    finisher?: ClassFinisher,
  };

  type ElementsFinishers = {
    elements: ElementDescriptor[],
    finishers: ClassFinisher[],
  };

  */

  /*::

  type Placements = {
    static: Key[],
    prototype: Key[],
    own: Key[],
  };

  */

  // ClassDefinitionEvaluation (Steps 26-*)
  export default function _decorate(
    decorators /*: ClassDecorator[] */,
    factory /*: ClassFactory */,
    superClass /*: ?Class<*> */,
    mixins /*: ?Array<Function> */,
  ) /*: Class<*> */ {
    var api = _getDecoratorsApi();
    if (mixins) {
      for (var i = 0; i < mixins.length; i++) {
        api = mixins[i](api);
      }
    }

    var r = factory(function initialize(O) {
      api.initializeInstanceElements(O, decorated.elements);
    }, superClass);
    var decorated = api.decorateClass(
      _coalesceClassElements(r.d.map(_createElementDescriptor)),
      decorators,
    );

    api.initializeClassElements(r.F, decorated.elements);

    return api.runClassFinishers(r.F, decorated.finishers);
  }

  function _getDecoratorsApi() {
    _getDecoratorsApi = function() {
      return api;
    };

    var api = {
      elementsDefinitionOrder: [["method"], ["field"]],

      // InitializeInstanceElements
      initializeInstanceElements: function(
        /*::<C>*/ O /*: C */,
        elements /*: ElementDescriptor[] */,
      ) {
        ["method", "field"].forEach(function(kind) {
          elements.forEach(function(element /*: ElementDescriptor */) {
            if (element.kind === kind && element.placement === "own") {
              this.defineClassElement(O, element);
            }
          }, this);
        }, this);
      },

      // InitializeClassElements
      initializeClassElements: function(
        /*::<C>*/ F /*: Class<C> */,
        elements /*: ElementDescriptor[] */,
      ) {
        var proto = F.prototype;

        ["method", "field"].forEach(function(kind) {
          elements.forEach(function(element /*: ElementDescriptor */) {
            var placement = element.placement;
            if (
              element.kind === kind &&
              (placement === "static" || placement === "prototype")
            ) {
              var receiver = placement === "static" ? F : proto;
              this.defineClassElement(receiver, element);
            }
          }, this);
        }, this);
      },

      // DefineClassElement
      defineClassElement: function(
        /*::<C>*/ receiver /*: C | Class<C> */,
        element /*: ElementDescriptor */,
      ) {
        var descriptor /*: PropertyDescriptor */ = element.descriptor;
        if (element.kind === "field") {
          var initializer = element.initializer;
          descriptor = {
            enumerable: descriptor.enumerable,
            writable: descriptor.writable,
            configurable: descriptor.configurable,
            value: initializer === void 0 ? void 0 : initializer.call(receiver),
          };
        }
        Object.defineProperty(receiver, element.key, descriptor);
      },

      // DecorateClass
      decorateClass: function(
        elements /*: ElementDescriptor[] */,
        decorators /*: ClassDecorator[] */,
      ) /*: ElementsFinishers */ {
        var newElements /*: ElementDescriptor[] */ = [];
        var finishers /*: ClassFinisher[] */ = [];
        var placements /*: Placements */ = {
          static: [],
          prototype: [],
          own: [],
        };

        elements.forEach(function(element /*: ElementDescriptor */) {
          this.addElementPlacement(element, placements);
        }, this);

        elements.forEach(function(element /*: ElementDescriptor */) {
          if (!_hasDecorators(element)) return newElements.push(element);

          var elementFinishersExtras /*: ElementFinishersExtras */ = this.decorateElement(
            element,
            placements,
          );
          newElements.push(elementFinishersExtras.element);
          newElements.push.apply(newElements, elementFinishersExtras.extras);
          finishers.push.apply(finishers, elementFinishersExtras.finishers);
        }, this);

        if (!decorators) {
          return { elements: newElements, finishers: finishers };
        }

        var result /*: ElementsFinishers */ = this.decorateConstructor(
          newElements,
          decorators,
        );
        finishers.push.apply(finishers, result.finishers);
        result.finishers = finishers;

        return result;
      },

      // AddElementPlacement
      addElementPlacement: function(
        element /*: ElementDescriptor */,
        placements /*: Placements */,
        silent /*: boolean */,
      ) {
        var keys = placements[element.placement];
        if (!silent && keys.indexOf(element.key) !== -1) {
          throw new TypeError("Duplicated element (" + element.key + ")");
        }
        keys.push(element.key);
      },

      // DecorateElement
      decorateElement: function(
        element /*: ElementDescriptor */,
        placements /*: Placements */,
      ) /*: ElementFinishersExtras */ {
        var extras /*: ElementDescriptor[] */ = [];
        var finishers /*: ClassFinisher[] */ = [];

        for (
          var decorators = element.decorators, i = decorators.length - 1;
          i >= 0;
          i--
        ) {
          // (inlined) RemoveElementPlacement
          var keys = placements[element.placement];
          keys.splice(keys.indexOf(element.key), 1);

          var elementObject /*: ElementObjectInput */ = this.fromElementDescriptor(
            element,
          );
          var elementFinisherExtras /*: ElementFinisherExtras */ = this.toElementFinisherExtras(
            (0, decorators[i])(elementObject) /*: ElementObjectOutput */ ||
              elementObject,
          );

          element = elementFinisherExtras.element;
          this.addElementPlacement(element, placements);

          if (elementFinisherExtras.finisher) {
            finishers.push(elementFinisherExtras.finisher);
          }

          var newExtras /*: ElementDescriptor[] | void */ =
            elementFinisherExtras.extras;
          if (newExtras) {
            for (var j = 0; j < newExtras.length; j++) {
              this.addElementPlacement(newExtras[j], placements);
            }
            extras.push.apply(extras, newExtras);
          }
        }

        return { element: element, finishers: finishers, extras: extras };
      },

      // DecorateConstructor
      decorateConstructor: function(
        elements /*: ElementDescriptor[] */,
        decorators /*: ClassDecorator[] */,
      ) /*: ElementsFinishers */ {
        var finishers /*: ClassFinisher[] */ = [];

        for (var i = decorators.length - 1; i >= 0; i--) {
          var obj /*: ClassObject */ = this.fromClassDescriptor(elements);
          var elementsAndFinisher /*: ElementsFinisher */ = this.toClassDescriptor(
            (0, decorators[i])(obj) /*: ClassObject */ || obj,
          );

          if (elementsAndFinisher.finisher !== undefined) {
            finishers.push(elementsAndFinisher.finisher);
          }

          if (elementsAndFinisher.elements !== undefined) {
            elements = elementsAndFinisher.elements;

            for (var j = 0; j < elements.length - 1; j++) {
              for (var k = j + 1; k < elements.length; k++) {
                if (
                  elements[j].key === elements[k].key &&
                  elements[j].placement === elements[k].placement
                ) {
                  throw new TypeError(
                    "Duplicated element (" + elements[j].key + ")",
                  );
                }
              }
            }
          }
        }

        return { elements: elements, finishers: finishers };
      },

      // FromElementDescriptor
      fromElementDescriptor: function(
        element /*: ElementDescriptor */,
      ) /*: ElementObject */ {
        var obj /*: ElementObject */ = {
          kind: element.kind,
          key: element.key,
          placement: element.placement,
          descriptor: element.descriptor,
        };

        var desc = {
          value: "Descriptor",
          configurable: true,
        };
        Object.defineProperty(obj, Symbol.toStringTag, desc);

        if (element.kind === "field") obj.initializer = element.initializer;

        return obj;
      },

      // ToElementDescriptors
      toElementDescriptors: function(
        elementObjects /*: ElementObject[] */,
      ) /*: ElementDescriptor[] */ {
        if (elementObjects === undefined) return;
        return toArray(elementObjects).map(function(elementObject) {
          var element = this.toElementDescriptor(elementObject);
          this.disallowProperty(elementObject, "finisher", "An element descriptor");
          this.disallowProperty(elementObject, "extras", "An element descriptor");
          return element;
        }, this);
      },

      // ToElementDescriptor
      toElementDescriptor: function(
        elementObject /*: ElementObject */,
      ) /*: ElementDescriptor */ {
        var kind = String(elementObject.kind);
        if (kind !== "method" && kind !== "field") {
          throw new TypeError(
            'An element descriptor\\'s .kind property must be either "method" or' +
              ' "field", but a decorator created an element descriptor with' +
              ' .kind "' +
              kind +
              '"',
          );
        }

        var key = toPropertyKey(elementObject.key);

        var placement = String(elementObject.placement);
        if (
          placement !== "static" &&
          placement !== "prototype" &&
          placement !== "own"
        ) {
          throw new TypeError(
            'An element descriptor\\'s .placement property must be one of "static",' +
              ' "prototype" or "own", but a decorator created an element descriptor' +
              ' with .placement "' +
              placement +
              '"',
          );
        }

        var descriptor /*: PropertyDescriptor */ = elementObject.descriptor;

        this.disallowProperty(elementObject, "elements", "An element descriptor");

        var element /*: ElementDescriptor */ = {
          kind: kind,
          key: key,
          placement: placement,
          descriptor: Object.assign({}, descriptor),
        };

        if (kind !== "field") {
          this.disallowProperty(elementObject, "initializer", "A method descriptor");
        } else {
          this.disallowProperty(
            descriptor,
            "get",
            "The property descriptor of a field descriptor",
          );
          this.disallowProperty(
            descriptor,
            "set",
            "The property descriptor of a field descriptor",
          );
          this.disallowProperty(
            descriptor,
            "value",
            "The property descriptor of a field descriptor",
          );

          element.initializer = elementObject.initializer;
        }

        return element;
      },

      toElementFinisherExtras: function(
        elementObject /*: ElementObject */,
      ) /*: ElementFinisherExtras */ {
        var element /*: ElementDescriptor */ = this.toElementDescriptor(
          elementObject,
        );
        var finisher /*: ClassFinisher */ = _optionalCallableProperty(
          elementObject,
          "finisher",
        );
        var extras /*: ElementDescriptors[] */ = this.toElementDescriptors(
          elementObject.extras,
        );

        return { element: element, finisher: finisher, extras: extras };
      },

      // FromClassDescriptor
      fromClassDescriptor: function(
        elements /*: ElementDescriptor[] */,
      ) /*: ClassObject */ {
        var obj = {
          kind: "class",
          elements: elements.map(this.fromElementDescriptor, this),
        };

        var desc = { value: "Descriptor", configurable: true };
        Object.defineProperty(obj, Symbol.toStringTag, desc);

        return obj;
      },

      // ToClassDescriptor
      toClassDescriptor: function(
        obj /*: ClassObject */,
      ) /*: ElementsFinisher */ {
        var kind = String(obj.kind);
        if (kind !== "class") {
          throw new TypeError(
            'A class descriptor\\'s .kind property must be "class", but a decorator' +
              ' created a class descriptor with .kind "' +
              kind +
              '"',
          );
        }

        this.disallowProperty(obj, "key", "A class descriptor");
        this.disallowProperty(obj, "placement", "A class descriptor");
        this.disallowProperty(obj, "descriptor", "A class descriptor");
        this.disallowProperty(obj, "initializer", "A class descriptor");
        this.disallowProperty(obj, "extras", "A class descriptor");

        var finisher = _optionalCallableProperty(obj, "finisher");
        var elements = this.toElementDescriptors(obj.elements);

        return { elements: elements, finisher: finisher };
      },

      // RunClassFinishers
      runClassFinishers: function(
        constructor /*: Class<*> */,
        finishers /*: ClassFinisher[] */,
      ) /*: Class<*> */ {
        for (var i = 0; i < finishers.length; i++) {
          var newConstructor /*: ?Class<*> */ = (0, finishers[i])(constructor);
          if (newConstructor !== undefined) {
            // NOTE: This should check if IsConstructor(newConstructor) is false.
            if (typeof newConstructor !== "function") {
              throw new TypeError("Finishers must return a constructor.");
            }
            constructor = newConstructor;
          }
        }
        return constructor;
      },

      disallowProperty: function(obj, name, objectType) {
        if (obj[name] !== undefined) {
          throw new TypeError(objectType + " can't have a ." + name + " property.");
        }
      }
    };

    return api;
  }

  // ClassElementEvaluation
  function _createElementDescriptor(
    def /*: ElementDefinition */,
  ) /*: ElementDescriptor */ {
    var key = toPropertyKey(def.key);

    var descriptor /*: PropertyDescriptor */;
    if (def.kind === "method") {
      descriptor = {
        value: def.value,
        writable: true,
        configurable: true,
        enumerable: false,
      };
    } else if (def.kind === "get") {
      descriptor = { get: def.value, configurable: true, enumerable: false };
    } else if (def.kind === "set") {
      descriptor = { set: def.value, configurable: true, enumerable: false };
    } else if (def.kind === "field") {
      descriptor = { configurable: true, writable: true, enumerable: true };
    }

    var element /*: ElementDescriptor */ = {
      kind: def.kind === "field" ? "field" : "method",
      key: key,
      placement: def.static
        ? "static"
        : def.kind === "field"
        ? "own"
        : "prototype",
      descriptor: descriptor,
    };
    if (def.decorators) element.decorators = def.decorators;
    if (def.kind === "field") element.initializer = def.value;

    return element;
  }

  // CoalesceGetterSetter
  function _coalesceGetterSetter(
    element /*: ElementDescriptor */,
    other /*: ElementDescriptor */,
  ) {
    if (element.descriptor.get !== undefined) {
      other.descriptor.get = element.descriptor.get;
    } else {
      other.descriptor.set = element.descriptor.set;
    }
  }

  // CoalesceClassElements
  function _coalesceClassElements(
    elements /*: ElementDescriptor[] */,
  ) /*: ElementDescriptor[] */ {
    var newElements /*: ElementDescriptor[] */ = [];

    var isSameElement = function(
      other /*: ElementDescriptor */,
    ) /*: boolean */ {
      return (
        other.kind === "method" &&
        other.key === element.key &&
        other.placement === element.placement
      );
    };

    for (var i = 0; i < elements.length; i++) {
      var element /*: ElementDescriptor */ = elements[i];
      var other /*: ElementDescriptor */;

      if (
        element.kind === "method" &&
        (other = newElements.find(isSameElement))
      ) {
        if (
          _isDataDescriptor(element.descriptor) ||
          _isDataDescriptor(other.descriptor)
        ) {
          if (_hasDecorators(element) || _hasDecorators(other)) {
            throw new ReferenceError(
              "Duplicated methods (" + element.key + ") can't be decorated.",
            );
          }
          other.descriptor = element.descriptor;
        } else {
          if (_hasDecorators(element)) {
            if (_hasDecorators(other)) {
              throw new ReferenceError(
                "Decorators can't be placed on different accessors with for " +
                  "the same property (" +
                  element.key +
                  ").",
              );
            }
            other.decorators = element.decorators;
          }
          _coalesceGetterSetter(element, other);
        }
      } else {
        newElements.push(element);
      }
    }

    return newElements;
  }

  function _hasDecorators(element /*: ElementDescriptor */) /*: boolean */ {
    return element.decorators && element.decorators.length;
  }

  function _isDataDescriptor(desc /*: PropertyDescriptor */) /*: boolean */ {
    return (
      desc !== undefined &&
      !(desc.value === undefined && desc.writable === undefined)
    );
  }

  function _optionalCallableProperty /*::<T>*/(
    obj /*: T */,
    name /*: $Keys<T> */,
  ) /*: ?Function */ {
    var value = obj[name];
    if (value !== undefined && typeof value !== "function") {
      throw new TypeError("Expected '" + name + "' to be a function");
    }
    return value;
  }

`;i.classPrivateMethodGet=helper("7.1.6")`
  export default function _classPrivateMethodGet(receiver, privateSet, fn) {
    if (!privateSet.has(receiver)) {
      throw new TypeError("attempted to get private field on non-instance");
    }
    return fn;
  }
`;i.checkPrivateRedeclaration=helper("7.14.1")`
  export default function _checkPrivateRedeclaration(obj, privateCollection) {
    if (privateCollection.has(obj)) {
      throw new TypeError("Cannot initialize the same private elements twice on an object");
    }
  }
`;i.classPrivateFieldInitSpec=helper("7.14.1")`
  import checkPrivateRedeclaration from "checkPrivateRedeclaration";

  export default function _classPrivateFieldInitSpec(obj, privateMap, value) {
    checkPrivateRedeclaration(obj, privateMap);
    privateMap.set(obj, value);
  }
`;i.classPrivateMethodInitSpec=helper("7.14.1")`
  import checkPrivateRedeclaration from "checkPrivateRedeclaration";

  export default function _classPrivateMethodInitSpec(obj, privateSet) {
    checkPrivateRedeclaration(obj, privateSet);
    privateSet.add(obj);
  }
`;{i.classPrivateMethodSet=helper("7.1.6")`
    export default function _classPrivateMethodSet() {
      throw new TypeError("attempted to reassign private method");
    }
  `}i.identity=helper("7.17.0")`
  export default function _identity(x) {
    return x;
  }
`;i.nullishReceiverError=helper("7.22.6")`
  export default function _nullishReceiverError(r) {
    throw new TypeError("Cannot set property of null or undefined.");
  }
`},1416:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;t.ensure=ensure;t.get=get;t.getDependencies=getDependencies;t.list=void 0;t.minVersion=minVersion;var n=r(2297);var s=r(776);var i=r(5095);const{assignmentExpression:a,cloneNode:o,expressionStatement:l,file:c,identifier:u}=s;function makePath(e){const t=[];for(;e.parentPath;e=e.parentPath){t.push(e.key);if(e.inList)t.push(e.listKey)}return t.reverse().join(".")}let p=undefined;function getHelperMetadata(e){const t=new Set;const r=new Set;const s=new Map;let a;let o;const l=[];const c=[];const u=[];const p={ImportDeclaration(e){const t=e.node.source.value;if(!i.default[t]){throw e.buildCodeFrameError(`Unknown helper ${t}`)}if(e.get("specifiers").length!==1||!e.get("specifiers.0").isImportDefaultSpecifier()){throw e.buildCodeFrameError("Helpers can only import a default value")}const r=e.node.specifiers[0].local;s.set(r,t);c.push(makePath(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(!t.isFunctionDeclaration()||!t.node.id){throw t.buildCodeFrameError("Helpers can only export named function declarations")}a=t.node.id.name;o=makePath(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){if(e.isImportDeclaration()||e.isExportDeclaration())return;e.skip()}};const f={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach((e=>{if(e===a)return;if(s.has(t[e].identifier))return;r.add(e)}))},ReferencedIdentifier(e){const r=e.node.name;const n=e.scope.getBinding(r);if(!n){t.add(r)}else if(s.has(n.identifier)){u.push(makePath(e))}},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier()){throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers")}const r=e.scope.getBinding(a);if(r!=null&&r.scope.path.isProgram()){l.push(makePath(e))}}};(0,n.default)(e.ast,p,e.scope);(0,n.default)(e.ast,f,e.scope);if(!o)throw new Error("Helpers must have a default export.");l.reverse();return{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:s,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:u,importPaths:c}}function permuteHelperAST(e,t,r,n,s){if(n&&!r){throw new Error("Unexpected local bindings for module-based helpers.")}if(!r)return;const{localBindingNames:i,dependencies:c,exportBindingAssignments:p,exportPath:f,exportName:d,importBindingsReferences:h,importPaths:m}=t;const y={};c.forEach(((e,t)=>{y[t.name]=typeof s==="function"&&s(e)||t}));const g={};const b=new Set(n||[]);i.forEach((e=>{let t=e;while(b.has(t))t="_"+t;if(t!==e)g[e]=t}));if(r.type==="Identifier"&&d!==r.name){g[d]=r.name}const{path:T}=e;const S=T.get(f);const E=m.map((e=>T.get(e)));const x=h.map((e=>T.get(e)));const v=S.get("declaration");if(r.type==="Identifier"){S.replaceWith(v)}else if(r.type==="MemberExpression"){p.forEach((e=>{const t=T.get(e);t.replaceWith(a("=",r,t.node))}));S.replaceWith(v);T.pushContainer("body",l(a("=",r,u(d))))}else{throw new Error("Unexpected helper format.")}Object.keys(g).forEach((e=>{T.scope.rename(e,g[e])}));for(const e of E)e.remove();for(const e of x){const t=o(y[e.node.name]);e.replaceWith(t)}}const f=Object.create(null);function loadHelper(e){if(!f[e]){const t=i.default[e];if(!t){throw Object.assign(new ReferenceError(`Unknown helper ${e}`),{code:"BABEL_HELPER_UNKNOWN",helper:e})}const fn=()=>{{if(!p){const e={ast:c(t.ast()),path:null};(0,n.default)(e.ast,{Program:t=>(e.path=t).stop()});return e}}return new p({filename:`babel-helper://${e}`},{ast:c(t.ast()),code:"[internal Babel helper code]",inputMap:null})};let r=null;f[e]={minVersion:t.minVersion,build(e,t,n){const s=fn();r||(r=getHelperMetadata(s));permuteHelperAST(s,r,t,n,e);return{nodes:s.ast.program.body,globals:r.globals}},getDependencies(){r||(r=getHelperMetadata(fn()));return Array.from(r.dependencies.values())}}}return f[e]}function get(e,t,r,n){return loadHelper(e).build(t,r,n)}function minVersion(e){return loadHelper(e).minVersion}function getDependencies(e){return loadHelper(e).getDependencies()}function ensure(e,t){p||(p=t);loadHelper(e)}const d=Object.keys(i.default).map((e=>e.replace(/^_/,"")));t.list=d;var h=get;t["default"]=h},6448:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=highlight;t.shouldHighlight=shouldHighlight;var n=r(8874);var s=r(4975);var i=_interopRequireWildcard(r(6148),true);function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var t=new WeakMap;var r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var r=_getRequireWildcardCache(t);if(r&&r.has(e)){return r.get(e)}var n={};var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e){if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;if(a&&(a.get||a.set)){Object.defineProperty(n,i,a)}else{n[i]=e[i]}}}n.default=e;if(r){r.set(e,n)}return n}const a=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const o=/\r\n|[\n\r\u2028\u2029]/;const l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(t,r,n){if(t.type==="name"){if((0,s.isKeyword)(t.value)||(0,s.isStrictReservedWord)(t.value,true)||a.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.slice(r-2,r)=="</")){return"jsxIdentifier"}if(t.value[0]!==t.value[0].toLowerCase()){return"capitalized"}}if(t.type==="punctuator"&&l.test(t.value)){return"bracket"}if(t.type==="invalid"&&(t.value==="@"||t.value==="#")){return"punctuator"}return t.type};c=function*(e){let t;while(t=n.default.exec(e)){const r=n.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}}}function highlightTokens(e,t){let r="";for(const{type:n,value:s}of c(t)){const t=e[n];if(t){r+=s.split(o).map((e=>t(e))).join("\n")}else{r+=s}}return r}function shouldHighlight(e){return i.default.level>0||e.forceColor}let u=undefined;function getChalk(e){if(e){var t;(t=u)!=null?t:u=new i.default.constructor({enabled:true,level:1});return u}return i.default}{t.getChalk=e=>getChalk(e.forceColor)}function highlight(e,t={}){if(e!==""&&shouldHighlight(t)){const r=getDefs(getChalk(t.forceColor));return highlightTokens(r,e)}else{return e}}},7383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i<n.length;i++){s=n[i];if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}class Position{constructor(e,t,r){this.line=void 0;this.column=void 0;this.index=void 0;this.line=e;this.column=t;this.index=r}}class SourceLocation{constructor(e,t){this.start=void 0;this.end=void 0;this.filename=void 0;this.identifierName=void 0;this.start=e;this.end=t}}function createPositionWithColumnOffset(e,t){const{line:r,column:n,index:s}=e;return new Position(r,n+t,s+t)}var r={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"};const reflect=(e,t=e.length-1)=>({get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,n,s)=>s===t?e[n]=r:e[n]),this)}});const instantiate=(e,t,r)=>Object.keys(r).map((e=>[e,r[e]])).filter((([,e])=>!!e)).map((([e,t])=>[e,typeof t==="function"?{value:t,enumerable:false}:typeof t.reflect==="string"?Object.assign({},t,reflect(t.reflect.split("."))):t])).reduce(((e,[t,r])=>Object.defineProperty(e,t,Object.assign({configurable:true},r))),Object.assign(new e,t));var n={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:r.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:r.SourceTypeModuleError}};const s={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"};const toNodeDescription=({type:e,prefix:t})=>e==="UpdateExpression"?s.UpdateExpression[String(t)]:s[e];var i={AccessorIsGenerator:({kind:e})=>`A ${e}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:e})=>`Missing initializer in ${e} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:e})=>`\`${e}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${e==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:e})=>`Unsyntactic ${e==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:e})=>`\`import()\` requires exactly ${e===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${toNodeDescription(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${toNodeDescription(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:e})=>`Label '${e}' is already declared.`,LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map((e=>JSON.stringify(e))).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map((e=>JSON.stringify(e))).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:e})=>`Unexpected keyword '${e}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${t}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:e})=>`Identifier '${e}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."};var a={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."};const o=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var l={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${toNodeDescription({type:e})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};const c=["toMessage"],u=["message"];function toParseErrorConstructor(e){let{toMessage:t}=e,r=_objectWithoutPropertiesLoose(e,c);return function constructor({loc:e,details:n}){return instantiate(SyntaxError,Object.assign({},r,{loc:e}),{clone(e={}){const t=e.loc||{};return constructor({loc:new Position("line"in t?t.line:this.loc.line,"column"in t?t.column:this.loc.column,"index"in t?t.index:this.loc.index),details:Object.assign({},this.details,e.details)})},details:{value:n,enumerable:false},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:true},missingPlugin:"missingPlugin"in n&&{reflect:"details.missingPlugin",enumerable:true}})}}function ParseErrorEnum(e,t){if(Array.isArray(e)){return t=>ParseErrorEnum(t,e[0])}const n={};for(const s of Object.keys(e)){const i=e[s];const a=typeof i==="string"?{message:()=>i}:typeof i==="function"?{message:i}:i,{message:o}=a,l=_objectWithoutPropertiesLoose(a,u);const c=typeof o==="string"?()=>o:o;n[s]=toParseErrorConstructor(Object.assign({code:r.SyntaxError,reasonCode:s,toMessage:c},t?{syntaxPlugin:t}:{},l))}return n}const p=Object.assign({},ParseErrorEnum(n),ParseErrorEnum(i),ParseErrorEnum(a),ParseErrorEnum`pipelineOperator`(l));const{defineProperty:f}=Object;const toUnenumerable=(e,t)=>f(e,t,{enumerable:false,value:e[t]});function toESTreeLocation(e){e.loc.start&&toUnenumerable(e.loc.start,"index");e.loc.end&&toUnenumerable(e.loc.end,"index");return e}var estree=e=>class ESTreeParserMixin extends e{parse(){const e=toESTreeLocation(super.parse());if(this.options.tokens){e.tokens=e.tokens.map(toESTreeLocation)}return e}parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);n.regex={pattern:e,flags:t};return n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);r.bigint=String(r.value||e);return r}parseDecimalLiteral(e){const t=null;const r=this.estreeParseLiteral(t);r.decimal=String(r.value||e);return r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value;delete e.value;t.type="Literal";t.raw=t.extra.raw;t.value=t.extra.expressionValue;const r=e;r.type="ExpressionStatement";r.expression=t;r.directive=t.extra.rawValue;delete t.extra;return r}initFunction(e,t){super.initFunction(e,t);e.expression=false}checkDeclaration(e){if(e!=null&&this.isObjectProperty(e)){this.checkDeclaration(e.value)}else{super.checkDeclaration(e)}}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&!((t=e.expression.extra)!=null&&t.parenthesized)}parseBlockBody(e,t,r,n,s){super.parseBlockBody(e,t,r,n,s);const i=e.directives.map((e=>this.directiveToStmt(e)));e.body=i.concat(e.body);delete e.directives}pushClassMethod(e,t,r,n,s,i){this.parseMethod(t,r,n,s,i,"ClassMethod",true);if(t.typeParameters){t.value.typeParameters=t.typeParameters;delete t.typeParameters}e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();{if(!this.getPluginOption("estree","classFeatures")){return e}}return this.convertPrivateNameToPrivateIdentifier(e)}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);e=e;delete e.id;e.name=t;e.type="PrivateIdentifier";return e}isPrivateName(e){{if(!this.getPluginOption("estree","classFeatures")){return super.isPrivateName(e)}}return e.type==="PrivateIdentifier"}getPrivateNameSV(e){{if(!this.getPluginOption("estree","classFeatures")){return super.getPrivateNameSV(e)}}return e.name}parseLiteral(e,t){const r=super.parseLiteral(e,t);r.raw=r.extra.raw;delete r.extra;return r}parseFunctionBody(e,t,r=false){super.parseFunctionBody(e,t,r);e.expression=e.body.type!=="BlockStatement"}parseMethod(e,t,r,n,s,i,a=false){let o=this.startNode();o.kind=e.kind;o=super.parseMethod(o,t,r,n,s,i,a);o.type="FunctionExpression";delete o.kind;e.value=o;if(i==="ClassPrivateMethod"){e.computed=false}return this.finishNode(e,"MethodDefinition")}parseClassProperty(...e){const t=super.parseClassProperty(...e);{if(!this.getPluginOption("estree","classFeatures")){return t}}t.type="PropertyDefinition";return t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);{if(!this.getPluginOption("estree","classFeatures")){return t}}t.type="PropertyDefinition";t.computed=false;return t}parseObjectMethod(e,t,r,n,s){const i=super.parseObjectMethod(e,t,r,n,s);if(i){i.type="Property";if(i.kind==="method"){i.kind="init"}i.shorthand=false}return i}parseObjectProperty(e,t,r,n){const s=super.parseObjectProperty(e,t,r,n);if(s){s.kind="init";s.type="Property"}return s}isValidLVal(e,t,r){return e==="Property"?"value":super.isValidLVal(e,t,r)}isAssignable(e,t){if(e!=null&&this.isObjectProperty(e)){return this.isAssignable(e.value,t)}return super.isAssignable(e,t)}toAssignable(e,t=false){if(e!=null&&this.isObjectProperty(e)){const{key:r,value:n}=e;if(this.isPrivateName(r)){this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start)}this.toAssignable(n,t)}else{super.toAssignable(e,t)}}toAssignableObjectExpressionProp(e,t,r){if(e.kind==="get"||e.kind==="set"){this.raise(p.PatternHasAccessor,{at:e.key})}else if(e.method){this.raise(p.PatternHasMethod,{at:e.key})}else{super.toAssignableObjectExpressionProp(e,t,r)}}finishCallExpression(e,t){const r=super.finishCallExpression(e,t);if(r.callee.type==="Import"){r.type="ImportExpression";r.source=r.arguments[0];if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var n;r.attributes=(n=r.arguments[1])!=null?n:null}delete r.arguments;delete r.callee}return r}toReferencedArguments(e){if(e.type==="ImportExpression"){return}super.toReferencedArguments(e)}parseExport(e,t){const r=this.state.lastTokStartLoc;const n=super.parseExport(e,t);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":if(n.specifiers.length===1&&n.specifiers[0].type==="ExportNamespaceSpecifier"){n.type="ExportAllDeclaration";n.exported=n.specifiers[0].exported;delete n.specifiers}case"ExportDefaultDeclaration":{var s;const{declaration:e}=n;if((e==null?void 0:e.type)==="ClassDeclaration"&&((s=e.decorators)==null?void 0:s.length)>0&&e.start===n.start){this.resetStartLocation(n,r)}}break}return n}parseSubscript(e,t,r,n){const s=super.parseSubscript(e,t,r,n);if(n.optionalChainMember){if(s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"){s.type=s.type.substring(8)}if(n.stop){const e=this.startNodeAtNode(s);e.expression=s;return this.finishNode(e,"ChainExpression")}}else if(s.type==="MemberExpression"||s.type==="CallExpression"){s.optional=false}return s}hasPropertyAsPrivateName(e){if(e.type==="ChainExpression"){e=e.expression}return super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.method||e.kind==="get"||e.kind==="set"}finishNodeAt(e,t,r){return toESTreeLocation(super.finishNodeAt(e,t,r))}resetStartLocation(e,t){super.resetStartLocation(e,t);toESTreeLocation(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t);toESTreeLocation(e)}};class TokContext{constructor(e,t){this.token=void 0;this.preserveSpace=void 0;this.token=e;this.preserveSpace=!!t}}const d={brace:new TokContext("{"),j_oTag:new TokContext("<tag"),j_cTag:new TokContext("</tag"),j_expr:new TokContext("<tag>...</tag>",true)};{d.template=new TokContext("`",true)}const h=true;const m=true;const y=true;const g=true;const b=true;const T=true;class ExportedTokenType{constructor(e,t={}){this.label=void 0;this.keyword=void 0;this.beforeExpr=void 0;this.startsExpr=void 0;this.rightAssociative=void 0;this.isLoop=void 0;this.isAssign=void 0;this.prefix=void 0;this.postfix=void 0;this.binop=void 0;this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.rightAssociative=!!t.rightAssociative;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop!=null?t.binop:null;{this.updateContext=null}}}const S=new Map;function createKeyword(e,t={}){t.keyword=e;const r=createToken(e,t);S.set(e,r);return r}function createBinop(e,t){return createToken(e,{beforeExpr:h,binop:t})}let E=-1;const x=[];const v=[];const P=[];const A=[];const w=[];const C=[];function createToken(e,t={}){var r,n,s,i;++E;v.push(e);P.push((r=t.binop)!=null?r:-1);A.push((n=t.beforeExpr)!=null?n:false);w.push((s=t.startsExpr)!=null?s:false);C.push((i=t.prefix)!=null?i:false);x.push(new ExportedTokenType(e,t));return E}function createKeywordLike(e,t={}){var r,n,s,i;++E;S.set(e,E);v.push(e);P.push((r=t.binop)!=null?r:-1);A.push((n=t.beforeExpr)!=null?n:false);w.push((s=t.startsExpr)!=null?s:false);C.push((i=t.prefix)!=null?i:false);x.push(new ExportedTokenType("name",t));return E}const I={bracketL:createToken("[",{beforeExpr:h,startsExpr:m}),bracketHashL:createToken("#[",{beforeExpr:h,startsExpr:m}),bracketBarL:createToken("[|",{beforeExpr:h,startsExpr:m}),bracketR:createToken("]"),bracketBarR:createToken("|]"),braceL:createToken("{",{beforeExpr:h,startsExpr:m}),braceBarL:createToken("{|",{beforeExpr:h,startsExpr:m}),braceHashL:createToken("#{",{beforeExpr:h,startsExpr:m}),braceR:createToken("}"),braceBarR:createToken("|}"),parenL:createToken("(",{beforeExpr:h,startsExpr:m}),parenR:createToken(")"),comma:createToken(",",{beforeExpr:h}),semi:createToken(";",{beforeExpr:h}),colon:createToken(":",{beforeExpr:h}),doubleColon:createToken("::",{beforeExpr:h}),dot:createToken("."),question:createToken("?",{beforeExpr:h}),questionDot:createToken("?."),arrow:createToken("=>",{beforeExpr:h}),template:createToken("template"),ellipsis:createToken("...",{beforeExpr:h}),backQuote:createToken("`",{startsExpr:m}),dollarBraceL:createToken("${",{beforeExpr:h,startsExpr:m}),templateTail:createToken("...`",{startsExpr:m}),templateNonTail:createToken("...${",{beforeExpr:h,startsExpr:m}),at:createToken("@"),hash:createToken("#",{startsExpr:m}),interpreterDirective:createToken("#!..."),eq:createToken("=",{beforeExpr:h,isAssign:g}),assign:createToken("_=",{beforeExpr:h,isAssign:g}),slashAssign:createToken("_=",{beforeExpr:h,isAssign:g}),xorAssign:createToken("_=",{beforeExpr:h,isAssign:g}),moduloAssign:createToken("_=",{beforeExpr:h,isAssign:g}),incDec:createToken("++/--",{prefix:b,postfix:T,startsExpr:m}),bang:createToken("!",{beforeExpr:h,prefix:b,startsExpr:m}),tilde:createToken("~",{beforeExpr:h,prefix:b,startsExpr:m}),doubleCaret:createToken("^^",{startsExpr:m}),doubleAt:createToken("@@",{startsExpr:m}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),lt:createBinop("</>/<=/>=",7),gt:createBinop("</>/<=/>=",7),relational:createBinop("</>/<=/>=",7),bitShift:createBinop("<</>>/>>>",8),bitShiftL:createBinop("<</>>/>>>",8),bitShiftR:createBinop("<</>>/>>>",8),plusMin:createToken("+/-",{beforeExpr:h,binop:9,prefix:b,startsExpr:m}),modulo:createToken("%",{binop:10,startsExpr:m}),star:createToken("*",{binop:10}),slash:createBinop("/",10),exponent:createToken("**",{beforeExpr:h,binop:11,rightAssociative:true}),_in:createKeyword("in",{beforeExpr:h,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:h,binop:7}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:h}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:h}),_else:createKeyword("else",{beforeExpr:h}),_finally:createKeyword("finally"),_function:createKeyword("function",{startsExpr:m}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:h}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:h,prefix:b,startsExpr:m}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:h,startsExpr:m}),_this:createKeyword("this",{startsExpr:m}),_super:createKeyword("super",{startsExpr:m}),_class:createKeyword("class",{startsExpr:m}),_extends:createKeyword("extends",{beforeExpr:h}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:m}),_null:createKeyword("null",{startsExpr:m}),_true:createKeyword("true",{startsExpr:m}),_false:createKeyword("false",{startsExpr:m}),_typeof:createKeyword("typeof",{beforeExpr:h,prefix:b,startsExpr:m}),_void:createKeyword("void",{beforeExpr:h,prefix:b,startsExpr:m}),_delete:createKeyword("delete",{beforeExpr:h,prefix:b,startsExpr:m}),_do:createKeyword("do",{isLoop:y,beforeExpr:h}),_for:createKeyword("for",{isLoop:y}),_while:createKeyword("while",{isLoop:y}),_as:createKeywordLike("as",{startsExpr:m}),_assert:createKeywordLike("assert",{startsExpr:m}),_async:createKeywordLike("async",{startsExpr:m}),_await:createKeywordLike("await",{startsExpr:m}),_from:createKeywordLike("from",{startsExpr:m}),_get:createKeywordLike("get",{startsExpr:m}),_let:createKeywordLike("let",{startsExpr:m}),_meta:createKeywordLike("meta",{startsExpr:m}),_of:createKeywordLike("of",{startsExpr:m}),_sent:createKeywordLike("sent",{startsExpr:m}),_set:createKeywordLike("set",{startsExpr:m}),_static:createKeywordLike("static",{startsExpr:m}),_using:createKeywordLike("using",{startsExpr:m}),_yield:createKeywordLike("yield",{startsExpr:m}),_asserts:createKeywordLike("asserts",{startsExpr:m}),_checks:createKeywordLike("checks",{startsExpr:m}),_exports:createKeywordLike("exports",{startsExpr:m}),_global:createKeywordLike("global",{startsExpr:m}),_implements:createKeywordLike("implements",{startsExpr:m}),_intrinsic:createKeywordLike("intrinsic",{startsExpr:m}),_infer:createKeywordLike("infer",{startsExpr:m}),_is:createKeywordLike("is",{startsExpr:m}),_mixins:createKeywordLike("mixins",{startsExpr:m}),_proto:createKeywordLike("proto",{startsExpr:m}),_require:createKeywordLike("require",{startsExpr:m}),_satisfies:createKeywordLike("satisfies",{startsExpr:m}),_keyof:createKeywordLike("keyof",{startsExpr:m}),_readonly:createKeywordLike("readonly",{startsExpr:m}),_unique:createKeywordLike("unique",{startsExpr:m}),_abstract:createKeywordLike("abstract",{startsExpr:m}),_declare:createKeywordLike("declare",{startsExpr:m}),_enum:createKeywordLike("enum",{startsExpr:m}),_module:createKeywordLike("module",{startsExpr:m}),_namespace:createKeywordLike("namespace",{startsExpr:m}),_interface:createKeywordLike("interface",{startsExpr:m}),_type:createKeywordLike("type",{startsExpr:m}),_opaque:createKeywordLike("opaque",{startsExpr:m}),name:createToken("name",{startsExpr:m}),string:createToken("string",{startsExpr:m}),num:createToken("num",{startsExpr:m}),bigint:createToken("bigint",{startsExpr:m}),decimal:createToken("decimal",{startsExpr:m}),regexp:createToken("regexp",{startsExpr:m}),privateName:createToken("#name",{startsExpr:m}),eof:createToken("eof"),jsxName:createToken("jsxName"),jsxText:createToken("jsxText",{beforeExpr:true}),jsxTagStart:createToken("jsxTagStart",{startsExpr:true}),jsxTagEnd:createToken("jsxTagEnd"),placeholder:createToken("%%",{startsExpr:true})};function tokenIsIdentifier(e){return e>=93&&e<=130}function tokenKeywordOrIdentifierIsKeyword(e){return e<=92}function tokenIsKeywordOrIdentifier(e){return e>=58&&e<=130}function tokenIsLiteralPropertyName(e){return e>=58&&e<=134}function tokenComesBeforeExpression(e){return A[e]}function tokenCanStartExpression(e){return w[e]}function tokenIsAssignment(e){return e>=29&&e<=33}function tokenIsFlowInterfaceOrTypeOrOpaque(e){return e>=127&&e<=129}function tokenIsLoop(e){return e>=90&&e<=92}function tokenIsKeyword(e){return e>=58&&e<=92}function tokenIsOperator(e){return e>=39&&e<=59}function tokenIsPostfix(e){return e===34}function tokenIsPrefix(e){return C[e]}function tokenIsTSTypeOperator(e){return e>=119&&e<=121}function tokenIsTSDeclarationStart(e){return e>=122&&e<=128}function tokenLabelName(e){return v[e]}function tokenOperatorPrecedence(e){return P[e]}function tokenIsRightAssociative(e){return e===57}function tokenIsTemplate(e){return e>=24&&e<=25}function getExportedToken(e){return x[e]}{x[8].updateContext=e=>{e.pop()};x[5].updateContext=x[7].updateContext=x[23].updateContext=e=>{e.push(d.brace)};x[22].updateContext=e=>{if(e[e.length-1]===d.template){e.pop()}else{e.push(d.template)}};x[140].updateContext=e=>{e.push(d.j_expr,d.j_oTag)}}let O="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let k="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const N=new RegExp("["+O+"]");const _=new RegExp("["+O+k+"]");O=k=null;const D=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191];const M=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){let r=65536;for(let n=0,s=t.length;n<s;n+=2){r+=t[n];if(r>e)return false;r+=t[n+1];if(r>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&N.test(String.fromCharCode(e))}return isInAstralSet(e,D)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&_.test(String.fromCharCode(e))}return isInAstralSet(e,D)||isInAstralSet(e,M)}const L={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const j=new Set(L.keyword);const F=new Set(L.strict);const B=new Set(L.strictBind);function isReservedWord(e,t){return t&&e==="await"||e==="enum"}function isStrictReservedWord(e,t){return isReservedWord(e,t)||F.has(e)}function isStrictBindOnlyReservedWord(e){return B.has(e)}function isStrictBindReservedWord(e,t){return isStrictReservedWord(e,t)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return j.has(e)}function isIteratorStart(e,t,r){return e===64&&t===64&&isIdentifierStart(r)}const R=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function canBeReservedWord(e){return R.has(e)}const U=0,V=1,K=2,W=4,$=8,q=16,H=32,J=64,G=128,X=256,z=V|K|G|X;const Y=1,Q=2,Z=4,ee=8,te=16,re=64,ne=128,se=256,ie=512,ae=1024,oe=2048,le=4096,ce=8192;const ue=Y|Q|ee|ne|ce,pe=Y|0|ee|ce,fe=Y|0|ee|0,de=Y|0|Z|0,he=Y|0|te|0,me=0|Q|0|ne,ye=0|Q|0|0,ge=Y|Q|ee|se|ce,be=0|0|0|ae,Te=0|0|0|re,Se=Y|0|0|re,Ee=ge|ie,xe=0|0|0|ae,ve=0|Q|0|le,Pe=oe;const Ae=4,we=2,Ce=1,Ie=we|Ce;const Oe=we|Ae,ke=Ce|Ae,Ne=we,_e=Ce,De=0;class Scope{constructor(e){this.var=new Set;this.lexical=new Set;this.functions=new Set;this.flags=e}}class ScopeHandler{constructor(e,t){this.parser=void 0;this.scopeStack=[];this.inModule=void 0;this.undefinedExports=new Map;this.parser=e;this.inModule=t}get inTopLevel(){return(this.currentScope().flags&V)>0}get inFunction(){return(this.currentVarScopeFlags()&K)>0}get allowSuper(){return(this.currentThisScopeFlags()&q)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&H)>0}get inClass(){return(this.currentThisScopeFlags()&J)>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(e&J)>0&&(e&K)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&G){return true}if(t&(z|J)){return false}}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&K)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Scope(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){const e=this.scopeStack.pop();return e.flags}treatFunctionsAsVarInScope(e){return!!(e.flags&(K|G)||!this.parser.inModule&&e.flags&V)}declareName(e,t,r){let n=this.currentScope();if(t&ee||t&te){this.checkRedeclarationInScope(n,e,t,r);if(t&te){n.functions.add(e)}else{n.lexical.add(e)}if(t&ee){this.maybeExportDefined(n,e)}}else if(t&Z){for(let s=this.scopeStack.length-1;s>=0;--s){n=this.scopeStack[s];this.checkRedeclarationInScope(n,e,t,r);n.var.add(e);this.maybeExportDefined(n,e);if(n.flags&z)break}}if(this.parser.inModule&&n.flags&V){this.undefinedExports.delete(e)}}maybeExportDefined(e,t){if(this.parser.inModule&&e.flags&V){this.undefinedExports.delete(t)}}checkRedeclarationInScope(e,t,r,n){if(this.isRedeclaredInScope(e,t,r)){this.parser.raise(p.VarRedeclaration,{at:n,identifierName:t})}}isRedeclaredInScope(e,t,r){if(!(r&Y))return false;if(r&ee){return e.lexical.has(t)||e.functions.has(t)||e.var.has(t)}if(r&te){return e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t)}return e.lexical.has(t)&&!(e.flags&$&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t)}checkLocalExport(e){const{name:t}=e;const r=this.scopeStack[0];if(!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)){this.undefinedExports.set(t,e.loc.start)}}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&z){return t}}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(t&(z|J)&&!(t&W)){return t}}}}class FlowScope extends Scope{constructor(...e){super(...e);this.declareFunctions=new Set}}class FlowScopeHandler extends ScopeHandler{createScope(e){return new FlowScope(e)}declareName(e,t,r){const n=this.currentScope();if(t&oe){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e);n.declareFunctions.add(e);return}super.declareName(e,t,r)}isRedeclaredInScope(e,t,r){if(super.isRedeclaredInScope(e,t,r))return true;if(r&oe){return!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}return false}checkLocalExport(e){if(!this.scopeStack[0].declareFunctions.has(e.name)){super.checkLocalExport(e)}}}class BaseParser{constructor(){this.sawUnambiguousESM=false;this.ambiguousScriptDifferentAst=false}hasPlugin(e){if(typeof e==="string"){return this.plugins.has(e)}else{const[t,r]=e;if(!this.hasPlugin(t)){return false}const n=this.plugins.get(t);for(const e of Object.keys(r)){if((n==null?void 0:n[e])!==r[e]){return false}}return true}}getPluginOption(e,t){var r;return(r=this.plugins.get(e))==null?void 0:r[t]}}function setTrailingComments(e,t){if(e.trailingComments===undefined){e.trailingComments=t}else{e.trailingComments.unshift(...t)}}function setLeadingComments(e,t){if(e.leadingComments===undefined){e.leadingComments=t}else{e.leadingComments.unshift(...t)}}function setInnerComments(e,t){if(e.innerComments===undefined){e.innerComments=t}else{e.innerComments.unshift(...t)}}function adjustInnerComments(e,t,r){let n=null;let s=t.length;while(n===null&&s>0){n=t[--s]}if(n===null||n.start>r.start){setInnerComments(e,r.comments)}else{setTrailingComments(n,r.comments)}}class CommentsParser extends BaseParser{addComment(e){if(this.filename)e.loc.filename=this.filename;this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state;const r=t.length;if(r===0)return;let n=r-1;const s=t[n];if(s.start===e.end){s.leadingNode=e;n--}const{start:i}=e;for(;n>=0;n--){const r=t[n];const s=r.end;if(s>i){r.containingNode=e;this.finalizeComment(r);t.splice(n,1)}else{if(s===i){r.trailingNode=e}break}}}finalizeComment(e){const{comments:t}=e;if(e.leadingNode!==null||e.trailingNode!==null){if(e.leadingNode!==null){setTrailingComments(e.leadingNode,t)}if(e.trailingNode!==null){setLeadingComments(e.trailingNode,t)}}else{const{containingNode:r,start:n}=e;if(this.input.charCodeAt(n-1)===44){switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":adjustInnerComments(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":adjustInnerComments(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":adjustInnerComments(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":adjustInnerComments(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":adjustInnerComments(r,r.specifiers,e);break;default:{setInnerComments(r,t)}}}else{setInnerComments(r,t)}}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--){this.finalizeComment(e[t])}this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state;const{length:r}=t;if(r===0)return;const n=t[r-1];if(n.leadingNode===e){n.leadingNode=null}}resetPreviousIdentifierLeadingComments(e){const{commentStack:t}=this.state;const{length:r}=t;if(r===0)return;if(t[r-1].trailingNode===e){t[r-1].trailingNode=null}else if(r>=2&&t[r-2].trailingNode===e){t[r-2].trailingNode=null}}takeSurroundingComments(e,t,r){const{commentStack:n}=this.state;const s=n.length;if(s===0)return;let i=s-1;for(;i>=0;i--){const s=n[i];const a=s.end;const o=s.start;if(o===r){s.leadingNode=e}else if(a===t){s.trailingNode=e}else if(a<t){break}}}}const Me=/\r\n?|[\n\u2028\u2029]/;const Le=new RegExp(Me.source,"g");function isNewLine(e){switch(e){case 10:case 13:case 8232:case 8233:return true;default:return false}}const je=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;const Fe=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;const Be=new RegExp("(?=("+Fe.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function isWhitespace(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return true;default:return false}}class State{constructor(){this.strict=void 0;this.curLine=void 0;this.lineStart=void 0;this.startLoc=void 0;this.endLoc=void 0;this.errors=[];this.potentialArrowAt=-1;this.noArrowAt=[];this.noArrowParamsConversionAt=[];this.maybeInArrowParameters=false;this.inType=false;this.noAnonFunctionType=false;this.hasFlowComment=false;this.isAmbientContext=false;this.inAbstractClass=false;this.inDisallowConditionalTypesContext=false;this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};this.soloAwait=false;this.inFSharpPipelineDirectBody=false;this.labels=[];this.comments=[];this.commentStack=[];this.pos=0;this.type=137;this.value=null;this.start=0;this.end=0;this.lastTokEndLoc=null;this.lastTokStartLoc=null;this.lastTokStart=0;this.context=[d.brace];this.canStartJSXElement=true;this.containsEsc=false;this.firstInvalidTemplateEscapePos=null;this.strictErrors=new Map;this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:r,startColumn:n}){this.strict=e===false?false:e===true?true:t==="module";this.curLine=r;this.lineStart=-n;this.startLoc=this.endLoc=new Position(r,n,0)}curPosition(){return new Position(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){const t=new State;const r=Object.keys(this);for(let n=0,s=r.length;n<s;n++){const s=r[n];let i=this[s];if(!e&&Array.isArray(i)){i=i.slice()}t[s]=i}return t}}var Re=function isDigit(e){return e>=48&&e<=57};const Ue={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])};const Ve={bin:e=>e===48||e===49,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function readStringContents(e,t,r,n,s,i){const a=r;const o=n;const l=s;let c="";let u=null;let p=r;const{length:f}=t;for(;;){if(r>=f){i.unterminated(a,o,l);c+=t.slice(p,r);break}const d=t.charCodeAt(r);if(isStringEnd(e,d,t,r)){c+=t.slice(p,r);break}if(d===92){c+=t.slice(p,r);const a=readEscapedChar(t,r,n,s,e==="template",i);if(a.ch===null&&!u){u={pos:r,lineStart:n,curLine:s}}else{c+=a.ch}({pos:r,lineStart:n,curLine:s}=a);p=r}else if(d===8232||d===8233){++r;++s;n=r}else if(d===10||d===13){if(e==="template"){c+=t.slice(p,r)+"\n";++r;if(d===13&&t.charCodeAt(r)===10){++r}++s;p=n=r}else{i.unterminated(a,o,l)}}else{++r}}return{pos:r,str:c,firstInvalidLoc:u,lineStart:n,curLine:s,containsInvalid:!!u}}function isStringEnd(e,t,r,n){if(e==="template"){return t===96||t===36&&r.charCodeAt(n+1)===123}return t===(e==="double"?34:39)}function readEscapedChar(e,t,r,n,s,i){const a=!s;t++;const res=e=>({pos:t,ch:e,lineStart:r,curLine:n});const o=e.charCodeAt(t++);switch(o){case 110:return res("\n");case 114:return res("\r");case 120:{let s;({code:s,pos:t}=readHexChar(e,t,r,n,2,false,a,i));return res(s===null?null:String.fromCharCode(s))}case 117:{let s;({code:s,pos:t}=readCodePoint(e,t,r,n,a,i));return res(s===null?null:String.fromCodePoint(s))}case 116:return res("\t");case 98:return res("\b");case 118:return res("\v");case 102:return res("\f");case 13:if(e.charCodeAt(t)===10){++t}case 10:r=t;++n;case 8232:case 8233:return res("");case 56:case 57:if(s){return res(null)}else{i.strictNumericEscape(t-1,r,n)}default:if(o>=48&&o<=55){const a=t-1;const o=e.slice(a,t+2).match(/^[0-7]+/);let l=o[0];let c=parseInt(l,8);if(c>255){l=l.slice(0,-1);c=parseInt(l,8)}t+=l.length-1;const u=e.charCodeAt(t);if(l!=="0"||u===56||u===57){if(s){return res(null)}else{i.strictNumericEscape(a,r,n)}}return res(String.fromCharCode(c))}return res(String.fromCharCode(o))}}function readHexChar(e,t,r,n,s,i,a,o){const l=t;let c;({n:c,pos:t}=readInt(e,t,r,n,16,s,i,false,o,!a));if(c===null){if(a){o.invalidEscapeSequence(l,r,n)}else{t=l-1}}return{code:c,pos:t}}function readInt(e,t,r,n,s,i,a,o,l,c){const u=t;const p=s===16?Ue.hex:Ue.decBinOct;const f=s===16?Ve.hex:s===10?Ve.dec:s===8?Ve.oct:Ve.bin;let d=false;let h=0;for(let u=0,m=i==null?Infinity:i;u<m;++u){const i=e.charCodeAt(t);let u;if(i===95&&o!=="bail"){const s=e.charCodeAt(t-1);const i=e.charCodeAt(t+1);if(!o){if(c)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,r,n)}else if(Number.isNaN(i)||!f(i)||p.has(s)||p.has(i)){if(c)return{n:null,pos:t};l.unexpectedNumericSeparator(t,r,n)}++t;continue}if(i>=97){u=i-97+10}else if(i>=65){u=i-65+10}else if(Re(i)){u=i-48}else{u=Infinity}if(u>=s){if(u<=9&&c){return{n:null,pos:t}}else if(u<=9&&l.invalidDigit(t,r,n,s)){u=0}else if(a){u=0;d=true}else{break}}++t;h=h*s+u}if(t===u||i!=null&&t-u!==i||d){return{n:null,pos:t}}return{n:h,pos:t}}function readCodePoint(e,t,r,n,s,i){const a=e.charCodeAt(t);let o;if(a===123){++t;({code:o,pos:t}=readHexChar(e,t,r,n,e.indexOf("}",t)-t,true,s,i));++t;if(o!==null&&o>1114111){if(s){i.invalidCodePoint(t,r,n)}else{return{code:null,pos:t}}}}else{({code:o,pos:t}=readHexChar(e,t,r,n,4,false,s,i))}return{code:o,pos:t}}const Ke=["at"],We=["at"];function buildPosition(e,t,r){return new Position(r,e-t,e)}const $e=new Set([103,109,115,105,121,117,100,118]);class Token{constructor(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;this.loc=new SourceLocation(e.startLoc,e.endLoc)}}class Tokenizer extends CommentsParser{constructor(e,t){super();this.isLookahead=void 0;this.tokens=[];this.errorHandlers_readInt={invalidDigit:(e,t,r,n)=>{if(!this.options.errorRecovery)return false;this.raise(p.InvalidDigit,{at:buildPosition(e,t,r),radix:n});return true},numericSeparatorInEscapeSequence:this.errorBuilder(p.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(p.UnexpectedNumericSeparator)};this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(p.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(p.InvalidCodePoint)});this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,r)=>{this.recordStrictModeErrors(p.StrictNumericEscape,{at:buildPosition(e,t,r)})},unterminated:(e,t,r)=>{throw this.raise(p.UnterminatedString,{at:buildPosition(e-1,t,r)})}});this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(p.StrictNumericEscape),unterminated:(e,t,r)=>{throw this.raise(p.UnterminatedTemplate,{at:buildPosition(e,t,r)})}});this.state=new State;this.state.init(e);this.input=t;this.length=t.length;this.isLookahead=false}pushToken(e){this.tokens.length=this.state.tokensLength;this.tokens.push(e);++this.state.tokensLength}next(){this.checkKeywordEscapes();if(this.options.tokens){this.pushToken(new Token(this.state))}this.state.lastTokStart=this.state.start;this.state.lastTokEndLoc=this.state.endLoc;this.state.lastTokStartLoc=this.state.startLoc;this.nextToken()}eat(e){if(this.match(e)){this.next();return true}else{return false}}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e);this.isLookahead=true;this.nextToken();this.isLookahead=false;const t=this.state;this.state=e;return t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){je.lastIndex=e;return je.test(this.input)?je.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){Fe.lastIndex=e;return Fe.test(this.input)?Fe.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if((t&64512)===55296&&++e<this.input.length){const r=this.input.charCodeAt(e);if((r&64512)===56320){t=65536+((t&1023)<<10)+(r&1023)}}return t}setStrict(e){this.state.strict=e;if(e){this.state.strictErrors.forEach((([e,t])=>this.raise(e,{at:t})));this.state.strictErrors.clear()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace();this.state.start=this.state.pos;if(!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;if(!this.isLookahead)t=this.state.curPosition();const r=this.state.pos;const n=this.input.indexOf(e,r+2);if(n===-1){throw this.raise(p.UnterminatedComment,{at:this.state.curPosition()})}this.state.pos=n+e.length;Le.lastIndex=r+2;while(Le.test(this.input)&&Le.lastIndex<=n){++this.state.curLine;this.state.lineStart=Le.lastIndex}if(this.isLookahead)return;const s={type:"CommentBlock",value:this.input.slice(r+2,n),start:r,end:n+e.length,loc:new SourceLocation(t,this.state.curPosition())};if(this.options.tokens)this.pushToken(s);return s}skipLineComment(e){const t=this.state.pos;let r;if(!this.isLookahead)r=this.state.curPosition();let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length){while(!isNewLine(n)&&++this.state.pos<this.length){n=this.input.charCodeAt(this.state.pos)}}if(this.isLookahead)return;const s=this.state.pos;const i=this.input.slice(t+e,s);const a={type:"CommentLine",value:i,start:t,end:s,loc:new SourceLocation(r,this.state.curPosition())};if(this.options.tokens)this.pushToken(a);return a}skipSpace(){const e=this.state.pos;const t=[];e:while(this.state.pos<this.length){const r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:if(this.input.charCodeAt(this.state.pos+1)===10){++this.state.pos}case 10:case 8232:case 8233:++this.state.pos;++this.state.curLine;this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const e=this.skipBlockComment("*/");if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}break}case 47:{const e=this.skipLineComment(2);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}break}default:break e}break;default:if(isWhitespace(r)){++this.state.pos}else if(r===45&&!this.inModule&&this.options.annexB){const r=this.state.pos;if(this.input.charCodeAt(r+1)===45&&this.input.charCodeAt(r+2)===62&&(e===0||this.state.lineStart>e)){const e=this.skipLineComment(3);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else if(r===60&&!this.inModule&&this.options.annexB){const e=this.state.pos;if(this.input.charCodeAt(e+1)===33&&this.input.charCodeAt(e+2)===45&&this.input.charCodeAt(e+3)===45){const e=this.skipLineComment(4);if(e!==undefined){this.addComment(e);if(this.options.attachComment)t.push(e)}}else{break e}}else{break e}}}if(t.length>0){const r=this.state.pos;const n={start:e,end:r,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(n)}}finishToken(e,t){this.state.end=this.state.pos;this.state.endLoc=this.state.curPosition();const r=this.state.type;this.state.type=e;this.state.value=t;if(!this.isLookahead){this.updateContext(r)}}replaceToken(e){this.state.type=e;this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter()){return}const e=this.state.pos+1;const t=this.codePointAtPos(e);if(t>=48&&t<=57){throw this.raise(p.UnexpectedDigitAfterHash,{at:this.state.curPosition()})}if(t===123||t===91&&this.hasPlugin("recordAndTuple")){this.expectPlugin("recordAndTuple");if(this.getPluginOption("recordAndTuple","syntaxType")==="bar"){throw this.raise(t===123?p.RecordExpressionHashIncorrectStartSyntaxType:p.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;if(t===123){this.finishToken(7)}else{this.finishToken(1)}}else if(isIdentifierStart(t)){++this.state.pos;this.finishToken(136,this.readWord1(t))}else if(t===92){++this.state.pos;this.finishToken(136,this.readWord1())}else{this.finishOp(27,1)}}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(true);return}if(e===46&&this.input.charCodeAt(this.state.pos+2)===46){this.state.pos+=3;this.finishToken(21)}else{++this.state.pos;this.finishToken(16)}}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(31,2)}else{this.finishOp(56,1)}}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return false;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return false;const t=this.state.pos;this.state.pos+=1;while(!isNewLine(e)&&++this.state.pos<this.length){e=this.input.charCodeAt(this.state.pos)}const r=this.input.slice(t+2,this.state.pos);this.finishToken(28,r);return true}readToken_mult_modulo(e){let t=e===42?55:54;let r=1;let n=this.input.charCodeAt(this.state.pos+1);if(e===42&&n===42){r++;n=this.input.charCodeAt(this.state.pos+2);t=57}if(n===61&&!this.state.inType){r++;t=e===37?33:30}this.finishOp(t,r)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(t===e){if(this.input.charCodeAt(this.state.pos+2)===61){this.finishOp(30,3)}else{this.finishOp(e===124?41:42,2)}return}if(e===124){if(t===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&t===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(p.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&t===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(p.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(4);return}}if(t===61){this.finishOp(30,2);return}this.finishOp(e===124?43:45,1)}readToken_caret(){const e=this.input.charCodeAt(this.state.pos+1);if(e===61&&!this.state.inType){this.finishOp(32,2)}else if(e===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){this.finishOp(37,2);const e=this.input.codePointAt(this.state.pos);if(e===94){this.unexpected()}}else{this.finishOp(44,1)}}readToken_atSign(){const e=this.input.charCodeAt(this.state.pos+1);if(e===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])){this.finishOp(38,2)}else{this.finishOp(26,1)}}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);if(t===e){this.finishOp(34,2);return}if(t===61){this.finishOp(30,2)}else{this.finishOp(53,1)}}readToken_lt(){const{pos:e}=this.state;const t=this.input.charCodeAt(e+1);if(t===60){if(this.input.charCodeAt(e+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(t===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:e}=this.state;const t=this.input.charCodeAt(e+1);if(t===62){const t=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+t)===61){this.finishOp(30,t+1);return}this.finishOp(52,t);return}if(t===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(e){const t=this.input.charCodeAt(this.state.pos+1);if(t===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(e===61&&t===62){this.state.pos+=2;this.finishToken(19);return}this.finishOp(e===61?29:35,1)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1);const t=this.input.charCodeAt(this.state.pos+2);if(e===63){if(t===61){this.finishOp(30,3)}else{this.finishOp(40,2)}}else if(e===46&&!(t>=48&&t<=57)){this.state.pos+=2;this.finishToken(18)}else{++this.state.pos;this.finishToken(17)}}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos;this.finishToken(10);return;case 41:++this.state.pos;this.finishToken(11);return;case 59:++this.state.pos;this.finishToken(13);return;case 44:++this.state.pos;this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(p.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(2)}else{++this.state.pos;this.finishToken(0)}return;case 93:++this.state.pos;this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar"){throw this.raise(p.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()})}this.state.pos+=2;this.finishToken(6)}else{++this.state.pos;this.finishToken(5)}return;case 125:++this.state.pos;this.finishToken(8);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58){this.finishOp(15,2)}else{++this.state.pos;this.finishToken(14)}return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(false);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(isIdentifierStart(e)){this.readWord(e);return}}throw this.raise(p.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t;this.finishToken(e,r)}readRegexp(){const e=this.state.startLoc;const t=this.state.start+1;let r,n;let{pos:s}=this.state;for(;;++s){if(s>=this.length){throw this.raise(p.UnterminatedRegExp,{at:createPositionWithColumnOffset(e,1)})}const t=this.input.charCodeAt(s);if(isNewLine(t)){throw this.raise(p.UnterminatedRegExp,{at:createPositionWithColumnOffset(e,1)})}if(r){r=false}else{if(t===91){n=true}else if(t===93&&n){n=false}else if(t===47&&!n){break}r=t===92}}const i=this.input.slice(t,s);++s;let a="";const nextPos=()=>createPositionWithColumnOffset(e,s+2-t);while(s<this.length){const e=this.codePointAtPos(s);const t=String.fromCharCode(e);if($e.has(e)){if(e===118){if(a.includes("u")){this.raise(p.IncompatibleRegExpUVFlags,{at:nextPos()})}}else if(e===117){if(a.includes("v")){this.raise(p.IncompatibleRegExpUVFlags,{at:nextPos()})}}if(a.includes(t)){this.raise(p.DuplicateRegExpFlags,{at:nextPos()})}}else if(isIdentifierChar(e)||e===92){this.raise(p.MalformedRegExpFlags,{at:nextPos()})}else{break}++s;a+=t}this.state.pos=s;this.finishToken(135,{pattern:i,flags:a})}readInt(e,t,r=false,n=true){const{n:s,pos:i}=readInt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,r,n,this.errorHandlers_readInt,false);this.state.pos=i;return s}readRadixNumber(e){const t=this.state.curPosition();let r=false;this.state.pos+=2;const n=this.readInt(e);if(n==null){this.raise(p.InvalidDigit,{at:createPositionWithColumnOffset(t,2),radix:e})}const s=this.input.charCodeAt(this.state.pos);if(s===110){++this.state.pos;r=true}else if(s===109){throw this.raise(p.InvalidDecimal,{at:t})}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(p.NumberIdentifier,{at:this.state.curPosition()})}if(r){const e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,e);return}this.finishToken(132,n)}readNumber(e){const t=this.state.pos;const r=this.state.curPosition();let n=false;let s=false;let i=false;let a=false;let o=false;if(!e&&this.readInt(10)===null){this.raise(p.InvalidNumber,{at:this.state.curPosition()})}const l=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(l){const e=this.input.slice(t,this.state.pos);this.recordStrictModeErrors(p.StrictOctalLiteral,{at:r});if(!this.state.strict){const t=e.indexOf("_");if(t>0){this.raise(p.ZeroDigitNumericSeparator,{at:createPositionWithColumnOffset(r,t)})}}o=l&&!/[89]/.test(e)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!o){++this.state.pos;this.readInt(10);n=true;c=this.input.charCodeAt(this.state.pos)}if((c===69||c===101)&&!o){c=this.input.charCodeAt(++this.state.pos);if(c===43||c===45){++this.state.pos}if(this.readInt(10)===null){this.raise(p.InvalidOrMissingExponent,{at:r})}n=true;a=true;c=this.input.charCodeAt(this.state.pos)}if(c===110){if(n||l){this.raise(p.InvalidBigIntLiteral,{at:r})}++this.state.pos;s=true}if(c===109){this.expectPlugin("decimal",this.state.curPosition());if(a||l){this.raise(p.InvalidDecimal,{at:r})}++this.state.pos;i=true}if(isIdentifierStart(this.codePointAtPos(this.state.pos))){throw this.raise(p.NumberIdentifier,{at:this.state.curPosition()})}const u=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(s){this.finishToken(133,u);return}if(i){this.finishToken(134,u);return}const f=o?parseInt(u,8):parseFloat(u);this.finishToken(132,f)}readCodePoint(e){const{code:t,pos:r}=readCodePoint(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);this.state.pos=r;return t}readString(e){const{str:t,pos:r,curLine:n,lineStart:s}=readStringContents(e===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=r+1;this.state.lineStart=s;this.state.curLine=n;this.finishToken(131,t)}readTemplateContinuation(){if(!this.match(8)){this.unexpected(null,8)}this.state.pos--;this.readTemplateToken()}readTemplateToken(){const e=this.input[this.state.pos];const{str:t,firstInvalidLoc:r,pos:n,curLine:s,lineStart:i}=readStringContents("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=n+1;this.state.lineStart=i;this.state.curLine=s;if(r){this.state.firstInvalidTemplateEscapePos=new Position(r.curLine,r.pos-r.lineStart,r.pos)}if(this.input.codePointAt(n)===96){this.finishToken(24,r?null:e+t+"`")}else{this.state.pos++;this.finishToken(25,r?null:e+t+"${")}}recordStrictModeErrors(e,{at:t}){const r=t.index;if(this.state.strict&&!this.state.strictErrors.has(r)){this.raise(e,{at:t})}else{this.state.strictErrors.set(r,[e,t])}}readWord1(e){this.state.containsEsc=false;let t="";const r=this.state.pos;let n=this.state.pos;if(e!==undefined){this.state.pos+=e<=65535?1:2}while(this.state.pos<this.length){const e=this.codePointAtPos(this.state.pos);if(isIdentifierChar(e)){this.state.pos+=e<=65535?1:2}else if(e===92){this.state.containsEsc=true;t+=this.input.slice(n,this.state.pos);const e=this.state.curPosition();const s=this.state.pos===r?isIdentifierStart:isIdentifierChar;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(p.MissingUnicodeEscape,{at:this.state.curPosition()});n=this.state.pos-1;continue}++this.state.pos;const i=this.readCodePoint(true);if(i!==null){if(!s(i)){this.raise(p.EscapedCharNotAnIdentifier,{at:e})}t+=String.fromCodePoint(i)}n=this.state.pos}else{break}}return t+this.input.slice(n,this.state.pos)}readWord(e){const t=this.readWord1(e);const r=S.get(t);if(r!==undefined){this.finishToken(r,tokenLabelName(r))}else{this.finishToken(130,t)}}checkKeywordEscapes(){const{type:e}=this.state;if(tokenIsKeyword(e)&&this.state.containsEsc){this.raise(p.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:tokenLabelName(e)})}}raise(e,t){const{at:r}=t,n=_objectWithoutPropertiesLoose(t,Ke);const s=r instanceof Position?r:r.loc.start;const i=e({loc:s,details:n});if(!this.options.errorRecovery)throw i;if(!this.isLookahead)this.state.errors.push(i);return i}raiseOverwrite(e,t){const{at:r}=t,n=_objectWithoutPropertiesLoose(t,We);const s=r instanceof Position?r:r.loc.start;const i=s.index;const a=this.state.errors;for(let t=a.length-1;t>=0;t--){const r=a[t];if(r.loc.index===i){return a[t]=e({loc:s,details:n})}if(r.loc.index<i)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(p.UnexpectedToken,{expected:t?tokenLabelName(t):null,at:e!=null?e:this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e)){return true}throw this.raise(p.MissingPlugin,{at:t!=null?t:this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e)))){throw this.raise(p.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}}errorBuilder(e){return(t,r,n)=>{this.raise(e,{at:buildPosition(t,r,n)})}}}class ClassScope{constructor(){this.privateNames=new Set;this.loneAccessors=new Map;this.undefinedPrivateNames=new Map}}class ClassScopeHandler{constructor(e){this.parser=void 0;this.stack=[];this.undefinedPrivateNames=new Map;this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new ClassScope)}exit(){const e=this.stack.pop();const t=this.current();for(const[r,n]of Array.from(e.undefinedPrivateNames)){if(t){if(!t.undefinedPrivateNames.has(r)){t.undefinedPrivateNames.set(r,n)}}else{this.parser.raise(p.InvalidPrivateFieldResolution,{at:n,identifierName:r})}}}declarePrivateName(e,t,r){const{privateNames:n,loneAccessors:s,undefinedPrivateNames:i}=this.current();let a=n.has(e);if(t&Ie){const r=a&&s.get(e);if(r){const n=r&Ae;const i=t&Ae;const o=r&Ie;const l=t&Ie;a=o===l||n!==i;if(!a)s.delete(e)}else if(!a){s.set(e,t)}}if(a){this.parser.raise(p.PrivateNameRedeclaration,{at:r,identifierName:e})}n.add(e);i.delete(e)}usePrivateName(e,t){let r;for(r of this.stack){if(r.privateNames.has(e))return}if(r){r.undefinedPrivateNames.set(e,t)}else{this.parser.raise(p.InvalidPrivateFieldResolution,{at:t,identifierName:e})}}}const qe=0,He=1,Je=2,Ge=3;class ExpressionScope{constructor(e=qe){this.type=void 0;this.type=e}canBeArrowParameterDeclaration(){return this.type===Je||this.type===He}isCertainlyParameterDeclaration(){return this.type===Ge}}class ArrowHeadParsingScope extends ExpressionScope{constructor(e){super(e);this.declarationErrors=new Map}recordDeclarationError(e,{at:t}){const r=t.index;this.declarationErrors.set(r,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class ExpressionScopeHandler{constructor(e){this.parser=void 0;this.stack=[new ExpressionScope];this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,{at:t}){const r={at:t.loc.start};const{stack:n}=this;let s=n.length-1;let i=n[s];while(!i.isCertainlyParameterDeclaration()){if(i.canBeArrowParameterDeclaration()){i.recordDeclarationError(e,r)}else{return}i=n[--s]}this.parser.raise(e,r)}recordArrowParameterBindingError(e,{at:t}){const{stack:r}=this;const n=r[r.length-1];const s={at:t.loc.start};if(n.isCertainlyParameterDeclaration()){this.parser.raise(e,s)}else if(n.canBeArrowParameterDeclaration()){n.recordDeclarationError(e,s)}else{return}}recordAsyncArrowParametersError({at:e}){const{stack:t}=this;let r=t.length-1;let n=t[r];while(n.canBeArrowParameterDeclaration()){if(n.type===Je){n.recordDeclarationError(p.AwaitBindingIdentifier,{at:e})}n=t[--r]}}validateAsPattern(){const{stack:e}=this;const t=e[e.length-1];if(!t.canBeArrowParameterDeclaration())return;t.iterateErrors((([t,r])=>{this.parser.raise(t,{at:r});let n=e.length-2;let s=e[n];while(s.canBeArrowParameterDeclaration()){s.clearDeclarationError(r.index);s=e[--n]}}))}}function newParameterDeclarationScope(){return new ExpressionScope(Ge)}function newArrowHeadScope(){return new ArrowHeadParsingScope(He)}function newAsyncArrowScope(){return new ArrowHeadParsingScope(Je)}function newExpressionScope(){return new ExpressionScope}const Xe=0,ze=1,Ye=2,Qe=4,Ze=8;class ProductionParameterHandler{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&Ye)>0}get hasYield(){return(this.currentFlags()&ze)>0}get hasReturn(){return(this.currentFlags()&Qe)>0}get hasIn(){return(this.currentFlags()&Ze)>0}}function functionFlags(e,t){return(e?Ye:0)|(t?ze:0)}class UtilParser extends Tokenizer{addExtra(e,t,r,n=true){if(!e)return;const s=e.extra=e.extra||{};if(n){s[t]=r}else{Object.defineProperty(s,t,{enumerable:n,value:r})}}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(isIdentifierChar(e)||(e&64512)===55296)}return false}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){if(this.isContextual(e)){this.next();return true}return false}expectContextual(e,t){if(!this.eatContextual(e)){if(t!=null){throw this.raise(t,{at:this.state.startLoc})}this.unexpected(null,e)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Me.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){Be.lastIndex=this.state.end;return Be.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=true){if(e?this.isLineTerminator():this.eat(13))return;this.raise(p.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e(((e=null)=>{r.node=e;throw r}));if(this.state.errors.length>t.errors.length){const e=this.state;this.state=t;this.state.tokensLength=e.tokensLength;return{node:n,error:e.errors[t.errors.length],thrown:false,aborted:false,failState:e}}return{node:n,error:null,thrown:false,aborted:false,failState:null}}catch(e){const n=this.state;this.state=t;if(e instanceof SyntaxError){return{node:null,error:e,thrown:true,aborted:false,failState:n}}if(e===r){return{node:r.node,error:null,thrown:false,aborted:true,failState:n}}throw e}}checkExpressionErrors(e,t){if(!e)return false;const{shorthandAssignLoc:r,doubleProtoLoc:n,privateKeyLoc:s,optionalParametersLoc:i}=e;const a=!!r||!!n||!!i||!!s;if(!t){return a}if(r!=null){this.raise(p.InvalidCoverInitializedName,{at:r})}if(n!=null){this.raise(p.DuplicateProto,{at:n})}if(s!=null){this.raise(p.UnexpectedPrivateField,{at:s})}if(i!=null){this.unexpected(i)}}isLiteralPropertyName(){return tokenIsLiteralPropertyName(this.state.type)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const s=this.scope;const i=this.getScopeHandler();this.scope=new i(this,e);const a=this.prodParam;this.prodParam=new ProductionParameterHandler;const o=this.classScope;this.classScope=new ClassScopeHandler(this);const l=this.expressionScope;this.expressionScope=new ExpressionScopeHandler(this);return()=>{this.state.labels=t;this.exportedIdentifiers=r;this.inModule=n;this.scope=s;this.prodParam=a;this.classScope=o;this.expressionScope=l}}enterInitialScopes(){let e=Xe;if(this.inModule){e|=Ye}this.scope.enter(V);this.prodParam.enter(e)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;if(t!==null){this.expectPlugin("destructuringPrivate",t)}}}class ExpressionErrors{constructor(){this.shorthandAssignLoc=null;this.doubleProtoLoc=null;this.privateKeyLoc=null;this.optionalParametersLoc=null}}class Node{constructor(e,t,r){this.type="";this.start=t;this.end=0;this.loc=new SourceLocation(r);if(e!=null&&e.options.ranges)this.range=[t,0];if(e!=null&&e.filename)this.loc.filename=e.filename}}const et=Node.prototype;{et.__clone=function(){const e=new Node(undefined,this.start,this.loc.start);const t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){const n=t[r];if(n!=="leadingComments"&&n!=="trailingComments"&&n!=="innerComments"){e[n]=this[n]}}return e}}function clonePlaceholder(e){return cloneIdentifier(e)}function cloneIdentifier(e){const{type:t,start:r,end:n,loc:s,range:i,extra:a,name:o}=e;const l=Object.create(et);l.type=t;l.start=r;l.end=n;l.loc=s;l.range=i;l.extra=a;l.name=o;if(t==="Placeholder"){l.expectedNode=e.expectedNode}return l}function cloneStringLiteral(e){const{type:t,start:r,end:n,loc:s,range:i,extra:a}=e;if(t==="Placeholder"){return clonePlaceholder(e)}const o=Object.create(et);o.type=t;o.start=r;o.end=n;o.loc=s;o.range=i;if(e.raw!==undefined){o.raw=e.raw}else{o.extra=a}o.value=e.value;return o}class NodeUtils extends UtilParser{startNode(){return new Node(this,this.state.start,this.state.startLoc)}startNodeAt(e){return new Node(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,r){e.type=t;e.end=r.index;e.loc.end=r;if(this.options.ranges)e.range[1]=r.index;if(this.options.attachComment)this.processComment(e);return e}resetStartLocation(e,t){e.start=t.index;e.loc.start=t;if(this.options.ranges)e.range[0]=t.index}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index;e.loc.end=t;if(this.options.ranges)e.range[1]=t.index}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}}const tt=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]);const rt=ParseErrorEnum`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:e})=>`Cannot overwrite reserved type ${e}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:r})=>`Enum \`${e}\` has type \`${r}\`, so the initializer of \`${t}\` needs to be a ${r} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:r})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${r}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:e})=>`Unexpected reserved type ${e}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function isEsModuleType(e){return e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"&&(!e.declaration||e.declaration.type!=="TypeAlias"&&e.declaration.type!=="InterfaceDeclaration")}function hasTypeImportKind(e){return e.importKind==="type"||e.importKind==="typeof"}const nt={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function partition(e,t){const r=[];const n=[];for(let s=0;s<e.length;s++){(t(e[s],s,e)?r:n).push(e[s])}return[r,n]}const st=/\*?\s*@((?:no)?flow)\b/;var flow=e=>class FlowParserMixin extends e{constructor(...e){super(...e);this.flowPragma=undefined}getScopeHandler(){return FlowScopeHandler}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){if(e!==131&&e!==13&&e!==28){if(this.flowPragma===undefined){this.flowPragma=null}}super.finishToken(e,t)}addComment(e){if(this.flowPragma===undefined){const t=st.exec(e.value);if(!t);else if(t[1]==="flow"){this.flowPragma="flow"}else if(t[1]==="noflow"){this.flowPragma="noflow"}else{throw new Error("Unexpected flow pragma")}}super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=true;this.expect(e||14);const r=this.flowParseType();this.state.inType=t;return r}flowParsePredicate(){const e=this.startNode();const t=this.state.startLoc;this.next();this.expectContextual(108);if(this.state.lastTokStart>t.index+1){this.raise(rt.UnexpectedSpaceBetweenModuloChecks,{at:t})}if(this.eat(10)){e.value=super.parseExpression();this.expect(11);return this.finishNode(e,"DeclaredPredicate")}else{return this.finishNode(e,"InferredPredicate")}}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=true;this.expect(14);let t=null;let r=null;if(this.match(54)){this.state.inType=e;r=this.flowParsePredicate()}else{t=this.flowParseType();this.state.inType=e;if(this.match(54)){r=this.flowParsePredicate()}}return[t,r]}flowParseDeclareClass(e){this.next();this.flowParseInterfaceish(e,true);return this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier();const r=this.startNode();const n=this.startNode();if(this.match(47)){r.typeParameters=this.flowParseTypeParameterDeclaration()}else{r.typeParameters=null}this.expect(10);const s=this.flowParseFunctionTypeParams();r.params=s.params;r.rest=s.rest;r.this=s._this;this.expect(11);[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser();n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation");t.typeAnnotation=this.finishNode(n,"TypeAnnotation");this.resetEndLocation(t);this.semicolon();this.scope.declareName(e.id.name,Pe,e.id.loc.start);return this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(80)){return this.flowParseDeclareClass(e)}else if(this.match(68)){return this.flowParseDeclareFunction(e)}else if(this.match(74)){return this.flowParseDeclareVariable(e)}else if(this.eatContextual(125)){if(this.match(16)){return this.flowParseDeclareModuleExports(e)}else{if(t){this.raise(rt.NestedDeclareModule,{at:this.state.lastTokStartLoc})}return this.flowParseDeclareModule(e)}}else if(this.isContextual(128)){return this.flowParseDeclareTypeAlias(e)}else if(this.isContextual(129)){return this.flowParseDeclareOpaqueType(e)}else if(this.isContextual(127)){return this.flowParseDeclareInterface(e)}else if(this.match(82)){return this.flowParseDeclareExportDeclaration(e,t)}else{this.unexpected()}}flowParseDeclareVariable(e){this.next();e.id=this.flowParseTypeAnnotatableIdentifier(true);this.scope.declareName(e.id.name,de,e.id.loc.start);this.semicolon();return this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(U);if(this.match(131)){e.id=super.parseExprAtom()}else{e.id=this.parseIdentifier()}const t=e.body=this.startNode();const r=t.body=[];this.expect(5);while(!this.match(8)){let e=this.startNode();if(this.match(83)){this.next();if(!this.isContextual(128)&&!this.match(87)){this.raise(rt.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc})}super.parseImport(e)}else{this.expectContextual(123,rt.UnsupportedStatementInDeclareModule);e=this.flowParseDeclare(e,true)}r.push(e)}this.scope.exit();this.expect(8);this.finishNode(t,"BlockStatement");let n=null;let s=false;r.forEach((e=>{if(isEsModuleType(e)){if(n==="CommonJS"){this.raise(rt.AmbiguousDeclareModuleKind,{at:e})}n="ES"}else if(e.type==="DeclareModuleExports"){if(s){this.raise(rt.DuplicateDeclareModuleExports,{at:e})}if(n==="ES"){this.raise(rt.AmbiguousDeclareModuleKind,{at:e})}n="CommonJS";s=true}}));e.kind=n||"CommonJS";return this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){this.expect(82);if(this.eat(65)){if(this.match(68)||this.match(80)){e.declaration=this.flowParseDeclare(this.startNode())}else{e.declaration=this.flowParseType();this.semicolon()}e.default=true;return this.finishNode(e,"DeclareExportDeclaration")}else{if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!t){const e=this.state.value;throw this.raise(rt.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:nt[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129)){e.declaration=this.flowParseDeclare(this.startNode());e.default=false;return this.finishNode(e,"DeclareExportDeclaration")}else if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129)){e=this.parseExport(e,null);if(e.type==="ExportNamedDeclaration"){e.type="ExportDeclaration";e.default=false;delete e.exportKind}e.type="Declare"+e.type;return e}}this.unexpected()}flowParseDeclareModuleExports(e){this.next();this.expectContextual(109);e.typeAnnotation=this.flowParseTypeAnnotation();this.semicolon();return this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();const t=this.flowParseTypeAlias(e);t.type="DeclareTypeAlias";return t}flowParseDeclareOpaqueType(e){this.next();const t=this.flowParseOpaqueType(e,true);t.type="DeclareOpaqueType";return t}flowParseDeclareInterface(e){this.next();this.flowParseInterfaceish(e,false);return this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){e.id=this.flowParseRestrictedIdentifier(!t,true);this.scope.declareName(e.id.name,t?he:pe,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.extends=[];if(this.eat(81)){do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12))}if(t){e.implements=[];e.mixins=[];if(this.eatContextual(115)){do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.eatContextual(111)){do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}}e.body=this.flowParseObjectType({allowStatic:t,allowExact:false,allowSpread:false,allowProto:t,allowInexact:false})}flowParseInterfaceExtends(){const e=this.startNode();e.id=this.flowParseQualifiedTypeIdentifier();if(this.match(47)){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}return this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){this.flowParseInterfaceish(e,false);return this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if(e==="_"){this.raise(rt.UnexpectedReservedUnderscore,{at:this.state.startLoc})}}checkReservedType(e,t,r){if(!tt.has(e))return;this.raise(r?rt.AssignReservedType:rt.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){this.checkReservedType(this.state.value,this.state.startLoc,t);return this.parseIdentifier(e)}flowParseTypeAlias(e){e.id=this.flowParseRestrictedIdentifier(false,true);this.scope.declareName(e.id.name,pe,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.right=this.flowParseTypeInitialiser(29);this.semicolon();return this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){this.expectContextual(128);e.id=this.flowParseRestrictedIdentifier(true,true);this.scope.declareName(e.id.name,pe,e.id.loc.start);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}else{e.typeParameters=null}e.supertype=null;if(this.match(14)){e.supertype=this.flowParseTypeInitialiser(14)}e.impltype=null;if(!t){e.impltype=this.flowParseTypeInitialiser(29)}this.semicolon();return this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=false){const t=this.state.startLoc;const r=this.startNode();const n=this.flowParseVariance();const s=this.flowParseTypeAnnotatableIdentifier();r.name=s.name;r.variance=n;r.bound=s.typeAnnotation;if(this.match(29)){this.eat(29);r.default=this.flowParseType()}else{if(e){this.raise(rt.MissingTypeParamDefault,{at:t})}}return this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType;const t=this.startNode();t.params=[];this.state.inType=true;if(this.match(47)||this.match(140)){this.next()}else{this.unexpected()}let r=false;do{const e=this.flowParseTypeParameter(r);t.params.push(e);if(e.default){r=true}if(!this.match(48)){this.expect(12)}}while(!this.match(48));this.expect(48);this.state.inType=e;return this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expect(47);const r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=false;while(!this.match(48)){e.params.push(this.flowParseType());if(!this.match(48)){this.expect(12)}}this.state.noAnonFunctionType=r;this.expect(48);this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode();const t=this.state.inType;e.params=[];this.state.inType=true;this.expect(47);while(!this.match(48)){e.params.push(this.flowParseTypeOrImplicitInstantiation());if(!this.match(48)){this.expect(12)}}this.expect(48);this.state.inType=t;return this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();this.expectContextual(127);e.extends=[];if(this.eat(81)){do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:false,allowProto:false,allowInexact:false});return this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(true)}flowParseObjectTypeIndexer(e,t,r){e.static=t;if(this.lookahead().type===14){e.id=this.flowParseObjectPropertyKey();e.key=this.flowParseTypeInitialiser()}else{e.id=null;e.key=this.flowParseType()}this.expect(3);e.value=this.flowParseTypeInitialiser();e.variance=r;return this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){e.static=t;e.id=this.flowParseObjectPropertyKey();this.expect(3);this.expect(3);if(this.match(47)||this.match(10)){e.method=true;e.optional=false;e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))}else{e.method=false;if(this.eat(17)){e.optional=true}e.value=this.flowParseTypeInitialiser()}return this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){e.params=[];e.rest=null;e.typeParameters=null;e.this=null;if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}this.expect(10);if(this.match(78)){e.this=this.flowParseFunctionTypeParam(true);e.this.name=null;if(!this.match(11)){this.expect(12)}}while(!this.match(11)&&!this.match(21)){e.params.push(this.flowParseFunctionTypeParam(false));if(!this.match(11)){this.expect(12)}}if(this.eat(21)){e.rest=this.flowParseFunctionTypeParam(false)}this.expect(11);e.returnType=this.flowParseTypeInitialiser();return this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();e.static=t;e.value=this.flowParseObjectTypeMethodish(r);return this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:s}){const i=this.state.inType;this.state.inType=true;const a=this.startNode();a.callProperties=[];a.properties=[];a.indexers=[];a.internalSlots=[];let o;let l;let c=false;if(t&&this.match(6)){this.expect(6);o=9;l=true}else{this.expect(5);o=8;l=false}a.exact=l;while(!this.match(o)){let t=false;let i=null;let o=null;const u=this.startNode();if(n&&this.isContextual(116)){const t=this.lookahead();if(t.type!==14&&t.type!==17){this.next();i=this.state.startLoc;e=false}}if(e&&this.isContextual(104)){const e=this.lookahead();if(e.type!==14&&e.type!==17){this.next();t=true}}const p=this.flowParseVariance();if(this.eat(0)){if(i!=null){this.unexpected(i)}if(this.eat(0)){if(p){this.unexpected(p.loc.start)}a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))}else{a.indexers.push(this.flowParseObjectTypeIndexer(u,t,p))}}else if(this.match(10)||this.match(47)){if(i!=null){this.unexpected(i)}if(p){this.unexpected(p.loc.start)}a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t))}else{let e="init";if(this.isContextual(98)||this.isContextual(103)){const t=this.lookahead();if(tokenIsLiteralPropertyName(t.type)){e=this.state.value;this.next()}}const n=this.flowParseObjectTypeProperty(u,t,i,p,e,r,s!=null?s:!l);if(n===null){c=true;o=this.state.lastTokStartLoc}else{a.properties.push(n)}}this.flowObjectTypeSemicolon();if(o&&!this.match(8)&&!this.match(9)){this.raise(rt.UnexpectedExplicitInexactInObject,{at:o})}}this.expect(o);if(r){a.inexact=c}const u=this.finishNode(a,"ObjectTypeAnnotation");this.state.inType=i;return u}flowParseObjectTypeProperty(e,t,r,n,s,i,a){if(this.eat(21)){const t=this.match(12)||this.match(13)||this.match(8)||this.match(9);if(t){if(!i){this.raise(rt.InexactInsideNonObject,{at:this.state.lastTokStartLoc})}else if(!a){this.raise(rt.InexactInsideExact,{at:this.state.lastTokStartLoc})}if(n){this.raise(rt.InexactVariance,{at:n})}return null}if(!i){this.raise(rt.UnexpectedSpreadType,{at:this.state.lastTokStartLoc})}if(r!=null){this.unexpected(r)}if(n){this.raise(rt.SpreadVariance,{at:n})}e.argument=this.flowParseType();return this.finishNode(e,"ObjectTypeSpreadProperty")}else{e.key=this.flowParseObjectPropertyKey();e.static=t;e.proto=r!=null;e.kind=s;let a=false;if(this.match(47)||this.match(10)){e.method=true;if(r!=null){this.unexpected(r)}if(n){this.unexpected(n.loc.start)}e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start));if(s==="get"||s==="set"){this.flowCheckGetterSetterParams(e)}if(!i&&e.key.name==="constructor"&&e.value.this){this.raise(rt.ThisParamBannedInConstructor,{at:e.value.this})}}else{if(s!=="init")this.unexpected();e.method=false;if(this.eat(17)){a=true}e.value=this.flowParseTypeInitialiser();e.variance=n}e.optional=a;return this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t=e.kind==="get"?0:1;const r=e.value.params.length+(e.value.rest?1:0);if(e.value.this){this.raise(e.kind==="get"?rt.GetterMayNotHaveThisParam:rt.SetterMayNotHaveThisParam,{at:e.value.this})}if(r!==t){this.raise(e.kind==="get"?p.BadGetterArity:p.BadSetterArity,{at:e})}if(e.kind==="set"&&e.value.rest){this.raise(p.BadSetterRestParameter,{at:e})}}flowObjectTypeSemicolon(){if(!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)){this.unexpected()}}flowParseQualifiedTypeIdentifier(e,t){var r;(r=e)!=null?r:e=this.state.startLoc;let n=t||this.flowParseRestrictedIdentifier(true);while(this.eat(16)){const t=this.startNodeAt(e);t.qualification=n;t.id=this.flowParseRestrictedIdentifier(true);n=this.finishNode(t,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t){const r=this.startNodeAt(e);r.typeParameters=null;r.id=this.flowParseQualifiedTypeIdentifier(e,t);if(this.match(47)){r.typeParameters=this.flowParseTypeParameterInstantiation()}return this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();this.expect(87);e.argument=this.flowParsePrimaryType();return this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();e.types=[];this.expect(0);while(this.state.pos<this.length&&!this.match(3)){e.types.push(this.flowParseType());if(this.match(3))break;this.expect(12)}this.expect(3);return this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null;let r=false;let n=null;const s=this.startNode();const i=this.lookahead();const a=this.state.type===78;if(i.type===14||i.type===17){if(a&&!e){this.raise(rt.ThisParamMustBeFirst,{at:s})}t=this.parseIdentifier(a);if(this.eat(17)){r=true;if(a){this.raise(rt.ThisParamMayNotBeOptional,{at:s})}}n=this.flowParseTypeInitialiser()}else{n=this.flowParseType()}s.name=t;s.optional=r;s.typeAnnotation=n;return this.finishNode(s,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.loc.start);t.name=null;t.optional=false;t.typeAnnotation=e;return this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null;let r=null;if(this.match(78)){r=this.flowParseFunctionTypeParam(true);r.name=null;if(!this.match(11)){this.expect(12)}}while(!this.match(11)&&!this.match(21)){e.push(this.flowParseFunctionTypeParam(false));if(!this.match(11)){this.expect(12)}}if(this.eat(21)){t=this.flowParseFunctionTypeParam(false)}return{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r){switch(r.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:this.checkNotUnderscore(r.name);return this.flowParseGenericType(e,r)}}flowParsePrimaryType(){const e=this.state.startLoc;const t=this.startNode();let r;let n;let s=false;const i=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:false,allowExact:false,allowSpread:true,allowProto:false,allowInexact:true});case 6:return this.flowParseObjectType({allowStatic:false,allowExact:true,allowSpread:true,allowProto:false,allowInexact:false});case 0:this.state.noAnonFunctionType=false;n=this.flowParseTupleType();this.state.noAnonFunctionType=i;return n;case 47:t.typeParameters=this.flowParseTypeParameterDeclaration();this.expect(10);r=this.flowParseFunctionTypeParams();t.params=r.params;t.rest=r.rest;t.this=r._this;this.expect(11);this.expect(19);t.returnType=this.flowParseType();return this.finishNode(t,"FunctionTypeAnnotation");case 10:this.next();if(!this.match(11)&&!this.match(21)){if(tokenIsIdentifier(this.state.type)||this.match(78)){const e=this.lookahead().type;s=e!==17&&e!==14}else{s=true}}if(s){this.state.noAnonFunctionType=false;n=this.flowParseType();this.state.noAnonFunctionType=i;if(this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19)){this.expect(11);return n}else{this.eat(12)}}if(n){r=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)])}else{r=this.flowParseFunctionTypeParams()}t.params=r.params;t.rest=r.rest;t.this=r._this;this.expect(11);this.expect(19);t.returnType=this.flowParseType();t.typeParameters=null;return this.finishNode(t,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:t.value=this.match(85);this.next();return this.finishNode(t,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){this.next();if(this.match(132)){return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",t)}if(this.match(133)){return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",t)}throw this.raise(rt.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:this.next();return this.finishNode(t,"VoidTypeAnnotation");case 84:this.next();return this.finishNode(t,"NullLiteralTypeAnnotation");case 78:this.next();return this.finishNode(t,"ThisTypeAnnotation");case 55:this.next();return this.finishNode(t,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(tokenIsKeyword(this.state.type)){const e=tokenLabelName(this.state.type);this.next();return super.createIdentifier(t,e)}else if(tokenIsIdentifier(this.state.type)){if(this.isContextual(127)){return this.flowParseInterfaceType()}return this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}}this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let t=this.flowParsePrimaryType();let r=false;while((this.match(0)||this.match(18))&&!this.canInsertSemicolon()){const n=this.startNodeAt(e);const s=this.eat(18);r=r||s;this.expect(0);if(!s&&this.match(3)){n.elementType=t;this.next();t=this.finishNode(n,"ArrayTypeAnnotation")}else{n.objectType=t;n.indexType=this.flowParseType();this.expect(3);if(r){n.optional=s;t=this.finishNode(n,"OptionalIndexedAccessType")}else{t=this.finishNode(n,"IndexedAccessType")}}}return t}flowParsePrefixType(){const e=this.startNode();if(this.eat(17)){e.typeAnnotation=this.flowParsePrefixType();return this.finishNode(e,"NullableTypeAnnotation")}else{return this.flowParsePostfixType()}}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(e.loc.start);t.params=[this.reinterpretTypeAsFunctionTypeParam(e)];t.rest=null;t.this=null;t.returnType=this.flowParseType();t.typeParameters=null;return this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(45);const t=this.flowParseAnonFunctionWithoutParens();e.types=[t];while(this.eat(45)){e.types.push(this.flowParseAnonFunctionWithoutParens())}return e.types.length===1?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const t=this.flowParseIntersectionType();e.types=[t];while(this.eat(43)){e.types.push(this.flowParseIntersectionType())}return e.types.length===1?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=true;const t=this.flowParseUnionType();this.state.inType=e;return t}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value==="_"){const e=this.state.startLoc;const t=this.parseIdentifier();return this.flowParseGenericType(e,t)}else{return this.flowParseType()}}flowParseTypeAnnotation(){const e=this.startNode();e.typeAnnotation=this.flowParseTypeInitialiser();return this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();if(this.match(14)){t.typeAnnotation=this.flowParseTypeAnnotation();this.resetEndLocation(t)}return t}typeCastToParameter(e){e.expression.typeAnnotation=e.typeAnnotation;this.resetEndLocation(e.expression,e.typeAnnotation.loc.end);return e.expression}flowParseVariance(){let e=null;if(this.match(53)){e=this.startNode();if(this.state.value==="+"){e.kind="plus"}else{e.kind="minus"}this.next();return this.finishNode(e,"Variance")}return e}parseFunctionBody(e,t,r=false){if(t){this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,true,r)));return}super.parseFunctionBody(e,false,r)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){const e=this.lookahead();if(tokenIsKeywordOrIdentifier(e.type)){const e=this.startNode();this.next();return this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(124)){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}const t=super.parseStatementLike(e);if(this.flowPragma===undefined&&!this.isValidDirective(t)){this.flowPragma=null}return t}parseExpressionStatement(e,t,r){if(t.type==="Identifier"){if(t.name==="declare"){if(this.match(80)||tokenIsIdentifier(this.state.type)||this.match(68)||this.match(74)||this.match(82)){return this.flowParseDeclare(e)}}else if(tokenIsIdentifier(this.state.type)){if(t.name==="interface"){return this.flowParseInterface(e)}else if(t.name==="type"){return this.flowParseTypeAlias(e)}else if(t.name==="opaque"){return this.flowParseOpaqueType(e,false)}}}return super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){const{type:e}=this.state;if(tokenIsFlowInterfaceOrTypeOrOpaque(e)||this.shouldParseEnums()&&e===124){return!this.state.containsEsc}return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsFlowInterfaceOrTypeOrOpaque(e)||this.shouldParseEnums()&&e===124){return this.state.containsEsc}return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){const e=this.startNode();this.next();return this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(t===44||t===61||t===58||t===41){this.setOptionalParametersError(r);return e}}this.expect(17);const n=this.state.clone();const s=this.state.noArrowAt;const i=this.startNodeAt(t);let{consequent:a,failed:o}=this.tryParseConditionalConsequent();let[l,c]=this.getArrowLikeExpressions(a);if(o||c.length>0){const e=[...s];if(c.length>0){this.state=n;this.state.noArrowAt=e;for(let t=0;t<c.length;t++){e.push(c[t].start)}({consequent:a,failed:o}=this.tryParseConditionalConsequent());[l,c]=this.getArrowLikeExpressions(a)}if(o&&l.length>1){this.raise(rt.AmbiguousConditionalArrow,{at:n.startLoc})}if(o&&l.length===1){this.state=n;e.push(l[0].start);this.state.noArrowAt=e;({consequent:a,failed:o}=this.tryParseConditionalConsequent())}}this.getArrowLikeExpressions(a,true);this.state.noArrowAt=s;this.expect(14);i.test=e;i.consequent=a;i.alternate=this.forwardNoArrowParamsConversionAt(i,(()=>this.parseMaybeAssign(undefined,undefined)));return this.finishNode(i,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn();const t=!this.match(14);this.state.noArrowParamsConversionAt.pop();return{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e];const n=[];while(r.length!==0){const e=r.pop();if(e.type==="ArrowFunctionExpression"){if(e.typeParameters||!e.returnType){this.finishArrowValidation(e)}else{n.push(e)}r.push(e.body)}else if(e.type==="ConditionalExpression"){r.push(e.consequent);r.push(e.alternate)}}if(t){n.forEach((e=>this.finishArrowValidation(e)));return[n,[]]}return partition(n,(e=>e.params.every((e=>this.isAssignable(e,true)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,(t=e.extra)==null?void 0:t.trailingCommaLoc,false);this.scope.enter(K|W);super.checkParams(e,false,true);this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){this.state.noArrowParamsConversionAt.push(this.state.start);r=t();this.state.noArrowParamsConversionAt.pop()}else{r=t()}return r}parseParenItem(e,t){e=super.parseParenItem(e,t);if(this.eat(17)){e.optional=true;this.resetEndLocation(e)}if(this.match(14)){const r=this.startNodeAt(t);r.expression=e;r.typeAnnotation=this.flowParseTypeAnnotation();return this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){if(e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"){return}super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind="type";const t=this.startNode();this.next();if(this.match(5)){e.specifiers=this.parseExportSpecifiers(true);super.parseExportFrom(e);return null}else{return this.flowParseTypeAlias(t)}}else if(this.isContextual(129)){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseOpaqueType(t,false)}else if(this.isContextual(127)){e.exportKind="type";const t=this.startNode();this.next();return this.flowParseInterface(t)}else if(this.shouldParseEnums()&&this.isContextual(124)){e.exportKind="value";const t=this.startNode();this.next();return this.flowParseEnumDeclaration(t)}else{return super.parseExportDeclaration(e)}}eatExportStar(e){if(super.eatExportStar(e))return true;if(this.isContextual(128)&&this.lookahead().type===55){e.exportKind="type";this.next();this.next();return true}return false}maybeParseExportNamespaceSpecifier(e){const{startLoc:t}=this.state;const r=super.maybeParseExportNamespaceSpecifier(e);if(r&&e.exportKind==="type"){this.unexpected(t)}return r}parseClassId(e,t,r){super.parseClassId(e,t,r);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}}parseClassMember(e,t,r){const{startLoc:n}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(e,t)){return}t.declare=true}super.parseClassMember(e,t,r);if(t.declare){if(t.type!=="ClassProperty"&&t.type!=="ClassPrivateProperty"&&t.type!=="PropertyDefinition"){this.raise(rt.DeclareClassElement,{at:n})}else if(t.value){this.raise(rt.DeclareClassFieldInitializer,{at:t.value})}}}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){const e=super.readWord1();const t="@@"+e;if(!this.isIterator(e)||!this.state.inType){this.raise(p.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t})}this.finishToken(130,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===123&&t===124){this.finishOp(6,2)}else if(this.state.inType&&(e===62||e===60)){this.finishOp(e===62?48:47,1)}else if(this.state.inType&&e===63){if(t===46){this.finishOp(18,2)}else{this.finishOp(17,1)}}else if(isIteratorStart(e,t,this.input.charCodeAt(this.state.pos+2))){this.state.pos+=2;this.readIterator()}else{super.getTokenFromCode(e)}}isAssignable(e,t){if(e.type==="TypeCastExpression"){return this.isAssignable(e.expression,t)}else{return super.isAssignable(e,t)}}toAssignable(e,t=false){if(!t&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"){e.left=this.typeCastToParameter(e.left)}super.toAssignable(e,t)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];if((r==null?void 0:r.type)==="TypeCastExpression"){e[t]=this.typeCastToParameter(r)}}super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let n=0;n<e.length;n++){var r;const s=e[n];if(s&&s.type==="TypeCastExpression"&&!((r=s.extra)!=null&&r.parenthesized)&&(e.length>1||!t)){this.raise(rt.TypeCastInPattern,{at:s.typeAnnotation})}}return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(t&&!this.state.maybeInArrowParameters){this.toReferencedList(s.elements)}return s}isValidLVal(e,t,r){return e==="TypeCastExpression"||super.isValidLVal(e,t,r)}parseClassProperty(e){if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}return super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,s,i){if(t.variance){this.unexpected(t.variance.loc.start)}delete t.variance;if(this.match(47)){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassMethod(e,t,r,n,s,i);if(t.params&&s){const e=t.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(rt.ThisParamBannedInConstructor,{at:t})}}else if(t.type==="MethodDefinition"&&s&&t.value.params){const e=t.value.params;if(e.length>0&&this.isThisParam(e[0])){this.raise(rt.ThisParamBannedInConstructor,{at:t})}}}pushClassPrivateMethod(e,t,r,n){if(t.variance){this.unexpected(t.variance.loc.start)}delete t.variance;if(this.match(47)){t.typeParameters=this.flowParseTypeParameterDeclaration()}super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&this.match(47)){e.superTypeParameters=this.flowParseTypeParameterInstantiation()}if(this.isContextual(111)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(true);if(this.match(47)){e.typeParameters=this.flowParseTypeParameterInstantiation()}else{e.typeParameters=null}t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];if(this.isThisParam(r)&&e.kind==="get"){this.raise(rt.GetterMayNotHaveThisParam,{at:r})}else if(this.isThisParam(r)){this.raise(rt.SetterMayNotHaveThisParam,{at:r})}}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,n,s,i,a){if(e.variance){this.unexpected(e.variance.loc.start)}delete e.variance;let o;if(this.match(47)&&!i){o=this.flowParseTypeParameterDeclaration();if(!this.match(10))this.unexpected()}const l=super.parseObjPropValue(e,t,r,n,s,i,a);if(o){(l.value||l).typeParameters=o}return l}parseAssignableListItemTypes(e){if(this.eat(17)){if(e.type!=="Identifier"){this.raise(rt.PatternIsOptional,{at:e})}if(this.isThisParam(e)){this.raise(rt.ThisParamMayNotBeOptional,{at:e})}e.optional=true}if(this.match(14)){e.typeAnnotation=this.flowParseTypeAnnotation()}else if(this.isThisParam(e)){this.raise(rt.ThisParamAnnotationRequired,{at:e})}if(this.match(29)&&this.isThisParam(e)){this.raise(rt.ThisParamNoDefault,{at:e})}this.resetEndLocation(e);return e}parseMaybeDefault(e,t){const r=super.parseMaybeDefault(e,t);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start){this.raise(rt.TypeBeforeInitializer,{at:r.typeAnnotation})}return r}checkImportReflection(e){super.checkImportReflection(e);if(e.module&&e.importKind!=="value"){this.raise(rt.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}}parseImportSpecifierLocal(e,t,r){t.local=hasTypeImportKind(e)?this.flowParseRestrictedIdentifier(true,true):this.parseIdentifier();e.specifiers.push(this.finishImportSpecifier(t,r))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return true;if(this.isContextual(128)){if(!e)return true;const t=this.lookaheadCharCode();return t===123||t===42}return!e&&this.isContextual(87)}applyImportPhase(e,t,r,n){super.applyImportPhase(e,t,r,n);if(t){if(!r&&this.match(65)){return}e.exportKind=r==="type"?r:"value"}else{if(r==="type"&&this.match(55))this.unexpected();e.importKind=r==="type"||r==="typeof"?r:"value"}}parseImportSpecifier(e,t,r,n,s){const i=e.imported;let a=null;if(i.type==="Identifier"){if(i.name==="type"){a="type"}else if(i.name==="typeof"){a="typeof"}}let o=false;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(true);if(a!==null&&!tokenIsKeywordOrIdentifier(this.state.type)){e.imported=t;e.importKind=a;e.local=cloneIdentifier(t)}else{e.imported=i;e.importKind=null;e.local=this.parseIdentifier()}}else{if(a!==null&&tokenIsKeywordOrIdentifier(this.state.type)){e.imported=this.parseIdentifier(true);e.importKind=a}else{if(t){throw this.raise(p.ImportBindingIsString,{at:e,importName:i.value})}e.imported=i;e.importKind=null}if(this.eatContextual(93)){e.local=this.parseIdentifier()}else{o=true;e.local=cloneIdentifier(e.imported)}}const l=hasTypeImportKind(e);if(r&&l){this.raise(rt.ImportTypeShorthandOnlyInPureImport,{at:e})}if(r||l){this.checkReservedType(e.local.name,e.local.loc.start,true)}if(o&&!r&&!l){this.checkReservedWord(e.local.name,e.loc.start,true,true)}return this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(true);default:return super.parseBindingAtom()}}parseFunctionParams(e,t){const r=e.kind;if(r!=="get"&&r!=="set"&&this.match(47)){e.typeParameters=this.flowParseTypeParameterDeclaration()}super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(this.match(14)){e.id.typeAnnotation=this.flowParseTypeAnnotation();this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;e.returnType=this.flowParseTypeAnnotation();this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var r;let n=null;let s;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){n=this.state.clone();s=this.tryParse((()=>super.parseMaybeAssign(e,t)),n);if(!s.error)return s.node;const{context:r}=this.state;const i=r[r.length-1];if(i===d.j_oTag||i===d.j_expr){r.pop()}}if((r=s)!=null&&r.error||this.match(47)){var i,a;n=n||this.state.clone();let r;const o=this.tryParse((n=>{var s;r=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(r,(()=>{const n=super.parseMaybeAssign(e,t);this.resetStartLocationFromNode(n,r);return n}));if((s=i.extra)!=null&&s.parenthesized)n();const a=this.maybeUnwrapTypeCastExpression(i);if(a.type!=="ArrowFunctionExpression")n();a.typeParameters=r;this.resetStartLocationFromNode(a,r);return i}),n);let l=null;if(o.node&&this.maybeUnwrapTypeCastExpression(o.node).type==="ArrowFunctionExpression"){if(!o.error&&!o.aborted){if(o.node.async){this.raise(rt.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r})}return o.node}l=o.node}if((i=s)!=null&&i.node){this.state=s.failState;return s.node}if(l){this.state=o.failState;return l}if((a=s)!=null&&a.thrown)throw s.error;if(o.thrown)throw o.error;throw this.raise(rt.UnexpectedTokenAfterTypeParameter,{at:r})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=true;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser();this.state.noAnonFunctionType=t;if(this.canInsertSemicolon())this.unexpected();if(!this.match(19))this.unexpected();return r}));if(t.thrown)return null;if(t.error)this.state=t.failState;e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){if(this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){e.params=t}else{super.setArrowFunctionParameters(e,t)}}checkParams(e,t,r,n=true){if(r&&this.state.noArrowParamsConversionAt.indexOf(e.start)!==-1){return}for(let t=0;t<e.params.length;t++){if(this.isThisParam(e.params[t])&&t>0){this.raise(rt.ThisParamMustBeFirst,{at:e.params[t]})}}super.checkParams(e,t,r,n)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(e,t,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.indexOf(t.index)!==-1){this.next();const r=this.startNodeAt(t);r.callee=e;r.arguments=super.parseCallExpressionArguments(11,false);e=this.finishNode(r,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){const n=this.state.clone();const s=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),n);if(!s.error&&!s.aborted)return s.node;const i=this.tryParse((()=>super.parseSubscripts(e,t,r)),n);if(i.node&&!i.error)return i.node;if(s.node){this.state=s.failState;return s.node}if(i.node){this.state=i.failState;return i.node}throw s.error||i.error}return super.parseSubscripts(e,t,r)}parseSubscript(e,t,r,n){if(this.match(18)&&this.isLookaheadToken_lt()){n.optionalChainMember=true;if(r){n.stop=true;return e}this.next();const s=this.startNodeAt(t);s.callee=e;s.typeArguments=this.flowParseTypeParameterInstantiation();this.expect(10);s.arguments=this.parseCallExpressionArguments(11,false);s.optional=true;return this.finishCallExpression(s,true)}else if(!r&&this.shouldParseTypes()&&this.match(47)){const r=this.startNodeAt(t);r.callee=e;const s=this.tryParse((()=>{r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew();this.expect(10);r.arguments=super.parseCallExpressionArguments(11,false);if(n.optionalChainMember){r.optional=false}return this.finishCallExpression(r,n.optionalChainMember)}));if(s.node){if(s.error)this.state=s.failState;return s.node}}return super.parseSubscript(e,t,r,n)}parseNewCallee(e){super.parseNewCallee(e);let t=null;if(this.shouldParseTypes()&&this.match(47)){t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node}e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){const t=this.startNodeAt(e);this.parseFunctionParams(t,false);if(!this.parseArrow(t))return;return super.parseArrowExpression(t,undefined,true)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===42&&t===47&&this.state.hasFlowComment){this.state.hasFlowComment=false;this.state.pos+=2;this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(e===124&&t===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);if(this.state.hasFlowComment){this.raise(rt.UnterminatedFlowComment,{at:this.state.curPosition()})}return r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment){throw this.raise(rt.NestedFlowComment,{at:this.state.startLoc})}this.hasFlowCommentCompletion();const e=this.skipFlowComment();if(e){this.state.pos+=e;this.state.hasFlowComment=true}return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:e}=this.state;let t=2;while([32,9].includes(this.input.charCodeAt(e+t))){t++}const r=this.input.charCodeAt(t+e);const n=this.input.charCodeAt(t+e+1);if(r===58&&n===58){return t+2}if(this.input.slice(t+e,t+e+12)==="flow-include"){return t+12}if(r===58&&n!==58){return t}return false}hasFlowCommentCompletion(){const e=this.input.indexOf("*/",this.state.pos);if(e===-1){throw this.raise(p.UnterminatedComment,{at:this.state.curPosition()})}}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(rt.EnumBooleanMemberNotInitialized,{at:e,memberName:r,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(!t.explicitType?rt.EnumInvalidMemberInitializerUnknownType:t.explicitType==="symbol"?rt.EnumInvalidMemberInitializerSymbolType:rt.EnumInvalidMemberInitializerPrimaryType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(rt.EnumNumberMemberNotInitialized,{at:e,enumName:t,memberName:r})}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(rt.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:t})}flowEnumMemberInit(){const e=this.state.startLoc;const endOfInit=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{const t=this.parseNumericLiteral(this.state.value);if(endOfInit()){return{type:"number",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}case 131:{const t=this.parseStringLiteral(this.state.value);if(endOfInit()){return{type:"string",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}case 85:case 86:{const t=this.parseBooleanLiteral(this.match(85));if(endOfInit()){return{type:"boolean",loc:t.loc.start,value:t}}return{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc;const t=this.parseIdentifier(true);const r=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;if(n===null){return}if(n!==r){this.flowEnumErrorInvalidMemberInitializer(e,t)}}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set;const n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let s=false;while(!this.match(8)){if(this.eat(21)){s=true;break}const i=this.startNode();const{id:a,init:o}=this.flowEnumMemberRaw();const l=a.name;if(l===""){continue}if(/^[a-z]/.test(l)){this.raise(rt.EnumInvalidMemberName,{at:a,memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:e})}if(r.has(l)){this.raise(rt.EnumDuplicateMemberName,{at:a,memberName:l,enumName:e})}r.add(l);const c={enumName:e,explicitType:t,memberName:l};i.id=a;switch(o.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"boolean");i.init=o.value;n.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"number");i.init=o.value;n.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(o.loc,c,"string");i.init=o.value;n.stringMembers.push(this.finishNode(i,"EnumStringMember"));break}case"invalid":{throw this.flowEnumErrorInvalidMemberInitializer(o.loc,c)}case"none":{switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,c);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,c);break;default:n.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}}if(!this.match(8)){this.expect(12)}}return{members:n,hasUnknownMembers:s}}flowEnumStringMembers(e,t,{enumName:r}){if(e.length===0){return t}else if(t.length===0){return e}else if(t.length>e.length){for(const t of e){this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:r})}return t}else{for(const e of t){this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:r})}return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(101))return null;if(!tokenIsIdentifier(this.state.type)){throw this.raise(rt.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:e})}const{value:t}=this.state;this.next();if(t!=="boolean"&&t!=="number"&&t!=="string"&&t!=="symbol"){this.raise(rt.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:e,invalidEnumType:t})}return t}flowEnumBody(e,t){const r=t.name;const n=t.loc.start;const s=this.flowEnumParseExplicitType({enumName:r});this.expect(5);const{members:i,hasUnknownMembers:a}=this.flowEnumMembers({enumName:r,explicitType:s});e.hasUnknownMembers=a;switch(s){case"boolean":e.explicitType=true;e.members=i.booleanMembers;this.expect(8);return this.finishNode(e,"EnumBooleanBody");case"number":e.explicitType=true;e.members=i.numberMembers;this.expect(8);return this.finishNode(e,"EnumNumberBody");case"string":e.explicitType=true;e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:r});this.expect(8);return this.finishNode(e,"EnumStringBody");case"symbol":e.members=i.defaultedMembers;this.expect(8);return this.finishNode(e,"EnumSymbolBody");default:{const empty=()=>{e.members=[];this.expect(8);return this.finishNode(e,"EnumStringBody")};e.explicitType=false;const t=i.booleanMembers.length;const s=i.numberMembers.length;const a=i.stringMembers.length;const o=i.defaultedMembers.length;if(!t&&!s&&!a&&!o){return empty()}else if(!t&&!s){e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:r});this.expect(8);return this.finishNode(e,"EnumStringBody")}else if(!s&&!a&&t>=o){for(const e of i.defaultedMembers){this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name})}e.members=i.booleanMembers;this.expect(8);return this.finishNode(e,"EnumBooleanBody")}else if(!t&&!a&&s>=o){for(const e of i.defaultedMembers){this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name})}e.members=i.numberMembers;this.expect(8);return this.finishNode(e,"EnumNumberBody")}else{this.raise(rt.EnumInconsistentMemberValues,{at:n,enumName:r});return empty()}}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();e.id=t;e.body=this.flowEnumBody(this.startNode(),t);return this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){const t=this.input.charCodeAt(e+1);return t!==60&&t!==61}return false}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}};const it={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const at=ParseErrorEnum`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function isFragment(e){return e?e.type==="JSXOpeningFragment"||e.type==="JSXClosingFragment":false}function getQualifiedJSXName(e){if(e.type==="JSXIdentifier"){return e.name}if(e.type==="JSXNamespacedName"){return e.namespace.name+":"+e.name.name}if(e.type==="JSXMemberExpression"){return getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property)}throw new Error("Node had unexpected type: "+e.type)}var jsx=e=>class JSXParserMixin extends e{jsxReadToken(){let e="";let t=this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(at.UnterminatedJsxContent,{at:this.state.startLoc})}const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){if(r===60&&this.state.canStartJSXElement){++this.state.pos;this.finishToken(140)}else{super.getTokenFromCode(r)}return}e+=this.input.slice(t,this.state.pos);this.finishToken(139,e);return;case 38:e+=this.input.slice(t,this.state.pos);e+=this.jsxReadEntity();t=this.state.pos;break;case 62:case 125:default:if(isNewLine(r)){e+=this.input.slice(t,this.state.pos);e+=this.jsxReadNewLine(true);t=this.state.pos}else{++this.state.pos}}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;++this.state.pos;if(t===13&&this.input.charCodeAt(this.state.pos)===10){++this.state.pos;r=e?"\n":"\r\n"}else{r=String.fromCharCode(t)}++this.state.curLine;this.state.lineStart=this.state.pos;return r}jsxReadString(e){let t="";let r=++this.state.pos;for(;;){if(this.state.pos>=this.length){throw this.raise(p.UnterminatedString,{at:this.state.startLoc})}const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(n===38){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadEntity();r=this.state.pos}else if(isNewLine(n)){t+=this.input.slice(r,this.state.pos);t+=this.jsxReadNewLine(false);r=this.state.pos}else{++this.state.pos}}t+=this.input.slice(r,this.state.pos++);this.finishToken(131,t)}jsxReadEntity(){const e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let e=10;if(this.codePointAtPos(this.state.pos)===120){e=16;++this.state.pos}const t=this.readInt(e,undefined,false,"bail");if(t!==null&&this.codePointAtPos(this.state.pos)===59){++this.state.pos;return String.fromCodePoint(t)}}else{let t=0;let r=false;while(t++<10&&this.state.pos<this.length&&!(r=this.codePointAtPos(this.state.pos)==59)){++this.state.pos}if(r){const t=this.input.slice(e,this.state.pos);const r=it[t];++this.state.pos;if(r){return r}}}this.state.pos=e;return"&"}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(isIdentifierChar(e)||e===45);this.finishToken(138,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();if(this.match(138)){e.name=this.state.value}else if(tokenIsKeyword(this.state.type)){e.name=tokenLabelName(this.state.type)}else{this.unexpected()}this.next();return this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc;const t=this.jsxParseIdentifier();if(!this.eat(14))return t;const r=this.startNodeAt(e);r.namespace=t;r.name=this.jsxParseIdentifier();return this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let t=this.jsxParseNamespacedName();if(t.type==="JSXNamespacedName"){return t}while(this.eat(16)){const r=this.startNodeAt(e);r.object=t;r.property=this.jsxParseIdentifier();t=this.finishNode(r,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:e=this.startNode();this.setContext(d.brace);this.next();e=this.jsxParseExpressionContainer(e,d.j_oTag);if(e.expression.type==="JSXEmptyExpression"){this.raise(at.AttributeIsEmpty,{at:e})}return e;case 140:case 131:return this.parseExprAtom();default:throw this.raise(at.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){this.next();e.expression=this.parseExpression();this.setContext(d.j_expr);this.state.canStartJSXElement=true;this.expect(8);return this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8)){e.expression=this.jsxParseEmptyExpression()}else{const t=this.parseExpression();e.expression=t}this.setContext(t);this.state.canStartJSXElement=true;this.expect(8);return this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();if(this.match(5)){this.setContext(d.brace);this.next();this.expect(21);e.argument=this.parseMaybeAssignAllowIn();this.setContext(d.j_oTag);this.state.canStartJSXElement=true;this.expect(8);return this.finishNode(e,"JSXSpreadAttribute")}e.name=this.jsxParseNamespacedName();e.value=this.eat(29)?this.jsxParseAttributeValue():null;return this.finishNode(e,"JSXAttribute")}jsxParseOpeningElementAt(e){const t=this.startNodeAt(e);if(this.eat(141)){return this.finishNode(t,"JSXOpeningFragment")}t.name=this.jsxParseElementName();return this.jsxParseOpeningElementAfterName(t)}jsxParseOpeningElementAfterName(e){const t=[];while(!this.match(56)&&!this.match(141)){t.push(this.jsxParseAttribute())}e.attributes=t;e.selfClosing=this.eat(56);this.expect(141);return this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const t=this.startNodeAt(e);if(this.eat(141)){return this.finishNode(t,"JSXClosingFragment")}t.name=this.jsxParseElementName();this.expect(141);return this.finishNode(t,"JSXClosingElement")}jsxParseElementAt(e){const t=this.startNodeAt(e);const r=[];const n=this.jsxParseOpeningElementAt(e);let s=null;if(!n.selfClosing){e:for(;;){switch(this.state.type){case 140:e=this.state.startLoc;this.next();if(this.eat(56)){s=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 139:r.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.setContext(d.brace);this.next();if(this.match(21)){r.push(this.jsxParseSpreadChild(e))}else{r.push(this.jsxParseExpressionContainer(e,d.j_expr))}break}default:this.unexpected()}}if(isFragment(n)&&!isFragment(s)&&s!==null){this.raise(at.MissingClosingTagFragment,{at:s})}else if(!isFragment(n)&&isFragment(s)){this.raise(at.MissingClosingTagElement,{at:s,openingTagName:getQualifiedJSXName(n.name)})}else if(!isFragment(n)&&!isFragment(s)){if(getQualifiedJSXName(s.name)!==getQualifiedJSXName(n.name)){this.raise(at.MissingClosingTagElement,{at:s,openingTagName:getQualifiedJSXName(n.name)})}}}if(isFragment(n)){t.openingFragment=n;t.closingFragment=s}else{t.openingElement=n;t.closingElement=s}t.children=r;if(this.match(47)){throw this.raise(at.UnwrappedAdjacentJSXElements,{at:this.state.startLoc})}return isFragment(n)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;this.next();return this.jsxParseElementAt(e)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){if(this.match(139)){return this.parseLiteral(this.state.value,"JSXText")}else if(this.match(140)){return this.jsxParseElement()}else if(this.match(47)&&this.input.charCodeAt(this.state.pos)!==33){this.replaceToken(140);return this.jsxParseElement()}else{return super.parseExprAtom(e)}}skipSpace(){const e=this.curContext();if(!e.preserveSpace)super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t===d.j_expr){this.jsxReadToken();return}if(t===d.j_oTag||t===d.j_cTag){if(isIdentifierStart(e)){this.jsxReadWord();return}if(e===62){++this.state.pos;this.finishToken(141);return}if((e===34||e===39)&&t===d.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos;this.finishToken(140);return}super.getTokenFromCode(e)}updateContext(e){const{context:t,type:r}=this.state;if(r===56&&e===140){t.splice(-2,2,d.j_cTag);this.state.canStartJSXElement=false}else if(r===140){t.push(d.j_oTag)}else if(r===141){const r=t[t.length-1];if(r===d.j_oTag&&e===56||r===d.j_cTag){t.pop();this.state.canStartJSXElement=t[t.length-1]===d.j_expr}else{this.setContext(d.j_expr);this.state.canStartJSXElement=true}}else{this.state.canStartJSXElement=tokenComesBeforeExpression(r)}}};class TypeScriptScope extends Scope{constructor(...e){super(...e);this.types=new Set;this.enums=new Set;this.constEnums=new Set;this.classes=new Set;this.exportOnlyBindings=new Set}}class TypeScriptScopeHandler extends ScopeHandler{constructor(...e){super(...e);this.importsStack=[]}createScope(e){this.importsStack.push(new Set);return new TypeScriptScope(e)}enter(e){if(e==X){this.importsStack.push(new Set)}super.enter(e)}exit(){const e=super.exit();if(e==X){this.importsStack.pop()}return e}hasImport(e,t){const r=this.importsStack.length;if(this.importsStack[r-1].has(e)){return true}if(!t&&r>1){for(let t=0;t<r-1;t++){if(this.importsStack[t].has(e))return true}}return false}declareName(e,t,r){if(t&le){if(this.hasImport(e,true)){this.parser.raise(p.VarRedeclaration,{at:r,identifierName:e})}this.importsStack[this.importsStack.length-1].add(e);return}const n=this.currentScope();if(t&ae){this.maybeExportDefined(n,e);n.exportOnlyBindings.add(e);return}super.declareName(e,t,r);if(t&Q){if(!(t&Y)){this.checkRedeclarationInScope(n,e,t,r);this.maybeExportDefined(n,e)}n.types.add(e)}if(t&se)n.enums.add(e);if(t&ie)n.constEnums.add(e);if(t&ne)n.classes.add(e)}isRedeclaredInScope(e,t,r){if(e.enums.has(t)){if(r&se){const n=!!(r&ie);const s=e.constEnums.has(t);return n!==s}return true}if(r&ne&&e.classes.has(t)){if(e.lexical.has(t)){return!!(r&Y)}else{return false}}if(r&Q&&e.types.has(t)){return true}return super.isRedeclaredInScope(e,t,r)}checkLocalExport(e){const{name:t}=e;if(this.hasImport(t))return;const r=this.scopeStack.length;for(let e=r-1;e>=0;e--){const r=this.scopeStack[e];if(r.types.has(t)||r.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}}const getOwn$1=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];const unwrapParenthesizedExpression=e=>e.type==="ParenthesizedExpression"?unwrapParenthesizedExpression(e.expression):e;class LValParser extends NodeUtils{toAssignable(e,t=false){var r,n;let s=undefined;if(e.type==="ParenthesizedExpression"||(r=e.extra)!=null&&r.parenthesized){s=unwrapParenthesizedExpression(e);if(t){if(s.type==="Identifier"){this.expressionScope.recordArrowParameterBindingError(p.InvalidParenthesizedAssignment,{at:e})}else if(s.type!=="MemberExpression"){this.raise(p.InvalidParenthesizedAssignment,{at:e})}}else{this.raise(p.InvalidParenthesizedAssignment,{at:e})}}switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,s=n-1;r<n;r++){var i;const n=e.properties[r];const a=r===s;this.toAssignableObjectExpressionProp(n,a,t);if(a&&n.type==="RestElement"&&(i=e.extra)!=null&&i.trailingCommaLoc){this.raise(p.RestTrailingComma,{at:e.extra.trailingCommaLoc})}}break;case"ObjectProperty":{const{key:r,value:n}=e;if(this.isPrivateName(r)){this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start)}this.toAssignable(n,t);break}case"SpreadElement":{throw new Error("Internal @babel/parser error (this is a bug, please report it)."+" SpreadElement should be converted by .toAssignable's caller.")}case"ArrayExpression":e.type="ArrayPattern";this.toAssignableList(e.elements,(n=e.extra)==null?void 0:n.trailingCommaLoc,t);break;case"AssignmentExpression":if(e.operator!=="="){this.raise(p.MissingEqInAssignment,{at:e.left.loc.end})}e.type="AssignmentPattern";delete e.operator;this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(s,t);break}}toAssignableObjectExpressionProp(e,t,r){if(e.type==="ObjectMethod"){this.raise(e.kind==="get"||e.kind==="set"?p.PatternHasAccessor:p.PatternHasMethod,{at:e.key})}else if(e.type==="SpreadElement"){e.type="RestElement";const n=e.argument;this.checkToRestConversion(n,false);this.toAssignable(n,r);if(!t){this.raise(p.RestTrailingComma,{at:e})}}else{this.toAssignable(e,r)}}toAssignableList(e,t,r){const n=e.length-1;for(let s=0;s<=n;s++){const i=e[s];if(!i)continue;if(i.type==="SpreadElement"){i.type="RestElement";const e=i.argument;this.checkToRestConversion(e,true);this.toAssignable(e,r)}else{this.toAssignable(i,r)}if(i.type==="RestElement"){if(s<n){this.raise(p.RestTrailingComma,{at:i})}else if(t){this.raise(p.RestTrailingComma,{at:t})}}}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return true;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every(((e,r)=>e.type!=="ObjectMethod"&&(r===t||e.type!=="SpreadElement")&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>e===null||this.isAssignable(e)));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return false}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const t of e){if((t==null?void 0:t.type)==="ArrayExpression"){this.toReferencedListDeep(t.elements)}}}parseSpread(e){const t=this.startNode();this.next();t.argument=this.parseMaybeAssignAllowIn(e,undefined);return this.finishNode(t,"SpreadElement")}parseRestBinding(){const e=this.startNode();this.next();e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();this.next();e.elements=this.parseBindingList(3,93,1);return this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,true)}return this.parseIdentifier()}parseBindingList(e,t,r){const n=r&1;const s=[];let i=true;while(!this.eat(e)){if(i){i=false}else{this.expect(12)}if(n&&this.match(12)){s.push(null)}else if(this.eat(e)){break}else if(this.match(21)){s.push(this.parseAssignableListItemTypes(this.parseRestBinding(),r));if(!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];if(this.match(26)&&this.hasPlugin("decorators")){this.raise(p.UnsupportedParameterDecorator,{at:this.state.startLoc})}while(this.match(26)){e.push(this.parseDecorator())}s.push(this.parseAssignableListItem(r,e))}}return s}parseBindingRestProperty(e){this.next();e.argument=this.parseIdentifier();this.checkCommaAfterRest(125);return this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode();const{type:t,startLoc:r}=this.state;if(t===21){return this.parseBindingRestProperty(e)}else if(t===136){this.expectPlugin("destructuringPrivate",r);this.classScope.usePrivateName(this.state.value,r);e.key=this.parsePrivateName()}else{this.parsePropertyName(e)}e.method=false;return this.parseObjPropValue(e,r,false,false,true,false)}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r,e);const n=this.parseMaybeDefault(r.loc.start,r);if(t.length){r.decorators=t}return n}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var r,n;(r=e)!=null?r:e=this.state.startLoc;t=(n=t)!=null?n:this.parseBindingAtom();if(!this.eat(29))return t;const s=this.startNodeAt(e);s.left=t;s.right=this.parseMaybeAssignAllowIn();return this.finishNode(s,"AssignmentPattern")}isValidLVal(e,t,r){return getOwn$1({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,{in:t,binding:r=Te,checkClashes:n=false,strictModeChanged:s=false,hasParenthesizedAncestor:i=false}){var a;const o=e.type;if(this.isObjectMethod(e))return;if(o==="MemberExpression"){if(r!==Te){this.raise(p.InvalidPropertyBindingPattern,{at:e})}return}if(o==="Identifier"){this.checkIdentifier(e,r,s);const{name:t}=e;if(n){if(n.has(t)){this.raise(p.ParamDupe,{at:e})}else{n.add(t)}}return}const l=this.isValidLVal(o,!(i||(a=e.extra)!=null&&a.parenthesized)&&t.type==="AssignmentExpression",r);if(l===true)return;if(l===false){const n=r===Te?p.InvalidLhs:p.InvalidLhsBinding;this.raise(n,{at:e,ancestor:t});return}const[c,u]=Array.isArray(l)?l:[l,o==="ParenthesizedExpression"];const f=o==="ArrayPattern"||o==="ObjectPattern"||o==="ParenthesizedExpression"?{type:o}:t;for(const t of[].concat(e[c])){if(t){this.checkLVal(t,{in:f,binding:r,checkClashes:n,strictModeChanged:s,hasParenthesizedAncestor:u})}}}checkIdentifier(e,t,r=false){if(this.state.strict&&(r?isStrictBindReservedWord(e.name,this.inModule):isStrictBindOnlyReservedWord(e.name))){if(t===Te){this.raise(p.StrictEvalArguments,{at:e,referenceName:e.name})}else{this.raise(p.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})}}if(t&ce&&e.name==="let"){this.raise(p.LetInLexicalBinding,{at:e})}if(!(t&Te)){this.declareNameFromIdentifier(e,t)}}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(p.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){if(!this.match(12)){return false}this.raise(this.lookaheadCharCode()===e?p.RestTrailingComma:p.ElementAfterRest,{at:this.state.startLoc});return true}}const getOwn=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t];function nonNull(e){if(e==null){throw new Error(`Unexpected ${e} value.`)}return e}function assert(e){if(!e){throw new Error("Assert fail")}}const ot=ParseErrorEnum`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:e})=>`Accessibility modifier already seen.`,DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. "+"You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`});function keywordTypeFromName(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return undefined}}function tsIsAccessModifier(e){return e==="private"||e==="public"||e==="protected"}function tsIsVarianceAnnotations(e){return e==="in"||e==="out"}var typescript=e=>class TypeScriptParserMixin extends e{constructor(...e){super(...e);this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:ot.InvalidModifierOnTypeParameter});this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:ot.InvalidModifierOnTypeParameterPositions});this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:ot.InvalidModifierOnTypeParameter})}getScopeHandler(){return TypeScriptScopeHandler}tsIsIdentifier(){return tokenIsIdentifier(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){this.next();return this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!tokenIsIdentifier(this.state.type)&&this.state.type!==58&&this.state.type!==75){return undefined}const r=this.state.value;if(e.indexOf(r)!==-1){if(t&&this.tsIsStartOfStaticBlocks()){return undefined}if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))){return r}}return undefined}tsParseModifiers({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:r,errorTemplate:n=ot.InvalidModifierOnTypeMember},s){const enforceOrder=(e,t,r,n)=>{if(t===r&&s[n]){this.raise(ot.InvalidModifiersOrder,{at:e,orderedModifiers:[r,n]})}};const incompatible=(e,t,r,n)=>{if(s[r]&&t===n||s[n]&&t===r){this.raise(ot.IncompatibleModifiers,{at:e,modifiers:[r,n]})}};for(;;){const{startLoc:i}=this.state;const a=this.tsParseModifier(e.concat(t!=null?t:[]),r);if(!a)break;if(tsIsAccessModifier(a)){if(s.accessibility){this.raise(ot.DuplicateAccessibilityModifier,{at:i,modifier:a})}else{enforceOrder(i,a,a,"override");enforceOrder(i,a,a,"static");enforceOrder(i,a,a,"readonly");s.accessibility=a}}else if(tsIsVarianceAnnotations(a)){if(s[a]){this.raise(ot.DuplicateModifier,{at:i,modifier:a})}s[a]=true;enforceOrder(i,a,"in","out")}else{if(Object.hasOwnProperty.call(s,a)){this.raise(ot.DuplicateModifier,{at:i,modifier:a})}else{enforceOrder(i,a,"static","readonly");enforceOrder(i,a,"static","override");enforceOrder(i,a,"override","readonly");enforceOrder(i,a,"abstract","override");incompatible(i,a,"declare","override");incompatible(i,a,"static","abstract")}s[a]=true}if(t!=null&&t.includes(a)){this.raise(n,{at:i,modifier:a})}}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,t){const r=[];while(!this.tsIsListTerminator(e)){r.push(t())}return r}tsParseDelimitedList(e,t,r){return nonNull(this.tsParseDelimitedListWorker(e,t,true,r))}tsParseDelimitedListWorker(e,t,r,n){const s=[];let i=-1;for(;;){if(this.tsIsListTerminator(e)){break}i=-1;const n=t();if(n==null){return undefined}s.push(n);if(this.eat(12)){i=this.state.lastTokStart;continue}if(this.tsIsListTerminator(e)){break}if(r){this.expect(12)}return undefined}if(n){n.value=i}return s}tsParseBracketedList(e,t,r,n,s){if(!n){if(r){this.expect(0)}else{this.expect(47)}}const i=this.tsParseDelimitedList(e,t,s);if(r){this.expect(3)}else{this.expect(48)}return i}tsParseImportType(){const e=this.startNode();this.expect(83);this.expect(10);if(!this.match(131)){this.raise(ot.UnsupportedImportTypeArgument,{at:this.state.startLoc})}e.argument=super.parseExprAtom();this.expect(11);if(this.eat(16)){e.qualifier=this.tsParseEntityName()}if(this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSImportType")}tsParseEntityName(e=true){let t=this.parseIdentifier(e);while(this.eat(16)){const r=this.startNodeAtNode(t);r.left=t;r.right=this.parseIdentifier(e);t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();e.typeName=this.tsParseEntityName();if(!this.hasPrecedingLineBreak()&&this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);t.parameterName=e;t.typeAnnotation=this.tsParseTypeAnnotation(false);t.asserts=false;return this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();this.next();return this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();this.expect(87);if(this.match(83)){e.exprName=this.tsParseImportType()}else{e.exprName=this.tsParseEntityName()}if(!this.hasPrecedingLineBreak()&&this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){const t=this.startNode();e(t);t.name=this.tsParseTypeParameterName();t.constraint=this.tsEatThenParseType(81);t.default=this.tsEatThenParseType(29);return this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47)){return this.tsParseTypeParameters(e)}}tsParseTypeParameters(e){const t=this.startNode();if(this.match(47)||this.match(140)){this.next()}else{this.unexpected()}const r={value:-1};t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),false,true,r);if(t.params.length===0){this.raise(ot.EmptyTypeParameters,{at:t})}if(r.value!==-1){this.addExtra(t,"trailingComma",r.value)}return this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){const r=e===19;const n="parameters";const s="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier);this.expect(10);t[n]=this.tsParseBindingListForSignature();if(r){t[s]=this.tsParseTypeOrTypePredicateAnnotation(e)}else if(this.match(e)){t[s]=this.tsParseTypeOrTypePredicateAnnotation(e)}}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const t of e){const{type:e}=t;if(e==="AssignmentPattern"||e==="TSParameterProperty"){this.raise(ot.UnsupportedSignatureParameterKind,{at:t,type:e})}}return e}tsParseTypeMemberSemicolon(){if(!this.eat(12)&&!this.isLineTerminator()){this.expect(13)}}tsParseSignatureMember(e,t){this.tsFillSignature(14,t);this.tsParseTypeMemberSemicolon();return this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){this.next();if(tokenIsIdentifier(this.state.type)){this.next();return this.match(14)}return false}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))){return}this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation();this.resetEndLocation(t);this.expect(3);e.parameters=[t];const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(17))e.optional=true;const r=e;if(this.match(10)||this.match(47)){if(t){this.raise(ot.ReadonlyForMethodSignature,{at:e})}const n=r;if(n.kind&&this.match(47)){this.raise(ot.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()})}this.tsFillSignature(14,n);this.tsParseTypeMemberSemicolon();const s="parameters";const i="typeAnnotation";if(n.kind==="get"){if(n[s].length>0){this.raise(p.BadGetterArity,{at:this.state.curPosition()});if(this.isThisParam(n[s][0])){this.raise(ot.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()})}}}else if(n.kind==="set"){if(n[s].length!==1){this.raise(p.BadSetterArity,{at:this.state.curPosition()})}else{const e=n[s][0];if(this.isThisParam(e)){this.raise(ot.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()})}if(e.type==="Identifier"&&e.optional){this.raise(ot.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()})}if(e.type==="RestElement"){this.raise(ot.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}}if(n[i]){this.raise(ot.SetAccesorCannotHaveReturnType,{at:n[i]})}}else{n.kind="method"}return this.finishNode(n,"TSMethodSignature")}else{const e=r;if(t)e.readonly=true;const n=this.tsTryParseTypeAnnotation();if(n)e.typeAnnotation=n;this.tsParseTypeMemberSemicolon();return this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47)){return this.tsParseSignatureMember("TSCallSignatureDeclaration",e)}if(this.match(77)){const t=this.startNode();this.next();if(this.match(10)||this.match(47)){return this.tsParseSignatureMember("TSConstructSignatureDeclaration",e)}else{e.key=this.createIdentifier(t,"new");return this.tsParsePropertyOrMethodSignature(e,false)}}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);const t=this.tsTryParseIndexSignature(e);if(t){return t}super.parsePropertyName(e);if(!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()){e.kind=e.key.name;super.parsePropertyName(e)}return this.tsParsePropertyOrMethodSignature(e,!!e.readonly)}tsParseTypeLiteral(){const e=this.startNode();e.members=this.tsParseObjectTypeMembers();return this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));this.expect(8);return e}tsIsStartOfMappedType(){this.next();if(this.eat(53)){return this.isContextual(120)}if(this.isContextual(120)){this.next()}if(!this.match(0)){return false}this.next();if(!this.tsIsIdentifier()){return false}this.next();return this.match(58)}tsParseMappedTypeParameter(){const e=this.startNode();e.name=this.tsParseTypeParameterName();e.constraint=this.tsExpectThenParseType(58);return this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();this.expect(5);if(this.match(53)){e.readonly=this.state.value;this.next();this.expectContextual(120)}else if(this.eatContextual(120)){e.readonly=true}this.expect(0);e.typeParameter=this.tsParseMappedTypeParameter();e.nameType=this.eatContextual(93)?this.tsParseType():null;this.expect(3);if(this.match(53)){e.optional=this.state.value;this.next();this.expect(17)}else if(this.eat(17)){e.optional=true}e.typeAnnotation=this.tsTryParseType();this.semicolon();this.expect(8);return this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),true,false);let t=false;let r=null;e.elementTypes.forEach((e=>{var n;const{type:s}=e;if(t&&s!=="TSRestType"&&s!=="TSOptionalType"&&!(s==="TSNamedTupleMember"&&e.optional)){this.raise(ot.OptionalTypeBeforeRequired,{at:e})}t||(t=s==="TSNamedTupleMember"&&e.optional||s==="TSOptionalType");let i=s;if(s==="TSRestType"){e=e.typeAnnotation;i=e.type}const a=i==="TSNamedTupleMember";(n=r)!=null?n:r=a;if(r!==a){this.raise(ot.MixedLabeledAndUnlabeledElements,{at:e})}}));return this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{startLoc:e}=this.state;const t=this.eat(21);let r;let n;let s;let i;const a=tokenIsKeywordOrIdentifier(this.state.type);const o=a?this.lookaheadCharCode():null;if(o===58){r=true;s=false;n=this.parseIdentifier(true);this.expect(14);i=this.tsParseType()}else if(o===63){s=true;const e=this.state.startLoc;const t=this.state.value;const a=this.tsParseNonArrayType();if(this.lookaheadCharCode()===58){r=true;n=this.createIdentifier(this.startNodeAt(e),t);this.expect(17);this.expect(14);i=this.tsParseType()}else{r=false;i=a;this.expect(17)}}else{i=this.tsParseType();s=this.eat(17);r=this.eat(14)}if(r){let e;if(n){e=this.startNodeAtNode(n);e.optional=s;e.label=n;e.elementType=i;if(this.eat(17)){e.optional=true;this.raise(ot.TupleOptionalAfterType,{at:this.state.lastTokStartLoc})}}else{e=this.startNodeAtNode(i);e.optional=s;this.raise(ot.InvalidTupleMemberLabel,{at:i});e.label=i;e.elementType=this.tsParseType()}i=this.finishNode(e,"TSNamedTupleMember")}else if(s){const e=this.startNodeAtNode(i);e.typeAnnotation=i;i=this.finishNode(e,"TSOptionalType")}if(t){const t=this.startNodeAt(e);t.typeAnnotation=i;i=this.finishNode(t,"TSRestType")}return i}tsParseParenthesizedType(){const e=this.startNode();this.expect(10);e.typeAnnotation=this.tsParseType();this.expect(11);return this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();if(e==="TSConstructorType"){r.abstract=!!t;if(t)this.next();this.next()}this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,r)));return this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();switch(this.state.type){case 132:case 133:case 131:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();e.literal=super.parseTemplate(false);return this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();if(this.isContextual(114)&&!this.hasPrecedingLineBreak()){return this.tsParseThisTypePredicate(e)}else{return e}}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const e=this.startNode();const t=this.lookahead();if(t.type!==132&&t.type!==133){this.unexpected()}e.literal=this.parseMaybeUnary();return this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(tokenIsIdentifier(e)||e===88||e===84){const t=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":keywordTypeFromName(this.state.value);if(t!==undefined&&this.lookaheadCharCode()!==46){const e=this.startNode();this.next();return this.finishNode(e,t)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(0)){if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e;this.expect(3);e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e;t.indexType=this.tsParseType();this.expect(3);e=this.finishNode(t,"TSIndexedAccessType")}}return e}tsParseTypeOperator(){const e=this.startNode();const t=this.state.value;this.next();e.operator=t;e.typeAnnotation=this.tsParseTypeOperatorOrHigher();if(t==="readonly"){this.tsCheckTypeAnnotationForReadOnly(e)}return this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(ot.UnexpectedReadonly,{at:e})}}tsParseInferType(){const e=this.startNode();this.expectContextual(113);const t=this.startNode();t.name=this.tsParseTypeParameterName();t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType()));e.typeParameter=this.finishNode(t,"TSTypeParameter");return this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17)){return e}}}tsParseTypeOperatorOrHigher(){const e=tokenIsTSTypeOperator(this.state.type)&&!this.state.containsEsc;return e?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode();const s=this.eat(r);const i=[];do{i.push(t())}while(this.eat(r));if(i.length===1&&!s){return i[0]}n.types=i;return this.finishNode(n,e)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){if(this.match(47)){return true}return this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(tokenIsIdentifier(this.state.type)||this.match(78)){this.next();return true}if(this.match(5)){const{errors:e}=this.state;const t=e.length;try{this.parseObjectLike(8,true);return e.length===t}catch(e){return false}}if(this.match(0)){this.next();const{errors:e}=this.state;const t=e.length;try{super.parseBindingList(3,93,1);return e.length===t}catch(e){return false}}return false}tsIsUnambiguouslyStartOfFunctionType(){this.next();if(this.match(11)||this.match(21)){return true}if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29)){return true}if(this.match(11)){this.next();if(this.match(19)){return true}}}return false}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{const t=this.startNode();this.expect(e);const r=this.startNode();const n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();if(e.type==="TSThisType"){r.parameterName=e;r.asserts=true;r.typeAnnotation=null;e=this.finishNode(r,"TSTypePredicate")}else{this.resetStartLocationFromNode(e,r);e.asserts=true}t.typeAnnotation=e;return this.finishNode(t,"TSTypeAnnotation")}const s=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!s){if(!n){return this.tsParseTypeAnnotation(false,t)}r.parameterName=this.parseIdentifier();r.asserts=n;r.typeAnnotation=null;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}const i=this.tsParseTypeAnnotation(false);r.parameterName=s;r.typeAnnotation=i;r.asserts=n;t.typeAnnotation=this.finishNode(r,"TSTypePredicate");return this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14)){return this.tsParseTypeOrTypePredicateAnnotation(14)}}tsTryParseTypeAnnotation(){if(this.match(14)){return this.tsParseTypeAnnotation()}}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak()){this.next();return e}}tsParseTypePredicateAsserts(){if(this.state.type!==107){return false}const e=this.state.containsEsc;this.next();if(!tokenIsIdentifier(this.state.type)&&!this.match(78)){return false}if(e){this.raise(p.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"})}return true}tsParseTypeAnnotation(e=true,t=this.startNode()){this.tsInType((()=>{if(e)this.expect(14);t.typeAnnotation=this.tsParseType()}));return this.finishNode(t,"TSTypeAnnotation")}tsParseType(){assert(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81)){return e}const t=this.startNodeAtNode(e);t.checkType=e;t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType()));this.expect(17);t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType()));this.expect(14);t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType()));return this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&this.lookahead().type===77}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType()){return this.tsParseFunctionOrConstructorType("TSFunctionType")}if(this.match(77)){return this.tsParseFunctionOrConstructorType("TSConstructorType")}else if(this.isAbstractConstructorSignature()){return this.tsParseFunctionOrConstructorType("TSConstructorType",true)}return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){if(this.getPluginOption("typescript","disallowAmbiguousJSXLike")){this.raise(ot.ReservedTypeAssertion,{at:this.state.startLoc})}const e=this.startNode();e.typeAnnotation=this.tsInType((()=>{this.next();return this.match(75)?this.tsParseTypeReference():this.tsParseType()}));this.expect(48);e.expression=this.parseMaybeUnary();return this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.startLoc;const r=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const e=this.startNode();e.expression=this.tsParseEntityName();if(this.match(47)){e.typeParameters=this.tsParseTypeArguments()}return this.finishNode(e,"TSExpressionWithTypeArguments")}));if(!r.length){this.raise(ot.EmptyHeritageClauseType,{at:t,token:e})}return r}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127);if(t.declare)e.declare=true;if(tokenIsIdentifier(this.state.type)){e.id=this.parseIdentifier();this.checkIdentifier(e.id,me)}else{e.id=null;this.raise(ot.MissingInterfaceName,{at:this.state.startLoc})}e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);if(this.eat(81)){e.extends=this.tsParseHeritageClause("extends")}const r=this.startNode();r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this));e.body=this.finishNode(r,"TSInterfaceBody");return this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){e.id=this.parseIdentifier();this.checkIdentifier(e.id,ye);e.typeAnnotation=this.tsInType((()=>{e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers);this.expect(29);if(this.isContextual(112)&&this.lookahead().type!==16){const e=this.startNode();this.next();return this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()}));this.semicolon();return this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=true;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=true;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=false;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){if(this.match(e)){return this.tsNextThenParseType()}}tsExpectThenParseType(e){return this.tsInType((()=>{this.expect(e);return this.tsParseType()}))}tsNextThenParseType(){return this.tsInType((()=>{this.next();return this.tsParseType()}))}tsParseEnumMember(){const e=this.startNode();e.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(true);if(this.eat(29)){e.initializer=super.parseMaybeAssignAllowIn()}return this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t={}){if(t.const)e.const=true;if(t.declare)e.declare=true;this.expectContextual(124);e.id=this.parseIdentifier();this.checkIdentifier(e.id,e.const?Ee:ge);this.expect(5);e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this));this.expect(8);return this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();this.scope.enter(U);this.expect(5);super.parseBlockOrModuleBlockBody(e.body=[],undefined,true,8);this.scope.exit();return this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=false){e.id=this.parseIdentifier();if(!t){this.checkIdentifier(e.id,xe)}if(this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,true);e.body=t}else{this.scope.enter(X);this.prodParam.enter(Xe);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){if(this.isContextual(110)){e.global=true;e.id=this.parseIdentifier()}else if(this.match(131)){e.id=super.parseStringLiteral(this.state.value)}else{this.unexpected()}if(this.match(5)){this.scope.enter(X);this.prodParam.enter(Xe);e.body=this.tsParseModuleBlock();this.prodParam.exit();this.scope.exit()}else{this.semicolon()}return this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t,r){e.isExport=r||false;e.id=t||this.parseIdentifier();this.checkIdentifier(e.id,le);this.expect(29);const n=this.tsParseModuleReference();if(e.importKind==="type"&&n.type!=="TSExternalModuleReference"){this.raise(ot.ImportAliasHasImportType,{at:n})}e.moduleReference=n;this.semicolon();return this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(false)}tsParseExternalModuleReference(){const e=this.startNode();this.expectContextual(117);this.expect(10);if(!this.match(131)){this.unexpected()}e.expression=super.parseExprAtom();this.expect(11);this.sawUnambiguousESM=true;return this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone();const r=e();this.state=t;return r}tsTryParseAndCatch(e){const t=this.tryParse((t=>e()||t()));if(t.aborted||!t.node)return;if(t.error)this.state=t.failState;return t.node}tsTryParse(e){const t=this.state.clone();const r=e();if(r!==undefined&&r!==false){return r}this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator()){return}let t=this.state.type;let r;if(this.isContextual(99)){t=74;r="let"}return this.tsInAmbientContext((()=>{switch(t){case 68:e.declare=true;return super.parseFunctionStatement(e,false,false);case 80:e.declare=true;return this.parseClass(e,true,false);case 124:return this.tsParseEnumDeclaration(e,{declare:true});case 110:return this.tsParseAmbientExternalModuleDeclaration(e);case 75:case 74:if(!this.match(75)||!this.isLookaheadContextual("enum")){e.declare=true;return this.parseVarStatement(e,r||this.state.value,true)}this.expect(75);return this.tsParseEnumDeclaration(e,{const:true,declare:true});case 127:{const t=this.tsParseInterfaceDeclaration(e,{declare:true});if(t)return t}default:if(tokenIsIdentifier(t)){return this.tsParseDeclaration(e,this.state.value,true,null)}}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,true,null)}tsParseExpressionStatement(e,t,r){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t){t.declare=true}return t}case"global":if(this.match(5)){this.scope.enter(X);this.prodParam.enter(Xe);const r=e;r.global=true;r.id=t;r.body=this.tsParseModuleBlock();this.scope.exit();this.prodParam.exit();return this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,false,r)}}tsParseDeclaration(e,t,r,n){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||tokenIsIdentifier(this.state.type))){return this.tsParseAbstractDeclaration(e,n)}break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(131)){return this.tsParseAmbientExternalModuleDeclaration(e)}else if(tokenIsIdentifier(this.state.type)){return this.tsParseModuleOrNamespaceDeclaration(e)}}break;case"namespace":if(this.tsCheckLineTerminator(r)&&tokenIsIdentifier(this.state.type)){return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"type":if(this.tsCheckLineTerminator(r)&&tokenIsIdentifier(this.state.type)){return this.tsParseTypeAliasDeclaration(e)}break}}tsCheckLineTerminator(e){if(e){if(this.hasFollowingLineBreak())return false;this.next();return true}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=true;const r=this.tsTryParseAndCatch((()=>{const t=this.startNodeAt(e);t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier);super.parseFunctionParams(t);t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation();this.expect(19);return t}));this.state.maybeInArrowParameters=t;if(!r)return;return super.parseArrowExpression(r,null,true)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()!==47)return;return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();e.params=this.tsInType((()=>this.tsInNoContext((()=>{this.expect(47);return this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))}))));if(e.params.length===0){this.raise(ot.EmptyTypeArguments,{at:e})}else if(!this.state.inType&&this.curContext()===d.brace){this.reScan_lt_gt()}this.expect(48);return this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return tokenIsTSDeclarationStart(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return false;return super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.startLoc;const n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);const s=n.accessibility;const i=n.override;const a=n.readonly;if(!(e&4)&&(s||a||i)){this.raise(ot.UnexpectedParameterModifier,{at:r})}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o,e);const l=this.parseMaybeDefault(o.loc.start,o);if(s||a||i){const e=this.startNodeAt(r);if(t.length){e.decorators=t}if(s)e.accessibility=s;if(a)e.readonly=a;if(i)e.override=i;if(l.type!=="Identifier"&&l.type!=="AssignmentPattern"){this.raise(ot.UnsupportedParameterPropertyKind,{at:e})}e.parameter=l;return this.finishNode(e,"TSParameterProperty")}if(t.length){o.decorators=t}return l}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const t of e.params){if(t.type!=="Identifier"&&t.optional&&!this.state.isAmbientContext){this.raise(ot.PatternIsOptional,{at:t})}}}setArrowFunctionParameters(e,t,r){super.setArrowFunctionParameters(e,t,r);this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t,r=false){if(this.match(14)){e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14)}const n=t==="FunctionDeclaration"?"TSDeclareFunction":t==="ClassMethod"||t==="ClassPrivateMethod"?"TSDeclareMethod":undefined;if(n&&!this.match(5)&&this.isLineTerminator()){return this.finishNode(e,n)}if(n==="TSDeclareFunction"&&this.state.isAmbientContext){this.raise(ot.DeclareFunctionHasImplementation,{at:e});if(e.declare){return super.parseFunctionBodyAndFinish(e,n,r)}}this.tsDisallowOptionalPattern(e);return super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){if(!e.body&&e.id){this.checkIdentifier(e.id,be)}else{super.registerFunctionStatementId(e)}}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{if((e==null?void 0:e.type)==="TSTypeCastExpression"){this.raise(ot.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}}))}toReferencedList(e,t){this.tsCheckForInvalidTypeCasts(e);return e}parseArrayLike(e,t,r,n){const s=super.parseArrayLike(e,t,r,n);if(s.type==="ArrayExpression"){this.tsCheckForInvalidTypeCasts(s.elements)}return s}parseSubscript(e,t,r,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=false;this.next();const r=this.startNodeAt(t);r.expression=e;return this.finishNode(r,"TSNonNullExpression")}let s=false;if(this.match(18)&&this.lookaheadCharCode()===60){if(r){n.stop=true;return e}n.optionalChainMember=s=true;this.next()}if(this.match(47)||this.match(51)){let i;const a=this.tsTryParseAndCatch((()=>{if(!r&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t);if(e){return e}}const a=this.tsParseTypeArgumentsInExpression();if(!a)return;if(s&&!this.match(10)){i=this.state.curPosition();return}if(tokenIsTemplate(this.state.type)){const r=super.parseTaggedTemplateExpression(e,t,n);r.typeParameters=a;return r}if(!r&&this.eat(10)){const r=this.startNodeAt(t);r.callee=e;r.arguments=this.parseCallExpressionArguments(11,false);this.tsCheckForInvalidTypeCasts(r.arguments);r.typeParameters=a;if(n.optionalChainMember){r.optional=s}return this.finishCallExpression(r,n.optionalChainMember)}const o=this.state.type;if(o===48||o===52||o!==10&&tokenCanStartExpression(o)&&!this.hasPrecedingLineBreak()){return}const l=this.startNodeAt(t);l.expression=e;l.typeParameters=a;return this.finishNode(l,"TSInstantiationExpression")}));if(i){this.unexpected(i,10)}if(a){if(a.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)){this.raise(ot.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc})}return a}}return super.parseSubscript(e,t,r,n)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:r}=e;if(r.type==="TSInstantiationExpression"&&!((t=r.extra)!=null&&t.parenthesized)){e.typeParameters=r.typeParameters;e.callee=r.expression}}parseExprOp(e,t,r){let n;if(tokenOperatorPrecedence(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(118)))){const s=this.startNodeAt(t);s.expression=e;s.typeAnnotation=this.tsInType((()=>{this.next();if(this.match(75)){if(n){this.raise(p.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"})}return this.tsParseTypeReference()}return this.tsParseType()}));this.finishNode(s,n?"TSSatisfiesExpression":"TSAsExpression");this.reScan_lt_gt();return this.parseExprOp(s,t,r)}return super.parseExprOp(e,t,r)}checkReservedWord(e,t,r,n){if(!this.state.isAmbientContext){super.checkReservedWord(e,t,r,n)}}checkImportReflection(e){super.checkImportReflection(e);if(e.module&&e.importKind!=="value"){this.raise(ot.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return true;if(this.isContextual(128)){const t=this.lookaheadCharCode();return e?t===123||t===42:t!==61}return!e&&this.isContextual(87)}applyImportPhase(e,t,r,n){super.applyImportPhase(e,t,r,n);if(t){e.exportKind=r==="type"?"type":"value"}else{e.importKind=r==="type"||r==="typeof"?r:"value"}}parseImport(e){if(this.match(131)){e.importKind="value";return super.parseImport(e)}let t;if(tokenIsIdentifier(this.state.type)&&this.lookaheadCharCode()===61){e.importKind="value";return this.tsParseImportEqualsDeclaration(e)}else if(this.isContextual(128)){const r=this.parseMaybeImportPhase(e,false);if(this.lookaheadCharCode()===61){return this.tsParseImportEqualsDeclaration(e,r)}else{t=super.parseImportSpecifiersAndAfter(e,r)}}else{t=super.parseImport(e)}if(t.importKind==="type"&&t.specifiers.length>1&&t.specifiers[0].type==="ImportDefaultSpecifier"){this.raise(ot.TypeImportCannotSpecifyDefaultAndNamed,{at:t})}return t}parseExport(e,t){if(this.match(83)){this.next();let t=null;if(this.isContextual(128)&&this.isPotentialImportPhase(false)){t=this.parseMaybeImportPhase(e,false)}else{e.importKind="value"}return this.tsParseImportEqualsDeclaration(e,t,true)}else if(this.eat(29)){const t=e;t.expression=super.parseExpression();this.semicolon();this.sawUnambiguousESM=true;return this.finishNode(t,"TSExportAssignment")}else if(this.eatContextual(93)){const t=e;this.expectContextual(126);t.id=this.parseIdentifier();this.semicolon();return this.finishNode(t,"TSNamespaceExportDeclaration")}else{return super.parseExport(e,t)}}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();this.next();e.abstract=true;return this.parseClass(e,true,true)}if(this.match(127)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,r=false){const{isAmbientContext:n}=this.state;const s=super.parseVarStatement(e,t,r||n);if(!n)return s;for(const{id:e,init:r}of s.declarations){if(!r)continue;if(t!=="const"||!!e.typeAnnotation){this.raise(ot.InitializerNotAllowedInAmbientContext,{at:r})}else if(!isValidAmbientConstInitializer(r,this.hasPlugin("estree"))){this.raise(ot.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:r})}}return s}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){const e=this.startNode();this.expect(75);return this.tsParseEnumDeclaration(e,{const:true})}if(this.isContextual(124)){return this.tsParseEnumDeclaration(this.startNode())}if(this.isContextual(127)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>{if(tsIsAccessModifier(t)){return e.accessibility===t}return!!e[t]}))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:true,errorTemplate:ot.InvalidModifierOnTypeParameterPositions},t);const callParseClassMemberWithIsStatic=()=>{if(this.tsIsStartOfStaticBlocks()){this.next();this.next();if(this.tsHasSomeModifiers(t,n)){this.raise(ot.StaticBlockCannotHaveModifier,{at:this.state.curPosition()})}super.parseClassStaticBlock(e,t)}else{this.parseClassMemberWithIsStatic(e,t,r,!!t.static)}};if(t.declare){this.tsInAmbientContext(callParseClassMemberWithIsStatic)}else{callParseClassMemberWithIsStatic()}}parseClassMemberWithIsStatic(e,t,r,n){const s=this.tsTryParseIndexSignature(t);if(s){e.body.push(s);if(t.abstract){this.raise(ot.IndexSignatureHasAbstract,{at:t})}if(t.accessibility){this.raise(ot.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility})}if(t.declare){this.raise(ot.IndexSignatureHasDeclare,{at:t})}if(t.override){this.raise(ot.IndexSignatureHasOverride,{at:t})}return}if(!this.state.inAbstractClass&&t.abstract){this.raise(ot.NonAbstractClassHasAbstractMethod,{at:t})}if(t.override){if(!r.hadSuperClass){this.raise(ot.OverrideNotInSubClass,{at:t})}}super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(17);if(t)e.optional=true;if(e.readonly&&this.match(10)){this.raise(ot.ClassMethodHasReadonly,{at:e})}if(e.declare&&this.match(10)){this.raise(ot.ClassMethodHasDeclare,{at:e})}}parseExpressionStatement(e,t,r){const n=t.type==="Identifier"?this.tsParseExpressionStatement(e,t,r):undefined;return n||super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return true;return super.shouldParseExportDeclaration()}parseConditional(e,t,r){if(!this.state.maybeInArrowParameters||!this.match(17)){return super.parseConditional(e,t,r)}const n=this.tryParse((()=>super.parseConditional(e,t)));if(!n.node){if(n.error){super.setOptionalParametersError(r,n.error)}return e}if(n.error)this.state=n.failState;return n.node}parseParenItem(e,t){e=super.parseParenItem(e,t);if(this.eat(17)){e.optional=true;this.resetEndLocation(e)}if(this.match(14)){const r=this.startNodeAt(t);r.expression=e;r.typeAnnotation=this.tsParseTypeAnnotation();return this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123)){return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)))}const t=this.state.startLoc;const r=this.eatContextual(123);if(r&&(this.isContextual(123)||!this.shouldParseExportDeclaration())){throw this.raise(ot.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc})}const n=tokenIsIdentifier(this.state.type);const s=n&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);if(!s)return null;if(s.type==="TSInterfaceDeclaration"||s.type==="TSTypeAliasDeclaration"||r){e.exportKind="type"}if(r){this.resetStartLocation(s,t);s.declare=true}return s}parseClassId(e,t,r,n){if((!t||r)&&this.isContextual(111)){return}super.parseClassId(e,t,r,e.declare?be:ue);const s=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);if(s)e.typeParameters=s}parseClassPropertyAnnotation(e){if(!e.optional){if(this.eat(35)){e.definite=true}else if(this.eat(17)){e.optional=true}}const t=this.tsTryParseTypeAnnotation();if(t)e.typeAnnotation=t}parseClassProperty(e){this.parseClassPropertyAnnotation(e);if(this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)){this.raise(ot.DeclareClassFieldHasInitializer,{at:this.state.startLoc})}if(e.abstract&&this.match(29)){const{key:t}=e;this.raise(ot.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:t.type==="Identifier"&&!e.computed?t.name:`[${this.input.slice(t.start,t.end)}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){if(e.abstract){this.raise(ot.PrivateElementHasAbstract,{at:e})}if(e.accessibility){this.raise(ot.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility})}this.parseClassPropertyAnnotation(e);return super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){this.parseClassPropertyAnnotation(e);if(e.optional){this.raise(ot.AccessorCannotBeOptional,{at:e})}return super.parseClassAccessorProperty(e)}pushClassMethod(e,t,r,n,s,i){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(a&&s){this.raise(ot.ConstructorHasTypeParameters,{at:a})}const{declare:o=false,kind:l}=t;if(o&&(l==="get"||l==="set")){this.raise(ot.DeclareAccessor,{at:t,kind:l})}if(a)t.typeParameters=a;super.pushClassMethod(e,t,r,n,s,i)}pushClassPrivateMethod(e,t,r,n){const s=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(s)t.typeParameters=s;super.pushClassPrivateMethod(e,t,r,n)}declareClassPrivateMethodInScope(e,t){if(e.type==="TSDeclareMethod")return;if(e.type==="MethodDefinition"&&!e.value.body)return;super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e);if(e.superClass&&(this.match(47)||this.match(51))){e.superTypeParameters=this.tsParseTypeArgumentsInExpression()}if(this.eatContextual(111)){e.implements=this.tsParseHeritageClause("implements")}}parseObjPropValue(e,t,r,n,s,i,a){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(o)e.typeParameters=o;return super.parseObjPropValue(e,t,r,n,s,i,a)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(r)e.typeParameters=r;super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t);if(e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)){e.definite=true}const r=this.tsTryParseTypeAnnotation();if(r){e.id.typeAnnotation=r;this.resetEndLocation(e.id)}}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){e.returnType=this.tsParseTypeAnnotation()}return super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var r,n,s,i,a;let o;let l;let c;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){o=this.state.clone();l=this.tryParse((()=>super.parseMaybeAssign(e,t)),o);if(!l.error)return l.node;const{context:r}=this.state;const n=r[r.length-1];if(n===d.j_oTag||n===d.j_expr){r.pop()}}if(!((r=l)!=null&&r.error)&&!this.match(47)){return super.parseMaybeAssign(e,t)}if(!o||o===this.state)o=this.state.clone();let u;const p=this.tryParse((r=>{var n,s;u=this.tsParseTypeParameters(this.tsParseConstModifier);const i=super.parseMaybeAssign(e,t);if(i.type!=="ArrowFunctionExpression"||(n=i.extra)!=null&&n.parenthesized){r()}if(((s=u)==null?void 0:s.params.length)!==0){this.resetStartLocationFromNode(i,u)}i.typeParameters=u;return i}),o);if(!p.error&&!p.aborted){if(u)this.reportReservedArrowTypeParam(u);return p.node}if(!l){assert(!this.hasPlugin("jsx"));c=this.tryParse((()=>super.parseMaybeAssign(e,t)),o);if(!c.error)return c.node}if((n=l)!=null&&n.node){this.state=l.failState;return l.node}if(p.node){this.state=p.failState;if(u)this.reportReservedArrowTypeParam(u);return p.node}if((s=c)!=null&&s.node){this.state=c.failState;return c.node}throw((i=l)==null?void 0:i.error)||p.error||((a=c)==null?void 0:a.error)}reportReservedArrowTypeParam(e){var t;if(e.params.length===1&&!e.params[0].constraint&&!((t=e.extra)!=null&&t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")){this.raise(ot.ReservedArrowTypeParam,{at:e})}}parseMaybeUnary(e,t){if(!this.hasPlugin("jsx")&&this.match(47)){return this.tsParseTypeAssertion()}return super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse((e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);if(this.canInsertSemicolon()||!this.match(19))e();return t}));if(t.aborted)return;if(!t.thrown){if(t.error)this.state=t.failState;e.returnType=t.node}}return super.parseArrow(e)}parseAssignableListItemTypes(e,t){if(!(t&2))return e;if(this.eat(17)){e.optional=true}const r=this.tsTryParseTypeAnnotation();if(r)e.typeAnnotation=r;this.resetEndLocation(e);return e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return true;default:return super.isAssignable(e,t)}}toAssignable(e,t=false){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":if(t){this.expressionScope.recordArrowParameterBindingError(ot.UnexpectedTypeCastInParameter,{at:e})}else{this.raise(ot.UnexpectedTypeCastInParameter,{at:e})}this.toAssignable(e.expression,t);break;case"AssignmentExpression":if(!t&&e.left.type==="TSTypeCastExpression"){e.left=this.typeCastToParameter(e.left)}default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,false);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,r){return getOwn({TSTypeCastExpression:true,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==Te||!t)&&["expression",true],TSSatisfiesExpression:(r!==Te||!t)&&["expression",true],TSTypeAssertion:(r!==Te||!t)&&["expression",true]},e)||super.isValidLVal(e,t,r)}parseBindingAtom(){if(this.state.type===78){return this.parseIdentifier(true)}return super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){const t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);r.typeParameters=t;return r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){if(this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e){this.next();return false}return super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){const r=super.parseMaybeDefault(e,t);if(r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start){this.raise(ot.TypeAnnotationAfterAssign,{at:r.typeAnnotation})}return r}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;if(e===47){this.state.pos-=1;this.readToken_lt()}else if(e===48){this.state.pos-=1;this.readToken_gt()}}reScan_lt(){const{type:e}=this.state;if(e===51){this.state.pos-=2;this.finishOp(47,1);return 47}return e}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];if((r==null?void 0:r.type)==="TSTypeCastExpression"){e[t]=this.typeCastToParameter(r)}}super.toAssignableList(e,t,r)}typeCastToParameter(e){e.expression.typeAnnotation=e.typeAnnotation;this.resetEndLocation(e.expression,e.typeAnnotation.loc.end);return e.expression}shouldParseArrow(e){if(this.match(14)){return e.every((e=>this.isAssignable(e,true)))}return super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){const t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));if(t)e.typeParameters=t}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e);const r=this.getObjectOrClassMethodParams(e);const n=r[0];const s=n&&this.isThisParam(n);return s?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam();const t=this.tsTryParseTypeAnnotation();if(t){e.typeAnnotation=t;this.resetEndLocation(e)}return e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=true;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,t,r){const n=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,r)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(e,t){if(this.match(80)){e.abstract=true;return this.maybeTakeDecorators(t,this.parseClass(e,true,false))}else if(this.isContextual(127)){if(!this.hasFollowingLineBreak()){e.abstract=true;this.raise(ot.NonClassMethodPropertyHasAbstractModifer,{at:e});return this.tsParseInterfaceDeclaration(e)}}else{this.unexpected(null,80)}}parseMethod(e,t,r,n,s,i,a){const o=super.parseMethod(e,t,r,n,s,i,a);if(o.abstract){const e=this.hasPlugin("estree")?!!o.value.body:!!o.body;if(e){const{key:e}=o;this.raise(ot.AbstractMethodHasImplementation,{at:o,methodName:e.type==="Identifier"&&!o.computed?e.name:`[${this.input.slice(e.start,e.end)}]`})}}return o}tsParseTypeParameterName(){const e=this.parseIdentifier();return e.name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext()){this.state.isAmbientContext=true}return super.getExpression()}parseExportSpecifier(e,t,r,n){if(!t&&n){this.parseTypeOnlyImportExportSpecifier(e,false,r);return this.finishNode(e,"ExportSpecifier")}e.exportKind="value";return super.parseExportSpecifier(e,t,r,n)}parseImportSpecifier(e,t,r,n,s){if(!t&&n){this.parseTypeOnlyImportExportSpecifier(e,true,r);return this.finishNode(e,"ImportSpecifier")}e.importKind="value";return super.parseImportSpecifier(e,t,r,n,r?ve:le)}parseTypeOnlyImportExportSpecifier(e,t,r){const n=t?"imported":"local";const s=t?"local":"exported";let i=e[n];let a;let o=false;let l=true;const c=i.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const r=this.parseIdentifier();if(tokenIsKeywordOrIdentifier(this.state.type)){o=true;i=e;a=t?this.parseIdentifier():this.parseModuleExportName();l=false}else{a=r;l=false}}else if(tokenIsKeywordOrIdentifier(this.state.type)){l=false;a=t?this.parseIdentifier():this.parseModuleExportName()}else{o=true;i=e}}else if(tokenIsKeywordOrIdentifier(this.state.type)){o=true;if(t){i=this.parseIdentifier(true);if(!this.isContextual(93)){this.checkReservedWord(i.name,i.loc.start,true,true)}}else{i=this.parseModuleExportName()}}if(o&&r){this.raise(t?ot.TypeModifierIsUsedInTypeImports:ot.TypeModifierIsUsedInTypeExports,{at:c})}e[n]=i;e[s]=a;const u=t?"importKind":"exportKind";e[u]=o?"type":"value";if(l&&this.eatContextual(93)){e[s]=t?this.parseIdentifier():this.parseModuleExportName()}if(!e[s]){e[s]=cloneIdentifier(e[n])}if(t){this.checkIdentifier(e[s],o?ve:le)}}};function isPossiblyLiteralEnum(e){if(e.type!=="MemberExpression")return false;const{computed:t,property:r}=e;if(t&&r.type!=="StringLiteral"&&(r.type!=="TemplateLiteral"||r.expressions.length>0)){return false}return isUncomputedMemberExpressionChain(e.object)}function isValidAmbientConstInitializer(e,t){var r;const{type:n}=e;if((r=e.extra)!=null&&r.parenthesized){return false}if(t){if(n==="Literal"){const{value:t}=e;if(typeof t==="string"||typeof t==="boolean"){return true}}}else{if(n==="StringLiteral"||n==="BooleanLiteral"){return true}}if(isNumber(e,t)||isNegativeNumber(e,t)){return true}if(n==="TemplateLiteral"&&e.expressions.length===0){return true}if(isPossiblyLiteralEnum(e)){return true}return false}function isNumber(e,t){if(t){return e.type==="Literal"&&(typeof e.value==="number"||"bigint"in e)}return e.type==="NumericLiteral"||e.type==="BigIntLiteral"}function isNegativeNumber(e,t){if(e.type==="UnaryExpression"){const{operator:r,argument:n}=e;if(r==="-"&&isNumber(n,t)){return true}}return false}function isUncomputedMemberExpressionChain(e){if(e.type==="Identifier")return true;if(e.type!=="MemberExpression"||e.computed){return false}return isUncomputedMemberExpressionChain(e.object)}const lt=ParseErrorEnum`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var placeholders=e=>class PlaceholdersParserMixin extends e{parsePlaceholder(e){if(this.match(142)){const t=this.startNode();this.next();this.assertNoSpace();t.name=super.parseIdentifier(true);this.assertNoSpace();this.expect(142);return this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!!(e.expectedNode&&e.type==="Placeholder");e.expectedNode=t;return r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){if(e===37&&this.input.charCodeAt(this.state.pos+1)===37){this.finishOp(142,2)}else{super.getTokenFromCode(e)}}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,t,r,n){if(e!==undefined){super.checkReservedWord(e,t,r,n)}}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,r){return e==="Placeholder"||super.isValidLVal(e,t,r)}toAssignable(e,t){if(e&&e.type==="Placeholder"&&e.expectedNode==="Expression"){e.expectedNode="Pattern"}else{super.toAssignable(e,t)}}chStartsBindingIdentifier(e,t){if(super.chStartsBindingIdentifier(e,t)){return true}const r=this.lookahead();if(r.type===142){return true}return false}verifyBreakContinue(e,t){if(e.label&&e.label.type==="Placeholder")return;super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){if(t.type!=="Placeholder"||t.extra&&t.extra.parenthesized){return super.parseExpressionStatement(e,t)}if(this.match(14)){const r=e;r.label=this.finishPlaceholder(t,"Identifier");this.next();r.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration();return this.finishNode(r,"LabeledStatement")}this.semicolon();e.name=t.name;return this.finishPlaceholder(e,"Statement")}parseBlock(e,t,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next();const s=this.state.strict;const i=this.parsePlaceholder("Identifier");if(i){if(this.match(81)||this.match(142)||this.match(5)){e.id=i}else if(r||!t){e.id=null;e.body=this.finishPlaceholder(i,"ClassBody");return this.finishNode(e,n)}else{throw this.raise(lt.ClassNameIsRequired,{at:this.state.startLoc})}}else{this.parseClassId(e,t,r)}super.parseClassSuper(e);e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,s);return this.finishNode(e,n)}parseExport(e,t){const r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,t);if(!this.isContextual(97)&&!this.match(12)){e.specifiers=[];e.source=null;e.declaration=this.finishPlaceholder(r,"Declaration");return this.finishNode(e,"ExportNamedDeclaration")}this.expectPlugin("exportDefaultFrom");const n=this.startNode();n.exported=r;e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")];return super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")){if(this.input.startsWith(tokenLabelName(142),this.nextTokenStartSince(e+4))){return true}}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,t){var r;if((r=e.specifiers)!=null&&r.length){return true}return super.maybeParseExportDefaultSpecifier(e,t)}checkExport(e){const{specifiers:t}=e;if(t!=null&&t.length){e.specifiers=t.filter((e=>e.exported.type==="Placeholder"))}super.checkExport(e);e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(e);e.specifiers=[];if(!this.isContextual(97)&&!this.match(12)){e.source=this.finishPlaceholder(t,"StringLiteral");this.semicolon();return this.finishNode(e,"ImportDeclaration")}const r=this.startNodeAtNode(t);r.local=t;e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier"));if(this.eat(12)){const t=this.maybeParseStarImportSpecifier(e);if(!t)this.parseNamedImportSpecifiers(e)}this.expectContextual(97);e.source=this.parseImportSource();this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){if(this.state.start>this.state.lastTokEndLoc.index){this.raise(lt.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}};var v8intrinsic=e=>class V8IntrinsicMixin extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc;const t=this.startNode();this.next();if(tokenIsIdentifier(this.state.type)){const e=this.parseIdentifierName();const r=this.createIdentifier(t,e);r.type="V8IntrinsicIdentifier";if(this.match(10)){return r}}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}};function hasPlugin(e,t){const[r,n]=typeof t==="string"?[t,{}]:t;const s=Object.keys(n);const i=s.length===0;return e.some((e=>{if(typeof e==="string"){return i&&e===r}else{const[t,i]=e;if(t!==r){return false}for(const e of s){if(i[e]!==n[e]){return false}}return true}}))}function getPluginOption(e,t,r){const n=e.find((e=>{if(Array.isArray(e)){return e[0]===t}else{return e===t}}));if(n&&Array.isArray(n)&&n.length>1){return n[1][r]}return null}const ct=["minimal","fsharp","hack","smart"];const ut=["^^","@@","^","%","#"];const pt=["hash","bar"];function validatePlugins(e){if(hasPlugin(e,"decorators")){if(hasPlugin(e,"decorators-legacy")){throw new Error("Cannot use the decorators and decorators-legacy plugin together")}const t=getPluginOption(e,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!=="boolean"){throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.")}const r=getPluginOption(e,"decorators","allowCallParenthesized");if(r!=null&&typeof r!=="boolean"){throw new Error("'allowCallParenthesized' must be a boolean.")}}if(hasPlugin(e,"flow")&&hasPlugin(e,"typescript")){throw new Error("Cannot combine flow and typescript plugins.")}if(hasPlugin(e,"placeholders")&&hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine placeholders and v8intrinsic plugins.")}if(hasPlugin(e,"pipelineOperator")){const t=getPluginOption(e,"pipelineOperator","proposal");if(!ct.includes(t)){const e=ct.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=hasPlugin(e,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(hasPlugin(e,"placeholders")){throw new Error("Cannot combine placeholders plugin and Hack-style pipes.")}if(hasPlugin(e,"v8intrinsic")){throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.")}const t=getPluginOption(e,"pipelineOperator","topicToken");if(!ut.includes(t)){const e=ut.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if(t==="#"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}else if(t==="smart"&&r){throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}}if(hasPlugin(e,"moduleAttributes")){{if(hasPlugin(e,"importAssertions")||hasPlugin(e,"importAttributes")){throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.")}const t=getPluginOption(e,"moduleAttributes","version");if(t!=="may-2020"){throw new Error("The 'moduleAttributes' plugin requires a 'version' option,"+" representing the last proposal update. Currently, the"+" only supported value is 'may-2020'.")}}}if(hasPlugin(e,"importAssertions")&&hasPlugin(e,"importAttributes")){throw new Error("Cannot combine importAssertions and importAttributes plugins.")}if(hasPlugin(e,"recordAndTuple")&&getPluginOption(e,"recordAndTuple","syntaxType")!=null&&!pt.includes(getPluginOption(e,"recordAndTuple","syntaxType"))){throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+pt.map((e=>`'${e}'`)).join(", "))}if(hasPlugin(e,"asyncDoExpressions")&&!hasPlugin(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");e.missingPlugins="doExpressions";throw e}}const ft={estree:estree,jsx:jsx,flow:flow,typescript:typescript,v8intrinsic:v8intrinsic,placeholders:placeholders};const dt=Object.keys(ft);const ht={sourceType:"script",sourceFilename:undefined,startColumn:0,startLine:1,allowAwaitOutsideFunction:false,allowReturnOutsideFunction:false,allowNewTargetOutsideFunction:false,allowImportExportEverywhere:false,allowSuperOutsideMethod:false,allowUndeclaredExports:false,plugins:[],strictMode:null,ranges:false,tokens:false,createParenthesizedExpressions:false,errorRecovery:false,attachComment:true,annexB:true};function getOptions(e){if(e&&e.annexB!=null&&e.annexB!==false){throw new Error("The `annexB` option can only be set to `false`.")}const t={};for(const r of Object.keys(ht)){t[r]=e&&e[r]!=null?e[r]:ht[r]}return t}class ExpressionParser extends LValParser{checkProto(e,t,r,n){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand){return}const s=e.key;const i=s.type==="Identifier"?s.name:s.value;if(i==="__proto__"){if(t){this.raise(p.RecordNoProto,{at:s});return}if(r.used){if(n){if(n.doubleProtoLoc===null){n.doubleProtoLoc=s.loc.start}}else{this.raise(p.DuplicateProto,{at:s})}}r.used=true}}shouldExitDescending(e,t){return e.type==="ArrowFunctionExpression"&&e.start===t}getExpression(){this.enterInitialScopes();this.nextToken();const e=this.parseExpression();if(!this.match(137)){this.unexpected()}this.finalizeRemainingComments();e.comments=this.state.comments;e.errors=this.state.errors;if(this.options.tokens){e.tokens=this.tokens}return e}parseExpression(e,t){if(e){return this.disallowInAnd((()=>this.parseExpressionBase(t)))}return this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){const t=this.state.startLoc;const r=this.parseMaybeAssign(e);if(this.match(12)){const n=this.startNodeAt(t);n.expressions=[r];while(this.eat(12)){n.expressions.push(this.parseMaybeAssign(e))}this.toReferencedList(n.expressions);return this.finishNode(n,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParametersLoc=(r=t==null?void 0:t.loc)!=null?r:this.state.startLoc}parseMaybeAssign(e,t){const r=this.state.startLoc;if(this.isContextual(106)){if(this.prodParam.hasYield){let e=this.parseYield();if(t){e=t.call(this,e,r)}return e}}let n;if(e){n=false}else{e=new ExpressionErrors;n=true}const{type:s}=this.state;if(s===10||tokenIsIdentifier(s)){this.state.potentialArrowAt=this.state.start}let i=this.parseMaybeConditional(e);if(t){i=t.call(this,i,r)}if(tokenIsAssignment(this.state.type)){const t=this.startNodeAt(r);const n=this.state.value;t.operator=n;if(this.match(29)){this.toAssignable(i,true);t.left=i;const n=r.index;if(e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=n){e.doubleProtoLoc=null}if(e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=n){e.shorthandAssignLoc=null}if(e.privateKeyLoc!=null&&e.privateKeyLoc.index>=n){this.checkDestructuringPrivate(e);e.privateKeyLoc=null}}else{t.left=i}this.next();t.right=this.parseMaybeAssign();this.checkLVal(i,{in:this.finishNode(t,"AssignmentExpression")});return t}else if(n){this.checkExpressionErrors(e,true)}return i}parseMaybeConditional(e){const t=this.state.startLoc;const r=this.state.potentialArrowAt;const n=this.parseExprOps(e);if(this.shouldExitDescending(n,r)){return n}return this.parseConditional(n,t,e)}parseConditional(e,t,r){if(this.eat(17)){const r=this.startNodeAt(t);r.test=e;r.consequent=this.parseMaybeAssignAllowIn();this.expect(14);r.alternate=this.parseMaybeAssign();return this.finishNode(r,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.startLoc;const r=this.state.potentialArrowAt;const n=this.parseMaybeUnaryOrPrivate(e);if(this.shouldExitDescending(n,r)){return n}return this.parseExprOp(n,t,-1)}parseExprOp(e,t,r){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);if(r>=tokenOperatorPrecedence(58)||!this.prodParam.hasIn||!this.match(58)){this.raise(p.PrivateInExpectedIn,{at:e,identifierName:t})}this.classScope.usePrivateName(t,e.loc.start)}const n=this.state.type;if(tokenIsOperator(n)&&(this.prodParam.hasIn||!this.match(58))){let s=tokenOperatorPrecedence(n);if(s>r){if(n===39){this.expectPlugin("pipelineOperator");if(this.state.inFSharpPipelineDirectBody){return e}this.checkPipelineAtInfixOperator(e,t)}const i=this.startNodeAt(t);i.left=e;i.operator=this.state.value;const a=n===41||n===42;const o=n===40;if(o){s=tokenOperatorPrecedence(42)}this.next();if(n===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait){throw this.raise(p.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc})}}i.right=this.parseExprOpRightExpr(n,s);const l=this.finishNode(i,a||o?"LogicalExpression":"BinaryExpression");const c=this.state.type;if(o&&(c===41||c===42)||a&&c===40){throw this.raise(p.MixingCoalesceWithLogical,{at:this.state.startLoc})}return this.parseExprOp(l,t,r)}}return e}parseExprOpRightExpr(e,t){const r=this.state.startLoc;switch(e){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(106)){throw this.raise(p.PipeBodyIsTighter,{at:this.state.startLoc})}return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,tokenIsRightAssociative(e)?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state;const r=this.parseMaybeAssign();const n=o.has(r.type);if(n&&!((e=r.extra)!=null&&e.parenthesized)){this.raise(p.PipeUnparenthesizedBody,{at:t,type:r.type})}if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(p.PipeTopicUnused,{at:t})}return r}checkExponentialAfterUnary(e){if(this.match(57)){this.raise(p.UnexpectedTokenUnaryExponentiation,{at:e.argument})}}parseMaybeUnary(e,t){const r=this.state.startLoc;const n=this.isContextual(96);if(n&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r);if(!t)this.checkExponentialAfterUnary(e);return e}const s=this.match(34);const i=this.startNode();if(tokenIsPrefix(this.state.type)){i.operator=this.state.value;i.prefix=true;if(this.match(72)){this.expectPlugin("throwExpressions")}const r=this.match(89);this.next();i.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(this.state.strict&&r){const e=i.argument;if(e.type==="Identifier"){this.raise(p.StrictDelete,{at:i})}else if(this.hasPropertyAsPrivateName(e)){this.raise(p.DeletePrivateField,{at:i})}}if(!s){if(!t){this.checkExponentialAfterUnary(i)}return this.finishNode(i,"UnaryExpression")}}const a=this.parseUpdate(i,s,e);if(n){const{type:e}=this.state;const t=this.hasPlugin("v8intrinsic")?tokenCanStartExpression(e):tokenCanStartExpression(e)&&!this.match(54);if(t&&!this.isAmbiguousAwait()){this.raiseOverwrite(p.AwaitNotInAsyncContext,{at:r});return this.parseAwait(r)}}return a}parseUpdate(e,t,r){if(t){const t=e;this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")});return e}const n=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,false))return s;while(tokenIsPostfix(this.state.type)&&!this.canInsertSemicolon()){const e=this.startNodeAt(n);e.operator=this.state.value;e.prefix=false;e.argument=s;this.next();this.checkLVal(s,{in:s=this.finishNode(e,"UpdateExpression")})}return s}parseExprSubscripts(e){const t=this.state.startLoc;const r=this.state.potentialArrowAt;const n=this.parseExprAtom(e);if(this.shouldExitDescending(n,r)){return n}return this.parseSubscripts(n,t)}parseSubscripts(e,t,r){const n={optionalChainMember:false,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:false};do{e=this.parseSubscript(e,t,r,n);n.maybeAsyncArrow=false}while(!n.stop);return e}parseSubscript(e,t,r,n){const{type:s}=this.state;if(!r&&s===15){return this.parseBind(e,t,r,n)}else if(tokenIsTemplate(s)){return this.parseTaggedTemplateExpression(e,t,n)}let i=false;if(s===18){if(r){this.raise(p.OptionalChainingNoNew,{at:this.state.startLoc});if(this.lookaheadCharCode()===40){n.stop=true;return e}}n.optionalChainMember=i=true;this.next()}if(!r&&this.match(10)){return this.parseCoverCallAndAsyncArrowHead(e,t,n,i)}else{const r=this.eat(0);if(r||i||this.eat(16)){return this.parseMember(e,t,n,r,i)}else{n.stop=true;return e}}}parseMember(e,t,r,n,s){const i=this.startNodeAt(t);i.object=e;i.computed=n;if(n){i.property=this.parseExpression();this.expect(3)}else if(this.match(136)){if(e.type==="Super"){this.raise(p.SuperPrivateField,{at:t})}this.classScope.usePrivateName(this.state.value,this.state.startLoc);i.property=this.parsePrivateName()}else{i.property=this.parseIdentifier(true)}if(r.optionalChainMember){i.optional=s;return this.finishNode(i,"OptionalMemberExpression")}else{return this.finishNode(i,"MemberExpression")}}parseBind(e,t,r,n){const s=this.startNodeAt(t);s.object=e;this.next();s.callee=this.parseNoCallExpr();n.stop=true;return this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r)}parseCoverCallAndAsyncArrowHead(e,t,r,n){const s=this.state.maybeInArrowParameters;let i=null;this.state.maybeInArrowParameters=true;this.next();const a=this.startNodeAt(t);a.callee=e;const{maybeAsyncArrow:o,optionalChainMember:l}=r;if(o){this.expressionScope.enter(newAsyncArrowScope());i=new ExpressionErrors}if(l){a.optional=n}if(n){a.arguments=this.parseCallExpressionArguments(11)}else{a.arguments=this.parseCallExpressionArguments(11,e.type==="Import",e.type!=="Super",a,i)}let c=this.finishCallExpression(a,l);if(o&&this.shouldParseAsyncArrow()&&!n){r.stop=true;this.checkDestructuringPrivate(i);this.expressionScope.validateAsPattern();this.expressionScope.exit();c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),c)}else{if(o){this.checkExpressionErrors(i,true);this.expressionScope.exit()}this.toReferencedArguments(c)}this.state.maybeInArrowParameters=s;return c}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r){const n=this.startNodeAt(t);n.tag=e;n.quasi=this.parseTemplate(true);if(r.optionalChainMember){this.raise(p.OptionalChainingNoTemplate,{at:t})}return this.finishNode(n,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&e.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){if(!this.hasPlugin("importAssertions")){this.expectPlugin("importAttributes")}}finishCallExpression(e,t){if(e.callee.type==="Import"){if(e.arguments.length===2){{if(!this.hasPlugin("moduleAttributes")){this.expectImportAttributesPlugin()}}}if(e.arguments.length===0||e.arguments.length>2){this.raise(p.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1})}else{for(const t of e.arguments){if(t.type==="SpreadElement"){this.raise(p.ImportCallSpreadArgument,{at:t})}}}}return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,s){const i=[];let a=true;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;while(!this.eat(e)){if(a){a=false}else{this.expect(12);if(this.match(e)){if(t&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")){this.raise(p.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc})}if(n){this.addTrailingCommaExtraToNode(n)}this.next();break}}i.push(this.parseExprListItem(false,s,r))}this.state.inFSharpPipelineDirectBody=o;return i}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;this.resetPreviousNodeTrailingComments(t);this.expect(19);this.parseArrowExpression(e,t.arguments,true,(r=t.extra)==null?void 0:r.trailingCommaLoc);if(t.innerComments){setInnerComments(e,t.innerComments)}if(t.callee.trailingComments){setInnerComments(e,t.callee.trailingComments)}return e}parseNoCallExpr(){const e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,true)}parseExprAtom(e){let t;let r=null;const{type:n}=this.state;switch(n){case 79:return this.parseSuper();case 83:t=this.startNode();this.next();if(this.match(16)){return this.parseImportMetaProperty(t)}if(!this.match(10)){this.raise(p.UnsupportedImport,{at:this.state.lastTokStartLoc})}return this.finishNode(t,"Import");case 78:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case 90:{return this.parseDo(this.startNode(),false)}case 56:case 31:{this.readRegexp();return this.parseRegExpLiteral(this.state.value)}case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(true);case 86:return this.parseBooleanLiteral(false);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:{return this.parseArrayLike(this.state.type===2?4:3,false,true)}case 0:{return this.parseArrayLike(3,true,false,e)}case 6:case 7:{return this.parseObjectLike(this.state.type===6?9:8,false,true)}case 5:{return this.parseObjectLike(8,false,false,e)}case 68:return this.parseFunctionOrFunctionSent();case 26:r=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(r,this.startNode()),false);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(false);case 15:{t=this.startNode();this.next();t.object=null;const e=t.callee=this.parseNoCallExpr();if(e.type==="MemberExpression"){return this.finishNode(t,"BindExpression")}else{throw this.raise(p.UnsupportedBind,{at:e})}}case 136:{this.raise(p.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value});return this.parsePrivateName()}case 33:{return this.parseTopicReferenceThenEqualsSign(54,"%")}case 32:{return this.parseTopicReferenceThenEqualsSign(44,"^")}case 37:case 38:{return this.parseTopicReference("hack")}case 44:case 54:case 27:{const e=this.getPluginOption("pipelineOperator","proposal");if(e){return this.parseTopicReference(e)}this.unexpected();break}case 47:{const e=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(e)||e===62){this.expectOnePlugin(["jsx","flow","typescript"])}else{this.unexpected()}break}default:if(tokenIsIdentifier(n)){if(this.isContextual(125)&&this.lookaheadInLineCharCode()===123){return this.parseModuleExpression()}const e=this.state.potentialArrowAt===this.state.start;const t=this.state.containsEsc;const r=this.parseIdentifier();if(!t&&r.name==="async"&&!this.canInsertSemicolon()){const{type:e}=this.state;if(e===68){this.resetPreviousNodeTrailingComments(r);this.next();return this.parseAsyncFunctionExpression(this.startNodeAtNode(r))}else if(tokenIsIdentifier(e)){if(this.lookaheadCharCode()===61){return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r))}else{return r}}else if(e===90){this.resetPreviousNodeTrailingComments(r);return this.parseDo(this.startNodeAtNode(r),true)}}if(e&&this.match(19)&&!this.canInsertSemicolon()){this.next();return this.parseArrowExpression(this.startNodeAtNode(r),[r],false)}return r}else{this.unexpected()}}}parseTopicReferenceThenEqualsSign(e,t){const r=this.getPluginOption("pipelineOperator","proposal");if(r){this.state.type=e;this.state.value=t;this.state.pos--;this.state.end--;this.state.endLoc=createPositionWithColumnOffset(this.state.endLoc,-1);return this.parseTopicReference(r)}else{this.unexpected()}}parseTopicReference(e){const t=this.startNode();const r=this.state.startLoc;const n=this.state.type;this.next();return this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){const n=r==="smart"?"PipelinePrimaryTopicReference":"TopicReference";if(!this.topicReferenceIsAllowedInCurrentContext()){this.raise(r==="smart"?p.PrimaryTopicNotAllowed:p.PipeTopicUnbound,{at:t})}this.registerTopicReference();return this.finishNode(e,n)}else{throw this.raise(p.PipeTopicUnconfiguredToken,{at:t,token:tokenLabelName(n)})}}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":{return this.hasPlugin(["pipelineOperator",{topicToken:tokenLabelName(r)}])}case"smart":return r===27;default:throw this.raise(p.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(functionFlags(true,this.prodParam.hasYield));const t=[this.parseIdentifier()];this.prodParam.exit();if(this.hasPrecedingLineBreak()){this.raise(p.LineTerminatorBeforeArrow,{at:this.state.curPosition()})}this.expect(19);return this.parseArrowExpression(e,t,true)}parseDo(e,t){this.expectPlugin("doExpressions");if(t){this.expectPlugin("asyncDoExpressions")}e.async=t;this.next();const r=this.state.labels;this.state.labels=[];if(t){this.prodParam.enter(Ye);e.body=this.parseBlock();this.prodParam.exit()}else{e.body=this.parseBlock()}this.state.labels=r;return this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();this.next();if(this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod){this.raise(p.SuperNotAllowed,{at:e})}else if(!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod){this.raise(p.UnexpectedSuper,{at:e})}if(!this.match(10)&&!this.match(0)&&!this.match(16)){this.raise(p.UnsupportedSuper,{at:e})}return this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode();const t=this.startNodeAt(createPositionWithColumnOffset(this.state.startLoc,1));const r=this.state.value;this.next();e.id=this.createIdentifier(t,r);return this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();this.next();if(this.prodParam.hasYield&&this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");this.next();if(this.match(102)){this.expectPlugin("functionSent")}else if(!this.hasPlugin("functionSent")){this.unexpected()}return this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;const n=this.state.containsEsc;e.property=this.parseIdentifier(true);if(e.property.name!==r||n){this.raise(p.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r})}return this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");this.next();if(this.isContextual(100)){if(!this.inModule){this.raise(p.ImportMetaOutsideModule,{at:t})}this.sawUnambiguousESM=true}return this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){this.addExtra(r,"rawValue",e);this.addExtra(r,"raw",this.input.slice(r.start,this.state.end));r.value=e;this.next();return this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");t.pattern=e.pattern;t.flags=e.flags;return t}parseBooleanLiteral(e){const t=this.startNode();t.value=e;this.next();return this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();this.next();return this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.startLoc;let r;this.next();this.expressionScope.enter(newArrowHeadScope());const n=this.state.maybeInArrowParameters;const s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=true;this.state.inFSharpPipelineDirectBody=false;const i=this.state.startLoc;const a=[];const o=new ExpressionErrors;let l=true;let c;let u;while(!this.match(11)){if(l){l=false}else{this.expect(12,o.optionalParametersLoc===null?null:o.optionalParametersLoc);if(this.match(11)){u=this.state.startLoc;break}}if(this.match(21)){const e=this.state.startLoc;c=this.state.startLoc;a.push(this.parseParenItem(this.parseRestBinding(),e));if(!this.checkCommaAfterRest(41)){break}}else{a.push(this.parseMaybeAssignAllowIn(o,this.parseParenItem))}}const p=this.state.lastTokEndLoc;this.expect(11);this.state.maybeInArrowParameters=n;this.state.inFSharpPipelineDirectBody=s;let f=this.startNodeAt(t);if(e&&this.shouldParseArrow(a)&&(f=this.parseArrow(f))){this.checkDestructuringPrivate(o);this.expressionScope.validateAsPattern();this.expressionScope.exit();this.parseArrowExpression(f,a,false);return f}this.expressionScope.exit();if(!a.length){this.unexpected(this.state.lastTokStartLoc)}if(u)this.unexpected(u);if(c)this.unexpected(c);this.checkExpressionErrors(o,true);this.toReferencedListDeep(a,true);if(a.length>1){r=this.startNodeAt(i);r.expressions=a;this.finishNode(r,"SequenceExpression");this.resetEndLocation(r,p)}else{r=a[0]}return this.wrapParenthesis(t,r)}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions){this.addExtra(t,"parenthesized",true);this.addExtra(t,"parenStart",e.index);this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index);return t}const r=this.startNodeAt(e);r.expression=t;return this.finishNode(r,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19)){return e}}parseParenItem(e,t){return e}parseNewOrNewTarget(){const e=this.startNode();this.next();if(this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction){this.raise(p.UnexpectedNewTarget,{at:r})}return r}return this.parseNew(e)}parseNew(e){this.parseNewCallee(e);if(this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t);e.arguments=t}else{e.arguments=[]}return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr();if(e.callee.type==="Import"){this.raise(p.ImportCallNotNewExpression,{at:e.callee})}}parseTemplateElement(e){const{start:t,startLoc:r,end:n,value:s}=this.state;const i=t+1;const a=this.startNodeAt(createPositionWithColumnOffset(r,1));if(s===null){if(!e){this.raise(p.InvalidEscapeSequenceTemplate,{at:createPositionWithColumnOffset(this.state.firstInvalidTemplateEscapePos,1)})}}const o=this.match(24);const l=o?-1:-2;const c=n+l;a.value={raw:this.input.slice(i,c).replace(/\r\n?/g,"\n"),cooked:s===null?null:s.slice(1,l)};a.tail=o;this.next();const u=this.finishNode(a,"TemplateElement");this.resetEndLocation(u,createPositionWithColumnOffset(this.state.lastTokEndLoc,l));return u}parseTemplate(e){const t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);t.quasis=[r];while(!r.tail){t.expressions.push(this.parseTemplateSubstitution());this.readTemplateContinuation();t.quasis.push(r=this.parseTemplateElement(e))}return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=Object.create(null);let a=true;const o=this.startNode();o.properties=[];this.next();while(!this.match(e)){if(a){a=false}else{this.expect(12);if(this.match(e)){this.addTrailingCommaExtraToNode(o);break}}let s;if(t){s=this.parseBindingProperty()}else{s=this.parsePropertyDefinition(n);this.checkProto(s,r,i,n)}if(r&&!this.isObjectProperty(s)&&s.type!=="SpreadElement"){this.raise(p.InvalidRecordProperty,{at:s})}if(s.shorthand){this.addExtra(s,"shorthand",true)}o.properties.push(s)}this.next();this.state.inFSharpPipelineDirectBody=s;let l="ObjectExpression";if(t){l="ObjectPattern"}else if(r){l="RecordExpression"}return this.finishNode(o,l)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart);this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,false)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26)){if(this.hasPlugin("decorators")){this.raise(p.UnsupportedPropertyDecorator,{at:this.state.startLoc})}while(this.match(26)){t.push(this.parseDecorator())}}const r=this.startNode();let n=false;let s=false;let i;if(this.match(21)){if(t.length)this.unexpected();return this.parseSpread()}if(t.length){r.decorators=t;t=[]}r.method=false;if(e){i=this.state.startLoc}let a=this.eat(55);this.parsePropertyNamePrefixOperator(r);const o=this.state.containsEsc;const l=this.parsePropertyName(r,e);if(!a&&!o&&this.maybeAsyncOrAccessorProp(r)){const e=l.name;if(e==="async"&&!this.hasPrecedingLineBreak()){n=true;this.resetPreviousNodeTrailingComments(l);a=this.eat(55);this.parsePropertyName(r)}if(e==="get"||e==="set"){s=true;this.resetPreviousNodeTrailingComments(l);r.kind=e;if(this.match(55)){a=true;this.raise(p.AccessorIsGenerator,{at:this.state.curPosition(),kind:e});this.next()}this.parsePropertyName(r)}}return this.parseObjPropValue(r,i,a,n,false,s,e)}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e);const n=this.getObjectOrClassMethodParams(e);if(n.length!==r){this.raise(e.kind==="get"?p.BadGetterArity:p.BadSetterArity,{at:e})}if(e.kind==="set"&&((t=n[n.length-1])==null?void 0:t.type)==="RestElement"){this.raise(p.BadSetterRestParameter,{at:e})}}parseObjectMethod(e,t,r,n,s){if(s){const r=this.parseMethod(e,t,false,false,false,"ObjectMethod");this.checkGetterSetterParams(r);return r}if(r||t||this.match(10)){if(n)this.unexpected();e.kind="method";e.method=true;return this.parseMethod(e,t,r,false,false,"ObjectMethod")}}parseObjectProperty(e,t,r,n){e.shorthand=false;if(this.eat(14)){e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(n);return this.finishNode(e,"ObjectProperty")}if(!e.computed&&e.key.type==="Identifier"){this.checkReservedWord(e.key.name,e.key.loc.start,true,false);if(r){e.value=this.parseMaybeDefault(t,cloneIdentifier(e.key))}else if(this.match(29)){const r=this.state.startLoc;if(n!=null){if(n.shorthandAssignLoc===null){n.shorthandAssignLoc=r}}else{this.raise(p.InvalidCoverInitializedName,{at:r})}e.value=this.parseMaybeDefault(t,cloneIdentifier(e.key))}else{e.value=cloneIdentifier(e.key)}e.shorthand=true;return this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,s,i,a){const o=this.parseObjectMethod(e,r,n,s,i)||this.parseObjectProperty(e,t,s,a);if(!o)this.unexpected();return o}parsePropertyName(e,t){if(this.eat(0)){e.computed=true;e.key=this.parseMaybeAssignAllowIn();this.expect(3)}else{const{type:r,value:n}=this.state;let s;if(tokenIsKeywordOrIdentifier(r)){s=this.parseIdentifier(true)}else{switch(r){case 132:s=this.parseNumericLiteral(n);break;case 131:s=this.parseStringLiteral(n);break;case 133:s=this.parseBigIntLiteral(n);break;case 134:s=this.parseDecimalLiteral(n);break;case 136:{const e=this.state.startLoc;if(t!=null){if(t.privateKeyLoc===null){t.privateKeyLoc=e}}else{this.raise(p.UnexpectedPrivateField,{at:e})}s=this.parsePrivateName();break}default:this.unexpected()}}e.key=s;if(r!==136){e.computed=false}}return e.key}initFunction(e,t){e.id=null;e.generator=false;e.async=t}parseMethod(e,t,r,n,s,i,a=false){this.initFunction(e,r);e.generator=t;this.scope.enter(K|q|(a?J:0)|(s?H:0));this.prodParam.enter(functionFlags(r,e.generator));this.parseFunctionParams(e,n);const o=this.parseFunctionBodyAndFinish(e,i,true);this.prodParam.exit();this.scope.exit();return o}parseArrayLike(e,t,r,n){if(r){this.expectPlugin("recordAndTuple")}const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=false;const i=this.startNode();this.next();i.elements=this.parseExprList(e,!r,n,i);this.state.inFSharpPipelineDirectBody=s;return this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(K|W);let s=functionFlags(r,false);if(!this.match(5)&&this.prodParam.hasIn){s|=Ze}this.prodParam.enter(s);this.initFunction(e,r);const i=this.state.maybeInArrowParameters;if(t){this.state.maybeInArrowParameters=true;this.setArrowFunctionParameters(e,t,n)}this.state.maybeInArrowParameters=false;this.parseFunctionBody(e,true);this.prodParam.exit();this.scope.exit();this.state.maybeInArrowParameters=i;return this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){this.toAssignableList(t,r,false);e.params=t}parseFunctionBodyAndFinish(e,t,r=false){this.parseFunctionBody(e,false,r);return this.finishNode(e,t)}parseFunctionBody(e,t,r=false){const n=t&&!this.match(5);this.expressionScope.enter(newExpressionScope());if(n){e.body=this.parseMaybeAssign();this.checkParams(e,false,t,false)}else{const n=this.state.strict;const s=this.state.labels;this.state.labels=[];this.prodParam.enter(this.prodParam.currentFlags()|Qe);e.body=this.parseBlock(true,false,(s=>{const i=!this.isSimpleParamList(e.params);if(s&&i){this.raise(p.IllegalLanguageModeDirective,{at:(e.kind==="method"||e.kind==="constructor")&&!!e.key?e.key.loc.end:e})}const a=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!t&&!r&&!i,t,a);if(this.state.strict&&e.id){this.checkIdentifier(e.id,Se,a)}}));this.prodParam.exit();this.state.labels=s}this.expressionScope.exit()}isSimpleParameter(e){return e.type==="Identifier"}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++){if(!this.isSimpleParameter(e[t]))return false}return true}checkParams(e,t,r,n=true){const s=!t&&new Set;const i={type:"FormalParameters"};for(const t of e.params){this.checkLVal(t,{in:i,binding:de,checkClashes:s,strictModeChanged:n})}}parseExprList(e,t,r,n){const s=[];let i=true;while(!this.eat(e)){if(i){i=false}else{this.expect(12);if(this.match(e)){if(n){this.addTrailingCommaExtraToNode(n)}this.next();break}}s.push(this.parseExprListItem(t,r))}return s}parseExprListItem(e,t,r){let n;if(this.match(12)){if(!e){this.raise(p.UnexpectedToken,{at:this.state.curPosition(),unexpected:","})}n=null}else if(this.match(21)){const e=this.state.startLoc;n=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication");if(!r){this.raise(p.UnexpectedArgumentPlaceholder,{at:this.state.startLoc})}const e=this.startNode();this.next();n=this.finishNode(e,"ArgumentPlaceholder")}else{n=this.parseMaybeAssignAllowIn(t,this.parseParenItem)}return n}parseIdentifier(e){const t=this.startNode();const r=this.parseIdentifierName(e);return this.createIdentifier(t,r)}createIdentifier(e,t){e.name=t;e.loc.identifierName=t;return this.finishNode(e,"Identifier")}parseIdentifierName(e){let t;const{startLoc:r,type:n}=this.state;if(tokenIsKeywordOrIdentifier(n)){t=this.state.value}else{this.unexpected()}const s=tokenKeywordOrIdentifierIsKeyword(n);if(e){if(s){this.replaceToken(130)}}else{this.checkReservedWord(t,r,s,false)}this.next();return t}checkReservedWord(e,t,r,n){if(e.length>10){return}if(!canBeReservedWord(e)){return}if(r&&isKeyword(e)){this.raise(p.UnexpectedKeyword,{at:t,keyword:e});return}const s=!this.state.strict?isReservedWord:n?isStrictBindReservedWord:isStrictReservedWord;if(s(e,this.inModule)){this.raise(p.UnexpectedReservedWord,{at:t,reservedWord:e});return}else if(e==="yield"){if(this.prodParam.hasYield){this.raise(p.YieldBindingIdentifier,{at:t});return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(p.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(p.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if(e==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(p.ArgumentsInClass,{at:t});return}}}isAwaitAllowed(){if(this.prodParam.hasAwait)return true;if(this.options.allowAwaitOutsideFunction&&!this.scope.inFunction){return true}return false}parseAwait(e){const t=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(p.AwaitExpressionFormalParameter,{at:t});if(this.eat(55)){this.raise(p.ObsoleteAwaitStar,{at:t})}if(!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction){if(this.isAmbiguousAwait()){this.ambiguousScriptDifferentAst=true}else{this.sawUnambiguousESM=true}}if(!this.state.soloAwait){t.argument=this.parseMaybeUnary(null,true)}return this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return true;const{type:e}=this.state;return e===53||e===10||e===0||tokenIsTemplate(e)||e===101&&!this.state.containsEsc||e===135||e===56||this.hasPlugin("v8intrinsic")&&e===54}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(p.YieldInParameter,{at:e});this.next();let t=false;let r=null;if(!this.hasPrecedingLineBreak()){t=this.eat(55);switch(this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}}e.delegate=t;e.argument=r;return this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){if(e.type==="SequenceExpression"){this.raise(p.PipelineHeadSequenceExpression,{at:t})}}}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){const r=this.startNodeAt(t);r.callee=e;return this.finishNode(r,"PipelineBareFunction")}else{const r=this.startNodeAt(t);this.checkSmartPipeTopicBodyEarlyErrors(t);r.expression=e;return this.finishNode(r,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return true;default:return false}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19)){throw this.raise(p.PipelineBodyNoArrow,{at:this.state.startLoc})}if(!this.topicReferenceWasUsedInCurrentContext()){this.raise(p.PipelineTopicUnused,{at:e})}}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}else{return e()}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=true;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();const r=Ze&~t;if(r){this.prodParam.enter(t|Ze);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();const r=Ze&t;if(r){this.prodParam.enter(t&~Ze);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=true;const n=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);this.state.inFSharpPipelineDirectBody=r;return n}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next();if(!this.match(5)){this.unexpected(null,5)}const t=this.startNodeAt(this.state.endLoc);this.next();const r=this.initializeScopes(true);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}const mt={kind:"loop"},yt={kind:"switch"};const gt=/[\uD800-\uDFFF]/u;const bt=/in(?:stanceof)?/y;function babel7CompatTokens(e,t){for(let r=0;r<e.length;r++){const n=e[r];const{type:s}=n;if(typeof s==="number"){{if(s===136){const{loc:t,start:s,value:i,end:a}=n;const o=s+1;const l=createPositionWithColumnOffset(t.start,1);e.splice(r,1,new Token({type:getExportedToken(27),value:"#",start:s,end:o,startLoc:t.start,endLoc:l}),new Token({type:getExportedToken(130),value:i,start:o,end:a,startLoc:l,endLoc:t.end}));r++;continue}if(tokenIsTemplate(s)){const{loc:i,start:a,value:o,end:l}=n;const c=a+1;const u=createPositionWithColumnOffset(i.start,1);let p;if(t.charCodeAt(a)===96){p=new Token({type:getExportedToken(22),value:"`",start:a,end:c,startLoc:i.start,endLoc:u})}else{p=new Token({type:getExportedToken(8),value:"}",start:a,end:c,startLoc:i.start,endLoc:u})}let f,d,h,m;if(s===24){d=l-1;h=createPositionWithColumnOffset(i.end,-1);f=o===null?null:o.slice(1,-1);m=new Token({type:getExportedToken(22),value:"`",start:d,end:l,startLoc:h,endLoc:i.end})}else{d=l-2;h=createPositionWithColumnOffset(i.end,-2);f=o===null?null:o.slice(1,-2);m=new Token({type:getExportedToken(23),value:"${",start:d,end:l,startLoc:h,endLoc:i.end})}e.splice(r,1,p,new Token({type:getExportedToken(20),value:f,start:c,end:d,startLoc:u,endLoc:h}),m);r+=2;continue}}n.type=getExportedToken(s)}}return e}class StatementParser extends ExpressionParser{parseTopLevel(e,t){e.program=this.parseProgram(t);e.comments=this.state.comments;if(this.options.tokens){e.tokens=babel7CompatTokens(this.tokens,this.input)}return this.finishNode(e,"File")}parseProgram(e,t=137,r=this.options.sourceType){e.sourceType=r;e.interpreter=this.parseInterpreterDirective();this.parseBlockBody(e,true,true,t);if(this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0){for(const[e,t]of Array.from(this.scope.undefinedExports)){this.raise(p.ModuleExportUndefined,{at:t,localName:e})}}let n;if(t===137){n=this.finishNode(e,"Program")}else{n=this.finishNodeAt(e,"Program",createPositionWithColumnOffset(this.state.startLoc,-1))}return n}stmtToDirective(e){const t=e;t.type="Directive";t.value=t.expression;delete t.expression;const r=t.value;const n=r.value;const s=this.input.slice(r.start,r.end);const i=r.value=s.slice(1,-1);this.addExtra(r,"raw",s);this.addExtra(r,"rawValue",i);this.addExtra(r,"expressionValue",n);r.type="DirectiveLiteral";return t}parseInterpreterDirective(){if(!this.match(28)){return null}const e=this.startNode();e.value=this.state.value;this.next();return this.finishNode(e,"InterpreterDirective")}isLet(){if(!this.isContextual(99)){return false}return this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(isIdentifierStart(e)){bt.lastIndex=t;if(bt.test(this.input)){const e=this.codePointAtPos(bt.lastIndex);if(!isIdentifierChar(e)&&e!==92){return false}}return true}else if(e===92){return true}else{return false}}chStartsBindingPattern(e){return e===91||e===123}hasFollowingBindingAtom(){const e=this.nextTokenStart();const t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasInLineFollowingBindingIdentifier(){const e=this.nextTokenInLineStart();const t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){const{type:e,containsEsc:t}=this.lookahead();if(e===101&&!t){return false}else if(tokenIsIdentifier(e)&&!this.hasFollowingLineBreak()){this.expectPlugin("explicitResourceManagement");return true}}startsAwaitUsing(){let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);const t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e)){this.expectPlugin("explicitResourceManagement");return true}}return false}parseModuleItem(){return this.parseStatementLike(1|2|4|8)}parseStatementListItem(){return this.parseStatementLike(2|4|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=false){let t=0;if(this.options.annexB&&!this.state.strict){t|=4;if(e){t|=8}}return this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;if(this.match(26)){t=this.parseDecorators(true)}return this.parseStatementContent(e,t)}parseStatementContent(e,t){const r=this.state.type;const n=this.startNode();const s=!!(e&2);const i=!!(e&4);const a=e&1;switch(r){case 60:return this.parseBreakContinueStatement(n,true);case 63:return this.parseBreakContinueStatement(n,false);case 64:return this.parseDebuggerStatement(n);case 90:return this.parseDoWhileStatement(n);case 91:return this.parseForStatement(n);case 68:if(this.lookaheadCharCode()===46)break;if(!i){this.raise(this.state.strict?p.StrictFunction:this.options.annexB?p.SloppyFunctionAnnexB:p.SloppyFunction,{at:this.state.startLoc})}return this.parseFunctionStatement(n,false,!s&&i);case 80:if(!s)this.unexpected();return this.parseClass(this.maybeTakeDecorators(t,n),true);case 69:return this.parseIfStatement(n);case 70:return this.parseReturnStatement(n);case 71:return this.parseSwitchStatement(n);case 72:return this.parseThrowStatement(n);case 73:return this.parseTryStatement(n);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing()){if(!this.isAwaitAllowed()){this.raise(p.AwaitUsingNotInAsyncContext,{at:n})}else if(!s){this.raise(p.UnexpectedLexicalDeclaration,{at:n})}this.next();return this.parseVarStatement(n,"await using")}break;case 105:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier()){break}this.expectPlugin("explicitResourceManagement");if(!this.scope.inModule&&this.scope.inTopLevel){this.raise(p.UnexpectedUsingDeclaration,{at:this.state.startLoc})}else if(!s){this.raise(p.UnexpectedLexicalDeclaration,{at:this.state.startLoc})}return this.parseVarStatement(n,"using");case 99:{if(this.state.containsEsc){break}const e=this.nextTokenStart();const t=this.codePointAtPos(e);if(t!==91){if(!s&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(t,e)&&t!==123){break}}}case 75:{if(!s){this.raise(p.UnexpectedLexicalDeclaration,{at:this.state.startLoc})}}case 74:{const e=this.state.value;return this.parseVarStatement(n,e)}case 92:return this.parseWhileStatement(n);case 76:return this.parseWithStatement(n);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(n);case 83:{const e=this.lookaheadCharCode();if(e===40||e===46){break}}case 82:{if(!this.options.allowImportExportEverywhere&&!a){this.raise(p.UnexpectedImportExport,{at:this.state.startLoc})}this.next();let e;if(r===83){e=this.parseImport(n);if(e.type==="ImportDeclaration"&&(!e.importKind||e.importKind==="value")){this.sawUnambiguousESM=true}}else{e=this.parseExport(n,t);if(e.type==="ExportNamedDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportAllDeclaration"&&(!e.exportKind||e.exportKind==="value")||e.type==="ExportDefaultDeclaration"){this.sawUnambiguousESM=true}}this.assertModuleNodeAllowed(e);return e}default:{if(this.isAsyncFunction()){if(!s){this.raise(p.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc})}this.next();return this.parseFunctionStatement(n,true,!s&&i)}}}const o=this.state.value;const l=this.parseExpression();if(tokenIsIdentifier(r)&&l.type==="Identifier"&&this.eat(14)){return this.parseLabeledStatement(n,o,l,e)}else{return this.parseExpressionStatement(n,l,t)}}assertModuleNodeAllowed(e){if(!this.options.allowImportExportEverywhere&&!this.inModule){this.raise(p.ImportOutsideModule,{at:e})}}decoratorsEnabledBeforeExport(){if(this.hasPlugin("decorators-legacy"))return true;return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==false}maybeTakeDecorators(e,t,r){if(e){if(t.decorators&&t.decorators.length>0){if(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!=="boolean"){this.raise(p.DecoratorsBeforeAfterExport,{at:t.decorators[0]})}t.decorators.unshift(...e)}else{t.decorators=e}this.resetStartLocationFromNode(t,e[0]);if(r)this.resetStartLocationFromNode(r,t)}return t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82)){if(!e){this.unexpected()}if(!this.decoratorsEnabledBeforeExport()){this.raise(p.DecoratorExportClass,{at:this.state.startLoc})}}else if(!this.canHaveLeadingDecorator()){throw this.raise(p.UnexpectedLeadingDecorator,{at:this.state.startLoc})}return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const e=this.startNode();this.next();if(this.hasPlugin("decorators")){const t=this.state.startLoc;let r;if(this.match(10)){const t=this.state.startLoc;this.next();r=this.parseExpression();this.expect(11);r=this.wrapParenthesis(t,r);const n=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(r);if(this.getPluginOption("decorators","allowCallParenthesized")===false&&e.expression!==r){this.raise(p.DecoratorArgumentsOutsideParentheses,{at:n})}}else{r=this.parseIdentifier(false);while(this.eat(16)){const e=this.startNodeAt(t);e.object=r;if(this.match(136)){this.classScope.usePrivateName(this.state.value,this.state.startLoc);e.property=this.parsePrivateName()}else{e.property=this.parseIdentifier(true)}e.computed=false;r=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(r)}}else{e.expression=this.parseExprSubscripts()}return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const t=this.startNodeAtNode(e);t.callee=e;t.arguments=this.parseCallExpressionArguments(11,false);this.toReferencedList(t.arguments);return this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){this.next();if(this.isLineTerminator()){e.label=null}else{e.label=this.parseIdentifier();this.semicolon()}this.verifyBreakContinue(e,t);return this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;r<this.state.labels.length;++r){const n=this.state.labels[r];if(e.label==null||n.name===e.label.name){if(n.kind!=null&&(t||n.kind==="loop"))break;if(e.label&&t)break}}if(r===this.state.labels.length){const r=t?"BreakStatement":"ContinueStatement";this.raise(p.IllegalBreakContinue,{at:e,type:r})}}parseDebuggerStatement(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();this.expect(11);return e}parseDoWhileStatement(e){this.next();this.state.labels.push(mt);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement()));this.state.labels.pop();this.expect(92);e.test=this.parseHeaderExpression();this.eat(13);return this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next();this.state.labels.push(mt);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)){t=this.state.lastTokStartLoc}this.scope.enter(U);this.expect(10);if(this.match(13)){if(t!==null){this.unexpected(t)}return this.parseFor(e,null)}const r=this.isContextual(99);{const n=this.isContextual(96)&&this.startsAwaitUsing();const s=n||this.isContextual(105)&&this.startsUsingForOf();const i=r&&this.hasFollowingBindingAtom()||s;if(this.match(74)||this.match(75)||i){const r=this.startNode();let i;if(n){i="await using";if(!this.isAwaitAllowed()){this.raise(p.AwaitUsingNotInAsyncContext,{at:this.state.startLoc})}this.next()}else{i=this.state.value}this.next();this.parseVar(r,true,i);const a=this.finishNode(r,"VariableDeclaration");const o=this.match(58);if(o&&s){this.raise(p.ForInUsing,{at:a})}if((o||this.isContextual(101))&&a.declarations.length===1){return this.parseForIn(e,a,t)}if(t!==null){this.unexpected(t)}return this.parseFor(e,a)}}const n=this.isContextual(95);const s=new ExpressionErrors;const i=this.parseExpression(true,s);const a=this.isContextual(101);if(a){if(r){this.raise(p.ForOfLet,{at:i})}if(t===null&&n&&i.type==="Identifier"){this.raise(p.ForOfAsync,{at:i})}}if(a||this.match(58)){this.checkDestructuringPrivate(s);this.toAssignable(i,true);const r=a?"ForOfStatement":"ForInStatement";this.checkLVal(i,{in:{type:r}});return this.parseForIn(e,i,t)}else{this.checkExpressionErrors(s,true)}if(t!==null){this.unexpected(t)}return this.parseFor(e,i)}parseFunctionStatement(e,t,r){this.next();return this.parseFunction(e,1|(r?2:0)|(t?8:0))}parseIfStatement(e){this.next();e.test=this.parseHeaderExpression();e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration();e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null;return this.finishNode(e,"IfStatement")}parseReturnStatement(e){if(!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction){this.raise(p.IllegalReturn,{at:this.state.startLoc})}this.next();if(this.isLineTerminator()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next();e.discriminant=this.parseHeaderExpression();const t=e.cases=[];this.expect(5);this.state.labels.push(yt);this.scope.enter(U);let r;for(let e;!this.match(8);){if(this.match(61)||this.match(65)){const n=this.match(61);if(r)this.finishNode(r,"SwitchCase");t.push(r=this.startNode());r.consequent=[];this.next();if(n){r.test=this.parseExpression()}else{if(e){this.raise(p.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc})}e=true;r.test=null}this.expect(14)}else{if(r){r.consequent.push(this.parseStatementListItem())}else{this.unexpected()}}}this.scope.exit();if(r)this.finishNode(r,"SwitchCase");this.next();this.state.labels.pop();return this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){this.next();if(this.hasPrecedingLineBreak()){this.raise(p.NewlineAfterThrow,{at:this.state.lastTokEndLoc})}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();this.scope.enter(this.options.annexB&&e.type==="Identifier"?$:0);this.checkLVal(e,{in:{type:"CatchClause"},binding:fe});return e}parseTryStatement(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.match(62)){const t=this.startNode();this.next();if(this.match(10)){this.expect(10);t.param=this.parseCatchClauseParam();this.expect(11)}else{t.param=null;this.scope.enter(U)}t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(false,false)));this.scope.exit();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(67)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(p.NoCatchOrFinally,{at:e})}return this.finishNode(e,"TryStatement")}parseVarStatement(e,t,r=false){this.next();this.parseVar(e,false,t,r);this.semicolon();return this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){this.next();e.test=this.parseHeaderExpression();this.state.labels.push(mt);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement()));this.state.labels.pop();return this.finishNode(e,"WhileStatement")}parseWithStatement(e){if(this.state.strict){this.raise(p.StrictWith,{at:this.state.startLoc})}this.next();e.object=this.parseHeaderExpression();e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement()));return this.finishNode(e,"WithStatement")}parseEmptyStatement(e){this.next();return this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const e of this.state.labels){if(e.name===t){this.raise(p.LabelRedeclaration,{at:r,labelName:t})}}const s=tokenIsLoop(this.state.type)?"loop":this.match(71)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart===e.start){r.statementStart=this.state.start;r.kind=s}else{break}}this.state.labels.push({name:t,kind:s,statementStart:this.state.start});e.body=n&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(true):this.parseStatement();this.state.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,r){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")}parseBlock(e=false,t=true,r){const n=this.startNode();if(e){this.state.strictErrors.clear()}this.expect(5);if(t){this.scope.enter(U)}this.parseBlockBody(n,e,false,8,r);if(t){this.scope.exit()}return this.finishNode(n,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,s){const i=e.body=[];const a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:undefined,r,n,s)}parseBlockOrModuleBlockBody(e,t,r,n,s){const i=this.state.strict;let a=false;let o=false;while(!this.match(n)){const n=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e);if(!a&&e.value.value==="use strict"){a=true;this.setStrict(true)}continue}o=true;this.state.strictErrors.clear()}e.push(n)}if(s){s.call(this,a)}if(!i){this.setStrict(false)}this.next()}parseFor(e,t){e.init=t;this.semicolon(false);e.test=this.match(13)?null:this.parseExpression();this.semicolon(false);e.update=this.match(11)?null:this.parseExpression();this.expect(11);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement()));this.scope.exit();this.state.labels.pop();return this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(58);this.next();if(n){if(r!==null)this.unexpected(r)}else{e.await=r!==null}if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||!this.options.annexB||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(p.ForInOfLoopInitializer,{at:t,type:n?"ForInStatement":"ForOfStatement"})}if(t.type==="AssignmentPattern"){this.raise(p.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}})}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn();this.expect(11);e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement()));this.scope.exit();this.state.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r,n=false){const s=e.declarations=[];e.kind=r;for(;;){const e=this.startNode();this.parseVarId(e,r);e.init=!this.eat(29)?null:t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn();if(e.init===null&&!n){if(e.id.type!=="Identifier"&&!(t&&(this.match(58)||this.isContextual(101)))){this.raise(p.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})}else if(r==="const"&&!(this.match(58)||this.isContextual(101))){this.raise(p.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})}}s.push(this.finishNode(e,"VariableDeclarator"));if(!this.eat(12))break}return e}parseVarId(e,t){const r=this.parseBindingAtom();this.checkLVal(r,{in:{type:"VariableDeclarator"},binding:t==="var"?de:pe});e.id=r}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){const r=t&2;const n=!!(t&1);const s=n&&!(t&4);const i=!!(t&8);this.initFunction(e,i);if(this.match(55)){if(r){this.raise(p.GeneratorInSingleStatementContext,{at:this.state.startLoc})}this.next();e.generator=true}if(n){e.id=this.parseFunctionId(s)}const a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=false;this.scope.enter(K);this.prodParam.enter(functionFlags(i,e.generator));if(!n){e.id=this.parseFunctionId()}this.parseFunctionParams(e,false);this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")}));this.prodParam.exit();this.scope.exit();if(n&&!r){this.registerFunctionStatementId(e)}this.state.maybeInArrowParameters=a;return e}parseFunctionId(e){return e||tokenIsIdentifier(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10);this.expressionScope.enter(newParameterDeclarationScope());e.params=this.parseBindingList(11,41,2|(t?4:0));this.expressionScope.exit()}registerFunctionStatementId(e){if(!e.id)return;this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?de:pe:he,e.id.loc.start)}parseClass(e,t,r){this.next();const n=this.state.strict;this.state.strict=true;this.parseClassId(e,t,r);this.parseClassSuper(e);e.body=this.parseClassBody(!!e.superClass,n);return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!e.computed&&!e.static&&(e.key.name==="constructor"||e.key.value==="constructor")}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:false,hadSuperClass:e};let n=[];const s=this.startNode();s.body=[];this.expect(5);this.withSmartMixTopicForbiddingContext((()=>{while(!this.match(8)){if(this.eat(13)){if(n.length>0){throw this.raise(p.DecoratorSemicolon,{at:this.state.lastTokEndLoc})}continue}if(this.match(26)){n.push(this.parseDecorator());continue}const e=this.startNode();if(n.length){e.decorators=n;this.resetStartLocationFromNode(e,n[0]);n=[]}this.parseClassMember(s,e,r);if(e.kind==="constructor"&&e.decorators&&e.decorators.length>0){this.raise(p.DecoratorConstructor,{at:e})}}}));this.state.strict=t;this.next();if(n.length){throw this.raise(p.TrailingDecorator,{at:this.state.startLoc})}this.classScope.exit();return this.finishNode(s,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(true);if(this.isClassMethod()){const n=t;n.kind="method";n.computed=false;n.key=r;n.static=false;this.pushClassMethod(e,n,false,false,false,false);return true}else if(this.isClassProperty()){const n=t;n.computed=false;n.key=r;n.static=false;e.body.push(this.parseClassProperty(n));return true}this.resetPreviousNodeTrailingComments(r);return false}parseClassMember(e,t,r){const n=this.isContextual(104);if(n){if(this.parseClassMemberFromModifier(e,t)){return}if(this.eat(5)){this.parseClassStaticBlock(e,t);return}}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const s=t;const i=t;const a=t;const o=t;const l=t;const c=s;const u=s;t.static=n;this.parsePropertyNamePrefixOperator(t);if(this.eat(55)){c.kind="method";const t=this.match(136);this.parseClassElementName(c);if(t){this.pushClassPrivateMethod(e,i,true,false);return}if(this.isNonstaticConstructor(s)){this.raise(p.ConstructorIsGenerator,{at:s.key})}this.pushClassMethod(e,s,true,false,false,false);return}const f=tokenIsIdentifier(this.state.type)&&!this.state.containsEsc;const d=this.match(136);const h=this.parseClassElementName(t);const m=this.state.startLoc;this.parsePostMemberNameModifiers(u);if(this.isClassMethod()){c.kind="method";if(d){this.pushClassPrivateMethod(e,i,false,false);return}const n=this.isNonstaticConstructor(s);let a=false;if(n){s.kind="constructor";if(r.hadConstructor&&!this.hasPlugin("typescript")){this.raise(p.DuplicateConstructor,{at:h})}if(n&&this.hasPlugin("typescript")&&t.override){this.raise(p.OverrideOnConstructor,{at:h})}r.hadConstructor=true;a=r.hadSuperClass}this.pushClassMethod(e,s,false,false,n,a)}else if(this.isClassProperty()){if(d){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else if(f&&h.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(h);const t=this.eat(55);if(u.optional){this.unexpected(m)}c.kind="method";const r=this.match(136);this.parseClassElementName(c);this.parsePostMemberNameModifiers(u);if(r){this.pushClassPrivateMethod(e,i,t,true)}else{if(this.isNonstaticConstructor(s)){this.raise(p.ConstructorIsAsync,{at:s.key})}this.pushClassMethod(e,s,t,true,false,false)}}else if(f&&(h.name==="get"||h.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(h);c.kind=h.name;const t=this.match(136);this.parseClassElementName(s);if(t){this.pushClassPrivateMethod(e,i,false,false)}else{if(this.isNonstaticConstructor(s)){this.raise(p.ConstructorIsAccessor,{at:s.key})}this.pushClassMethod(e,s,false,false,false,false)}this.checkGetterSetterParams(s)}else if(f&&h.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors");this.resetPreviousNodeTrailingComments(h);const t=this.match(136);this.parseClassElementName(a);this.pushClassAccessorProperty(e,l,t)}else if(this.isLineTerminator()){if(d){this.pushClassPrivateProperty(e,o)}else{this.pushClassProperty(e,a)}}else{this.unexpected()}}parseClassElementName(e){const{type:t,value:r}=this.state;if((t===130||t===131)&&e.static&&r==="prototype"){this.raise(p.StaticPrototype,{at:this.state.startLoc})}if(t===136){if(r==="constructor"){this.raise(p.ConstructorClassPrivateField,{at:this.state.startLoc})}const t=this.parsePrivateName();e.key=t;return t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(J|G|q);const n=this.state.labels;this.state.labels=[];this.prodParam.enter(Xe);const s=t.body=[];this.parseBlockOrModuleBlockBody(s,undefined,false,8);this.prodParam.exit();this.scope.exit();this.state.labels=n;e.body.push(this.finishNode(t,"StaticBlock"));if((r=t.decorators)!=null&&r.length){this.raise(p.DecoratorStaticBlock,{at:t})}}pushClassProperty(e,t){if(!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")){this.raise(p.ConstructorClassField,{at:t.key})}e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r);this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),De,r.key.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){const e=t.key;if(e.name==="constructor"||e.value==="constructor"){this.raise(p.ConstructorClassField,{at:e})}}const n=this.parseClassAccessorProperty(t);e.body.push(n);if(r){this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),De,n.key.loc.start)}}pushClassMethod(e,t,r,n,s,i){e.body.push(this.parseMethod(t,r,n,s,i,"ClassMethod",true))}pushClassPrivateMethod(e,t,r,n){const s=this.parseMethod(t,r,n,false,false,"ClassPrivateMethod",true);e.body.push(s);const i=s.kind==="get"?s.static?Oe:Ne:s.kind==="set"?s.static?ke:_e:De;this.declareClassPrivateMethodInScope(s,i)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){this.parseInitializer(e);this.semicolon();return this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(J|q);this.expressionScope.enter(newExpressionScope());this.prodParam.enter(Xe);e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null;this.expressionScope.exit();this.prodParam.exit();this.scope.exit()}parseClassId(e,t,r,n=ue){if(tokenIsIdentifier(this.state.type)){e.id=this.parseIdentifier();if(t){this.declareNameFromIdentifier(e.id,n)}}else{if(r||!t){e.id=null}else{throw this.raise(p.MissingClassName,{at:this.state.startLoc})}}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){const r=this.parseMaybeImportPhase(e,true);const n=this.maybeParseExportDefaultSpecifier(e,r);const s=!n||this.eat(12);const i=s&&this.eatExportStar(e);const a=i&&this.maybeParseExportNamespaceSpecifier(e);const o=s&&(!a||this.eat(12));const l=n||i;if(i&&!a){if(n)this.unexpected();if(t){throw this.raise(p.UnsupportedDecoratorExport,{at:e})}this.parseExportFrom(e,true);return this.finishNode(e,"ExportAllDeclaration")}const c=this.maybeParseExportNamedSpecifiers(e);if(n&&s&&!i&&!c){this.unexpected(null,5)}if(a&&o){this.unexpected(null,97)}let u;if(l||c){u=false;if(t){throw this.raise(p.UnsupportedDecoratorExport,{at:e})}this.parseExportFrom(e,l)}else{u=this.maybeParseExportDeclaration(e)}if(l||c||u){var f;const r=e;this.checkExport(r,true,false,!!r.source);if(((f=r.declaration)==null?void 0:f.type)==="ClassDeclaration"){this.maybeTakeDecorators(t,r.declaration,r)}else if(t){throw this.raise(p.UnsupportedDecoratorExport,{at:e})}return this.finishNode(r,"ExportNamedDeclaration")}if(this.eat(65)){const r=e;const n=this.parseExportDefaultExpression();r.declaration=n;if(n.type==="ClassDeclaration"){this.maybeTakeDecorators(t,n,r)}else if(t){throw this.raise(p.UnsupportedDecoratorExport,{at:e})}this.checkExport(r,true,true);return this.finishNode(r,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",t==null?void 0:t.loc.start);const r=t||this.parseIdentifier(true);const n=this.startNodeAtNode(r);n.exported=r;e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")];return true}return false}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){if(!e.specifiers)e.specifiers=[];const t=this.startNodeAt(this.state.lastTokStartLoc);this.next();t.exported=this.parseModuleExportName();e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier"));return true}return false}maybeParseExportNamedSpecifiers(e){if(this.match(5)){if(!e.specifiers)e.specifiers=[];const t=e.exportKind==="type";e.specifiers.push(...this.parseExportSpecifiers(t));e.source=null;e.declaration=null;if(this.hasPlugin("importAssertions")){e.assertions=[]}return true}return false}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){e.specifiers=[];e.source=null;if(this.hasPlugin("importAssertions")){e.assertions=[]}e.declaration=this.parseExportDeclaration(e);return true}return false}isAsyncFunction(){if(!this.isContextual(95))return false;const e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();if(this.match(68)){this.next();return this.parseFunction(e,1|4)}else if(this.isAsyncFunction()){this.next();this.next();return this.parseFunction(e,1|4|8)}if(this.match(80)){return this.parseClass(e,true,true)}if(this.match(26)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===true){this.raise(p.DecoratorBeforeExport,{at:this.state.startLoc})}return this.parseClass(this.maybeTakeDecorators(this.parseDecorators(false),this.startNode()),true,true)}if(this.match(75)||this.match(74)||this.isLet()){throw this.raise(p.UnsupportedDefaultExport,{at:this.state.startLoc})}const t=this.parseMaybeAssignAllowIn();this.semicolon();return t}parseExportDeclaration(e){if(this.match(80)){const e=this.parseClass(this.startNode(),true,false);return e}return this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:e}=this.state;if(tokenIsIdentifier(e)){if(e===95&&!this.state.containsEsc||e===99){return false}if((e===128||e===127)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(tokenIsIdentifier(e)&&e!==97||e===5){this.expectOnePlugin(["flow","typescript"]);return false}}}else if(!this.match(65)){return false}const t=this.nextTokenStart();const r=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||tokenIsIdentifier(this.state.type)&&r){return true}if(this.match(65)&&r){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return e===34||e===39}return false}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource();this.checkExport(e);this.maybeParseImportAttributes(e);this.checkJSONModuleImport(e)}else if(t){this.unexpected()}this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(e===26){this.expectOnePlugin(["decorators","decorators-legacy"]);if(this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")===true){this.raise(p.DecoratorBeforeExport,{at:this.state.startLoc})}return true}}return e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t){if(r){this.checkDuplicateExports(e,"default");if(this.hasPlugin("exportDefaultFrom")){var s;const t=e.declaration;if(t.type==="Identifier"&&t.name==="from"&&t.end-t.start===4&&!((s=t.extra)!=null&&s.parenthesized)){this.raise(p.ExportDefaultFromAsIdentifier,{at:t})}}}else if(e.specifiers&&e.specifiers.length){for(const t of e.specifiers){const{exported:e}=t;const r=e.type==="Identifier"?e.name:e.value;this.checkDuplicateExports(t,r);if(!n&&t.local){const{local:e}=t;if(e.type!=="Identifier"){this.raise(p.ExportBindingIsString,{at:t,localName:e.value,exportName:r})}else{this.checkReservedWord(e.name,e.loc.start,true,false);this.scope.checkLocalExport(e)}}}}else if(e.declaration){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if(e.declaration.type==="VariableDeclaration"){for(const t of e.declaration.declarations){this.checkDeclaration(t.id)}}}}}checkDeclaration(e){if(e.type==="Identifier"){this.checkDuplicateExports(e,e.name)}else if(e.type==="ObjectPattern"){for(const t of e.properties){this.checkDeclaration(t)}}else if(e.type==="ArrayPattern"){for(const t of e.elements){if(t){this.checkDeclaration(t)}}}else if(e.type==="ObjectProperty"){this.checkDeclaration(e.value)}else if(e.type==="RestElement"){this.checkDeclaration(e.argument)}else if(e.type==="AssignmentPattern"){this.checkDeclaration(e.left)}}checkDuplicateExports(e,t){if(this.exportedIdentifiers.has(t)){if(t==="default"){this.raise(p.DuplicateDefaultExport,{at:e})}else{this.raise(p.DuplicateExport,{at:e,exportName:t})}}this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let r=true;this.expect(5);while(!this.eat(8)){if(r){r=false}else{this.expect(12);if(this.eat(8))break}const n=this.isContextual(128);const s=this.match(131);const i=this.startNode();i.local=this.parseModuleExportName();t.push(this.parseExportSpecifier(i,s,e,n))}return t}parseExportSpecifier(e,t,r,n){if(this.eatContextual(93)){e.exported=this.parseModuleExportName()}else if(t){e.exported=cloneStringLiteral(e.local)}else if(!e.exported){e.exported=cloneIdentifier(e.local)}return this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){const e=this.parseStringLiteral(this.state.value);const t=e.value.match(gt);if(t){this.raise(p.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)})}return e}return this.parseIdentifier(true)}isJSONModuleImport(e){if(e.assertions!=null){return e.assertions.some((({key:e,value:t})=>t.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")))}return false}checkImportReflection(e){if(e.module){var t;if(e.specifiers.length!==1||e.specifiers[0].type!=="ImportDefaultSpecifier"){this.raise(p.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start})}if(((t=e.assertions)==null?void 0:t.length)>0){this.raise(p.ImportReflectionHasAssertion,{at:e.specifiers[0].loc.start})}}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&e.type!=="ExportAllDeclaration"){const{specifiers:t}=e;if(t!=null){const e=t.find((e=>{let t;if(e.type==="ExportSpecifier"){t=e.local}else if(e.type==="ImportSpecifier"){t=e.imported}if(t!==undefined){return t.type==="Identifier"?t.name!=="default":t.value!=="default"}}));if(e!==undefined){this.raise(p.ImportJSONBindingNotDefault,{at:e.loc.start})}}}}isPotentialImportPhase(e){return!e&&this.isContextual(125)}applyImportPhase(e,t,r,n){if(t){return}if(r==="module"){this.expectPlugin("importReflection",n);e.module=true}else if(this.hasPlugin("importReflection")){e.module=false}}parseMaybeImportPhase(e,t){if(!this.isPotentialImportPhase(t)){this.applyImportPhase(e,t,null);return null}const r=this.parseIdentifier(true);const{type:n}=this.state;const s=tokenIsKeywordOrIdentifier(n)?n!==97||this.lookaheadCharCode()===102:n!==12;if(s){this.resetPreviousIdentifierLeadingComments(r);this.applyImportPhase(e,t,r.name,r.loc.start);return null}else{this.applyImportPhase(e,t,null);return r}}isPrecedingIdImportPhase(e){const{type:t}=this.state;return tokenIsIdentifier(t)?t!==97||this.lookaheadCharCode()===102:t!==12}parseImport(e){if(this.match(131)){return this.parseImportSourceAndAttributes(e)}return this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,false))}parseImportSpecifiersAndAfter(e,t){e.specifiers=[];const r=this.maybeParseDefaultImportSpecifier(e,t);const n=!r||this.eat(12);const s=n&&this.maybeParseStarImportSpecifier(e);if(n&&!s)this.parseNamedImportSpecifiers(e);this.expectContextual(97);return this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){var t;(t=e.specifiers)!=null?t:e.specifiers=[];e.source=this.parseImportSource();this.maybeParseImportAttributes(e);this.checkImportReflection(e);this.checkJSONModuleImport(e);this.semicolon();return this.finishNode(e,"ImportDeclaration")}parseImportSource(){if(!this.match(131))this.unexpected();return this.parseExprAtom()}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier();e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t,r=pe){this.checkLVal(e.local,{in:{type:t},binding:r});return this.finishNode(e,t)}parseImportAttributes(){this.expect(5);const e=[];const t=new Set;do{if(this.match(8)){break}const r=this.startNode();const n=this.state.value;if(t.has(n)){this.raise(p.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:n})}t.add(n);if(this.match(131)){r.key=this.parseStringLiteral(n)}else{r.key=this.parseIdentifier(true)}this.expect(14);if(!this.match(131)){throw this.raise(p.ModuleAttributeInvalidValue,{at:this.state.startLoc})}r.value=this.parseStringLiteral(this.state.value);e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));this.expect(8);return e}parseModuleAttributes(){const e=[];const t=new Set;do{const r=this.startNode();r.key=this.parseIdentifier(true);if(r.key.name!=="type"){this.raise(p.ModuleAttributeDifferentFromType,{at:r.key})}if(t.has(r.key.name)){this.raise(p.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name})}t.add(r.key.name);this.expect(14);if(!this.match(131)){throw this.raise(p.ModuleAttributeInvalidValue,{at:this.state.startLoc})}r.value=this.parseStringLiteral(this.state.value);e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e}maybeParseImportAttributes(e){let t;let r=false;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40){return}this.next();{if(this.hasPlugin("moduleAttributes")){t=this.parseModuleAttributes()}else{this.expectImportAttributesPlugin();t=this.parseImportAttributes()}}r=true}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){if(this.hasPlugin("importAttributes")){if(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==true){this.raise(p.ImportAttributesUseAssert,{at:this.state.startLoc})}this.addExtra(e,"deprecatedAssertSyntax",true)}else{this.expectOnePlugin(["importAttributes","importAssertions"])}this.next();t=this.parseImportAttributes()}else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){t=[]}else{if(this.hasPlugin("moduleAttributes")){t=[]}else return}if(!r&&this.hasPlugin("importAssertions")){e.assertions=t}else{e.attributes=t}}maybeParseDefaultImportSpecifier(e,t){if(t){const r=this.startNodeAtNode(t);r.local=t;e.specifiers.push(this.finishImportSpecifier(r,"ImportDefaultSpecifier"));return true}else if(tokenIsKeywordOrIdentifier(this.state.type)){this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier");return true}return false}maybeParseStarImportSpecifier(e){if(this.match(55)){const t=this.startNode();this.next();this.expectContextual(93);this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier");return true}return false}parseNamedImportSpecifiers(e){let t=true;this.expect(5);while(!this.eat(8)){if(t){t=false}else{if(this.eat(14)){throw this.raise(p.DestructureNamedImport,{at:this.state.startLoc})}this.expect(12);if(this.eat(8))break}const r=this.startNode();const n=this.match(131);const s=this.isContextual(128);r.imported=this.parseModuleExportName();const i=this.parseImportSpecifier(r,n,e.importKind==="type"||e.importKind==="typeof",s,undefined);e.specifiers.push(i)}}parseImportSpecifier(e,t,r,n,s){if(this.eatContextual(93)){e.local=this.parseIdentifier()}else{const{imported:r}=e;if(t){throw this.raise(p.ImportBindingIsString,{at:e,importName:r.value})}this.checkReservedWord(r.name,e.loc.start,true,true);if(!e.local){e.local=cloneIdentifier(r)}}return this.finishImportSpecifier(e,"ImportSpecifier",s)}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}}class Parser extends StatementParser{constructor(e,t){e=getOptions(e);super(e,t);this.options=e;this.initializeScopes();this.plugins=pluginsMap(this.options.plugins);this.filename=e.sourceFilename}getScopeHandler(){return ScopeHandler}parse(){this.enterInitialScopes();const e=this.startNode();const t=this.startNode();this.nextToken();e.errors=null;this.parseTopLevel(e,t);e.errors=this.state.errors;return e}}function pluginsMap(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];if(!t.has(e))t.set(e,n||{})}return t}function parse(e,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";const r=getParser(t,e);const n=r.parse();if(r.sawUnambiguousESM){return n}if(r.ambiguousScriptDifferentAst){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}}else{n.program.sourceType="script"}return n}catch(r){try{t.sourceType="script";return getParser(t,e).parse()}catch(e){}throw r}}else{return getParser(t,e).parse()}}function parseExpression(e,t){const r=getParser(t,e);if(r.options.strictMode){r.state.strict=true}return r.getExpression()}function generateExportedTokenTypes(e){const t={};for(const r of Object.keys(e)){t[r]=getExportedToken(e[r])}return t}const Tt=generateExportedTokenTypes(I);function getParser(e,t){let r=Parser;if(e!=null&&e.plugins){validatePlugins(e.plugins);r=getParserClass(e.plugins)}return new r(e,t)}const St={};function getParserClass(e){const t=dt.filter((t=>hasPlugin(e,t)));const r=t.join("/");let n=St[r];if(!n){n=Parser;for(const e of t){n=ft[e](n)}St[r]=n}return n}t.parse=parse;t.parseExpression=parseExpression;t.tokTypes=Tt},6085:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5389);var s=(0,n.declare)((e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,t){{if(t.plugins.some((e=>(Array.isArray(e)?e[0]:e)==="typescript"))){return}}t.plugins.push("jsx")}}}));t["default"]=s},6141:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5389);{var removePlugin=function(e,t){const r=[];e.forEach(((e,n)=>{const s=Array.isArray(e)?e[0]:e;if(s===t){r.unshift(n)}}));for(const t of r){e.splice(t,1)}}}var s=(0,n.declare)(((e,t)=>{e.assertVersion(7);const{disallowAmbiguousJSXLike:r,dts:n}=t;{var{isTSX:s}=t}return{name:"syntax-typescript",manipulateOptions(e,t){{const{plugins:e}=t;removePlugin(e,"flow");removePlugin(e,"jsx");e.push("objectRestSpread","classProperties");if(s){e.push("jsx")}}t.plugins.push(["typescript",{disallowAmbiguousJSXLike:r,dts:n}])}}}));t["default"]=s},9511:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.transformDynamicImport=transformDynamicImport;var n=r(3688);var s=r(6646);const requireNoInterop=e=>n.template.expression.ast`require(${e})`;const requireInterop=(e,t)=>n.types.callExpression(t.addHelper("interopRequireWildcard"),[requireNoInterop(e)]);function transformDynamicImport(e,t,r){const n=t?requireNoInterop:requireInterop;e.replaceWith((0,s.buildDynamicImport)(e.node,true,false,(e=>n(e,r))))}},8417:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5389);var s=r(6646);var i=r(6118);var a=r(3688);var o=r(9511);var l=(0,n.declare)(((e,t)=>{var r,n,l;e.assertVersion(7);const{strictNamespace:c=false,mjsStrictNamespace:u=c,allowTopLevelThis:p,strict:f,strictMode:d,noInterop:h,importInterop:m,lazy:y=false,allowCommonJSExports:g=true,loose:b=false}=t;const T=(r=e.assumption("constantReexports"))!=null?r:b;const S=(n=e.assumption("enumerableModuleMeta"))!=null?n:b;const E=(l=e.assumption("noIncompleteNsImportDetection"))!=null?l:false;if(typeof y!=="boolean"&&typeof y!=="function"&&(!Array.isArray(y)||!y.every((e=>typeof e==="string")))){throw new Error(`.lazy must be a boolean, array of strings, or a function`)}if(typeof c!=="boolean"){throw new Error(`.strictNamespace must be a boolean, or undefined`)}if(typeof u!=="boolean"){throw new Error(`.mjsStrictNamespace must be a boolean, or undefined`)}const getAssertion=e=>a.template.expression.ast`
    (function(){
      throw new Error(
        "The CommonJS '" + "${e}" + "' variable is not available in ES6 modules." +
        "Consider setting setting sourceType:script or sourceType:unambiguous in your " +
        "Babel config for this file.");
    })()
  `;const x={ReferencedIdentifier(e){const t=e.node.name;if(t!=="module"&&t!=="exports")return;const r=e.scope.getBinding(t);const n=this.scope.getBinding(t);if(n!==r||e.parentPath.isObjectProperty({value:e.node})&&e.parentPath.parentPath.isObjectPattern()||e.parentPath.isAssignmentExpression({left:e.node})||e.isAssignmentExpression({left:e.node})){return}e.replaceWith(getAssertion(t))},UpdateExpression(e){const t=e.get("argument");if(!t.isIdentifier())return;const r=t.node.name;if(r!=="module"&&r!=="exports")return;const n=e.scope.getBinding(r);const s=this.scope.getBinding(r);if(s!==n)return;e.replaceWith(a.types.assignmentExpression(e.node.operator[0]+"=",t.node,getAssertion(r)))},AssignmentExpression(e){const t=e.get("left");if(t.isIdentifier()){const r=t.node.name;if(r!=="module"&&r!=="exports")return;const n=e.scope.getBinding(r);const s=this.scope.getBinding(r);if(s!==n)return;const i=e.get("right");i.replaceWith(a.types.sequenceExpression([i.node,getAssertion(r)]))}else if(t.isPattern()){const r=t.getOuterBindingIdentifiers();const n=Object.keys(r).filter((t=>{if(t!=="module"&&t!=="exports")return false;return this.scope.getBinding(t)===e.scope.getBinding(t)}))[0];if(n){const t=e.get("right");t.replaceWith(a.types.sequenceExpression([t.node,getAssertion(n)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs")},visitor:{CallExpression(e){if(!this.file.has("@babel/plugin-proposal-dynamic-import"))return;if(!a.types.isImport(e.node.callee))return;let{scope:t}=e;do{t.rename("require")}while(t=t.parent);(0,o.transformDynamicImport)(e,h,this.file)},Program:{exit(e,r){if(!(0,s.isModule)(e))return;e.scope.rename("exports");e.scope.rename("module");e.scope.rename("require");e.scope.rename("__filename");e.scope.rename("__dirname");if(!g){{(0,i.default)(e,new Set(["module","exports"]),false)}e.traverse(x,{scope:e.scope})}let n=(0,s.getModuleName)(this.file.opts,t);if(n)n=a.types.stringLiteral(n);const{meta:o,headers:l}=(0,s.rewriteModuleStatementsAndPrepareHeader)(e,{exportName:"exports",constantReexports:T,enumerableModuleMeta:S,strict:f,strictMode:d,allowTopLevelThis:p,noInterop:h,importInterop:m,lazy:y,esNamespaceOnly:typeof r.filename==="string"&&/\.mjs$/.test(r.filename)?u:c,noIncompleteNsImportDetection:E,filename:this.file.opts.filename});for(const[t,r]of o.source){const n=a.types.callExpression(a.types.identifier("require"),[a.types.stringLiteral(t)]);let i;if((0,s.isSideEffectImport)(r)){if(r.lazy)throw new Error("Assertion failure");i=a.types.expressionStatement(n)}else{if(r.lazy&&!r.referenced){continue}const t=(0,s.wrapInterop)(e,n,r.interop)||n;if(r.lazy){i=a.template.statement.ast`
                  function ${r.name}() {
                    const data = ${t};
                    ${r.name} = function(){ return data; };
                    return data;
                  }
                `}else{i=a.template.statement.ast`
                  var ${r.name} = ${t};
                `}}i.loc=r.loc;l.push(i);l.push(...(0,s.buildNamespaceInitStatements)(o,r,T))}(0,s.ensureStatementsHoisted)(l);e.unshiftContainer("body",l);e.get("body").forEach((e=>{if(l.indexOf(e.node)===-1)return;if(e.isVariableDeclaration()){e.scope.registerDeclaration(e)}}))}}}}}));t["default"]=l},6969:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transpileConstEnum;var n=r(7812);function transpileConstEnum(e,t){const{name:r}=e.node.id;const s=e.parentPath.isExportNamedDeclaration();let i=s;if(!i&&t.isProgram(e.parent)){i=e.parent.body.some((e=>t.isExportNamedDeclaration(e)&&e.exportKind!=="type"&&!e.source&&e.specifiers.some((e=>t.isExportSpecifier(e)&&e.exportKind!=="type"&&e.local.name===r))))}const{enumValues:a}=(0,n.translateEnumValues)(e,t);if(i){const n=t.objectExpression(a.map((([e,r])=>t.objectProperty(t.isValidIdentifier(e)?t.identifier(e):t.stringLiteral(e),r))));if(e.scope.hasOwnBinding(r)){(s?e.parentPath:e).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[e.node.id,n])))}else{e.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(e.node.id,n)]));e.scope.registerDeclaration(e)}return}const o=new Map(a);e.scope.path.traverse({Scope(e){if(e.scope.hasOwnBinding(r))e.skip()},MemberExpression(e){if(!t.isIdentifier(e.node.object,{name:r}))return;let n;if(e.node.computed){if(t.isStringLiteral(e.node.property)){n=e.node.property.value}else{return}}else if(t.isIdentifier(e.node.property)){n=e.node.property.name}else{return}if(!o.has(n))return;e.replaceWith(t.cloneNode(o.get(n)))}});e.remove()}},7812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transpileEnum;t.translateEnumValues=translateEnumValues;var n=r(3688);var s=r(9491);var i=r(365);const a=new WeakMap;const o=n.template.expression(`\n    (function (ID) {\n      ASSIGNMENTS;\n      return ID;\n    })(INIT)\n  `);function transpileEnum(e,t){const{node:r,parentPath:n}=e;if(r.declare){e.remove();return}const s=r.id.name;const{fill:l,data:c,isPure:u}=enumFill(e,t,r.id);switch(n.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{const p=t.isProgram(e.parent);const f=seen(n);let d=t.objectExpression([]);if(f||p){d=t.logicalExpression("||",t.cloneNode(l.ID),d)}const h=o(Object.assign({},l,{INIT:d}));if(u)(0,i.default)(h);if(f){const s=n.isExportDeclaration()?n:e;s.replaceWith(t.expressionStatement(t.assignmentExpression("=",t.cloneNode(r.id),h)))}else{e.scope.registerDeclaration(e.replaceWith(t.variableDeclaration(p?"var":"let",[t.variableDeclarator(r.id,h)]))[0])}a.set(e.scope.getBindingIdentifier(s),c);break}default:throw new Error(`Unexpected enum parent '${e.parent.type}`)}function seen(e){if(e.isExportDeclaration()){return seen(e.parentPath)}if(e.getData(s)){return true}else{e.setData(s,true);return false}}}const l=(0,n.template)(`\n  ENUM["NAME"] = VALUE;\n`);const c=(0,n.template)(`\n  ENUM[ENUM["NAME"] = VALUE] = "NAME";\n`);const buildEnumMember=(e,t)=>(e?l:c)(t);function enumFill(e,t,r){const{enumValues:n,data:s,isPure:i}=translateEnumValues(e,t);const a=n.map((([e,n])=>buildEnumMember(t.isStringLiteral(n),{ENUM:t.cloneNode(r),NAME:e,VALUE:n})));return{fill:{ID:t.cloneNode(r),ASSIGNMENTS:a},data:s,isPure:i}}function ReferencedIdentifier(e,t){const{seen:r,path:n,t:s}=t;const i=e.node.name;if(r.has(i)&&!e.scope.hasOwnBinding(i)){e.replaceWith(s.memberExpression(s.cloneNode(n.node.id),s.cloneNode(e.node)));e.skip()}}const u={ReferencedIdentifier:ReferencedIdentifier};function translateEnumValues(e,t){const r=new Map;let n=-1;let i;let a=true;const o=e.get("members").map((o=>{const l=o.node;const c=t.isIdentifier(l.id)?l.id.name:l.id.value;const p=o.get("initializer");const f=l.initializer;let d;if(f){n=computeConstantValue(p,r);if(n!==undefined){r.set(c,n);s(typeof n==="number"||typeof n==="string");if(n===Infinity||Number.isNaN(n)){d=t.identifier(String(n))}else if(n===-Infinity){d=t.unaryExpression("-",t.identifier("Infinity"))}else{d=t.valueToNode(n)}}else{a&&(a=p.isPure());if(p.isReferencedIdentifier()){ReferencedIdentifier(p,{t:t,seen:r,path:e})}else{p.traverse(u,{t:t,seen:r,path:e})}d=p.node;r.set(c,undefined)}}else if(typeof n==="number"){n+=1;d=t.numericLiteral(n);r.set(c,n)}else if(typeof n==="string"){throw e.buildCodeFrameError("Enum member must have initializer.")}else{const n=t.memberExpression(t.cloneNode(e.node.id),t.stringLiteral(i),true);d=t.binaryExpression("+",t.numericLiteral(1),n);r.set(c,undefined)}i=c;return[c,d]}));return{isPure:a,data:r,enumValues:o}}function computeConstantValue(e,t,r=new Set){return evaluate(e);function evaluate(e){const n=e.node;switch(n.type){case"MemberExpression":return evaluateRef(e,t,r);case"StringLiteral":return n.value;case"UnaryExpression":return evalUnaryExpression(e);case"BinaryExpression":return evalBinaryExpression(e);case"NumericLiteral":return n.value;case"ParenthesizedExpression":return evaluate(e.get("expression"));case"Identifier":return evaluateRef(e,t,r);case"TemplateLiteral":{if(n.quasis.length===1){return n.quasis[0].value.cooked}const s=e.get("expressions");const i=n.quasis;let a="";for(let e=0;e<i.length;e++){a+=i[e].value.cooked;if(e+1<i.length){const n=evaluateRef(s[e],t,r);if(n===undefined)return undefined;a+=n}}return a}default:return undefined}}function evaluateRef(e,t,r){if(e.isMemberExpression()){const t=e.node;const r=t.object;const s=t.property;if(!n.types.isIdentifier(r)||(t.computed?!n.types.isStringLiteral(s):!n.types.isIdentifier(s))){return}const i=e.scope.getBindingIdentifier(r.name);const o=a.get(i);if(!o)return;return o.get(s.computed?s.value:s.name)}else if(e.isIdentifier()){const n=e.node.name;if(["Infinity","NaN"].includes(n)){return Number(n)}let s=t==null?void 0:t.get(n);if(s!==undefined){return s}if(r.has(e.node))return;const i=e.resolve();if(i){r.add(e.node);s=computeConstantValue(i,undefined,r);t==null?void 0:t.set(n,s);return s}}}function evalUnaryExpression(e){const t=evaluate(e.get("argument"));if(t===undefined){return undefined}switch(e.node.operator){case"+":return t;case"-":return-t;case"~":return~t;default:return undefined}}function evalBinaryExpression(e){const t=evaluate(e.get("left"));if(t===undefined){return undefined}const r=evaluate(e.get("right"));if(r===undefined){return undefined}switch(e.node.operator){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 Math.pow(t,r);default:return undefined}}}},7167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5389);var s=r(6141);var i=r(269);var a=r(6969);var o=r(7812);var l=r(2274);function isInType(e){switch(e.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return true;case"TSQualifiedName":return e.parentPath.findParent((e=>e.type!=="TSQualifiedName")).type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return e.parent.exportKind==="type"||e.parentPath.parent.exportKind==="type";default:return false}}const c=new WeakMap;const u=new WeakMap;const p=new WeakSet;function isGlobalType({scope:e},t){if(e.hasBinding(t))return false;if(c.get(e).has(t))return true;console.warn(`The exported identifier "${t}" is not declared in Babel's scope tracker\n`+`as a JavaScript value binding, and "@babel/plugin-transform-typescript"\n`+`never encountered it as a TypeScript type declaration.\n`+`It will be treated as a JavaScript value.\n\n`+`This problem is likely caused by another plugin injecting\n`+`"${t}" without registering it in the scope tracker. If you are the author\n`+` of that plugin, please use "scope.registerDeclaration(declarationPath)".`);return false}function registerGlobalType(e,t){c.get(e).add(t)}function safeRemove(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const n=e.scope.getBinding(r);if(n&&n.identifier===t[r]){n.scope.removeBinding(r)}}e.opts.noScope=true;e.remove();e.opts.noScope=false}function assertCjsTransformEnabled(e,t,r,n,s=""){if(t.file.get("@babel/plugin-transform-modules-*")!=="commonjs"){throw e.buildCodeFrameError(`\`${r}\` is only supported when compiling modules to CommonJS.\n`+`Please consider using \`${n}\`${s}, or add `+`@babel/plugin-transform-modules-commonjs to your Babel config.`)}}var f=(0,n.declare)(((e,t)=>{const{types:r,template:n}=e;e.assertVersion(7);const f=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/;const{allowNamespaces:d=true,jsxPragma:h="React.createElement",jsxPragmaFrag:m="React.Fragment",onlyRemoveTypeImports:y=false,optimizeConstEnums:g=false}=t;{var{allowDeclareFields:b=false}=t}const T={field(e){const{node:t}=e;{if(!b&&t.declare){throw e.buildCodeFrameError(`The 'declare' modifier is only allowed when the 'allowDeclareFields' option of `+`@babel/plugin-transform-typescript or @babel/preset-typescript is enabled.`)}}if(t.declare){if(t.value){throw e.buildCodeFrameError(`Fields with the 'declare' modifier cannot be initialized here, but only in the constructor`)}if(!t.decorators){e.remove()}}else if(t.definite){if(t.value){throw e.buildCodeFrameError(`Definitely assigned fields cannot be initialized here, but only in the constructor`)}{if(!b&&!t.decorators&&!r.isClassPrivateProperty(t)){e.remove()}}}else if(t.abstract){e.remove()}else{if(!b&&!t.value&&!t.decorators&&!r.isClassPrivateProperty(t)){e.remove()}}if(t.accessibility)t.accessibility=null;if(t.abstract)t.abstract=null;if(t.readonly)t.readonly=null;if(t.optional)t.optional=null;if(t.typeAnnotation)t.typeAnnotation=null;if(t.definite)t.definite=null;if(t.declare)t.declare=null;if(t.override)t.override=null},method({node:e}){if(e.accessibility)e.accessibility=null;if(e.abstract)e.abstract=null;if(e.optional)e.optional=null;if(e.override)e.override=null},constructor(e,t){if(e.node.accessibility)e.node.accessibility=null;const s=[];const{scope:a}=e;for(const t of e.get("params")){const e=t.node;if(e.type==="TSParameterProperty"){const i=e.parameter;if(p.has(i))continue;p.add(i);let o;if(r.isIdentifier(i)){o=i}else if(r.isAssignmentPattern(i)&&r.isIdentifier(i.left)){o=i.left}else{throw t.buildCodeFrameError("Parameter properties can not be destructuring patterns.")}s.push(n.statement.ast`
          this.${r.cloneNode(o)} = ${r.cloneNode(o)}`);t.replaceWith(t.get("parameter"));a.registerBinding("param",t)}}(0,i.injectInitialization)(t,e,s)}};return{name:"transform-typescript",inherits:s.default,visitor:{Pattern:visitPattern,Identifier:visitPattern,RestElement:visitPattern,Program:{enter(e,t){const{file:r}=t;let n=null;let s=null;const i=e.scope;if(!c.has(i)){c.set(i,new Set)}if(r.ast.comments){for(const e of r.ast.comments){const t=f.exec(e.value);if(t){if(t[1]){s=t[2]}else{n=t[2]}}}}let a=n||h;if(a){[a]=a.split(".")}let o=s||m;if(o){[o]=o.split(".")}for(let r of e.get("body")){if(r.isImportDeclaration()){if(!u.has(t.file.ast.program)){u.set(t.file.ast.program,true)}if(r.node.importKind==="type"){for(const e of r.node.specifiers){registerGlobalType(i,e.local.name)}r.remove();continue}const n=new Set;const s=r.node.specifiers.length;const isAllSpecifiersElided=()=>s>0&&s===n.size;for(const e of r.node.specifiers){if(e.type==="ImportSpecifier"&&e.importKind==="type"){registerGlobalType(i,e.local.name);const t=r.scope.getBinding(e.local.name);if(t){n.add(t.path)}}}if(y){u.set(e.node,false)}else{if(r.node.specifiers.length===0){u.set(e.node,false);continue}for(const t of r.node.specifiers){const s=r.scope.getBinding(t.local.name);if(s&&!n.has(s.path)){if(isImportTypeOnly({binding:s,programPath:e,pragmaImportName:a,pragmaFragImportName:o})){n.add(s.path)}else{u.set(e.node,false)}}}}if(isAllSpecifiersElided()&&!y){r.remove()}else{for(const e of n){e.remove()}}continue}if(r.isExportDeclaration()){r=r.get("declaration")}if(r.isVariableDeclaration({declare:true})){for(const e of Object.keys(r.getBindingIdentifiers())){registerGlobalType(i,e)}}else if(r.isTSTypeAliasDeclaration()||r.isTSDeclareFunction()&&r.get("id").isIdentifier()||r.isTSInterfaceDeclaration()||r.isClassDeclaration({declare:true})||r.isTSEnumDeclaration({declare:true})||r.isTSModuleDeclaration({declare:true})&&r.get("id").isIdentifier()){registerGlobalType(i,r.node.id.name)}}},exit(e){if(e.node.sourceType==="module"&&u.get(e.node)){e.pushContainer("body",r.exportNamedDeclaration())}}},ExportNamedDeclaration(e,t){if(!u.has(t.file.ast.program)){u.set(t.file.ast.program,true)}if(e.node.exportKind==="type"){e.remove();return}if(e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((e=>e.type==="ExportSpecifier"&&e.exportKind==="type"))){e.remove();return}if(!e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((t=>r.isExportSpecifier(t)&&isGlobalType(e,t.local.name)))){e.remove();return}if(r.isTSModuleDeclaration(e.node.declaration)){const t=e.node.declaration;const{id:n}=t;if(r.isIdentifier(n)){if(e.scope.hasOwnBinding(n.name)){e.replaceWith(t)}else{const[s]=e.replaceWithMultiple([r.exportNamedDeclaration(r.variableDeclaration("let",[r.variableDeclarator(r.cloneNode(n))])),t]);e.scope.registerDeclaration(s)}}}u.set(t.file.ast.program,false)},ExportAllDeclaration(e){if(e.node.exportKind==="type")e.remove()},ExportSpecifier(e){const t=e.parent;if(!t.source&&isGlobalType(e,e.node.local.name)||e.node.exportKind==="type"){e.remove()}},ExportDefaultDeclaration(e,t){if(!u.has(t.file.ast.program)){u.set(t.file.ast.program,true)}if(r.isIdentifier(e.node.declaration)&&isGlobalType(e,e.node.declaration.name)){e.remove();return}u.set(t.file.ast.program,false)},TSDeclareFunction(e){safeRemove(e)},TSDeclareMethod(e){safeRemove(e)},VariableDeclaration(e){if(e.node.declare){safeRemove(e)}},VariableDeclarator({node:e}){if(e.definite)e.definite=null},TSIndexSignature(e){e.remove()},ClassDeclaration(e){const{node:t}=e;if(t.declare){safeRemove(e)}},Class(e){const{node:t}=e;if(t.typeParameters)t.typeParameters=null;if(t.superTypeParameters)t.superTypeParameters=null;if(t.implements)t.implements=null;if(t.abstract)t.abstract=null;e.get("body.body").forEach((t=>{if(t.isClassMethod()||t.isClassPrivateMethod()){if(t.node.kind==="constructor"){T.constructor(t,e)}else{T.method(t)}}else if(t.isClassProperty()||t.isClassPrivateProperty()||t.isClassAccessorProperty()){T.field(t)}}))},Function(e){const{node:t}=e;if(t.typeParameters)t.typeParameters=null;if(t.returnType)t.returnType=null;const n=t.params;if(n.length>0&&r.isIdentifier(n[0],{name:"this"})){n.shift()}},TSModuleDeclaration(e){(0,l.default)(e,d)},TSInterfaceDeclaration(e){e.remove()},TSTypeAliasDeclaration(e){e.remove()},TSEnumDeclaration(e){if(g&&e.node.const){(0,a.default)(e,r)}else{(0,o.default)(e,r)}},TSImportEqualsDeclaration(e,t){const{id:n,moduleReference:s}=e.node;let i;let a;if(r.isTSExternalModuleReference(s)){assertCjsTransformEnabled(e,t,`import ${n.name} = require(...);`,`import ${n.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option");i=r.callExpression(r.identifier("require"),[s.expression]);a="const"}else{i=entityNameToExpr(s);a="var"}e.replaceWith(r.variableDeclaration(a,[r.variableDeclarator(n,i)]));e.scope.registerDeclaration(e)},TSExportAssignment(e,t){assertCjsTransformEnabled(e,t,`export = <value>;`,`export default <value>;`);e.replaceWith(n.statement.ast`module.exports = ${e.node.expression}`)},TSTypeAssertion(e){e.replaceWith(e.node.expression)},[`TSAsExpression${r.tsSatisfiesExpression?"|TSSatisfiesExpression":""}`](e){let{node:t}=e;do{t=t.expression}while(r.isTSAsExpression(t)||r.isTSSatisfiesExpression!=null&&r.isTSSatisfiesExpression(t));e.replaceWith(t)},[e.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](e){e.replaceWith(e.node.expression)},CallExpression(e){e.node.typeParameters=null},OptionalCallExpression(e){e.node.typeParameters=null},NewExpression(e){e.node.typeParameters=null},JSXOpeningElement(e){e.node.typeParameters=null},TaggedTemplateExpression(e){e.node.typeParameters=null}}};function entityNameToExpr(e){if(r.isTSQualifiedName(e)){return r.memberExpression(entityNameToExpr(e.left),e.right)}return e}function visitPattern({node:e}){if(e.typeAnnotation)e.typeAnnotation=null;if(r.isIdentifier(e)&&e.optional)e.optional=null}function isImportTypeOnly({binding:e,programPath:t,pragmaImportName:r,pragmaFragImportName:n}){for(const t of e.referencePaths){if(!isInType(t)){return false}}if(e.identifier.name!==r&&e.identifier.name!==n){return true}let s=false;t.traverse({"JSXElement|JSXFragment"(e){s=true;e.stop()}});return!s}}));t["default"]=f},2274:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=transpileNamespace;var n=r(3688);function transpileNamespace(e,t){if(e.node.declare||e.node.id.type==="StringLiteral"){e.remove();return}if(!t){throw e.get("id").buildCodeFrameError("Namespace not marked type-only declare."+" Non-declarative namespaces are only supported experimentally in Babel."+" To enable and review caveats see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const r=e.node.id.name;const s=handleNested(e,n.types.cloneNode(e.node,true));if(s===null){e.remove()}else if(e.scope.hasOwnBinding(r)){e.replaceWith(s)}else{e.scope.registerDeclaration(e.replaceWithMultiple([getDeclaration(r),s])[0])}}function getDeclaration(e){return n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.identifier(e))])}function getMemberExpression(e,t){return n.types.memberExpression(n.types.identifier(e),n.types.identifier(t))}function handleVariableDeclaration(e,t,r){if(e.kind!=="const"){throw r.file.buildCodeFrameError(e,"Namespaces exporting non-const are not supported by Babel."+" Change to const or see:"+" https://babeljs.io/docs/en/babel-plugin-transform-typescript")}const{declarations:s}=e;if(s.every((e=>n.types.isIdentifier(e.id)))){for(const e of s){e.init=n.types.assignmentExpression("=",getMemberExpression(t,e.id.name),e.init)}return[e]}const i=n.types.getBindingIdentifiers(e);const a=[];for(const e in i){a.push(n.types.assignmentExpression("=",getMemberExpression(t,e),n.types.cloneNode(i[e])))}return[e,n.types.expressionStatement(n.types.sequenceExpression(a))]}function buildNestedAmbientModuleError(e,t){return e.hub.buildError(t,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function handleNested(e,t,r){const s=new Set;const i=t.id;n.types.assertIdentifier(i);const a=e.scope.generateUid(i.name);const o=n.types.isTSModuleBlock(t.body)?t.body.body:[n.types.exportNamedDeclaration(t.body)];let l=true;for(let t=0;t<o.length;t++){const r=o[t];switch(r.type){case"TSModuleDeclaration":{if(!n.types.isIdentifier(r.id)){throw buildNestedAmbientModuleError(e,r)}const i=handleNested(e,r);if(i!==null){l=false;const e=r.id.name;if(s.has(e)){o[t]=i}else{s.add(e);o.splice(t++,1,getDeclaration(e),i)}}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":l=false;s.add(r.id.name);continue;case"VariableDeclaration":{l=false;for(const e in n.types.getBindingIdentifiers(r)){s.add(e)}continue}default:l&&(l=n.types.isTypeScript(r));continue;case"ExportNamedDeclaration":}if("declare"in r.declaration&&r.declaration.declare){continue}switch(r.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{l=false;const e=r.declaration.id.name;s.add(e);o.splice(t++,1,r.declaration,n.types.expressionStatement(n.types.assignmentExpression("=",getMemberExpression(a,e),n.types.identifier(e))));break}case"VariableDeclaration":{l=false;const n=handleVariableDeclaration(r.declaration,a,e.hub);o.splice(t,n.length,...n);t+=n.length-1;break}case"TSModuleDeclaration":{if(!n.types.isIdentifier(r.declaration.id)){throw buildNestedAmbientModuleError(e,r.declaration)}const i=handleNested(e,r.declaration,n.types.identifier(a));if(i!==null){l=false;const e=r.declaration.id.name;if(s.has(e)){o[t]=i}else{s.add(e);o.splice(t++,1,getDeclaration(e),i)}}else{o.splice(t,1);t--}}}}if(l)return null;let c=n.types.objectExpression([]);if(r){const e=n.types.memberExpression(r,i);c=n.template.expression.ast`
      ${n.types.cloneNode(e)} ||
        (${n.types.cloneNode(e)} = ${c})
    `}return n.template.statement.ast`
    (function (${n.types.identifier(a)}) {
      ${o}
    })(${i} || (${n.types.cloneNode(i)} = ${c}));
  `}},5432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(5389);var s=r(7167);r(6085);var i=r(8417);var a=r(4716);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var o=_interopDefaultLegacy(s);var l=_interopDefaultLegacy(i);const c=new a.OptionValidator("@babel/preset-typescript");function normalizeOptions(e={}){let{allowNamespaces:t=true,jsxPragma:r,onlyRemoveTypeImports:n}=e;const s={ignoreExtensions:"ignoreExtensions",allowNamespaces:"allowNamespaces",disallowAmbiguousJSXLike:"disallowAmbiguousJSXLike",jsxPragma:"jsxPragma",jsxPragmaFrag:"jsxPragmaFrag",onlyRemoveTypeImports:"onlyRemoveTypeImports",optimizeConstEnums:"optimizeConstEnums",allExtensions:"allExtensions",isTSX:"isTSX"};const i=c.validateStringOption(s.jsxPragmaFrag,e.jsxPragmaFrag,"React.Fragment");{var a=c.validateBooleanOption(s.allExtensions,e.allExtensions,false);var o=c.validateBooleanOption(s.isTSX,e.isTSX,false);if(o){c.invariant(a,"isTSX:true requires allExtensions:true")}}const l=c.validateBooleanOption(s.ignoreExtensions,e.ignoreExtensions,false);const u=c.validateBooleanOption(s.disallowAmbiguousJSXLike,e.disallowAmbiguousJSXLike,false);if(u){{c.invariant(a,"disallowAmbiguousJSXLike:true requires allExtensions:true")}}const p=c.validateBooleanOption(s.optimizeConstEnums,e.optimizeConstEnums,false);const f={ignoreExtensions:l,allowNamespaces:t,disallowAmbiguousJSXLike:u,jsxPragma:r,jsxPragmaFrag:i,onlyRemoveTypeImports:n,optimizeConstEnums:p};{f.allExtensions=a;f.isTSX=o}return f}var u=n.declarePreset(((e,t)=>{e.assertVersion(7);const{allExtensions:r,ignoreExtensions:n,allowNamespaces:s,disallowAmbiguousJSXLike:i,isTSX:a,jsxPragma:c,jsxPragmaFrag:u,onlyRemoveTypeImports:p,optimizeConstEnums:f}=normalizeOptions(t);const pluginOptions=e=>({allowDeclareFields:t.allowDeclareFields,allowNamespaces:s,disallowAmbiguousJSXLike:e,jsxPragma:c,jsxPragmaFrag:u,onlyRemoveTypeImports:p,optimizeConstEnums:f});const getPlugins=(e,t)=>{{return[[o["default"],Object.assign({isTSX:e},pluginOptions(t))]]}};const d=r||n;return{overrides:d?[{plugins:getPlugins(a,i)}]:[{test:/\.ts$/,plugins:getPlugins(false,false)},{test:/\.mts$/,sourceType:"module",plugins:getPlugins(false,true)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[l["default"],{allowTopLevelThis:true}],[o["default"],pluginOptions(true)]]},{test:/\.tsx$/,plugins:getPlugins(true,false)}]}}));t["default"]=u},7601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTemplateBuilder;var n=r(4287);var s=r(4430);var i=r(5202);const a=(0,n.validate)({placeholderPattern:false});function createTemplateBuilder(e,t){const r=new WeakMap;const o=new WeakMap;const l=t||(0,n.validate)(null);return Object.assign(((t,...a)=>{if(typeof t==="string"){if(a.length>1)throw new Error("Unexpected extra params.");return extendedTrace((0,s.default)(e,t,(0,n.merge)(l,(0,n.validate)(a[0]))))}else if(Array.isArray(t)){let n=r.get(t);if(!n){n=(0,i.default)(e,t,l);r.set(t,n)}return extendedTrace(n(a))}else if(typeof t==="object"&&t){if(a.length>0)throw new Error("Unexpected extra params.");return createTemplateBuilder(e,(0,n.merge)(l,(0,n.validate)(t)))}throw new Error(`Unexpected template param ${typeof t}`)}),{ast:(t,...r)=>{if(typeof t==="string"){if(r.length>1)throw new Error("Unexpected extra params.");return(0,s.default)(e,t,(0,n.merge)((0,n.merge)(l,(0,n.validate)(r[0])),a))()}else if(Array.isArray(t)){let s=o.get(t);if(!s){s=(0,i.default)(e,t,(0,n.merge)(l,a));o.set(t,s)}return s(r)()}throw new Error(`Unexpected template param ${typeof t}`)}})}function extendedTrace(e){let t="";try{throw new Error}catch(e){if(e.stack){t=e.stack.split("\n").slice(3).join("\n")}}return r=>{try{return e(r)}catch(e){e.stack+=`\n    =============\n${t}`;throw e}}}},9550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=void 0;var n=r(776);const{assertExpressionStatement:s}=n;function makeStatementFormatter(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}const i=makeStatementFormatter((e=>{if(e.length>1){return e}else{return e[0]}}));t.smart=i;const a=makeStatementFormatter((e=>e));t.statements=a;const o=makeStatementFormatter((e=>{if(e.length===0){throw new Error("Found nothing to return.")}if(e.length>1){throw new Error("Found multiple statements but wanted one")}return e[0]}));t.statement=o;const l={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1){throw new Error("Found multiple statements but wanted one")}if(l.unwrap(e).start===0){throw new Error("Parse result included parens.")}},unwrap:({program:e})=>{const[t]=e.body;s(t);return t.expression}};t.expression=l;const c={code:e=>e,validate:()=>{},unwrap:e=>e.program};t.program=c},9128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statements=t.statement=t.smart=t.program=t.expression=t["default"]=void 0;var n=r(9550);var s=r(7601);const i=(0,s.default)(n.smart);t.smart=i;const a=(0,s.default)(n.statement);t.statement=a;const o=(0,s.default)(n.statements);t.statements=o;const l=(0,s.default)(n.expression);t.expression=l;const c=(0,s.default)(n.program);t.program=c;var u=Object.assign(i.bind(undefined),{smart:i,statement:a,statements:o,expression:l,program:c,ast:i.ast});t["default"]=u},5202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=literalTemplate;var n=r(4287);var s=r(8782);var i=r(974);function literalTemplate(e,t,r){const{metadata:s,names:a}=buildLiteralData(e,t,r);return t=>{const r={};t.forEach(((e,t)=>{r[a[t]]=e}));return t=>{const a=(0,n.normalizeReplacements)(t);if(a){Object.keys(a).forEach((e=>{if(Object.prototype.hasOwnProperty.call(r,e)){throw new Error("Unexpected replacement overlap.")}}))}return e.unwrap((0,i.default)(s,a?Object.assign(a,r):r))}}}function buildLiteralData(e,t,r){let n="BABEL_TPL$";const i=t.join("");do{n="$$"+n}while(i.includes(n));const{names:a,code:o}=buildTemplateCode(t,n);const l=(0,s.default)(e,e.code(o),{parser:r.parser,placeholderWhitelist:new Set(a.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders});return{metadata:l,names:a}}function buildTemplateCode(e,t){const r=[];let n=e[0];for(let s=1;s<e.length;s++){const i=`${t}${s-1}`;r.push(i);n+=i+e[s]}return{names:r,code:n}}},4287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.merge=merge;t.normalizeReplacements=normalizeReplacements;t.validate=validate;const r=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={};var n=Object.keys(e);var s,i;for(i=0;i<n.length;i++){s=n[i];if(t.indexOf(s)>=0)continue;r[s]=e[s]}return r}function merge(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:s=e.preserveComments,syntacticPlaceholders:i=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:s,syntacticPlaceholders:i}}function validate(e){if(e!=null&&typeof e!=="object"){throw new Error("Unknown template options.")}const t=e||{},{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=t,o=_objectWithoutPropertiesLoose(t,r);if(n!=null&&!(n instanceof Set)){throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined")}if(s!=null&&!(s instanceof RegExp)&&s!==false){throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined")}if(i!=null&&typeof i!=="boolean"){throw new Error("'.preserveComments' must be a boolean, null, or undefined")}if(a!=null&&typeof a!=="boolean"){throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined")}if(a===true&&(n!=null||s!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}return{parser:o,placeholderWhitelist:n||undefined,placeholderPattern:s==null?undefined:s,preserveComments:i==null?undefined:i,syntacticPlaceholders:a==null?undefined:a}}function normalizeReplacements(e){if(Array.isArray(e)){return e.reduce(((e,t,r)=>{e["$"+r]=t;return e}),{})}else if(typeof e==="object"||e==null){return e||undefined}throw new Error("Template replacements must be an array, object, null, or undefined")}},8782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parseAndBuildMetadata;var n=r(776);var s=r(7383);var i=r(3327);const{isCallExpression:a,isExpressionStatement:o,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:p,isPlaceholder:f,isStatement:d,isStringLiteral:h,removePropertiesDeep:m,traverse:y}=n;const g=/^[_$A-Z0-9]+$/;function parseAndBuildMetadata(e,t,r){const{placeholderWhitelist:n,placeholderPattern:s,preserveComments:i,syntacticPlaceholders:a}=r;const o=parseWithCodeFrame(t,r.parser,a);m(o,{preserveComments:i});e.validate(o);const l={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:n,placeholderPattern:s,syntacticPlaceholders:a};y(o,placeholderVisitorHandler,l);return Object.assign({ast:o},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function placeholderVisitorHandler(e,t,r){var n;let s;let i=r.syntactic.placeholders.length>0;if(f(e)){if(r.syntacticPlaceholders===false){throw new Error("%%foo%%-style placeholders can't be used when "+"'.syntacticPlaceholders' is false.")}s=e.name.name;i=true}else if(i||r.syntacticPlaceholders){return}else if(c(e)||u(e)){s=e.name}else if(h(e)){s=e.value}else{return}if(i&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null)){throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible"+" with '.syntacticPlaceholders: true'")}if(!i&&(r.placeholderPattern===false||!(r.placeholderPattern||g).test(s))&&!((n=r.placeholderWhitelist)!=null&&n.has(s))){return}t=t.slice();const{node:m,key:y}=t[t.length-1];let b;if(h(e)||f(e,{expectedNode:"StringLiteral"})){b="string"}else if(p(m)&&y==="arguments"||a(m)&&y==="arguments"||l(m)&&y==="params"){b="param"}else if(o(m)&&!f(e)){b="statement";t=t.slice(0,-1)}else if(d(e)&&f(e)){b="statement"}else{b="other"}const{placeholders:T,placeholderNames:S}=!i?r.legacy:r.syntactic;T.push({name:s,type:b,resolve:e=>resolveAncestors(e,t),isDuplicate:S.has(s)});S.add(s)}function resolveAncestors(e,t){let r=e;for(let e=0;e<t.length-1;e++){const{key:n,index:s}=t[e];if(s===undefined){r=r[n]}else{r=r[n][s]}}const{key:n,index:s}=t[t.length-1];return{parent:r,key:n,index:s}}function parseWithCodeFrame(e,t,r){const n=(t.plugins||[]).slice();if(r!==false){n.push("placeholders")}t=Object.assign({allowReturnOutsideFunction:true,allowSuperOutsideMethod:true,sourceType:"module"},t,{plugins:n});try{return(0,s.parse)(e,t)}catch(t){const r=t.loc;if(r){t.message+="\n"+(0,i.codeFrameColumns)(e,{start:r});t.code="BABEL_TEMPLATE_PARSE_ERROR"}throw t}}},974:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=populatePlaceholders;var n=r(776);const{blockStatement:s,cloneNode:i,emptyStatement:a,expressionStatement:o,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:p,validate:f}=n;function populatePlaceholders(e,t){const r=i(e.ast);if(t){e.placeholders.forEach((e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n            placeholder you may want to consider passing one of the following options to @babel/template:\n            - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n            - { placeholderPattern: /^${t}$/ }`)}}));Object.keys(t).forEach((t=>{if(!e.placeholderNames.has(t)){throw new Error(`Unknown substitution "${t}" given`)}}))}e.placeholders.slice().reverse().forEach((e=>{try{applyReplacement(e,r,t&&t[e.name]||null)}catch(t){t.message=`@babel/template placeholder "${e.name}": ${t.message}`;throw t}}));return r}function applyReplacement(e,t,r){if(e.isDuplicate){if(Array.isArray(r)){r=r.map((e=>i(e)))}else if(typeof r==="object"){r=i(r)}}const{parent:n,key:d,index:h}=e.resolve(t);if(e.type==="string"){if(typeof r==="string"){r=p(r)}if(!r||!u(r)){throw new Error("Expected string substitution")}}else if(e.type==="statement"){if(h===undefined){if(!r){r=a()}else if(Array.isArray(r)){r=s(r)}else if(typeof r==="string"){r=o(l(r))}else if(!c(r)){r=o(r)}}else{if(r&&!Array.isArray(r)){if(typeof r==="string"){r=l(r)}if(!c(r)){r=o(r)}}}}else if(e.type==="param"){if(typeof r==="string"){r=l(r)}if(h===undefined)throw new Error("Assertion failure.")}else{if(typeof r==="string"){r=l(r)}if(Array.isArray(r)){throw new Error("Cannot replace single expression with an array.")}}if(h===undefined){f(n,d,r);n[d]=r}else{const t=n[d].slice();if(e.type==="statement"||e.type==="param"){if(r==null){t.splice(h,1)}else if(Array.isArray(r)){t.splice(h,1,...r)}else{t[h]=r}}else{t[h]=r}f(n,d,t);n[d]=t}}},4430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=stringTemplate;var n=r(4287);var s=r(8782);var i=r(974);function stringTemplate(e,t,r){t=e.code(t);let a;return o=>{const l=(0,n.normalizeReplacements)(o);if(!a)a=(0,s.default)(e,t,r);return e.unwrap((0,i.default)(a,l))}}},6419:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.clear=clear;t.clearPath=clearPath;t.clearScope=clearScope;t.scope=t.path=void 0;let r=new WeakMap;t.path=r;let n=new WeakMap;t.scope=n;function clear(){clearPath();clearScope()}function clearPath(){t.path=r=new WeakMap}function clearScope(){t.scope=n=new WeakMap}},6983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(8485);var s=r(776);const{VISITOR_KEYS:i}=s;class TraversalContext{constructor(e,t,r,n){this.queue=null;this.priorityQueue=null;this.parentPath=n;this.scope=e;this.state=r;this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return true;if(t[e.type])return true;const r=i[e.type];if(!(r!=null&&r.length))return false;for(const t of r){if(e[t]){return true}}return false}create(e,t,r,s){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:s})}maybeQueue(e,t){if(this.queue){if(t){this.queue.push(e)}else{this.priorityQueue.push(e)}}}visitMultiple(e,t,r){if(e.length===0)return false;const n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i&&this.shouldVisit(i)){n.push(this.create(t,e,s,r))}}return this.visitQueue(n)}visitSingle(e,t){if(this.shouldVisit(e[t])){return this.visitQueue([this.create(e,e,t)])}else{return false}}visitQueue(e){this.queue=e;this.priorityQueue=[];const t=new WeakSet;let r=false;for(const n of e){n.resync();if(n.contexts.length===0||n.contexts[n.contexts.length-1]!==this){n.pushContext(this)}if(n.key===null)continue;const{node:s}=n;if(t.has(s))continue;if(s)t.add(s);if(n.visit()){r=true;break}if(this.priorityQueue.length){r=this.visitQueue(this.priorityQueue);this.priorityQueue=[];this.queue=e;if(r)break}}for(const t of e){t.popContext()}this.queue=null;return r}visit(e,t){const r=e[t];if(!r)return false;if(Array.isArray(r)){return this.visitMultiple(r,e,t)}else{return this.visitSingle(e,t)}}}t["default"]=TraversalContext},1568:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Hub{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}t["default"]=Hub},2297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"Hub",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"NodePath",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"Scope",{enumerable:true,get:function(){return l.default}});t.visitors=t["default"]=void 0;var n=r(5399);t.visitors=n;var s=r(776);var i=r(6419);var a=r(81);var o=r(8485);var l=r(9632);var c=r(1568);const{VISITOR_KEYS:u,removeProperties:p,traverseFast:f}=s;function traverse(e,t={},r,s,i){if(!e)return;if(!t.noScope&&!r){if(e.type!=="Program"&&e.type!=="File"){throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.")}}if(!u[e.type]){return}n.explode(t);(0,a.traverseNode)(e,t,r,s,i)}var d=traverse;t["default"]=d;traverse.visitors=n;traverse.verify=n.verify;traverse.explode=n.explode;traverse.cheap=function(e,t){f(e,t);return};traverse.node=function(e,t,r,n,s,i){(0,a.traverseNode)(e,t,r,n,s,i)};traverse.clearNode=function(e,t){p(e,t);i.path.delete(e)};traverse.removeProperties=function(e,t){f(e,traverse.clearNode,t);return e};function hasDenylistedType(e,t){if(e.node.type===t.type){t.has=true;e.stop()}}traverse.hasType=function(e,t,r){if(r!=null&&r.includes(e.type))return false;if(e.type===t)return true;const n={has:false,type:t};traverse(e,{noScope:true,denylist:r,enter:hasDenylistedType},null,n);return n.has};traverse.cache=i},5852:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.find=find;t.findParent=findParent;t.getAncestry=getAncestry;t.getDeepestCommonAncestorFrom=getDeepestCommonAncestorFrom;t.getEarliestCommonAncestorFrom=getEarliestCommonAncestorFrom;t.getFunctionParent=getFunctionParent;t.getStatementParent=getStatementParent;t.inType=inType;t.isAncestor=isAncestor;t.isDescendant=isDescendant;var n=r(776);const{VISITOR_KEYS:s}=n;function findParent(e){let t=this;while(t=t.parentPath){if(e(t))return t}return null}function find(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null}function getFunctionParent(){return this.findParent((e=>e.isFunction()))}function getStatementParent(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){break}else{e=e.parentPath}}while(e);if(e&&(e.isProgram()||e.isFile())){throw new Error("File/Program node, we can't possibly find a statement parent to this")}return e}function getEarliestCommonAncestorFrom(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,r){let n;const i=s[e.type];for(const e of r){const r=e[t+1];if(!n){n=r;continue}if(r.listKey&&n.listKey===r.listKey){if(r.key<n.key){n=r;continue}}const s=i.indexOf(n.parentKey);const a=i.indexOf(r.parentKey);if(s>a){n=r}}return n}))}function getDeepestCommonAncestorFrom(e,t){if(!e.length){return this}if(e.length===1){return e[0]}let r=Infinity;let n,s;const i=e.map((e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);if(t.length<r){r=t.length}return t}));const a=i[0];e:for(let e=0;e<r;e++){const t=a[e];for(const r of i){if(r[e]!==t){break e}}n=e;s=t}if(s){if(t){return t(s,n,i)}else{return s}}else{throw new Error("Couldn't find intersection")}}function getAncestry(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t}function isAncestor(e){return e.isDescendant(this)}function isDescendant(e){return!!this.findParent((t=>t===e))}function inType(...e){let t=this;while(t){for(const r of e){if(t.node.type===r)return true}t=t.parentPath}return false}},1702:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.addComment=addComment;t.addComments=addComments;t.shareCommentsWithSiblings=shareCommentsWithSiblings;var n=r(776);const{addComment:s,addComments:i}=n;function shareCommentsWithSiblings(){if(typeof this.key==="string")return;const e=this.node;if(!e)return;const t=e.trailingComments;const r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1);const s=this.getSibling(this.key+1);const i=Boolean(n.node);const a=Boolean(s.node);if(i){if(r){n.addComments("trailing",removeIfExisting(r,n.node.trailingComments))}if(t&&!a)n.addComments("trailing",t)}if(a){if(t){s.addComments("leading",removeIfExisting(t,s.node.leadingComments))}if(r&&!i)s.addComments("leading",r)}}function removeIfExisting(e,t){if(!t)return e;let r=-1;return e.filter((e=>{const n=t.indexOf(e,r);if(n===-1)return true;r=n}))}function addComment(e,t,r){s(this.node,e,t,r)}function addComments(e,t){i(this.node,e,t)}},7446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._call=_call;t._getQueueContexts=_getQueueContexts;t._resyncKey=_resyncKey;t._resyncList=_resyncList;t._resyncParent=_resyncParent;t._resyncRemoved=_resyncRemoved;t.call=call;t.isBlacklisted=t.isDenylisted=isDenylisted;t.popContext=popContext;t.pushContext=pushContext;t.requeue=requeue;t.resync=resync;t.setContext=setContext;t.setKey=setKey;t.setScope=setScope;t.setup=setup;t.skip=skip;t.skipKey=skipKey;t.stop=stop;t.visit=visit;var n=r(81);var s=r(8485);function call(e){const t=this.opts;this.debug(e);if(this.node){if(this._call(t[e]))return true}if(this.node){var r;return this._call((r=t[this.node.type])==null?void 0:r[e])}return false}function _call(e){if(!e)return false;for(const t of e){if(!t)continue;const e=this.node;if(!e)return true;const r=t.call(this.state,this,this.state);if(r&&typeof r==="object"&&typeof r.then==="function"){throw new Error(`You appear to be using a plugin with an async traversal visitor, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}if(r){throw new Error(`Unexpected return value from visitor method ${t}`)}if(this.node!==e)return true;if(this._traverseFlags>0)return true}return false}function isDenylisted(){var e;const t=(e=this.opts.denylist)!=null?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1}function restoreContext(e,t){if(e.context!==t){e.context=t;e.state=t.state;e.opts=t.opts}}function visit(){var e,t;if(!this.node){return false}if(this.isDenylisted()){return false}if((e=(t=this.opts).shouldSkip)!=null&&e.call(t,this)){return false}const r=this.context;if(this.shouldSkip||this.call("enter")){this.debug("Skip...");return this.shouldStop}restoreContext(this,r);this.debug("Recursing into...");this.shouldStop=(0,n.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys);restoreContext(this,r);this.call("exit");return this.shouldStop}function skip(){this.shouldSkip=true}function skipKey(e){if(this.skipKeys==null){this.skipKeys={}}this.skipKeys[e]=true}function stop(){this._traverseFlags|=s.SHOULD_SKIP|s.SHOULD_STOP}function setScope(){var e,t;if((e=this.opts)!=null&&e.noScope)return;let r=this.parentPath;if((this.key==="key"||this.listKey==="decorators")&&r.isMethod()||this.key==="discriminant"&&r.isSwitchStatement()){r=r.parentPath}let n;while(r&&!n){var s;if((s=r.opts)!=null&&s.noScope)return;n=r.scope;r=r.parentPath}this.scope=this.getScope(n);(t=this.scope)==null?void 0:t.init()}function setContext(e){if(this.skipKeys!=null){this.skipKeys={}}this._traverseFlags=0;if(e){this.context=e;this.state=e.state;this.opts=e.opts}this.setScope();return this}function resync(){if(this.removed)return;this._resyncParent();this._resyncList();this._resyncKey()}function _resyncParent(){if(this.parentPath){this.parent=this.parentPath.node}}function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key]){return}if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++){if(this.container[e]===this.node){this.setKey(e);return}}}else{for(const e of Object.keys(this.container)){if(this.container[e]===this.node){this.setKey(e);return}}}this.key=null}function _resyncList(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];if(this.container===e)return;this.container=e||null}function _resyncRemoved(){if(this.key==null||!this.container||this.container[this.key]!==this.node){this._markRemoved()}}function popContext(){this.contexts.pop();if(this.contexts.length>0){this.setContext(this.contexts[this.contexts.length-1])}else{this.setContext(undefined)}}function pushContext(e){this.contexts.push(e);this.setContext(e)}function setup(e,t,r,n){this.listKey=r;this.container=t;this.parentPath=e||this.parentPath;this.setKey(n)}function setKey(e){var t;this.key=e;this.node=this.container[this.key];this.type=(t=this.node)==null?void 0:t.type}function requeue(e=this){if(e.removed)return;const t=this.contexts;for(const r of t){r.maybeQueue(e)}}function _getQueueContexts(){let e=this;let t=this.contexts;while(!t.length){e=e.parentPath;if(!e)break;t=e.contexts}return t}},5702:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.arrowFunctionToExpression=arrowFunctionToExpression;t.ensureBlock=ensureBlock;t.toComputedKey=toComputedKey;t.unwrapFunctionEnvironment=unwrapFunctionEnvironment;var n=r(776);var s=r(8552);var i=r(4940);var a=r(5399);const{arrowFunctionExpression:o,assignmentExpression:l,binaryExpression:c,blockStatement:u,callExpression:p,conditionalExpression:f,expressionStatement:d,identifier:h,isIdentifier:m,jsxIdentifier:y,logicalExpression:g,LOGICAL_OPERATORS:b,memberExpression:T,metaProperty:S,numericLiteral:E,objectExpression:x,restElement:v,returnStatement:P,sequenceExpression:A,spreadElement:w,stringLiteral:C,super:I,thisExpression:O,toExpression:k,unaryExpression:N}=n;function toComputedKey(){let e;if(this.isMemberExpression()){e=this.node.property}else if(this.isProperty()||this.isMethod()){e=this.node.key}else{throw new ReferenceError("todo")}if(!this.node.computed){if(m(e))e=C(e.name)}return e}function ensureBlock(){const e=this.get("body");const t=e.node;if(Array.isArray(e)){throw new Error("Can't convert array path to a block statement")}if(!t){throw new Error("Can't convert node without a body")}if(e.isBlockStatement()){return t}const r=[];let n="body";let s;let i;if(e.isStatement()){i="body";s=0;r.push(e.node)}else{n+=".body.0";if(this.isFunction()){s="argument";r.push(P(e.node))}else{s="expression";r.push(d(e.node))}}this.node.body=u(r);const a=this.get(n);e.setup(a,i?a.node[i]:a.node,i,s);return this.node}{{t.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()}}}function unwrapFunctionEnvironment(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration()){throw this.buildCodeFrameError("Can only unwrap the environment of a function.")}hoistFunctionEnvironment(this)}function setType(e,t){e.node.type=t}function arrowFunctionToExpression({allowInsertArrow:e=true,allowInsertArrowWithRest:t=e,noNewArrows:r=!(()=>{var e;return(e=arguments[0])==null?void 0:e.specCompliant})()}={}){if(!this.isArrowFunctionExpression()){throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.")}const{thisBinding:n,fnPath:s}=hoistFunctionEnvironment(this,r,e,t);s.ensureBlock();setType(s,"FunctionExpression");if(!r){const e=n?null:s.scope.generateUidIdentifier("arrowCheckId");if(e){s.parentPath.scope.push({id:e,init:x([])})}s.get("body").unshiftContainer("body",d(p(this.hub.addHelper("newArrowCheck"),[O(),e?h(e.name):h(n)])));s.replaceWith(p(T((0,i.default)(this,true)||s.node,h("bind")),[e?h(e.name):O()]));return s.get("callee.object")}return s}const _=(0,a.merge)([{CallExpression(e,{allSuperCalls:t}){if(!e.get("callee").isSuper())return;t.push(e)}},s.default]);function hoistFunctionEnvironment(e,t=true,r=true,n=true){let s;let i=e.findParent((e=>{if(e.isArrowFunctionExpression()){var t;(t=s)!=null?t:s=e;return false}return e.isFunction()||e.isProgram()||e.isClassProperty({static:false})||e.isClassPrivateProperty({static:false})}));const a=i.isClassMethod({kind:"constructor"});if(i.isClassProperty()||i.isClassPrivateProperty()){if(s){i=s}else if(r){e.replaceWith(p(o([],k(e.node)),[]));i=e.get("callee");e=i.get("body")}else{throw e.buildCodeFrameError("Unable to transform arrow inside class property")}}const{thisPaths:l,argumentsPaths:u,newTargetPaths:d,superProps:m,superCalls:g}=getScopeInformation(e);if(a&&g.length>0){if(!r){throw g[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', "+"it's not possible to compile `super()` in an arrow function without compiling classes.\n"+"Please add '@babel/plugin-transform-classes' to your Babel configuration.")}if(!n){throw g[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', "+"it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\n"+"Please add '@babel/plugin-transform-classes' to your Babel configuration.")}const e=[];i.traverse(_,{allSuperCalls:e});const t=getSuperBinding(i);e.forEach((e=>{const r=h(t);r.loc=e.node.callee.loc;e.get("callee").replaceWith(r)}))}if(u.length>0){const e=getBinding(i,"arguments",(()=>{const args=()=>h("arguments");if(i.scope.path.isProgram()){return f(c("===",N("typeof",args()),C("undefined")),i.scope.buildUndefinedNode(),args())}else{return args()}}));u.forEach((t=>{const r=h(e);r.loc=t.node.loc;t.replaceWith(r)}))}if(d.length>0){const e=getBinding(i,"newtarget",(()=>S(h("new"),h("target"))));d.forEach((t=>{const r=h(e);r.loc=t.node.loc;t.replaceWith(r)}))}if(m.length>0){if(!r){throw m[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', "+"it's not possible to compile `super.prop` in an arrow function without compiling classes.\n"+"Please add '@babel/plugin-transform-classes' to your Babel configuration.")}const e=m.reduce(((e,t)=>e.concat(standardizeSuperProperty(t))),[]);e.forEach((e=>{const t=e.node.computed?"":e.get("property").node.name;const r=e.parentPath;const n=r.isAssignmentExpression({left:e.node});const s=r.isCallExpression({callee:e.node});const a=r.isTaggedTemplateExpression({tag:e.node});const o=getSuperPropBinding(i,n,t);const c=[];if(e.node.computed){c.push(e.get("property").node)}if(n){const e=r.node.right;c.push(e)}const u=p(h(o),c);if(s){r.unshiftContainer("arguments",O());e.replaceWith(T(u,h("call")));l.push(r.get("arguments.0"))}else if(n){r.replaceWith(u)}else if(a){e.replaceWith(p(T(u,h("bind"),false),[O()]));l.push(e.get("arguments.0"))}else{e.replaceWith(u)}}))}let b;if(l.length>0||!t){b=getThisBinding(i,a);if(t||a&&hasSuperClass(i)){l.forEach((e=>{const t=e.isJSX()?y(b):h(b);t.loc=e.node.loc;e.replaceWith(t)}));if(!t)b=null}}return{thisBinding:b,fnPath:e}}function isLogicalOp(e){return b.includes(e)}function standardizeSuperProperty(e){if(e.parentPath.isAssignmentExpression()&&e.parentPath.node.operator!=="="){const t=e.parentPath;const r=t.node.operator.slice(0,-1);const n=t.node.right;const s=isLogicalOp(r);if(e.node.computed){const i=e.scope.generateDeclaredUidIdentifier("tmp");const a=e.node.object;const o=e.node.property;t.get("left").replaceWith(T(a,l("=",i,o),true));t.get("right").replaceWith(rightExpression(s?"=":r,T(a,h(i.name),true),n))}else{const i=e.node.object;const a=e.node.property;t.get("left").replaceWith(T(i,a));t.get("right").replaceWith(rightExpression(s?"=":r,T(i,h(a.name)),n))}if(s){t.replaceWith(g(r,t.node.left,t.node.right))}else{t.node.operator="="}return[t.get("left"),t.get("right").get("left")]}else if(e.parentPath.isUpdateExpression()){const t=e.parentPath;const r=e.scope.generateDeclaredUidIdentifier("tmp");const n=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null;const s=[l("=",r,T(e.node.object,n?l("=",n,e.node.property):e.node.property,e.node.computed)),l("=",T(e.node.object,n?h(n.name):e.node.property,e.node.computed),c(e.parentPath.node.operator[0],h(r.name),E(1)))];if(!e.parentPath.node.prefix){s.push(h(r.name))}t.replaceWith(A(s));const i=t.get("expressions.0.right");const a=t.get("expressions.1.left");return[i,a]}return[e];function rightExpression(e,t,r){if(e==="="){return l("=",t,r)}else{return c(e,t,r)}}}function hasSuperClass(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const D=(0,a.merge)([{CallExpression(e,{supers:t,thisBinding:r}){if(!e.get("callee").isSuper())return;if(t.has(e.node))return;t.add(e.node);e.replaceWithMultiple([e.node,l("=",h(r),h("this"))])}},s.default]);function getThisBinding(e,t){return getBinding(e,"this",(r=>{if(!t||!hasSuperClass(e))return O();e.traverse(D,{supers:new WeakSet,thisBinding:r})}))}function getSuperBinding(e){return getBinding(e,"supercall",(()=>{const t=e.scope.generateUidIdentifier("args");return o([v(t)],p(I(),[w(h(t.name))]))}))}function getSuperPropBinding(e,t,r){const n=t?"set":"get";return getBinding(e,`superprop_${n}:${r||""}`,(()=>{const n=[];let s;if(r){s=T(I(),h(r))}else{const t=e.scope.generateUidIdentifier("prop");n.unshift(t);s=T(I(),h(t.name),true)}if(t){const t=e.scope.generateUidIdentifier("value");n.push(t);s=l("=",s,h(t.name))}return o(n,s)}))}function getBinding(e,t,r){const n="binding:"+t;let s=e.getData(n);if(!s){const i=e.scope.generateUidIdentifier(t);s=i.name;e.setData(n,s);e.scope.push({id:i,init:r(s)})}return s}const M=(0,a.merge)([{ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){if(e.node.name!=="this")return;if(!e.parentPath.isJSXMemberExpression({object:e.node})&&!e.parentPath.isJSXOpeningElement({name:e.node})){return}t.push(e)},CallExpression(e,{superCalls:t}){if(e.get("callee").isSuper())t.push(e)},MemberExpression(e,{superProps:t}){if(e.get("object").isSuper())t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let r=e.scope;do{if(r.hasOwnBinding("arguments")){r.rename("arguments");return}if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){if(!e.get("meta").isIdentifier({name:"new"}))return;if(!e.get("property").isIdentifier({name:"target"}))return;t.push(e)}},s.default]);function getScopeInformation(e){const t=[];const r=[];const n=[];const s=[];const i=[];e.traverse(M,{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i});return{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:s,superCalls:i}}},118:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.evaluate=evaluate;t.evaluateTruthy=evaluateTruthy;const r=["String","Number","Math"];const n=["random"];function isValidCallee(e){return r.includes(e)}function isInvalidMethod(e){return n.includes(e)}function evaluateTruthy(){const e=this.evaluate();if(e.confident)return!!e.value}function deopt(e,t){if(!t.confident)return;t.deoptPath=e;t.confident=false}const s=new Map([["undefined",undefined],["Infinity",Infinity],["NaN",NaN]]);function evaluateCached(e,t){const{node:r}=e;const{seen:n}=t;if(n.has(r)){const s=n.get(r);if(s.resolved){return s.value}else{deopt(e,t);return}}else{const s={resolved:false};n.set(r,s);const i=_evaluate(e,t);if(t.confident){s.resolved=true;s.value=i}return i}}function _evaluate(e,t){if(!t.confident)return;if(e.isSequenceExpression()){const r=e.get("expressions");return evaluateCached(r[r.length-1],t)}if(e.isStringLiteral()||e.isNumericLiteral()||e.isBooleanLiteral()){return e.node.value}if(e.isNullLiteral()){return null}if(e.isTemplateLiteral()){return evaluateQuasis(e,e.node.quasis,t)}if(e.isTaggedTemplateExpression()&&e.get("tag").isMemberExpression()){const r=e.get("tag.object");const{node:{name:n}}=r;const s=e.get("tag.property");if(r.isIdentifier()&&n==="String"&&!e.scope.getBinding(n)&&s.isIdentifier()&&s.node.name==="raw"){return evaluateQuasis(e,e.node.quasi.quasis,t,true)}}if(e.isConditionalExpression()){const r=evaluateCached(e.get("test"),t);if(!t.confident)return;if(r){return evaluateCached(e.get("consequent"),t)}else{return evaluateCached(e.get("alternate"),t)}}if(e.isExpressionWrapper()){return evaluateCached(e.get("expression"),t)}if(e.isMemberExpression()&&!e.parentPath.isCallExpression({callee:e.node})){const r=e.get("property");const n=e.get("object");if(n.isLiteral()){const s=n.node.value;const i=typeof s;let a=null;if(e.node.computed){a=evaluateCached(r,t);if(!t.confident)return}else if(r.isIdentifier()){a=r.node.name}if((i==="number"||i==="string")&&a!=null&&(typeof a==="number"||typeof a==="string")){return s[a]}}}if(e.isReferencedIdentifier()){const r=e.scope.getBinding(e.node.name);if(r){if(r.constantViolations.length>0||e.node.start<r.path.node.end){deopt(r.path,t);return}if(r.hasValue){return r.value}}const n=e.node.name;if(s.has(n)){if(!r){return s.get(n)}deopt(r.path,t);return}const i=e.resolve();if(i===e){deopt(e,t);return}else{return evaluateCached(i,t)}}if(e.isUnaryExpression({prefix:true})){if(e.node.operator==="void"){return undefined}const r=e.get("argument");if(e.node.operator==="typeof"&&(r.isFunction()||r.isClass())){return"function"}const n=evaluateCached(r,t);if(!t.confident)return;switch(e.node.operator){case"!":return!n;case"+":return+n;case"-":return-n;case"~":return~n;case"typeof":return typeof n}}if(e.isArrayExpression()){const r=[];const n=e.get("elements");for(const e of n){const n=e.evaluate();if(n.confident){r.push(n.value)}else{deopt(n.deopt,t);return}}return r}if(e.isObjectExpression()){const r={};const n=e.get("properties");for(const e of n){if(e.isObjectMethod()||e.isSpreadElement()){deopt(e,t);return}const n=e.get("key");let s;if(e.node.computed){s=n.evaluate();if(!s.confident){deopt(s.deopt,t);return}s=s.value}else if(n.isIdentifier()){s=n.node.name}else{s=n.node.value}const i=e.get("value");let a=i.evaluate();if(!a.confident){deopt(a.deopt,t);return}a=a.value;r[s]=a}return r}if(e.isLogicalExpression()){const r=t.confident;const n=evaluateCached(e.get("left"),t);const s=t.confident;t.confident=r;const i=evaluateCached(e.get("right"),t);const a=t.confident;switch(e.node.operator){case"||":t.confident=s&&(!!n||a);if(!t.confident)return;return n||i;case"&&":t.confident=s&&(!n||a);if(!t.confident)return;return n&&i;case"??":t.confident=s&&(n!=null||a);if(!t.confident)return;return n!=null?n:i}}if(e.isBinaryExpression()){const r=evaluateCached(e.get("left"),t);if(!t.confident)return;const n=evaluateCached(e.get("right"),t);if(!t.confident)return;switch(e.node.operator){case"-":return r-n;case"+":return r+n;case"/":return r/n;case"*":return r*n;case"%":return r%n;case"**":return Math.pow(r,n);case"<":return r<n;case">":return r>n;case"<=":return r<=n;case">=":return r>=n;case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"|":return r|n;case"&":return r&n;case"^":return r^n;case"<<":return r<<n;case">>":return r>>n;case">>>":return r>>>n}}if(e.isCallExpression()){const r=e.get("callee");let n;let s;if(r.isIdentifier()&&!e.scope.getBinding(r.node.name)&&isValidCallee(r.node.name)){s=global[r.node.name]}if(r.isMemberExpression()){const e=r.get("object");const t=r.get("property");if(e.isIdentifier()&&t.isIdentifier()&&isValidCallee(e.node.name)&&!isInvalidMethod(t.node.name)){n=global[e.node.name];s=n[t.node.name]}if(e.isLiteral()&&t.isIdentifier()){const r=typeof e.node.value;if(r==="string"||r==="number"){n=e.node.value;s=n[t.node.name]}}}if(s){const r=e.get("arguments").map((e=>evaluateCached(e,t)));if(!t.confident)return;return s.apply(n,r)}}deopt(e,t)}function evaluateQuasis(e,t,r,n=false){let s="";let i=0;const a=e.isTemplateLiteral()?e.get("expressions"):e.get("quasi.expressions");for(const e of t){if(!r.confident)break;s+=n?e.value.raw:e.value.cooked;const t=a[i++];if(t)s+=String(evaluateCached(t,r))}if(!r.confident)return;return s}function evaluate(){const e={confident:true,deoptPath:null,seen:new Map};let t=evaluateCached(this,e);if(!e.confident)t=undefined;return{confident:e.confident,deopt:e.deoptPath,value:t}}},1481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._getKey=_getKey;t._getPattern=_getPattern;t.get=get;t.getAllNextSiblings=getAllNextSiblings;t.getAllPrevSiblings=getAllPrevSiblings;t.getBindingIdentifierPaths=getBindingIdentifierPaths;t.getBindingIdentifiers=getBindingIdentifiers;t.getCompletionRecords=getCompletionRecords;t.getNextSibling=getNextSibling;t.getOpposite=getOpposite;t.getOuterBindingIdentifierPaths=getOuterBindingIdentifierPaths;t.getOuterBindingIdentifiers=getOuterBindingIdentifiers;t.getPrevSibling=getPrevSibling;t.getSibling=getSibling;var n=r(8485);var s=r(776);const{getBindingIdentifiers:i,getOuterBindingIdentifiers:a,isDeclaration:o,numericLiteral:l,unaryExpression:c}=s;const u=0;const p=1;function NormalCompletion(e){return{type:u,path:e}}function BreakCompletion(e){return{type:p,path:e}}function getOpposite(){if(this.key==="left"){return this.getSibling("right")}else if(this.key==="right"){return this.getSibling("left")}return null}function addCompletionRecords(e,t,r){if(e){t.push(..._getCompletionRecords(e,r))}return t}function completionRecordForSwitch(e,t,r){let n=[];for(let s=0;s<e.length;s++){const i=e[s];const a=_getCompletionRecords(i,r);const o=[];const l=[];for(const e of a){if(e.type===u){o.push(e)}if(e.type===p){l.push(e)}}if(o.length){n=o}t.push(...l)}t.push(...n);return t}function normalCompletionToBreak(e){e.forEach((e=>{e.type=p}))}function replaceBreakStatementInBreakCompletion(e,t){e.forEach((e=>{if(e.path.isBreakStatement({label:null})){if(t){e.path.replaceWith(c("void",l(0)))}else{e.path.remove()}}}))}function getStatementListCompletion(e,t){const r=[];if(t.canHaveBreak){let n=[];for(let s=0;s<e.length;s++){const i=e[s];const a=Object.assign({},t,{inCaseClause:false});if(i.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)){a.shouldPopulateBreak=true}else{a.shouldPopulateBreak=false}const o=_getCompletionRecords(i,a);if(o.length>0&&o.every((e=>e.type===p))){if(n.length>0&&o.every((e=>e.path.isBreakStatement({label:null})))){normalCompletionToBreak(n);r.push(...n);if(n.some((e=>e.path.isDeclaration()))){r.push(...o);replaceBreakStatementInBreakCompletion(o,true)}replaceBreakStatementInBreakCompletion(o,false)}else{r.push(...o);if(!t.shouldPopulateBreak){replaceBreakStatementInBreakCompletion(o,true)}}break}if(s===e.length-1){r.push(...o)}else{n=[];for(let e=0;e<o.length;e++){const t=o[e];if(t.type===p){r.push(t)}if(t.type===u){n.push(t)}}}}}else if(e.length){for(let n=e.length-1;n>=0;n--){const s=_getCompletionRecords(e[n],t);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()){r.push(...s);break}}}return r}function _getCompletionRecords(e,t){let r=[];if(e.isIfStatement()){r=addCompletionRecords(e.get("consequent"),r,t);r=addCompletionRecords(e.get("alternate"),r,t)}else if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement()){return addCompletionRecords(e.get("body"),r,t)}else if(e.isProgram()||e.isBlockStatement()){return getStatementListCompletion(e.get("body"),t)}else if(e.isFunction()){return _getCompletionRecords(e.get("body"),t)}else if(e.isTryStatement()){r=addCompletionRecords(e.get("block"),r,t);r=addCompletionRecords(e.get("handler"),r,t)}else if(e.isCatchClause()){return addCompletionRecords(e.get("body"),r,t)}else if(e.isSwitchStatement()){return completionRecordForSwitch(e.get("cases"),r,t)}else if(e.isSwitchCase()){return getStatementListCompletion(e.get("consequent"),{canHaveBreak:true,shouldPopulateBreak:false,inCaseClause:true})}else if(e.isBreakStatement()){r.push(BreakCompletion(e))}else{r.push(NormalCompletion(e))}return r}function getCompletionRecords(){const e=_getCompletionRecords(this,{canHaveBreak:false,shouldPopulateBreak:false,inCaseClause:false});return e.map((e=>e.path))}function getSibling(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)}function getPrevSibling(){return this.getSibling(this.key-1)}function getNextSibling(){return this.getSibling(this.key+1)}function getAllNextSiblings(){let e=this.key;let t=this.getSibling(++e);const r=[];while(t.node){r.push(t);t=this.getSibling(++e)}return r}function getAllPrevSiblings(){let e=this.key;let t=this.getSibling(--e);const r=[];while(t.node){r.push(t);t=this.getSibling(--e)}return r}function get(e,t=true){if(t===true)t=this.context;const r=e.split(".");if(r.length===1){return this._getKey(e,t)}else{return this._getPattern(r,t)}}function _getKey(e,t){const r=this.node;const s=r[e];if(Array.isArray(s)){return s.map(((i,a)=>n.default.get({listKey:e,parentPath:this,parent:r,container:s,key:a}).setContext(t)))}else{return n.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)}}function _getPattern(e,t){let r=this;for(const n of e){if(n==="."){r=r.parentPath}else{if(Array.isArray(r)){r=r[n]}else{r=r.get(n,t)}}}return r}function getBindingIdentifiers(e){return i(this.node,e)}function getOuterBindingIdentifiers(e){return a(this.node,e)}function getBindingIdentifierPaths(e=false,t=false){const r=this;const n=[r];const s=Object.create(null);while(n.length){const r=n.shift();if(!r)continue;if(!r.node)continue;const a=i.keys[r.node.type];if(r.isIdentifier()){if(e){const e=s[r.node.name]=s[r.node.name]||[];e.push(r)}else{s[r.node.name]=r}continue}if(r.isExportDeclaration()){const e=r.get("declaration");if(o(e)){n.push(e)}continue}if(t){if(r.isFunctionDeclaration()){n.push(r.get("id"));continue}if(r.isFunctionExpression()){continue}}if(a){for(let e=0;e<a.length;e++){const t=a[e];const s=r.get(t);if(Array.isArray(s)){n.push(...s)}else if(s.node){n.push(s)}}}}return s}function getOuterBindingIdentifierPaths(e=false){return this.getBindingIdentifierPaths(e,true)}},8485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var n=r(8958);var s=r(6937);var i=r(2297);var a=r(9632);var o=r(776);var l=o;var c=r(6419);var u=r(3956);var p=r(5852);var f=r(6337);var d=r(9554);var h=r(118);var m=r(5702);var y=r(3837);var g=r(7446);var b=r(4565);var T=r(6799);var S=r(1481);var E=r(1702);var x=r(2957);const{validate:v}=o;const P=s("babel");const A=1<<0;t.REMOVED=A;const w=1<<1;t.SHOULD_STOP=w;const C=1<<2;t.SHOULD_SKIP=C;class NodePath{constructor(e,t){this.contexts=[];this.state=null;this.opts=null;this._traverseFlags=0;this.skipKeys=null;this.parentPath=null;this.container=null;this.listKey=null;this.key=null;this.node=null;this.type=null;this.parent=t;this.hub=e;this.data=null;this.context=null;this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:s,key:i}){if(!e&&t){e=t.hub}if(!r){throw new Error("To get a node path the parent needs to exist")}const a=n[i];let o=c.path.get(r);if(!o){o=new Map;c.path.set(r,o)}let l=o.get(a);if(!l){l=new NodePath(e,r);if(a)o.set(a,l)}l.setup(t,n,s,i);return l}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){if(this.data==null){this.data=Object.create(null)}return this.data[e]=t}getData(e,t){if(this.data==null){this.data=Object.create(null)}let r=this.data[e];if(r===undefined&&t!==undefined)r=this.data[e]=t;return r}hasNode(){return this.node!=null}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,i.default)(this.node,e,this.scope,t,this)}set(e,t){v(this.node,e,t);this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;if(t.inList)r=`${t.listKey}[${r}]`;e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){if(!P.enabled)return;P(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){if(!e){this.listKey=null}}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&C)}set shouldSkip(e){if(e){this._traverseFlags|=C}else{this._traverseFlags&=~C}}get shouldStop(){return!!(this._traverseFlags&w)}set shouldStop(e){if(e){this._traverseFlags|=w}else{this._traverseFlags&=~w}}get removed(){return!!(this._traverseFlags&A)}set removed(e){if(e){this._traverseFlags|=A}else{this._traverseFlags&=~A}}}Object.assign(NodePath.prototype,p,f,d,h,m,y,g,b,T,S,E);{NodePath.prototype._guessExecutionStatusRelativeToDifferentFunctions=y._guessExecutionStatusRelativeTo}for(const e of l.TYPES){const t=`is${e}`;const r=l[t];NodePath.prototype[t]=function(e){return r(this.node,e)};NodePath.prototype[`assert${e}`]=function(t){if(!r(this.node,t)){throw new TypeError(`Expected node path of type ${e}`)}}}Object.assign(NodePath.prototype,x);for(const e of Object.keys(n)){if(e[0]==="_")continue;if(!l.TYPES.includes(e))l.TYPES.push(e)}var I=NodePath;t["default"]=I},6337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._getTypeAnnotation=_getTypeAnnotation;t.baseTypeStrictlyMatches=baseTypeStrictlyMatches;t.couldBeBaseType=couldBeBaseType;t.getTypeAnnotation=getTypeAnnotation;t.isBaseType=isBaseType;t.isGenericType=isGenericType;var n=r(8224);var s=r(776);const{anyTypeAnnotation:i,isAnyTypeAnnotation:a,isArrayTypeAnnotation:o,isBooleanTypeAnnotation:l,isEmptyTypeAnnotation:c,isFlowBaseAnnotation:u,isGenericTypeAnnotation:p,isIdentifier:f,isMixedTypeAnnotation:d,isNumberTypeAnnotation:h,isStringTypeAnnotation:m,isTSArrayType:y,isTSTypeAnnotation:g,isTSTypeReference:b,isTupleTypeAnnotation:T,isTypeAnnotation:S,isUnionTypeAnnotation:E,isVoidTypeAnnotation:x,stringTypeAnnotation:v,voidTypeAnnotation:P}=s;function getTypeAnnotation(){let e=this.getData("typeAnnotation");if(e!=null){return e}e=this._getTypeAnnotation()||i();if(S(e)||g(e)){e=e.typeAnnotation}this.setData("typeAnnotation",e);return e}const A=new WeakSet;function _getTypeAnnotation(){const e=this.node;if(!e){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath;const t=e.parentPath;if(e.key==="left"&&t.isForInStatement()){return v()}if(e.key==="left"&&t.isForOfStatement()){return i()}return P()}else{return}}if(e.typeAnnotation){return e.typeAnnotation}if(A.has(e)){return}A.add(e);try{var t;let r=n[e.type];if(r){return r.call(this,e)}r=n[this.parentPath.type];if((t=r)!=null&&t.validParent){return this.parentPath.getTypeAnnotation()}}finally{A.delete(e)}}function isBaseType(e,t){return _isBaseType(e,this.getTypeAnnotation(),t)}function _isBaseType(e,t,r){if(e==="string"){return m(t)}else if(e==="number"){return h(t)}else if(e==="boolean"){return l(t)}else if(e==="any"){return a(t)}else if(e==="mixed"){return d(t)}else if(e==="empty"){return c(t)}else if(e==="void"){return x(t)}else{if(r){return false}else{throw new Error(`Unknown base type ${e}`)}}}function couldBeBaseType(e){const t=this.getTypeAnnotation();if(a(t))return true;if(E(t)){for(const r of t.types){if(a(r)||_isBaseType(e,r,true)){return true}}return false}else{return _isBaseType(e,t,true)}}function baseTypeStrictlyMatches(e){const t=this.getTypeAnnotation();const r=e.getTypeAnnotation();if(!a(t)&&u(t)){return r.type===t.type}return false}function isGenericType(e){const t=this.getTypeAnnotation();if(e==="Array"){if(y(t)||o(t)||T(t)){return true}}return p(t)&&f(t.id,{name:e})||b(t)&&f(t.typeName,{name:e})}},5017:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;var n=r(776);var s=r(5783);const{BOOLEAN_NUMBER_BINARY_OPERATORS:i,createTypeAnnotationBasedOnTypeof:a,numberTypeAnnotation:o,voidTypeAnnotation:l}=n;function _default(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t){if(t.identifier.typeAnnotation){return t.identifier.typeAnnotation}else{return getTypeAnnotationBindingConstantViolations(t,this,e.name)}}if(e.name==="undefined"){return l()}else if(e.name==="NaN"||e.name==="Infinity"){return o()}else if(e.name==="arguments"){}}function getTypeAnnotationBindingConstantViolations(e,t,r){const n=[];const i=[];let a=getConstantViolationsBefore(e,t,i);const o=getConditionalAnnotation(e,t,r);if(o){const t=getConstantViolationsBefore(e,o.ifStatement);a=a.filter((e=>t.indexOf(e)<0));n.push(o.typeAnnotation)}if(a.length){a.push(...i);for(const e of a){n.push(e.getTypeAnnotation())}}if(!n.length){return}return(0,s.createUnionType)(n)}function getConstantViolationsBefore(e,t,r){const n=e.constantViolations.slice();n.unshift(e.path);return n.filter((e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);if(r&&n==="unknown")r.push(e);return n==="before"}))}function inferAnnotationFromBinaryExpression(e,t){const r=t.node.operator;const n=t.get("right").resolve();const s=t.get("left").resolve();let l;if(s.isIdentifier({name:e})){l=n}else if(n.isIdentifier({name:e})){l=s}if(l){if(r==="==="){return l.getTypeAnnotation()}if(i.indexOf(r)>=0){return o()}return}if(r!=="==="&&r!=="==")return;let c;let u;if(s.isUnaryExpression({operator:"typeof"})){c=s;u=n}else if(n.isUnaryExpression({operator:"typeof"})){c=n;u=s}if(!c)return;if(!c.get("argument").isIdentifier({name:e}))return;u=u.resolve();if(!u.isLiteral())return;const p=u.node.value;if(typeof p!=="string")return;return a(p)}function getParentConditionalPath(e,t,r){let n;while(n=t.parentPath){if(n.isIfStatement()||n.isConditionalExpression()){if(t.key==="test"){return}return n}if(n.isFunction()){if(n.parentPath.scope.getBinding(r)!==e)return}t=n}}function getConditionalAnnotation(e,t,r){const n=getParentConditionalPath(e,t,r);if(!n)return;const i=n.get("test");const a=[i];const o=[];for(let e=0;e<a.length;e++){const t=a[e];if(t.isLogicalExpression()){if(t.node.operator==="&&"){a.push(t.get("left"));a.push(t.get("right"))}}else if(t.isBinaryExpression()){const e=inferAnnotationFromBinaryExpression(r,t);if(e)o.push(e)}}if(o.length){return{typeAnnotation:(0,s.createUnionType)(o),ifStatement:n}}return getConditionalAnnotation(e,n,r)}},8224:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayExpression=ArrayExpression;t.AssignmentExpression=AssignmentExpression;t.BinaryExpression=BinaryExpression;t.BooleanLiteral=BooleanLiteral;t.CallExpression=CallExpression;t.ConditionalExpression=ConditionalExpression;t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=Func;Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return s.default}});t.LogicalExpression=LogicalExpression;t.NewExpression=NewExpression;t.NullLiteral=NullLiteral;t.NumericLiteral=NumericLiteral;t.ObjectExpression=ObjectExpression;t.ParenthesizedExpression=ParenthesizedExpression;t.RegExpLiteral=RegExpLiteral;t.RestElement=RestElement;t.SequenceExpression=SequenceExpression;t.StringLiteral=StringLiteral;t.TSAsExpression=TSAsExpression;t.TSNonNullExpression=TSNonNullExpression;t.TaggedTemplateExpression=TaggedTemplateExpression;t.TemplateLiteral=TemplateLiteral;t.TypeCastExpression=TypeCastExpression;t.UnaryExpression=UnaryExpression;t.UpdateExpression=UpdateExpression;t.VariableDeclarator=VariableDeclarator;var n=r(776);var s=r(5017);var i=r(5783);const{BOOLEAN_BINARY_OPERATORS:a,BOOLEAN_UNARY_OPERATORS:o,NUMBER_BINARY_OPERATORS:l,NUMBER_UNARY_OPERATORS:c,STRING_UNARY_OPERATORS:u,anyTypeAnnotation:p,arrayTypeAnnotation:f,booleanTypeAnnotation:d,buildMatchMemberExpression:h,genericTypeAnnotation:m,identifier:y,nullLiteralTypeAnnotation:g,numberTypeAnnotation:b,stringTypeAnnotation:T,tupleTypeAnnotation:S,unionTypeAnnotation:E,voidTypeAnnotation:x,isIdentifier:v}=n;function VariableDeclarator(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function TypeCastExpression(e){return e.typeAnnotation}TypeCastExpression.validParent=true;function TSAsExpression(e){return e.typeAnnotation}TSAsExpression.validParent=true;function TSNonNullExpression(){return this.get("expression").getTypeAnnotation()}function NewExpression(e){if(e.callee.type==="Identifier"){return m(e.callee)}}function TemplateLiteral(){return T()}function UnaryExpression(e){const t=e.operator;if(t==="void"){return x()}else if(c.indexOf(t)>=0){return b()}else if(u.indexOf(t)>=0){return T()}else if(o.indexOf(t)>=0){return d()}}function BinaryExpression(e){const t=e.operator;if(l.indexOf(t)>=0){return b()}else if(a.indexOf(t)>=0){return d()}else if(t==="+"){const e=this.get("right");const t=this.get("left");if(t.isBaseType("number")&&e.isBaseType("number")){return b()}else if(t.isBaseType("string")||e.isBaseType("string")){return T()}return E([T(),b()])}}function LogicalExpression(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,i.createUnionType)(e)}function ConditionalExpression(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,i.createUnionType)(e)}function SequenceExpression(){return this.get("expressions").pop().getTypeAnnotation()}function ParenthesizedExpression(){return this.get("expression").getTypeAnnotation()}function AssignmentExpression(){return this.get("right").getTypeAnnotation()}function UpdateExpression(e){const t=e.operator;if(t==="++"||t==="--"){return b()}}function StringLiteral(){return T()}function NumericLiteral(){return b()}function BooleanLiteral(){return d()}function NullLiteral(){return g()}function RegExpLiteral(){return m(y("RegExp"))}function ObjectExpression(){return m(y("Object"))}function ArrayExpression(){return m(y("Array"))}function RestElement(){return ArrayExpression()}RestElement.validParent=true;function Func(){return m(y("Function"))}const P=h("Array.from");const A=h("Object.keys");const w=h("Object.values");const C=h("Object.entries");function CallExpression(){const{callee:e}=this.node;if(A(e)){return f(T())}else if(P(e)||w(e)||v(e,{name:"Array"})){return f(p())}else if(C(e)){return f(S([T(),p()]))}return resolveCall(this.get("callee"))}function TaggedTemplateExpression(){return resolveCall(this.get("tag"))}function resolveCall(e){e=e.resolve();if(e.isFunction()){const{node:t}=e;if(t.async){if(t.generator){return m(y("AsyncIterator"))}else{return m(y("Promise"))}}else{if(t.generator){return m(y("Iterator"))}else if(e.node.returnType){return e.node.returnType}else{}}}}},5783:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createUnionType=createUnionType;var n=r(776);const{createFlowUnionType:s,createTSUnionType:i,createUnionTypeAnnotation:a,isFlowType:o,isTSType:l}=n;function createUnionType(e){{if(o(e[0])){if(s){return s(e)}return a(e)}else{if(i){return i(e)}}}}},3837:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._guessExecutionStatusRelativeTo=_guessExecutionStatusRelativeTo;t._resolve=_resolve;t.canHaveVariableDeclarationOrExpression=canHaveVariableDeclarationOrExpression;t.canSwapBetweenExpressionAndStatement=canSwapBetweenExpressionAndStatement;t.equals=equals;t.getSource=getSource;t.has=has;t.is=void 0;t.isCompletionRecord=isCompletionRecord;t.isConstantExpression=isConstantExpression;t.isInStrictMode=isInStrictMode;t.isNodeType=isNodeType;t.isStatementOrBlock=isStatementOrBlock;t.isStatic=isStatic;t.isnt=isnt;t.matchesPattern=matchesPattern;t.referencesImport=referencesImport;t.resolve=resolve;t.willIMaybeExecuteBefore=willIMaybeExecuteBefore;var n=r(776);const{STATEMENT_OR_BLOCK_KEYS:s,VISITOR_KEYS:i,isBlockStatement:a,isExpression:o,isIdentifier:l,isLiteral:c,isStringLiteral:u,isType:p,matchesPattern:f}=n;function matchesPattern(e,t){return f(this.node,e,t)}function has(e){const t=this.node&&this.node[e];if(t&&Array.isArray(t)){return!!t.length}else{return!!t}}function isStatic(){return this.scope.isStatic(this.node)}const d=has;t.is=d;function isnt(e){return!this.has(e)}function equals(e,t){return this.node[e]===t}function isNodeType(e){return p(this.type,e)}function canHaveVariableDeclarationOrExpression(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function canSwapBetweenExpressionAndStatement(e){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression()){return false}if(this.isExpression()){return a(e)}else if(this.isBlockStatement()){return o(e)}return false}function isCompletionRecord(e){let t=this;let r=true;do{const{type:n,container:s}=t;if(!r&&(t.isFunction()||n==="StaticBlock")){return!!e}r=false;if(Array.isArray(s)&&t.key!==s.length-1){return false}}while((t=t.parentPath)&&!t.isProgram()&&!t.isDoExpression());return true}function isStatementOrBlock(){if(this.parentPath.isLabeledStatement()||a(this.container)){return false}else{return s.includes(this.key)}}function referencesImport(e,t){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===t||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?u(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}return false}const r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return false;const n=r.path;const s=n.parentPath;if(!s.isImportDeclaration())return false;if(s.node.source.value===e){if(!t)return true}else{return false}if(n.isImportDefaultSpecifier()&&t==="default"){return true}if(n.isImportNamespaceSpecifier()&&t==="*"){return true}if(n.isImportSpecifier()&&l(n.node.imported,{name:t})){return true}return false}function getSource(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""}function willIMaybeExecuteBefore(e){return this._guessExecutionStatusRelativeTo(e)!=="after"}function getOuterFunction(e){return e.isProgram()?e:(e.parentPath.scope.getFunctionParent()||e.parentPath.scope.getProgramParent()).path}function isExecutionUncertain(e,t){switch(e){case"LogicalExpression":return t==="right";case"ConditionalExpression":case"IfStatement":return t==="consequent"||t==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return t==="body";case"ForStatement":return t==="body"||t==="update";case"SwitchStatement":return t==="cases";case"TryStatement":return t==="handler";case"AssignmentPattern":return t==="right";case"OptionalMemberExpression":return t==="property";case"OptionalCallExpression":return t==="arguments";default:return false}}function isExecutionUncertainInList(e,t){for(let r=0;r<t;r++){const t=e[r];if(isExecutionUncertain(t.parent.type,t.parentKey)){return true}}return false}const h=Symbol();function _guessExecutionStatusRelativeTo(e){return _guessExecutionStatusRelativeToCached(this,e,new Map)}function _guessExecutionStatusRelativeToCached(e,t,r){const n={this:getOuterFunction(e),target:getOuterFunction(t)};if(n.target.node!==n.this.node){return _guessExecutionStatusRelativeToDifferentFunctionsCached(e,n.target,r)}const s={target:t.getAncestry(),this:e.getAncestry()};if(s.target.indexOf(e)>=0)return"after";if(s.this.indexOf(t)>=0)return"before";let a;const o={target:0,this:0};while(!a&&o.this<s.this.length){const e=s.this[o.this];o.target=s.target.indexOf(e);if(o.target>=0){a=e}else{o.this++}}if(!a){throw new Error("Internal Babel error - The two compared nodes"+" don't appear to belong to the same program.")}if(isExecutionUncertainInList(s.this,o.this-1)||isExecutionUncertainInList(s.target,o.target-1)){return"unknown"}const l={this:s.this[o.this-1],target:s.target[o.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container){return l.target.key>l.this.key?"before":"after"}const c=i[a.type];const u={this:c.indexOf(l.this.parentKey),target:c.indexOf(l.target.parentKey)};return u.target>u.this?"before":"after"}function _guessExecutionStatusRelativeToDifferentFunctionsInternal(e,t,r){if(!t.isFunctionDeclaration()){if(_guessExecutionStatusRelativeToCached(e,t,r)==="before"){return"before"}return"unknown"}else if(t.parentPath.isExportDeclaration()){return"unknown"}const n=t.scope.getBinding(t.node.id.name);if(!n.references)return"before";const s=n.referencePaths;let i;for(const n of s){const s=!!n.find((e=>e.node===t.node));if(s)continue;if(n.key!=="callee"||!n.parentPath.isCallExpression()){return"unknown"}const a=_guessExecutionStatusRelativeToCached(e,n,r);if(i&&i!==a){return"unknown"}else{i=a}}return i}function _guessExecutionStatusRelativeToDifferentFunctionsCached(e,t,r){let n=r.get(e.node);let s;if(!n){r.set(e.node,n=new Map)}else if(s=n.get(t.node)){if(s===h){return"unknown"}return s}n.set(t.node,h);const i=_guessExecutionStatusRelativeToDifferentFunctionsInternal(e,t,r);n.set(t.node,i);return i}function resolve(e,t){return this._resolve(e,t)||this}function _resolve(e,t){if(t&&t.indexOf(this)>=0)return;t=t||[];t.push(this);if(this.isVariableDeclarator()){if(this.get("id").isIdentifier()){return this.get("init").resolve(e,t)}else{}}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if(r.kind==="module")return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find((e=>e.node===n.node)))return;return n}}else if(this.isTypeCastExpression()){return this.get("expression").resolve(e,t)}else if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!c(r))return;const n=r.value;const s=this.get("object").resolve(e,t);if(s.isObjectExpression()){const r=s.get("properties");for(const s of r){if(!s.isProperty())continue;const r=s.get("key");let i=s.isnt("computed")&&r.isIdentifier({name:n});i=i||r.isLiteral({value:n});if(i)return s.get("value").resolve(e,t)}}else if(s.isArrayExpression()&&!isNaN(+n)){const r=s.get("elements");const i=r[n];if(i)return i.resolve(e,t)}}}function isConstantExpression(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);if(!e)return false;return e.constant}if(this.isLiteral()){if(this.isRegExpLiteral()){return false}if(this.isTemplateLiteral()){return this.get("expressions").every((e=>e.isConstantExpression()))}return true}if(this.isUnaryExpression()){if(this.node.operator!=="void"){return false}return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){const{operator:e}=this.node;return e!=="in"&&e!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return false}function isInStrictMode(){const e=this.isProgram()?this:this.parentPath;const t=e.find((e=>{if(e.isProgram({sourceType:"module"}))return true;if(e.isClass())return true;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement()){return false}let t;if(e.isFunction()){t=e.node.body}else if(e.isProgram()){t=e.node}else{return false}for(const e of t.directives){if(e.value.value==="use strict"){return true}}}));return!!t}},2350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(776);var s=n;const{react:i}=n;const{cloneNode:a,jsxExpressionContainer:o,variableDeclaration:l,variableDeclarator:c}=s;const u={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&i.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression()){return}if(e.node.name==="this"){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression()){break}}while(r=r.parent);if(r)t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);if(!r)return;for(const n of r.constantViolations){if(n.scope!==r.path.scope){t.mutableBinding=true;e.stop();return}}if(r!==t.scope.getBinding(e.node.name))return;t.bindings[e.node.name]=r}};class PathHoister{constructor(e,t){this.breakOnScopePaths=void 0;this.bindings=void 0;this.mutableBinding=void 0;this.scopes=void 0;this.scope=void 0;this.path=void 0;this.attachAfter=void 0;this.breakOnScopePaths=[];this.bindings={};this.mutableBinding=false;this.scopes=[];this.scope=t;this.path=e;this.attachAfter=false}isCompatibleScope(e){for(const t of Object.keys(this.bindings)){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier)){return false}}return true}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e)){this.scopes.push(e)}else{break}if(this.breakOnScopePaths.indexOf(e.path)>=0){break}}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e){t=e.scope.parent}if(t.path.isProgram()||t.path.isFunction()){for(const r of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if(n.kind==="param"||n.path.parentKey==="params"){continue}const s=this.getAttachmentParentForPath(n.path);if(s.key>=e.key){this.attachAfter=true;e=n.path;for(const t of n.constantViolations){if(this.getAttachmentParentForPath(t).key>e.key){e=t}}}}}return e}_getAttachmentPath(){const e=this.scopes;const t=e.pop();if(!t)return;if(t.path.isFunction()){if(this.hasOwnParamBindings(t)){if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t<e.length;t++){if(e[t].node._blockHoist)continue;return e[t]}}else{return this.getNextScopeAttachmentParent()}}else if(t.path.isProgram()){return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){const e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement()){return e}}while(e=e.parentPath)}hasOwnParamBindings(e){for(const t of Object.keys(this.bindings)){if(!e.hasOwnBinding(t))continue;const r=this.bindings[t];if(r.kind==="param"&&r.constant)return true}return false}run(){this.path.traverse(u,this);if(this.mutableBinding)return;this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const r=c(t,this.path.node);const n=this.attachAfter?"insertAfter":"insertBefore";const[s]=e[n]([e.isVariableDeclarator()?r:l("var",[r])]);const i=this.path.parentPath;if(i.isJSXElement()&&this.path.container===i.node.children){t=o(t)}this.path.replaceWith(a(t));return e.isVariableDeclarator()?s.get("init"):s.get("declarations.0.init")}}t["default"]=PathHoister},3857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hooks=void 0;const r=[function(e,t){const r=e.key==="test"&&(t.isWhile()||t.isSwitchCase())||e.key==="declaration"&&t.isExportDeclaration()||e.key==="body"&&t.isLabeledStatement()||e.listKey==="declarations"&&t.isVariableDeclaration()&&t.node.declarations.length===1||e.key==="expression"&&t.isExpressionStatement();if(r){t.remove();return true}},function(e,t){if(t.isSequenceExpression()&&t.node.expressions.length===1){t.replaceWith(t.node.expressions[0]);return true}},function(e,t){if(t.isBinary()){if(e.key==="left"){t.replaceWith(t.node.right)}else{t.replaceWith(t.node.left)}return true}},function(e,t){if(t.isIfStatement()&&e.key==="consequent"||e.key==="body"&&(t.isLoop()||t.isArrowFunctionExpression())){e.replaceWith({type:"BlockStatement",body:[]});return true}}];t.hooks=r},2957:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isBindingIdentifier=isBindingIdentifier;t.isBlockScoped=isBlockScoped;t.isExistentialTypeParam=isExistentialTypeParam;t.isExpression=isExpression;t.isFlow=isFlow;t.isForAwaitStatement=isForAwaitStatement;t.isGenerated=isGenerated;t.isNumericLiteralTypeAnnotation=isNumericLiteralTypeAnnotation;t.isPure=isPure;t.isReferenced=isReferenced;t.isReferencedIdentifier=isReferencedIdentifier;t.isReferencedMemberExpression=isReferencedMemberExpression;t.isRestProperty=isRestProperty;t.isScope=isScope;t.isSpreadProperty=isSpreadProperty;t.isStatement=isStatement;t.isUser=isUser;t.isVar=isVar;var n=r(776);const{isBinding:s,isBlockScoped:i,isExportDeclaration:a,isExpression:o,isFlow:l,isForStatement:c,isForXStatement:u,isIdentifier:p,isImportDeclaration:f,isImportSpecifier:d,isJSXIdentifier:h,isJSXMemberExpression:m,isMemberExpression:y,isRestElement:g,isReferenced:b,isScope:T,isStatement:S,isVar:E,isVariableDeclaration:x,react:v,isForOfStatement:P}=n;const{isCompatTag:A}=v;function isReferencedIdentifier(e){const{node:t,parent:r}=this;if(!p(t,e)&&!m(r,e)){if(h(t,e)){if(A(t.name))return false}else{return false}}return b(t,r,this.parentPath.parent)}function isReferencedMemberExpression(){const{node:e,parent:t}=this;return y(e)&&b(e,t)}function isBindingIdentifier(){const{node:e,parent:t}=this;const r=this.parentPath.parent;return p(e)&&s(e,t,r)}function isStatement(){const{node:e,parent:t}=this;if(S(e)){if(x(e)){if(u(t,{left:e}))return false;if(c(t,{init:e}))return false}return true}else{return false}}function isExpression(){if(this.isIdentifier()){return this.isReferencedIdentifier()}else{return o(this.node)}}function isScope(){return T(this.node,this.parent)}function isReferenced(){return b(this.node,this.parent)}function isBlockScoped(){return i(this.node)}function isVar(){return E(this.node)}function isUser(){return this.node&&!!this.node.loc}function isGenerated(){return!this.isUser()}function isPure(e){return this.scope.isPure(this.node,e)}function isFlow(){const{node:e}=this;if(l(e)){return true}else if(f(e)){return e.importKind==="type"||e.importKind==="typeof"}else if(a(e)){return e.exportKind==="type"}else if(d(e)){return e.importKind==="type"||e.importKind==="typeof"}else{return false}}function isRestProperty(){return g(this.node)&&this.parentPath&&this.parentPath.isObjectPattern()}function isSpreadProperty(){return g(this.node)&&this.parentPath&&this.parentPath.isObjectExpression()}function isForAwaitStatement(){return P(this.node,{await:true})}function isExistentialTypeParam(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")}function isNumericLiteralTypeAnnotation(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},8958:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0;const r=["Identifier","JSXIdentifier"];t.ReferencedIdentifier=r;const n=["MemberExpression"];t.ReferencedMemberExpression=n;const s=["Identifier"];t.BindingIdentifier=s;const i=["Statement"];t.Statement=i;const a=["Expression"];t.Expression=a;const o=["Scopable","Pattern"];t.Scope=o;const l=null;t.Referenced=l;const c=null;t.BlockScoped=c;const u=["VariableDeclaration"];t.Var=u;const p=null;t.User=p;const f=null;t.Generated=f;const d=null;t.Pure=d;const h=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"];t.Flow=h;const m=["RestElement"];t.RestProperty=m;const y=["RestElement"];t.SpreadProperty=y;const g=["ExistsTypeAnnotation"];t.ExistentialTypeParam=g;const b=["NumberLiteralTypeAnnotation"];t.NumericLiteralTypeAnnotation=b;const T=["ForOfStatement"];t.ForAwaitStatement=T},6799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._containerInsert=_containerInsert;t._containerInsertAfter=_containerInsertAfter;t._containerInsertBefore=_containerInsertBefore;t._verifyNodeList=_verifyNodeList;t.hoist=hoist;t.insertAfter=insertAfter;t.insertBefore=insertBefore;t.pushContainer=pushContainer;t.unshiftContainer=unshiftContainer;t.updateSiblingKeys=updateSiblingKeys;var n=r(6419);var s=r(2350);var i=r(8485);var a=r(776);const{arrowFunctionExpression:o,assertExpression:l,assignmentExpression:c,blockStatement:u,callExpression:p,cloneNode:f,expressionStatement:d,isAssignmentExpression:h,isCallExpression:m,isExportNamedDeclaration:y,isExpression:g,isIdentifier:b,isSequenceExpression:T,isSuper:S,thisExpression:E}=a;function insertBefore(e){this._assertUnremoved();const t=this._verifyNodeList(e);const{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||y(n)||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertBefore(t)}else if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node)t.push(this.node);return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertBefore(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(u(r?[e]:[]));return this.unshiftContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function _containerInsert(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n<t.length;n++){const t=e+n;const s=this.getSibling(t);r.push(s);if(this.context&&this.context.queue){s.pushContext(this.context)}}const n=this._getQueueContexts();for(const e of r){e.setScope();e.debug("Inserted.");for(const t of n){t.maybeQueue(e,true)}}return r}function _containerInsertBefore(e){return this._containerInsert(this.key,e)}function _containerInsertAfter(e){return this._containerInsert(this.key+1,e)}const last=e=>e[e.length-1];function isHiddenInSequenceExpression(e){return T(e.parent)&&(last(e.parent.expressions)!==e.node||isHiddenInSequenceExpression(e.parentPath))}function isAlmostConstantAssignment(e,t){if(!h(e)||!b(e.left)){return false}const r=t.getBlockParent();return r.hasOwnBinding(e.left.name)&&r.getOwnBinding(e.left.name).constantViolations.length<=1}function insertAfter(e){this._assertUnremoved();if(this.isSequenceExpression()){return last(this.get("expressions")).insertAfter(e)}const t=this._verifyNodeList(e);const{parentPath:r,parent:n}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||y(n)||r.isExportDefaultDeclaration()&&this.isDeclaration()){return r.insertAfter(t.map((e=>g(e)?d(e):e)))}else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern()){l(e);this.replaceWith(p(o([],e),[]));this.get("callee.body").insertAfter(t);return[this]}if(isHiddenInSequenceExpression(this)){t.unshift(e)}else if(m(e)&&S(e.callee)){t.unshift(e);t.push(E())}else if(isAlmostConstantAssignment(e,n)){t.unshift(e);t.push(f(e.left))}else if(n.isPure(e,true)){t.push(e)}else{if(r.isMethod({computed:true,key:e})){n=n.parent}const s=n.generateDeclaredUidIdentifier();t.unshift(d(c("=",f(s),e)));t.push(d(f(s)))}}return this.replaceExpressionWithStatements(t)}else if(Array.isArray(this.container)){return this._containerInsertAfter(t)}else if(this.isStatementOrBlock()){const e=this.node;const r=e&&(!this.isExpressionStatement()||e.expression!=null);this.replaceWith(u(r?[e]:[]));return this.pushContainer("body",t)}else{throw new Error("We don't know what to do with this node type. "+"We were previously a Statement but we can't fit in here?")}}function updateSiblingKeys(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r){if(typeof n.key==="number"&&n.key>=e){n.key+=t}}}function _verifyNodeList(e){if(!e){return[]}if(!Array.isArray(e)){e=[e]}for(let t=0;t<e.length;t++){const r=e[t];let n;if(!r){n="has falsy node"}else if(typeof r!=="object"){n="contains a non-object node"}else if(!r.type){n="without a type"}else if(r instanceof i.default){n="has a NodePath when it expected a raw object"}if(n){const e=Array.isArray(r)?"array":typeof r;throw new Error(`Node list ${n} with the index of ${t} and type of ${e}`)}}return e}function unshiftContainer(e,t){this._assertUnremoved();t=this._verifyNodeList(t);const r=i.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return r._containerInsertBefore(t)}function pushContainer(e,t){this._assertUnremoved();const r=this._verifyNodeList(t);const n=this.node[e];const s=i.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context);return s.replaceWithMultiple(r)}function hoist(e=this.scope){const t=new s.default(this,e);return t.run()}},4565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._assertUnremoved=_assertUnremoved;t._callRemovalHooks=_callRemovalHooks;t._markRemoved=_markRemoved;t._remove=_remove;t._removeFromScope=_removeFromScope;t.remove=remove;var n=r(3857);var s=r(6419);var i=r(8485);function remove(){var e;this._assertUnremoved();this.resync();if(!((e=this.opts)!=null&&e.noScope)){this._removeFromScope()}if(this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings();this._remove();this._markRemoved()}function _removeFromScope(){const e=this.getBindingIdentifiers();Object.keys(e).forEach((e=>this.scope.removeBinding(e)))}function _callRemovalHooks(){for(const e of n.hooks){if(e(this,this.parentPath))return true}}function _remove(){if(Array.isArray(this.container)){this.container.splice(this.key,1);this.updateSiblingKeys(this.key,-1)}else{this._replaceWith(null)}}function _markRemoved(){this._traverseFlags|=i.SHOULD_SKIP|i.REMOVED;if(this.parent)s.path.get(this.parent).delete(this.node);this.node=null}function _assertUnremoved(){if(this.removed){throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}}},9554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t._replaceWith=_replaceWith;t.replaceExpressionWithStatements=replaceExpressionWithStatements;t.replaceInline=replaceInline;t.replaceWith=replaceWith;t.replaceWithMultiple=replaceWithMultiple;t.replaceWithSourceString=replaceWithSourceString;var n=r(2430);var s=r(2297);var i=r(8485);var a=r(6419);var o=r(7383);var l=r(776);var c=r(405);const{FUNCTION_TYPES:u,arrowFunctionExpression:p,assignmentExpression:f,awaitExpression:d,blockStatement:h,callExpression:m,cloneNode:y,expressionStatement:g,identifier:b,inheritLeadingComments:T,inheritTrailingComments:S,inheritsComments:E,isExpression:x,isProgram:v,isStatement:P,removeComments:A,returnStatement:w,toSequenceExpression:C,validate:I,yieldExpression:O}=l;function replaceWithMultiple(e){var t;this.resync();e=this._verifyNodeList(e);T(e[0],this.node);S(e[e.length-1],this.node);(t=a.path.get(this.parent))==null?void 0:t.delete(this.node);this.node=this.container[this.key]=null;const r=this.insertAfter(e);if(this.node){this.requeue()}else{this.remove()}return r}function replaceWithSourceString(e){this.resync();let t;try{e=`(${e})`;t=(0,o.parse)(e)}catch(t){const r=t.loc;if(r){t.message+=" - make sure this is an expression.\n"+(0,n.codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}});t.code="BABEL_REPLACE_SOURCE_ERROR"}throw t}const r=t.program.body[0].expression;s.default.removeProperties(r);return this.replaceWith(r)}function replaceWith(e){this.resync();if(this.removed){throw new Error("You can't replace this node, we've already removed it")}let t=e instanceof i.default?e.node:e;if(!t){throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead")}if(this.node===t){return[this]}if(this.isProgram()&&!v(t)){throw new Error("You can only replace a Program root node with another Program node")}if(Array.isArray(t)){throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`")}if(typeof t==="string"){throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`")}let r="";if(this.isNodeType("Statement")&&x(t)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)&&!this.parentPath.isExportDefaultDeclaration()){t=g(t);r="expression"}}if(this.isNodeType("Expression")&&P(t)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t)){return this.replaceExpressionWithStatements([t])}}const n=this.node;if(n){E(t,n);A(n)}this._replaceWith(t);this.type=t.type;this.setScope();this.requeue();return[r?this.get(r):this]}function _replaceWith(e){var t;if(!this.container){throw new ReferenceError("Container is falsy")}if(this.inList){I(this.parent,this.key,[e])}else{I(this.parent,this.key,e)}this.debug(`Replace with ${e==null?void 0:e.type}`);(t=a.path.get(this.parent))==null?void 0:t.set(e,this).delete(this.node);this.node=this.container[this.key]=e}function replaceExpressionWithStatements(e){this.resync();const t=C(e,this.scope);if(t){return this.replaceWith(t)[0].get("expressions")}const r=this.getFunctionParent();const n=r==null?void 0:r.is("async");const i=r==null?void 0:r.is("generator");const a=p([],h(e));this.replaceWith(m(a,[]));const o=this.get("callee");(0,c.default)(o.get("body"),(e=>{this.scope.push({id:e})}),"var");const l=this.get("callee").getCompletionRecords();for(const e of l){if(!e.isExpressionStatement())continue;const t=e.findParent((e=>e.isLoop()));if(t){let r=t.getData("expressionReplacementReturnUid");if(!r){r=o.scope.generateDeclaredUidIdentifier("ret");o.get("body").pushContainer("body",w(y(r)));t.setData("expressionReplacementReturnUid",r)}else{r=b(r.name)}e.get("expression").replaceWith(f("=",y(r),e.node.expression))}else{e.replaceWith(w(e.node.expression))}}o.arrowFunctionToExpression();const g=o;const T=n&&s.default.hasType(this.get("callee.body").node,"AwaitExpression",u);const S=i&&s.default.hasType(this.get("callee.body").node,"YieldExpression",u);if(T){g.set("async",true);if(!S){this.replaceWith(d(this.node))}}if(S){g.set("generator",true);this.replaceWith(O(this.node,true))}return g.get("body.body")}function replaceInline(e){this.resync();if(Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);this.remove();return t}else{return this.replaceWithMultiple(e)}}else{return this.replaceWith(e)}}},9307:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;class Binding{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=void 0;this.scope=void 0;this.path=void 0;this.kind=void 0;this.constantViolations=[];this.constant=true;this.referencePaths=[];this.referenced=false;this.references=0;this.identifier=e;this.scope=t;this.path=r;this.kind=n;if((n==="var"||n==="hoisted")&&isDeclaredInLoop(r||(()=>{throw new Error("Internal Babel error: unreachable ")})())){this.reassign(r)}this.clearValue()}deoptValue(){this.clearValue();this.hasDeoptedValue=true}setValue(e){if(this.hasDeoptedValue)return;this.hasValue=true;this.value=e}clearValue(){this.hasDeoptedValue=false;this.hasValue=false;this.value=null}reassign(e){this.constant=false;if(this.constantViolations.indexOf(e)!==-1){return}this.constantViolations.push(e)}reference(e){if(this.referencePaths.indexOf(e)!==-1){return}this.referenced=true;this.references++;this.referencePaths.push(e)}dereference(){this.references--;this.referenced=!!this.references}}t["default"]=Binding;function isDeclaredInLoop(e){for(let{parentPath:t,key:r}=e;t;({parentPath:t,key:r}=t)){if(t.isFunctionParent())return false;if(t.isWhile()||t.isForXStatement()||t.isForStatement()&&r==="body"){return true}}return false}},9632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(5391);var s=r(2297);var i=r(9307);var a=r(6929);var o=r(776);var l=r(6419);var c=r(5399);const{NOT_LOCAL_BINDING:u,callExpression:p,cloneNode:f,getBindingIdentifiers:d,identifier:h,isArrayExpression:m,isBinary:y,isClass:g,isClassBody:b,isClassDeclaration:T,isExportAllDeclaration:S,isExportDefaultDeclaration:E,isExportNamedDeclaration:x,isFunctionDeclaration:v,isIdentifier:P,isImportDeclaration:A,isLiteral:w,isMethod:C,isModuleSpecifier:I,isNullLiteral:O,isObjectExpression:k,isProperty:N,isPureish:_,isRegExpLiteral:D,isSuper:M,isTaggedTemplateExpression:L,isTemplateLiteral:j,isThisExpression:F,isUnaryExpression:B,isVariableDeclaration:R,matchesPattern:U,memberExpression:V,numericLiteral:K,toIdentifier:W,unaryExpression:$,variableDeclaration:q,variableDeclarator:H,isRecordExpression:J,isTupleExpression:G,isObjectProperty:X,isTopicReference:z,isMetaProperty:Y,isPrivateName:Q,isExportDeclaration:Z}=o;function gatherNodeParts(e,t){switch(e==null?void 0:e.type){default:if(A(e)||Z(e)){if((S(e)||x(e)||A(e))&&e.source){gatherNodeParts(e.source,t)}else if((x(e)||A(e))&&e.specifiers&&e.specifiers.length){for(const r of e.specifiers)gatherNodeParts(r,t)}else if((E(e)||x(e))&&e.declaration){gatherNodeParts(e.declaration,t)}}else if(I(e)){gatherNodeParts(e.local,t)}else if(w(e)&&!O(e)&&!D(e)&&!j(e)){t.push(e.value)}break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(e.object,t);gatherNodeParts(e.property,t);break;case"Identifier":case"JSXIdentifier":t.push(e.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(e.callee,t);break;case"ObjectExpression":case"ObjectPattern":for(const r of e.properties){gatherNodeParts(r,t)}break;case"SpreadElement":case"RestElement":gatherNodeParts(e.argument,t);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(e.key,t);break;case"ThisExpression":t.push("this");break;case"Super":t.push("super");break;case"Import":t.push("import");break;case"DoExpression":t.push("do");break;case"YieldExpression":t.push("yield");gatherNodeParts(e.argument,t);break;case"AwaitExpression":t.push("await");gatherNodeParts(e.argument,t);break;case"AssignmentExpression":gatherNodeParts(e.left,t);break;case"VariableDeclarator":gatherNodeParts(e.id,t);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":gatherNodeParts(e.id,t);break;case"PrivateName":gatherNodeParts(e.id,t);break;case"ParenthesizedExpression":gatherNodeParts(e.expression,t);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(e.argument,t);break;case"MetaProperty":gatherNodeParts(e.meta,t);gatherNodeParts(e.property,t);break;case"JSXElement":gatherNodeParts(e.openingElement,t);break;case"JSXOpeningElement":gatherNodeParts(e.name,t);break;case"JSXFragment":gatherNodeParts(e.openingFragment,t);break;case"JSXOpeningFragment":t.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(e.namespace,t);gatherNodeParts(e.name,t);break}}const ee={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:r}=e;const n=r.getFunctionParent()||r.getProgramParent();n.registerBinding("var",t)}},Declaration(e){if(e.isBlockScoped())return;if(e.isImportDeclaration())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ImportDeclaration(e){const t=e.scope.getBlockParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier()){t.constantViolations.push(e)}else if(r.isVar()){const{scope:t}=e;const n=t.getFunctionParent()||t.getProgramParent();n.registerBinding("var",r)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(S(t))return;const n=t.declaration;if(T(n)||v(n)){const t=n.id;if(!t)return;const s=r.getBinding(t.name);s==null?void 0:s.reference(e)}else if(R(n)){for(const t of n.declarations){for(const n of Object.keys(d(t))){const t=r.getBinding(n);t==null?void 0:t.reference(e)}}}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){if(e.node.operator==="delete"){t.constantViolations.push(e)}},BlockScoped(e){let t=e.scope;if(t.path===e)t=t.parent;const r=t.getBlockParent();r.registerDeclaration(e);if(e.isClassDeclaration()&&e.node.id){const t=e.node.id;const r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const r of t){e.scope.registerBinding("param",r)}if(e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[u]){e.scope.registerBinding("local",e.get("id"),e)}},ClassExpression(e){if(e.has("id")&&!e.get("id").node[u]){e.scope.registerBinding("local",e)}}};let te=0;class Scope{constructor(e){this.uid=void 0;this.path=void 0;this.block=void 0;this.labels=void 0;this.inited=void 0;this.bindings=void 0;this.references=void 0;this.globals=void 0;this.uids=void 0;this.data=void 0;this.crawling=void 0;const{node:t}=e;const r=l.scope.get(t);if((r==null?void 0:r.path)===e){return r}l.scope.set(t,this);this.uid=te++;this.block=t;this.path=e;this.labels=new Map;this.inited=false}get parent(){var e;let t,r=this.path;do{const e=r.key==="key"||r.listKey==="decorators";r=r.parentPath;if(e&&r.isMethod())r=r.parentPath;if(r&&r.isScope())t=r}while(r&&!t);return(e=t)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,s.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);this.push({id:t});return f(t)}generateUidIdentifier(e){return h(this.generateUid(e))}generateUid(e="temp"){e=W(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let t;let r=1;do{t=this._generateUid(e,r);r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();n.references[t]=true;n.uids[t]=true;return t}_generateUid(e,t){let r=e;if(t>1)r+=t;return`_${r}`}generateUidBasedOnNode(e,t){const r=[];gatherNodeParts(e,r);let n=r.join("$");n=n.replace(/^_/,"")||t||"ref";return this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return h(this.generateUidBasedOnNode(e,t))}isStatic(e){if(F(e)||M(e)||z(e)){return true}if(P(e)){const t=this.getBinding(e.name);if(t){return t.constant}else{return this.hasBinding(e.name)}}return false}maybeGenerateMemoised(e,t){if(this.isStatic(e)){return null}else{const r=this.generateUidIdentifierBasedOnNode(e);if(!t){this.push({id:r});return f(r)}return r}}checkBlockScopedCollisions(e,t,r,n){if(t==="param")return;if(e.kind==="local")return;const s=t==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&t==="const";if(s){throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}}rename(e,t){const r=this.getBinding(e);if(r){t||(t=this.generateUidIdentifier(e).name);const s=new n.default(r,e,t);{s.rename(arguments[2])}}}_renameFromMap(e,t,r,n){if(e[t]){e[r]=n;e[t]=null}}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(t.bindings)){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t,r){if(P(e)){const t=this.getBinding(e.name);if(t!=null&&t.constant&&t.path.isGenericType("Array")){return e}}if(m(e)){return e}if(P(e,{name:"arguments"})){return p(V(V(V(h("Array"),h("prototype")),h("slice")),h("call")),[e])}let n;const s=[e];if(t===true){n="toConsumableArray"}else if(typeof t==="number"){s.push(K(t));n="slicedToArray"}else{n="toArray"}if(r){s.unshift(this.hub.addHelper(n));n="maybeArrayLike"}return p(this.hub.addHelper(n),s)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement()){this.registerLabel(e)}else if(e.isFunctionDeclaration()){this.registerBinding("hoisted",e.get("id"),e)}else if(e.isVariableDeclaration()){const t=e.get("declarations");const{kind:r}=e.node;for(const e of t){this.registerBinding(r==="using"||r==="await using"?"const":r,e)}}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){const t=e.node.importKind==="type"||e.node.importKind==="typeof";const r=e.get("specifiers");for(const e of r){const r=t||e.isImportSpecifier()&&(e.node.importKind==="type"||e.node.importKind==="typeof");this.registerBinding(r?"unknown":"module",e)}}else if(e.isExportDeclaration()){const t=e.get("declaration");if(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration()){this.registerDeclaration(t)}}else{this.registerBinding("unknown",e)}}buildUndefinedNode(){return $("void",K(0),true)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(t)){const t=this.getBinding(r);if(t)t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r){this.registerBinding(e,t)}return}const n=this.getProgramParent();const s=t.getOuterBindingIdentifiers(true);for(const t of Object.keys(s)){n.references[t]=true;for(const n of s[t]){const s=this.getOwnBinding(t);if(s){if(s.identifier===n)continue;this.checkBlockScopedCollisions(s,e,t,n)}if(s){this.registerConstantViolation(r)}else{this.bindings[t]=new i.default({identifier:n,scope:this,path:r,kind:e})}}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return true}while(t=t.parent);return false}hasGlobal(e){let t=this;do{if(t.globals[e])return true}while(t=t.parent);return false}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,t){if(P(e)){const r=this.getBinding(e.name);if(!r)return false;if(t)return r.constant;return true}else if(F(e)||Y(e)||z(e)||Q(e)){return true}else if(g(e)){var r;if(e.superClass&&!this.isPure(e.superClass,t)){return false}if(((r=e.decorators)==null?void 0:r.length)>0){return false}return this.isPure(e.body,t)}else if(b(e)){for(const r of e.body){if(!this.isPure(r,t))return false}return true}else if(y(e)){return this.isPure(e.left,t)&&this.isPure(e.right,t)}else if(m(e)||G(e)){for(const r of e.elements){if(r!==null&&!this.isPure(r,t))return false}return true}else if(k(e)||J(e)){for(const r of e.properties){if(!this.isPure(r,t))return false}return true}else if(C(e)){var n;if(e.computed&&!this.isPure(e.key,t))return false;if(((n=e.decorators)==null?void 0:n.length)>0){return false}return true}else if(N(e)){var s;if(e.computed&&!this.isPure(e.key,t))return false;if(((s=e.decorators)==null?void 0:s.length)>0){return false}if(X(e)||e.static){if(e.value!==null&&!this.isPure(e.value,t)){return false}}return true}else if(B(e)){return this.isPure(e.argument,t)}else if(L(e)){return U(e.tag,"String.raw")&&!this.hasBinding("String",true)&&this.isPure(e.quasi,t)}else if(j(e)){for(const r of e.expressions){if(!this.isPure(r,t))return false}return true}else{return _(e)}}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(r!=null)return r}while(t=t.parent)}removeData(e){let t=this;do{const r=t.data[e];if(r!=null)t.data[e]=null}while(t=t.parent)}init(){if(!this.inited){this.inited=true;this.crawl()}}crawl(){const e=this.path;this.references=Object.create(null);this.bindings=Object.create(null);this.globals=Object.create(null);this.uids=Object.create(null);this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};this.crawling=true;if(e.type!=="Program"&&(0,c.isExplodedVisitor)(ee)){for(const t of ee.enter){t.call(r,e,r)}const t=ee[e.type];if(t){for(const n of t.enter){n.call(r,e,r)}}}e.traverse(ee,r);this.crawling=false;for(const e of r.assignments){const r=e.getBindingIdentifiers();for(const n of Object.keys(r)){if(e.scope.getBinding(n))continue;t.addGlobal(r[n])}e.scope.registerConstantViolation(e)}for(const e of r.references){const r=e.scope.getBinding(e.node.name);if(r){r.reference(e)}else{t.addGlobal(e.node)}}for(const e of r.constantViolations){e.scope.registerConstantViolation(e)}}push(e){let t=this.path;if(t.isPattern()){t=this.getPatternParent().path}else if(!t.isBlockStatement()&&!t.isProgram()){t=this.getBlockParent().path}if(t.isSwitchStatement()){t=(this.getFunctionParent()||this.getProgramParent()).path}if(t.isLoop()||t.isCatchClause()||t.isFunction()){t.ensureBlock();t=t.get("body")}const r=e.unique;const n=e.kind||"var";const s=e._blockHoist==null?2:e._blockHoist;const i=`declaration:${n}:${s}`;let a=!r&&t.getData(i);if(!a){const e=q(n,[]);e._blockHoist=s;[a]=t.unshiftContainer("body",[e]);if(!r)t.setData(i,a)}const o=H(e.id,e.init);const l=a.node.declarations.push(o);t.scope.registerBinding(n,a.get("declarations")[l-1])}getProgramParent(){let e=this;do{if(e.path.isProgram()){return e}}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent()){return e}}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent()){return e}}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do{if(!e.path.isPattern()){return e.getBlockParent()}}while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{for(const r of Object.keys(t.bindings)){if(r in e===false){e[r]=t.bindings[r]}}t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const s=e.bindings[n];if(s.kind===r)t[n]=s}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;let r;do{const s=t.getOwnBinding(e);if(s){var n;if((n=r)!=null&&n.isPattern()&&s.kind!=="param"&&s.kind!=="local"){}else{return s}}else if(!s&&e==="arguments"&&t.path.isFunction()&&!t.path.isArrowFunctionExpression()){break}r=t.path}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return(t=this.getBinding(e))==null?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t==null?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){var r,n,s;if(!e)return false;if(this.hasOwnBinding(e))return true;{if(typeof t==="boolean")t={noGlobals:t}}if(this.parentHasBinding(e,t))return true;if(!((r=t)!=null&&r.noUids)&&this.hasUid(e))return true;if(!((n=t)!=null&&n.noGlobals)&&Scope.globals.includes(e))return true;if(!((s=t)!=null&&s.noGlobals)&&Scope.contextVariables.includes(e))return true;return false}parentHasBinding(e,t){var r;return(r=this.parent)==null?void 0:r.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);if(r){r.scope.removeOwnBinding(e);r.scope=t;t.bindings[e]=r}}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var t;(t=this.getBinding(e))==null?void 0:t.scope.removeOwnBinding(e);let r=this;do{if(r.uids[e]){r.uids[e]=false}}while(r=r.parent)}}t["default"]=Scope;Scope.globals=Object.keys(a.builtin);Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},5391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(4097);var s=r(776);var i=r(8552);var a=r(81);var o=r(5399);const l={ReferencedIdentifier({node:e},t){if(e.name===t.oldName){e.name=t.newName}},Scope(e,t){if(!e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)){e.skip();if(e.isMethod()){(0,i.requeueComputedKeyAndDecorators)(e)}}},ObjectProperty({node:e,scope:t},r){const{name:n}=e.key;if(e.shorthand&&(n===r.oldName||n===r.newName)&&t.getBindingIdentifier(n)===r.binding.identifier){var s;e.shorthand=false;if((s=e.extra)!=null&&s.shorthand)e.extra.shorthand=false}},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const e in r){if(e===t.oldName)r[e].name=t.newName}}};class Renamer{constructor(e,t,r){this.newName=r;this.oldName=t;this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;if(!t.isExportDeclaration()){return}if(t.isExportDefaultDeclaration()){const{declaration:e}=t.node;if(s.isDeclaration(e)&&!e.id){return}}if(t.isExportAllDeclaration()){return}(0,n.default)(t)}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){const{binding:e,oldName:t,newName:r}=this;const{scope:n,path:s}=e;const i=s.find((e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression()));if(i){const r=i.getOuterBindingIdentifiers();if(r[t]===e.identifier){this.maybeConvertFromExportDeclaration(i)}}const c=arguments[0]||n.block;(0,a.traverseNode)(c,(0,o.explode)(l),n,this,n.path,{discriminant:true});if(!arguments[0]){n.removeOwnBinding(t);n.bindings[r]=e;this.binding.identifier.name=r}if(i){this.maybeConvertFromClassFunctionDeclaration(s);this.maybeConvertFromClassFunctionExpression(s)}}}t["default"]=Renamer},81:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.traverseNode=traverseNode;var n=r(6983);var s=r(776);const{VISITOR_KEYS:i}=s;function traverseNode(e,t,r,s,a,o){const l=i[e.type];if(!l)return false;const c=new n.default(r,t,s,a);for(const t of l){if(o&&o[t])continue;if(c.visit(e,t)){return true}}return false}},5399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.explode=explode;t.isExplodedVisitor=isExplodedVisitor;t.merge=merge;t.verify=verify;var n=r(8958);var s=r(776);const{DEPRECATED_KEYS:i,DEPRECATED_ALIASES:a,FLIPPED_ALIAS_KEYS:o,TYPES:l,__internal__deprecationWarning:c}=s;function isVirtualType(e){return e in n}function isExplodedVisitor(e){return e==null?void 0:e._exploded}function explode(e){if(isExplodedVisitor(e))return e;e._exploded=true;for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=t.split("|");if(r.length===1)continue;const n=e[t];delete e[t];for(const t of r){e[t]=n}}verify(e);delete e.__esModule;ensureEntranceObjects(e);ensureCallbackArrays(e);for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;if(!isVirtualType(t))continue;const r=e[t];for(const e of Object.keys(r)){r[e]=wrapCheck(t,r[e])}delete e[t];const s=n[t];if(s!==null){for(const t of s){if(e[t]){mergePair(e[t],r)}else{e[t]=r}}}else{mergePair(e,r)}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;let r=o[t];if(t in i){const e=i[t];c(t,e,"Visitor ");r=[e]}else if(t in a){const e=a[t];c(t,e,"Visitor ");r=o[e]}if(!r)continue;const n=e[t];delete e[t];for(const t of r){const r=e[t];if(r){mergePair(r,n)}else{e[t]=Object.assign({},n)}}}for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;ensureCallbackArrays(e[t])}return e}function verify(e){if(e._verified)return;if(typeof e==="function"){throw new Error("You passed `traverse()` a function when it expected a visitor object, "+"are you sure you didn't mean `{ enter: Function }`?")}for(const t of Object.keys(e)){if(t==="enter"||t==="exit"){validateVisitorMethods(t,e[t])}if(shouldIgnoreKey(t))continue;if(l.indexOf(t)<0){throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`)}const r=e[t];if(typeof r==="object"){for(const e of Object.keys(r)){if(e==="enter"||e==="exit"){validateVisitorMethods(`${t}.${e}`,r[e])}else{throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`)}}}}e._verified=true}function validateVisitorMethods(e,t){const r=[].concat(t);for(const t of r){if(typeof t!=="function"){throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}}}function merge(e,t=[],r){const n={};for(let s=0;s<e.length;s++){const i=e[s];const a=t[s];explode(i);for(const e of Object.keys(i)){let t=i[e];if(a||r){t=wrapWithStateOrWrapper(t,a,r)}const s=n[e]||(n[e]={});mergePair(s,t)}}return n}function wrapWithStateOrWrapper(e,t,r){const n={};for(const s of Object.keys(e)){let i=e[s];if(!Array.isArray(i))continue;i=i.map((function(e){let n=e;if(t){n=function(r){e.call(t,r,t)}}if(r){n=r(t.key,s,n)}if(n!==e){n.toString=()=>e.toString()}return n}));n[s]=i}return n}function ensureEntranceObjects(e){for(const t of Object.keys(e)){if(shouldIgnoreKey(t))continue;const r=e[t];if(typeof r==="function"){e[t]={enter:r}}}}function ensureCallbackArrays(e){if(e.enter&&!Array.isArray(e.enter))e.enter=[e.enter];if(e.exit&&!Array.isArray(e.exit))e.exit=[e.exit]}function wrapCheck(e,t){const newFn=function(r){if(r[`is${e}`]()){return t.apply(this,arguments)}};newFn.toString=()=>t.toString();return newFn}function shouldIgnoreKey(e){if(e[0]==="_")return true;if(e==="enter"||e==="exit"||e==="shouldSkip")return true;if(e==="denylist"||e==="noScope"||e==="skipKeys"){return true}{if(e==="blacklist"){return true}}return false}function mergePair(e,t){for(const r of Object.keys(t)){e[r]=[].concat(e[r]||[],t[r])}}},6958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=assertNode;var n=r(4955);function assertNode(e){if(!(0,n.default)(e)){var t;const r=(t=e==null?void 0:e.type)!=null?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}}},9174:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertAccessor=assertAccessor;t.assertAnyTypeAnnotation=assertAnyTypeAnnotation;t.assertArgumentPlaceholder=assertArgumentPlaceholder;t.assertArrayExpression=assertArrayExpression;t.assertArrayPattern=assertArrayPattern;t.assertArrayTypeAnnotation=assertArrayTypeAnnotation;t.assertArrowFunctionExpression=assertArrowFunctionExpression;t.assertAssignmentExpression=assertAssignmentExpression;t.assertAssignmentPattern=assertAssignmentPattern;t.assertAwaitExpression=assertAwaitExpression;t.assertBigIntLiteral=assertBigIntLiteral;t.assertBinary=assertBinary;t.assertBinaryExpression=assertBinaryExpression;t.assertBindExpression=assertBindExpression;t.assertBlock=assertBlock;t.assertBlockParent=assertBlockParent;t.assertBlockStatement=assertBlockStatement;t.assertBooleanLiteral=assertBooleanLiteral;t.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation;t.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation;t.assertBreakStatement=assertBreakStatement;t.assertCallExpression=assertCallExpression;t.assertCatchClause=assertCatchClause;t.assertClass=assertClass;t.assertClassAccessorProperty=assertClassAccessorProperty;t.assertClassBody=assertClassBody;t.assertClassDeclaration=assertClassDeclaration;t.assertClassExpression=assertClassExpression;t.assertClassImplements=assertClassImplements;t.assertClassMethod=assertClassMethod;t.assertClassPrivateMethod=assertClassPrivateMethod;t.assertClassPrivateProperty=assertClassPrivateProperty;t.assertClassProperty=assertClassProperty;t.assertCompletionStatement=assertCompletionStatement;t.assertConditional=assertConditional;t.assertConditionalExpression=assertConditionalExpression;t.assertContinueStatement=assertContinueStatement;t.assertDebuggerStatement=assertDebuggerStatement;t.assertDecimalLiteral=assertDecimalLiteral;t.assertDeclaration=assertDeclaration;t.assertDeclareClass=assertDeclareClass;t.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration;t.assertDeclareExportDeclaration=assertDeclareExportDeclaration;t.assertDeclareFunction=assertDeclareFunction;t.assertDeclareInterface=assertDeclareInterface;t.assertDeclareModule=assertDeclareModule;t.assertDeclareModuleExports=assertDeclareModuleExports;t.assertDeclareOpaqueType=assertDeclareOpaqueType;t.assertDeclareTypeAlias=assertDeclareTypeAlias;t.assertDeclareVariable=assertDeclareVariable;t.assertDeclaredPredicate=assertDeclaredPredicate;t.assertDecorator=assertDecorator;t.assertDirective=assertDirective;t.assertDirectiveLiteral=assertDirectiveLiteral;t.assertDoExpression=assertDoExpression;t.assertDoWhileStatement=assertDoWhileStatement;t.assertEmptyStatement=assertEmptyStatement;t.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation;t.assertEnumBody=assertEnumBody;t.assertEnumBooleanBody=assertEnumBooleanBody;t.assertEnumBooleanMember=assertEnumBooleanMember;t.assertEnumDeclaration=assertEnumDeclaration;t.assertEnumDefaultedMember=assertEnumDefaultedMember;t.assertEnumMember=assertEnumMember;t.assertEnumNumberBody=assertEnumNumberBody;t.assertEnumNumberMember=assertEnumNumberMember;t.assertEnumStringBody=assertEnumStringBody;t.assertEnumStringMember=assertEnumStringMember;t.assertEnumSymbolBody=assertEnumSymbolBody;t.assertExistsTypeAnnotation=assertExistsTypeAnnotation;t.assertExportAllDeclaration=assertExportAllDeclaration;t.assertExportDeclaration=assertExportDeclaration;t.assertExportDefaultDeclaration=assertExportDefaultDeclaration;t.assertExportDefaultSpecifier=assertExportDefaultSpecifier;t.assertExportNamedDeclaration=assertExportNamedDeclaration;t.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier;t.assertExportSpecifier=assertExportSpecifier;t.assertExpression=assertExpression;t.assertExpressionStatement=assertExpressionStatement;t.assertExpressionWrapper=assertExpressionWrapper;t.assertFile=assertFile;t.assertFlow=assertFlow;t.assertFlowBaseAnnotation=assertFlowBaseAnnotation;t.assertFlowDeclaration=assertFlowDeclaration;t.assertFlowPredicate=assertFlowPredicate;t.assertFlowType=assertFlowType;t.assertFor=assertFor;t.assertForInStatement=assertForInStatement;t.assertForOfStatement=assertForOfStatement;t.assertForStatement=assertForStatement;t.assertForXStatement=assertForXStatement;t.assertFunction=assertFunction;t.assertFunctionDeclaration=assertFunctionDeclaration;t.assertFunctionExpression=assertFunctionExpression;t.assertFunctionParent=assertFunctionParent;t.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation;t.assertFunctionTypeParam=assertFunctionTypeParam;t.assertGenericTypeAnnotation=assertGenericTypeAnnotation;t.assertIdentifier=assertIdentifier;t.assertIfStatement=assertIfStatement;t.assertImmutable=assertImmutable;t.assertImport=assertImport;t.assertImportAttribute=assertImportAttribute;t.assertImportDeclaration=assertImportDeclaration;t.assertImportDefaultSpecifier=assertImportDefaultSpecifier;t.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier;t.assertImportOrExportDeclaration=assertImportOrExportDeclaration;t.assertImportSpecifier=assertImportSpecifier;t.assertIndexedAccessType=assertIndexedAccessType;t.assertInferredPredicate=assertInferredPredicate;t.assertInterfaceDeclaration=assertInterfaceDeclaration;t.assertInterfaceExtends=assertInterfaceExtends;t.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation;t.assertInterpreterDirective=assertInterpreterDirective;t.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation;t.assertJSX=assertJSX;t.assertJSXAttribute=assertJSXAttribute;t.assertJSXClosingElement=assertJSXClosingElement;t.assertJSXClosingFragment=assertJSXClosingFragment;t.assertJSXElement=assertJSXElement;t.assertJSXEmptyExpression=assertJSXEmptyExpression;t.assertJSXExpressionContainer=assertJSXExpressionContainer;t.assertJSXFragment=assertJSXFragment;t.assertJSXIdentifier=assertJSXIdentifier;t.assertJSXMemberExpression=assertJSXMemberExpression;t.assertJSXNamespacedName=assertJSXNamespacedName;t.assertJSXOpeningElement=assertJSXOpeningElement;t.assertJSXOpeningFragment=assertJSXOpeningFragment;t.assertJSXSpreadAttribute=assertJSXSpreadAttribute;t.assertJSXSpreadChild=assertJSXSpreadChild;t.assertJSXText=assertJSXText;t.assertLVal=assertLVal;t.assertLabeledStatement=assertLabeledStatement;t.assertLiteral=assertLiteral;t.assertLogicalExpression=assertLogicalExpression;t.assertLoop=assertLoop;t.assertMemberExpression=assertMemberExpression;t.assertMetaProperty=assertMetaProperty;t.assertMethod=assertMethod;t.assertMiscellaneous=assertMiscellaneous;t.assertMixedTypeAnnotation=assertMixedTypeAnnotation;t.assertModuleDeclaration=assertModuleDeclaration;t.assertModuleExpression=assertModuleExpression;t.assertModuleSpecifier=assertModuleSpecifier;t.assertNewExpression=assertNewExpression;t.assertNoop=assertNoop;t.assertNullLiteral=assertNullLiteral;t.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation;t.assertNullableTypeAnnotation=assertNullableTypeAnnotation;t.assertNumberLiteral=assertNumberLiteral;t.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation;t.assertNumberTypeAnnotation=assertNumberTypeAnnotation;t.assertNumericLiteral=assertNumericLiteral;t.assertObjectExpression=assertObjectExpression;t.assertObjectMember=assertObjectMember;t.assertObjectMethod=assertObjectMethod;t.assertObjectPattern=assertObjectPattern;t.assertObjectProperty=assertObjectProperty;t.assertObjectTypeAnnotation=assertObjectTypeAnnotation;t.assertObjectTypeCallProperty=assertObjectTypeCallProperty;t.assertObjectTypeIndexer=assertObjectTypeIndexer;t.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot;t.assertObjectTypeProperty=assertObjectTypeProperty;t.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty;t.assertOpaqueType=assertOpaqueType;t.assertOptionalCallExpression=assertOptionalCallExpression;t.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType;t.assertOptionalMemberExpression=assertOptionalMemberExpression;t.assertParenthesizedExpression=assertParenthesizedExpression;t.assertPattern=assertPattern;t.assertPatternLike=assertPatternLike;t.assertPipelineBareFunction=assertPipelineBareFunction;t.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference;t.assertPipelineTopicExpression=assertPipelineTopicExpression;t.assertPlaceholder=assertPlaceholder;t.assertPrivate=assertPrivate;t.assertPrivateName=assertPrivateName;t.assertProgram=assertProgram;t.assertProperty=assertProperty;t.assertPureish=assertPureish;t.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier;t.assertRecordExpression=assertRecordExpression;t.assertRegExpLiteral=assertRegExpLiteral;t.assertRegexLiteral=assertRegexLiteral;t.assertRestElement=assertRestElement;t.assertRestProperty=assertRestProperty;t.assertReturnStatement=assertReturnStatement;t.assertScopable=assertScopable;t.assertSequenceExpression=assertSequenceExpression;t.assertSpreadElement=assertSpreadElement;t.assertSpreadProperty=assertSpreadProperty;t.assertStandardized=assertStandardized;t.assertStatement=assertStatement;t.assertStaticBlock=assertStaticBlock;t.assertStringLiteral=assertStringLiteral;t.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation;t.assertStringTypeAnnotation=assertStringTypeAnnotation;t.assertSuper=assertSuper;t.assertSwitchCase=assertSwitchCase;t.assertSwitchStatement=assertSwitchStatement;t.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation;t.assertTSAnyKeyword=assertTSAnyKeyword;t.assertTSArrayType=assertTSArrayType;t.assertTSAsExpression=assertTSAsExpression;t.assertTSBaseType=assertTSBaseType;t.assertTSBigIntKeyword=assertTSBigIntKeyword;t.assertTSBooleanKeyword=assertTSBooleanKeyword;t.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration;t.assertTSConditionalType=assertTSConditionalType;t.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration;t.assertTSConstructorType=assertTSConstructorType;t.assertTSDeclareFunction=assertTSDeclareFunction;t.assertTSDeclareMethod=assertTSDeclareMethod;t.assertTSEntityName=assertTSEntityName;t.assertTSEnumDeclaration=assertTSEnumDeclaration;t.assertTSEnumMember=assertTSEnumMember;t.assertTSExportAssignment=assertTSExportAssignment;t.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments;t.assertTSExternalModuleReference=assertTSExternalModuleReference;t.assertTSFunctionType=assertTSFunctionType;t.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration;t.assertTSImportType=assertTSImportType;t.assertTSIndexSignature=assertTSIndexSignature;t.assertTSIndexedAccessType=assertTSIndexedAccessType;t.assertTSInferType=assertTSInferType;t.assertTSInstantiationExpression=assertTSInstantiationExpression;t.assertTSInterfaceBody=assertTSInterfaceBody;t.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration;t.assertTSIntersectionType=assertTSIntersectionType;t.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword;t.assertTSLiteralType=assertTSLiteralType;t.assertTSMappedType=assertTSMappedType;t.assertTSMethodSignature=assertTSMethodSignature;t.assertTSModuleBlock=assertTSModuleBlock;t.assertTSModuleDeclaration=assertTSModuleDeclaration;t.assertTSNamedTupleMember=assertTSNamedTupleMember;t.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration;t.assertTSNeverKeyword=assertTSNeverKeyword;t.assertTSNonNullExpression=assertTSNonNullExpression;t.assertTSNullKeyword=assertTSNullKeyword;t.assertTSNumberKeyword=assertTSNumberKeyword;t.assertTSObjectKeyword=assertTSObjectKeyword;t.assertTSOptionalType=assertTSOptionalType;t.assertTSParameterProperty=assertTSParameterProperty;t.assertTSParenthesizedType=assertTSParenthesizedType;t.assertTSPropertySignature=assertTSPropertySignature;t.assertTSQualifiedName=assertTSQualifiedName;t.assertTSRestType=assertTSRestType;t.assertTSSatisfiesExpression=assertTSSatisfiesExpression;t.assertTSStringKeyword=assertTSStringKeyword;t.assertTSSymbolKeyword=assertTSSymbolKeyword;t.assertTSThisType=assertTSThisType;t.assertTSTupleType=assertTSTupleType;t.assertTSType=assertTSType;t.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration;t.assertTSTypeAnnotation=assertTSTypeAnnotation;t.assertTSTypeAssertion=assertTSTypeAssertion;t.assertTSTypeElement=assertTSTypeElement;t.assertTSTypeLiteral=assertTSTypeLiteral;t.assertTSTypeOperator=assertTSTypeOperator;t.assertTSTypeParameter=assertTSTypeParameter;t.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration;t.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation;t.assertTSTypePredicate=assertTSTypePredicate;t.assertTSTypeQuery=assertTSTypeQuery;t.assertTSTypeReference=assertTSTypeReference;t.assertTSUndefinedKeyword=assertTSUndefinedKeyword;t.assertTSUnionType=assertTSUnionType;t.assertTSUnknownKeyword=assertTSUnknownKeyword;t.assertTSVoidKeyword=assertTSVoidKeyword;t.assertTaggedTemplateExpression=assertTaggedTemplateExpression;t.assertTemplateElement=assertTemplateElement;t.assertTemplateLiteral=assertTemplateLiteral;t.assertTerminatorless=assertTerminatorless;t.assertThisExpression=assertThisExpression;t.assertThisTypeAnnotation=assertThisTypeAnnotation;t.assertThrowStatement=assertThrowStatement;t.assertTopicReference=assertTopicReference;t.assertTryStatement=assertTryStatement;t.assertTupleExpression=assertTupleExpression;t.assertTupleTypeAnnotation=assertTupleTypeAnnotation;t.assertTypeAlias=assertTypeAlias;t.assertTypeAnnotation=assertTypeAnnotation;t.assertTypeCastExpression=assertTypeCastExpression;t.assertTypeParameter=assertTypeParameter;t.assertTypeParameterDeclaration=assertTypeParameterDeclaration;t.assertTypeParameterInstantiation=assertTypeParameterInstantiation;t.assertTypeScript=assertTypeScript;t.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation;t.assertUnaryExpression=assertUnaryExpression;t.assertUnaryLike=assertUnaryLike;t.assertUnionTypeAnnotation=assertUnionTypeAnnotation;t.assertUpdateExpression=assertUpdateExpression;t.assertUserWhitespacable=assertUserWhitespacable;t.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier;t.assertVariableDeclaration=assertVariableDeclaration;t.assertVariableDeclarator=assertVariableDeclarator;t.assertVariance=assertVariance;t.assertVoidTypeAnnotation=assertVoidTypeAnnotation;t.assertWhile=assertWhile;t.assertWhileStatement=assertWhileStatement;t.assertWithStatement=assertWithStatement;t.assertYieldExpression=assertYieldExpression;var n=r(9247);var s=r(4585);function assert(e,t,r){if(!(0,n.default)(e,t,r)){throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}}function assertArrayExpression(e,t){assert("ArrayExpression",e,t)}function assertAssignmentExpression(e,t){assert("AssignmentExpression",e,t)}function assertBinaryExpression(e,t){assert("BinaryExpression",e,t)}function assertInterpreterDirective(e,t){assert("InterpreterDirective",e,t)}function assertDirective(e,t){assert("Directive",e,t)}function assertDirectiveLiteral(e,t){assert("DirectiveLiteral",e,t)}function assertBlockStatement(e,t){assert("BlockStatement",e,t)}function assertBreakStatement(e,t){assert("BreakStatement",e,t)}function assertCallExpression(e,t){assert("CallExpression",e,t)}function assertCatchClause(e,t){assert("CatchClause",e,t)}function assertConditionalExpression(e,t){assert("ConditionalExpression",e,t)}function assertContinueStatement(e,t){assert("ContinueStatement",e,t)}function assertDebuggerStatement(e,t){assert("DebuggerStatement",e,t)}function assertDoWhileStatement(e,t){assert("DoWhileStatement",e,t)}function assertEmptyStatement(e,t){assert("EmptyStatement",e,t)}function assertExpressionStatement(e,t){assert("ExpressionStatement",e,t)}function assertFile(e,t){assert("File",e,t)}function assertForInStatement(e,t){assert("ForInStatement",e,t)}function assertForStatement(e,t){assert("ForStatement",e,t)}function assertFunctionDeclaration(e,t){assert("FunctionDeclaration",e,t)}function assertFunctionExpression(e,t){assert("FunctionExpression",e,t)}function assertIdentifier(e,t){assert("Identifier",e,t)}function assertIfStatement(e,t){assert("IfStatement",e,t)}function assertLabeledStatement(e,t){assert("LabeledStatement",e,t)}function assertStringLiteral(e,t){assert("StringLiteral",e,t)}function assertNumericLiteral(e,t){assert("NumericLiteral",e,t)}function assertNullLiteral(e,t){assert("NullLiteral",e,t)}function assertBooleanLiteral(e,t){assert("BooleanLiteral",e,t)}function assertRegExpLiteral(e,t){assert("RegExpLiteral",e,t)}function assertLogicalExpression(e,t){assert("LogicalExpression",e,t)}function assertMemberExpression(e,t){assert("MemberExpression",e,t)}function assertNewExpression(e,t){assert("NewExpression",e,t)}function assertProgram(e,t){assert("Program",e,t)}function assertObjectExpression(e,t){assert("ObjectExpression",e,t)}function assertObjectMethod(e,t){assert("ObjectMethod",e,t)}function assertObjectProperty(e,t){assert("ObjectProperty",e,t)}function assertRestElement(e,t){assert("RestElement",e,t)}function assertReturnStatement(e,t){assert("ReturnStatement",e,t)}function assertSequenceExpression(e,t){assert("SequenceExpression",e,t)}function assertParenthesizedExpression(e,t){assert("ParenthesizedExpression",e,t)}function assertSwitchCase(e,t){assert("SwitchCase",e,t)}function assertSwitchStatement(e,t){assert("SwitchStatement",e,t)}function assertThisExpression(e,t){assert("ThisExpression",e,t)}function assertThrowStatement(e,t){assert("ThrowStatement",e,t)}function assertTryStatement(e,t){assert("TryStatement",e,t)}function assertUnaryExpression(e,t){assert("UnaryExpression",e,t)}function assertUpdateExpression(e,t){assert("UpdateExpression",e,t)}function assertVariableDeclaration(e,t){assert("VariableDeclaration",e,t)}function assertVariableDeclarator(e,t){assert("VariableDeclarator",e,t)}function assertWhileStatement(e,t){assert("WhileStatement",e,t)}function assertWithStatement(e,t){assert("WithStatement",e,t)}function assertAssignmentPattern(e,t){assert("AssignmentPattern",e,t)}function assertArrayPattern(e,t){assert("ArrayPattern",e,t)}function assertArrowFunctionExpression(e,t){assert("ArrowFunctionExpression",e,t)}function assertClassBody(e,t){assert("ClassBody",e,t)}function assertClassExpression(e,t){assert("ClassExpression",e,t)}function assertClassDeclaration(e,t){assert("ClassDeclaration",e,t)}function assertExportAllDeclaration(e,t){assert("ExportAllDeclaration",e,t)}function assertExportDefaultDeclaration(e,t){assert("ExportDefaultDeclaration",e,t)}function assertExportNamedDeclaration(e,t){assert("ExportNamedDeclaration",e,t)}function assertExportSpecifier(e,t){assert("ExportSpecifier",e,t)}function assertForOfStatement(e,t){assert("ForOfStatement",e,t)}function assertImportDeclaration(e,t){assert("ImportDeclaration",e,t)}function assertImportDefaultSpecifier(e,t){assert("ImportDefaultSpecifier",e,t)}function assertImportNamespaceSpecifier(e,t){assert("ImportNamespaceSpecifier",e,t)}function assertImportSpecifier(e,t){assert("ImportSpecifier",e,t)}function assertMetaProperty(e,t){assert("MetaProperty",e,t)}function assertClassMethod(e,t){assert("ClassMethod",e,t)}function assertObjectPattern(e,t){assert("ObjectPattern",e,t)}function assertSpreadElement(e,t){assert("SpreadElement",e,t)}function assertSuper(e,t){assert("Super",e,t)}function assertTaggedTemplateExpression(e,t){assert("TaggedTemplateExpression",e,t)}function assertTemplateElement(e,t){assert("TemplateElement",e,t)}function assertTemplateLiteral(e,t){assert("TemplateLiteral",e,t)}function assertYieldExpression(e,t){assert("YieldExpression",e,t)}function assertAwaitExpression(e,t){assert("AwaitExpression",e,t)}function assertImport(e,t){assert("Import",e,t)}function assertBigIntLiteral(e,t){assert("BigIntLiteral",e,t)}function assertExportNamespaceSpecifier(e,t){assert("ExportNamespaceSpecifier",e,t)}function assertOptionalMemberExpression(e,t){assert("OptionalMemberExpression",e,t)}function assertOptionalCallExpression(e,t){assert("OptionalCallExpression",e,t)}function assertClassProperty(e,t){assert("ClassProperty",e,t)}function assertClassAccessorProperty(e,t){assert("ClassAccessorProperty",e,t)}function assertClassPrivateProperty(e,t){assert("ClassPrivateProperty",e,t)}function assertClassPrivateMethod(e,t){assert("ClassPrivateMethod",e,t)}function assertPrivateName(e,t){assert("PrivateName",e,t)}function assertStaticBlock(e,t){assert("StaticBlock",e,t)}function assertAnyTypeAnnotation(e,t){assert("AnyTypeAnnotation",e,t)}function assertArrayTypeAnnotation(e,t){assert("ArrayTypeAnnotation",e,t)}function assertBooleanTypeAnnotation(e,t){assert("BooleanTypeAnnotation",e,t)}function assertBooleanLiteralTypeAnnotation(e,t){assert("BooleanLiteralTypeAnnotation",e,t)}function assertNullLiteralTypeAnnotation(e,t){assert("NullLiteralTypeAnnotation",e,t)}function assertClassImplements(e,t){assert("ClassImplements",e,t)}function assertDeclareClass(e,t){assert("DeclareClass",e,t)}function assertDeclareFunction(e,t){assert("DeclareFunction",e,t)}function assertDeclareInterface(e,t){assert("DeclareInterface",e,t)}function assertDeclareModule(e,t){assert("DeclareModule",e,t)}function assertDeclareModuleExports(e,t){assert("DeclareModuleExports",e,t)}function assertDeclareTypeAlias(e,t){assert("DeclareTypeAlias",e,t)}function assertDeclareOpaqueType(e,t){assert("DeclareOpaqueType",e,t)}function assertDeclareVariable(e,t){assert("DeclareVariable",e,t)}function assertDeclareExportDeclaration(e,t){assert("DeclareExportDeclaration",e,t)}function assertDeclareExportAllDeclaration(e,t){assert("DeclareExportAllDeclaration",e,t)}function assertDeclaredPredicate(e,t){assert("DeclaredPredicate",e,t)}function assertExistsTypeAnnotation(e,t){assert("ExistsTypeAnnotation",e,t)}function assertFunctionTypeAnnotation(e,t){assert("FunctionTypeAnnotation",e,t)}function assertFunctionTypeParam(e,t){assert("FunctionTypeParam",e,t)}function assertGenericTypeAnnotation(e,t){assert("GenericTypeAnnotation",e,t)}function assertInferredPredicate(e,t){assert("InferredPredicate",e,t)}function assertInterfaceExtends(e,t){assert("InterfaceExtends",e,t)}function assertInterfaceDeclaration(e,t){assert("InterfaceDeclaration",e,t)}function assertInterfaceTypeAnnotation(e,t){assert("InterfaceTypeAnnotation",e,t)}function assertIntersectionTypeAnnotation(e,t){assert("IntersectionTypeAnnotation",e,t)}function assertMixedTypeAnnotation(e,t){assert("MixedTypeAnnotation",e,t)}function assertEmptyTypeAnnotation(e,t){assert("EmptyTypeAnnotation",e,t)}function assertNullableTypeAnnotation(e,t){assert("NullableTypeAnnotation",e,t)}function assertNumberLiteralTypeAnnotation(e,t){assert("NumberLiteralTypeAnnotation",e,t)}function assertNumberTypeAnnotation(e,t){assert("NumberTypeAnnotation",e,t)}function assertObjectTypeAnnotation(e,t){assert("ObjectTypeAnnotation",e,t)}function assertObjectTypeInternalSlot(e,t){assert("ObjectTypeInternalSlot",e,t)}function assertObjectTypeCallProperty(e,t){assert("ObjectTypeCallProperty",e,t)}function assertObjectTypeIndexer(e,t){assert("ObjectTypeIndexer",e,t)}function assertObjectTypeProperty(e,t){assert("ObjectTypeProperty",e,t)}function assertObjectTypeSpreadProperty(e,t){assert("ObjectTypeSpreadProperty",e,t)}function assertOpaqueType(e,t){assert("OpaqueType",e,t)}function assertQualifiedTypeIdentifier(e,t){assert("QualifiedTypeIdentifier",e,t)}function assertStringLiteralTypeAnnotation(e,t){assert("StringLiteralTypeAnnotation",e,t)}function assertStringTypeAnnotation(e,t){assert("StringTypeAnnotation",e,t)}function assertSymbolTypeAnnotation(e,t){assert("SymbolTypeAnnotation",e,t)}function assertThisTypeAnnotation(e,t){assert("ThisTypeAnnotation",e,t)}function assertTupleTypeAnnotation(e,t){assert("TupleTypeAnnotation",e,t)}function assertTypeofTypeAnnotation(e,t){assert("TypeofTypeAnnotation",e,t)}function assertTypeAlias(e,t){assert("TypeAlias",e,t)}function assertTypeAnnotation(e,t){assert("TypeAnnotation",e,t)}function assertTypeCastExpression(e,t){assert("TypeCastExpression",e,t)}function assertTypeParameter(e,t){assert("TypeParameter",e,t)}function assertTypeParameterDeclaration(e,t){assert("TypeParameterDeclaration",e,t)}function assertTypeParameterInstantiation(e,t){assert("TypeParameterInstantiation",e,t)}function assertUnionTypeAnnotation(e,t){assert("UnionTypeAnnotation",e,t)}function assertVariance(e,t){assert("Variance",e,t)}function assertVoidTypeAnnotation(e,t){assert("VoidTypeAnnotation",e,t)}function assertEnumDeclaration(e,t){assert("EnumDeclaration",e,t)}function assertEnumBooleanBody(e,t){assert("EnumBooleanBody",e,t)}function assertEnumNumberBody(e,t){assert("EnumNumberBody",e,t)}function assertEnumStringBody(e,t){assert("EnumStringBody",e,t)}function assertEnumSymbolBody(e,t){assert("EnumSymbolBody",e,t)}function assertEnumBooleanMember(e,t){assert("EnumBooleanMember",e,t)}function assertEnumNumberMember(e,t){assert("EnumNumberMember",e,t)}function assertEnumStringMember(e,t){assert("EnumStringMember",e,t)}function assertEnumDefaultedMember(e,t){assert("EnumDefaultedMember",e,t)}function assertIndexedAccessType(e,t){assert("IndexedAccessType",e,t)}function assertOptionalIndexedAccessType(e,t){assert("OptionalIndexedAccessType",e,t)}function assertJSXAttribute(e,t){assert("JSXAttribute",e,t)}function assertJSXClosingElement(e,t){assert("JSXClosingElement",e,t)}function assertJSXElement(e,t){assert("JSXElement",e,t)}function assertJSXEmptyExpression(e,t){assert("JSXEmptyExpression",e,t)}function assertJSXExpressionContainer(e,t){assert("JSXExpressionContainer",e,t)}function assertJSXSpreadChild(e,t){assert("JSXSpreadChild",e,t)}function assertJSXIdentifier(e,t){assert("JSXIdentifier",e,t)}function assertJSXMemberExpression(e,t){assert("JSXMemberExpression",e,t)}function assertJSXNamespacedName(e,t){assert("JSXNamespacedName",e,t)}function assertJSXOpeningElement(e,t){assert("JSXOpeningElement",e,t)}function assertJSXSpreadAttribute(e,t){assert("JSXSpreadAttribute",e,t)}function assertJSXText(e,t){assert("JSXText",e,t)}function assertJSXFragment(e,t){assert("JSXFragment",e,t)}function assertJSXOpeningFragment(e,t){assert("JSXOpeningFragment",e,t)}function assertJSXClosingFragment(e,t){assert("JSXClosingFragment",e,t)}function assertNoop(e,t){assert("Noop",e,t)}function assertPlaceholder(e,t){assert("Placeholder",e,t)}function assertV8IntrinsicIdentifier(e,t){assert("V8IntrinsicIdentifier",e,t)}function assertArgumentPlaceholder(e,t){assert("ArgumentPlaceholder",e,t)}function assertBindExpression(e,t){assert("BindExpression",e,t)}function assertImportAttribute(e,t){assert("ImportAttribute",e,t)}function assertDecorator(e,t){assert("Decorator",e,t)}function assertDoExpression(e,t){assert("DoExpression",e,t)}function assertExportDefaultSpecifier(e,t){assert("ExportDefaultSpecifier",e,t)}function assertRecordExpression(e,t){assert("RecordExpression",e,t)}function assertTupleExpression(e,t){assert("TupleExpression",e,t)}function assertDecimalLiteral(e,t){assert("DecimalLiteral",e,t)}function assertModuleExpression(e,t){assert("ModuleExpression",e,t)}function assertTopicReference(e,t){assert("TopicReference",e,t)}function assertPipelineTopicExpression(e,t){assert("PipelineTopicExpression",e,t)}function assertPipelineBareFunction(e,t){assert("PipelineBareFunction",e,t)}function assertPipelinePrimaryTopicReference(e,t){assert("PipelinePrimaryTopicReference",e,t)}function assertTSParameterProperty(e,t){assert("TSParameterProperty",e,t)}function assertTSDeclareFunction(e,t){assert("TSDeclareFunction",e,t)}function assertTSDeclareMethod(e,t){assert("TSDeclareMethod",e,t)}function assertTSQualifiedName(e,t){assert("TSQualifiedName",e,t)}function assertTSCallSignatureDeclaration(e,t){assert("TSCallSignatureDeclaration",e,t)}function assertTSConstructSignatureDeclaration(e,t){assert("TSConstructSignatureDeclaration",e,t)}function assertTSPropertySignature(e,t){assert("TSPropertySignature",e,t)}function assertTSMethodSignature(e,t){assert("TSMethodSignature",e,t)}function assertTSIndexSignature(e,t){assert("TSIndexSignature",e,t)}function assertTSAnyKeyword(e,t){assert("TSAnyKeyword",e,t)}function assertTSBooleanKeyword(e,t){assert("TSBooleanKeyword",e,t)}function assertTSBigIntKeyword(e,t){assert("TSBigIntKeyword",e,t)}function assertTSIntrinsicKeyword(e,t){assert("TSIntrinsicKeyword",e,t)}function assertTSNeverKeyword(e,t){assert("TSNeverKeyword",e,t)}function assertTSNullKeyword(e,t){assert("TSNullKeyword",e,t)}function assertTSNumberKeyword(e,t){assert("TSNumberKeyword",e,t)}function assertTSObjectKeyword(e,t){assert("TSObjectKeyword",e,t)}function assertTSStringKeyword(e,t){assert("TSStringKeyword",e,t)}function assertTSSymbolKeyword(e,t){assert("TSSymbolKeyword",e,t)}function assertTSUndefinedKeyword(e,t){assert("TSUndefinedKeyword",e,t)}function assertTSUnknownKeyword(e,t){assert("TSUnknownKeyword",e,t)}function assertTSVoidKeyword(e,t){assert("TSVoidKeyword",e,t)}function assertTSThisType(e,t){assert("TSThisType",e,t)}function assertTSFunctionType(e,t){assert("TSFunctionType",e,t)}function assertTSConstructorType(e,t){assert("TSConstructorType",e,t)}function assertTSTypeReference(e,t){assert("TSTypeReference",e,t)}function assertTSTypePredicate(e,t){assert("TSTypePredicate",e,t)}function assertTSTypeQuery(e,t){assert("TSTypeQuery",e,t)}function assertTSTypeLiteral(e,t){assert("TSTypeLiteral",e,t)}function assertTSArrayType(e,t){assert("TSArrayType",e,t)}function assertTSTupleType(e,t){assert("TSTupleType",e,t)}function assertTSOptionalType(e,t){assert("TSOptionalType",e,t)}function assertTSRestType(e,t){assert("TSRestType",e,t)}function assertTSNamedTupleMember(e,t){assert("TSNamedTupleMember",e,t)}function assertTSUnionType(e,t){assert("TSUnionType",e,t)}function assertTSIntersectionType(e,t){assert("TSIntersectionType",e,t)}function assertTSConditionalType(e,t){assert("TSConditionalType",e,t)}function assertTSInferType(e,t){assert("TSInferType",e,t)}function assertTSParenthesizedType(e,t){assert("TSParenthesizedType",e,t)}function assertTSTypeOperator(e,t){assert("TSTypeOperator",e,t)}function assertTSIndexedAccessType(e,t){assert("TSIndexedAccessType",e,t)}function assertTSMappedType(e,t){assert("TSMappedType",e,t)}function assertTSLiteralType(e,t){assert("TSLiteralType",e,t)}function assertTSExpressionWithTypeArguments(e,t){assert("TSExpressionWithTypeArguments",e,t)}function assertTSInterfaceDeclaration(e,t){assert("TSInterfaceDeclaration",e,t)}function assertTSInterfaceBody(e,t){assert("TSInterfaceBody",e,t)}function assertTSTypeAliasDeclaration(e,t){assert("TSTypeAliasDeclaration",e,t)}function assertTSInstantiationExpression(e,t){assert("TSInstantiationExpression",e,t)}function assertTSAsExpression(e,t){assert("TSAsExpression",e,t)}function assertTSSatisfiesExpression(e,t){assert("TSSatisfiesExpression",e,t)}function assertTSTypeAssertion(e,t){assert("TSTypeAssertion",e,t)}function assertTSEnumDeclaration(e,t){assert("TSEnumDeclaration",e,t)}function assertTSEnumMember(e,t){assert("TSEnumMember",e,t)}function assertTSModuleDeclaration(e,t){assert("TSModuleDeclaration",e,t)}function assertTSModuleBlock(e,t){assert("TSModuleBlock",e,t)}function assertTSImportType(e,t){assert("TSImportType",e,t)}function assertTSImportEqualsDeclaration(e,t){assert("TSImportEqualsDeclaration",e,t)}function assertTSExternalModuleReference(e,t){assert("TSExternalModuleReference",e,t)}function assertTSNonNullExpression(e,t){assert("TSNonNullExpression",e,t)}function assertTSExportAssignment(e,t){assert("TSExportAssignment",e,t)}function assertTSNamespaceExportDeclaration(e,t){assert("TSNamespaceExportDeclaration",e,t)}function assertTSTypeAnnotation(e,t){assert("TSTypeAnnotation",e,t)}function assertTSTypeParameterInstantiation(e,t){assert("TSTypeParameterInstantiation",e,t)}function assertTSTypeParameterDeclaration(e,t){assert("TSTypeParameterDeclaration",e,t)}function assertTSTypeParameter(e,t){assert("TSTypeParameter",e,t)}function assertStandardized(e,t){assert("Standardized",e,t)}function assertExpression(e,t){assert("Expression",e,t)}function assertBinary(e,t){assert("Binary",e,t)}function assertScopable(e,t){assert("Scopable",e,t)}function assertBlockParent(e,t){assert("BlockParent",e,t)}function assertBlock(e,t){assert("Block",e,t)}function assertStatement(e,t){assert("Statement",e,t)}function assertTerminatorless(e,t){assert("Terminatorless",e,t)}function assertCompletionStatement(e,t){assert("CompletionStatement",e,t)}function assertConditional(e,t){assert("Conditional",e,t)}function assertLoop(e,t){assert("Loop",e,t)}function assertWhile(e,t){assert("While",e,t)}function assertExpressionWrapper(e,t){assert("ExpressionWrapper",e,t)}function assertFor(e,t){assert("For",e,t)}function assertForXStatement(e,t){assert("ForXStatement",e,t)}function assertFunction(e,t){assert("Function",e,t)}function assertFunctionParent(e,t){assert("FunctionParent",e,t)}function assertPureish(e,t){assert("Pureish",e,t)}function assertDeclaration(e,t){assert("Declaration",e,t)}function assertPatternLike(e,t){assert("PatternLike",e,t)}function assertLVal(e,t){assert("LVal",e,t)}function assertTSEntityName(e,t){assert("TSEntityName",e,t)}function assertLiteral(e,t){assert("Literal",e,t)}function assertImmutable(e,t){assert("Immutable",e,t)}function assertUserWhitespacable(e,t){assert("UserWhitespacable",e,t)}function assertMethod(e,t){assert("Method",e,t)}function assertObjectMember(e,t){assert("ObjectMember",e,t)}function assertProperty(e,t){assert("Property",e,t)}function assertUnaryLike(e,t){assert("UnaryLike",e,t)}function assertPattern(e,t){assert("Pattern",e,t)}function assertClass(e,t){assert("Class",e,t)}function assertImportOrExportDeclaration(e,t){assert("ImportOrExportDeclaration",e,t)}function assertExportDeclaration(e,t){assert("ExportDeclaration",e,t)}function assertModuleSpecifier(e,t){assert("ModuleSpecifier",e,t)}function assertAccessor(e,t){assert("Accessor",e,t)}function assertPrivate(e,t){assert("Private",e,t)}function assertFlow(e,t){assert("Flow",e,t)}function assertFlowType(e,t){assert("FlowType",e,t)}function assertFlowBaseAnnotation(e,t){assert("FlowBaseAnnotation",e,t)}function assertFlowDeclaration(e,t){assert("FlowDeclaration",e,t)}function assertFlowPredicate(e,t){assert("FlowPredicate",e,t)}function assertEnumBody(e,t){assert("EnumBody",e,t)}function assertEnumMember(e,t){assert("EnumMember",e,t)}function assertJSX(e,t){assert("JSX",e,t)}function assertMiscellaneous(e,t){assert("Miscellaneous",e,t)}function assertTypeScript(e,t){assert("TypeScript",e,t)}function assertTSTypeElement(e,t){assert("TSTypeElement",e,t)}function assertTSType(e,t){assert("TSType",e,t)}function assertTSBaseType(e,t){assert("TSBaseType",e,t)}function assertNumberLiteral(e,t){(0,s.default)("assertNumberLiteral","assertNumericLiteral");assert("NumberLiteral",e,t)}function assertRegexLiteral(e,t){(0,s.default)("assertRegexLiteral","assertRegExpLiteral");assert("RegexLiteral",e,t)}function assertRestProperty(e,t){(0,s.default)("assertRestProperty","assertRestElement");assert("RestProperty",e,t)}function assertSpreadProperty(e,t){(0,s.default)("assertSpreadProperty","assertSpreadElement");assert("SpreadProperty",e,t)}function assertModuleDeclaration(e,t){(0,s.default)("assertModuleDeclaration","assertImportOrExportDeclaration");assert("ModuleDeclaration",e,t)}},3103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createFlowUnionType;var n=r(7453);var s=r(6627);function createFlowUnionType(e){const t=(0,s.default)(e);if(t.length===1){return t[0]}else{return(0,n.unionTypeAnnotation)(t)}}},785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(7453);var s=createTypeAnnotationBasedOnTypeof;t["default"]=s;function createTypeAnnotationBasedOnTypeof(e){switch(e){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)}},7453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.anyTypeAnnotation=anyTypeAnnotation;t.argumentPlaceholder=argumentPlaceholder;t.arrayExpression=arrayExpression;t.arrayPattern=arrayPattern;t.arrayTypeAnnotation=arrayTypeAnnotation;t.arrowFunctionExpression=arrowFunctionExpression;t.assignmentExpression=assignmentExpression;t.assignmentPattern=assignmentPattern;t.awaitExpression=awaitExpression;t.bigIntLiteral=bigIntLiteral;t.binaryExpression=binaryExpression;t.bindExpression=bindExpression;t.blockStatement=blockStatement;t.booleanLiteral=booleanLiteral;t.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation;t.booleanTypeAnnotation=booleanTypeAnnotation;t.breakStatement=breakStatement;t.callExpression=callExpression;t.catchClause=catchClause;t.classAccessorProperty=classAccessorProperty;t.classBody=classBody;t.classDeclaration=classDeclaration;t.classExpression=classExpression;t.classImplements=classImplements;t.classMethod=classMethod;t.classPrivateMethod=classPrivateMethod;t.classPrivateProperty=classPrivateProperty;t.classProperty=classProperty;t.conditionalExpression=conditionalExpression;t.continueStatement=continueStatement;t.debuggerStatement=debuggerStatement;t.decimalLiteral=decimalLiteral;t.declareClass=declareClass;t.declareExportAllDeclaration=declareExportAllDeclaration;t.declareExportDeclaration=declareExportDeclaration;t.declareFunction=declareFunction;t.declareInterface=declareInterface;t.declareModule=declareModule;t.declareModuleExports=declareModuleExports;t.declareOpaqueType=declareOpaqueType;t.declareTypeAlias=declareTypeAlias;t.declareVariable=declareVariable;t.declaredPredicate=declaredPredicate;t.decorator=decorator;t.directive=directive;t.directiveLiteral=directiveLiteral;t.doExpression=doExpression;t.doWhileStatement=doWhileStatement;t.emptyStatement=emptyStatement;t.emptyTypeAnnotation=emptyTypeAnnotation;t.enumBooleanBody=enumBooleanBody;t.enumBooleanMember=enumBooleanMember;t.enumDeclaration=enumDeclaration;t.enumDefaultedMember=enumDefaultedMember;t.enumNumberBody=enumNumberBody;t.enumNumberMember=enumNumberMember;t.enumStringBody=enumStringBody;t.enumStringMember=enumStringMember;t.enumSymbolBody=enumSymbolBody;t.existsTypeAnnotation=existsTypeAnnotation;t.exportAllDeclaration=exportAllDeclaration;t.exportDefaultDeclaration=exportDefaultDeclaration;t.exportDefaultSpecifier=exportDefaultSpecifier;t.exportNamedDeclaration=exportNamedDeclaration;t.exportNamespaceSpecifier=exportNamespaceSpecifier;t.exportSpecifier=exportSpecifier;t.expressionStatement=expressionStatement;t.file=file;t.forInStatement=forInStatement;t.forOfStatement=forOfStatement;t.forStatement=forStatement;t.functionDeclaration=functionDeclaration;t.functionExpression=functionExpression;t.functionTypeAnnotation=functionTypeAnnotation;t.functionTypeParam=functionTypeParam;t.genericTypeAnnotation=genericTypeAnnotation;t.identifier=identifier;t.ifStatement=ifStatement;t["import"]=_import;t.importAttribute=importAttribute;t.importDeclaration=importDeclaration;t.importDefaultSpecifier=importDefaultSpecifier;t.importNamespaceSpecifier=importNamespaceSpecifier;t.importSpecifier=importSpecifier;t.indexedAccessType=indexedAccessType;t.inferredPredicate=inferredPredicate;t.interfaceDeclaration=interfaceDeclaration;t.interfaceExtends=interfaceExtends;t.interfaceTypeAnnotation=interfaceTypeAnnotation;t.interpreterDirective=interpreterDirective;t.intersectionTypeAnnotation=intersectionTypeAnnotation;t.jSXAttribute=t.jsxAttribute=jsxAttribute;t.jSXClosingElement=t.jsxClosingElement=jsxClosingElement;t.jSXClosingFragment=t.jsxClosingFragment=jsxClosingFragment;t.jSXElement=t.jsxElement=jsxElement;t.jSXEmptyExpression=t.jsxEmptyExpression=jsxEmptyExpression;t.jSXExpressionContainer=t.jsxExpressionContainer=jsxExpressionContainer;t.jSXFragment=t.jsxFragment=jsxFragment;t.jSXIdentifier=t.jsxIdentifier=jsxIdentifier;t.jSXMemberExpression=t.jsxMemberExpression=jsxMemberExpression;t.jSXNamespacedName=t.jsxNamespacedName=jsxNamespacedName;t.jSXOpeningElement=t.jsxOpeningElement=jsxOpeningElement;t.jSXOpeningFragment=t.jsxOpeningFragment=jsxOpeningFragment;t.jSXSpreadAttribute=t.jsxSpreadAttribute=jsxSpreadAttribute;t.jSXSpreadChild=t.jsxSpreadChild=jsxSpreadChild;t.jSXText=t.jsxText=jsxText;t.labeledStatement=labeledStatement;t.logicalExpression=logicalExpression;t.memberExpression=memberExpression;t.metaProperty=metaProperty;t.mixedTypeAnnotation=mixedTypeAnnotation;t.moduleExpression=moduleExpression;t.newExpression=newExpression;t.noop=noop;t.nullLiteral=nullLiteral;t.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation;t.nullableTypeAnnotation=nullableTypeAnnotation;t.numberLiteral=NumberLiteral;t.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation;t.numberTypeAnnotation=numberTypeAnnotation;t.numericLiteral=numericLiteral;t.objectExpression=objectExpression;t.objectMethod=objectMethod;t.objectPattern=objectPattern;t.objectProperty=objectProperty;t.objectTypeAnnotation=objectTypeAnnotation;t.objectTypeCallProperty=objectTypeCallProperty;t.objectTypeIndexer=objectTypeIndexer;t.objectTypeInternalSlot=objectTypeInternalSlot;t.objectTypeProperty=objectTypeProperty;t.objectTypeSpreadProperty=objectTypeSpreadProperty;t.opaqueType=opaqueType;t.optionalCallExpression=optionalCallExpression;t.optionalIndexedAccessType=optionalIndexedAccessType;t.optionalMemberExpression=optionalMemberExpression;t.parenthesizedExpression=parenthesizedExpression;t.pipelineBareFunction=pipelineBareFunction;t.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference;t.pipelineTopicExpression=pipelineTopicExpression;t.placeholder=placeholder;t.privateName=privateName;t.program=program;t.qualifiedTypeIdentifier=qualifiedTypeIdentifier;t.recordExpression=recordExpression;t.regExpLiteral=regExpLiteral;t.regexLiteral=RegexLiteral;t.restElement=restElement;t.restProperty=RestProperty;t.returnStatement=returnStatement;t.sequenceExpression=sequenceExpression;t.spreadElement=spreadElement;t.spreadProperty=SpreadProperty;t.staticBlock=staticBlock;t.stringLiteral=stringLiteral;t.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation;t.stringTypeAnnotation=stringTypeAnnotation;t["super"]=_super;t.switchCase=switchCase;t.switchStatement=switchStatement;t.symbolTypeAnnotation=symbolTypeAnnotation;t.taggedTemplateExpression=taggedTemplateExpression;t.templateElement=templateElement;t.templateLiteral=templateLiteral;t.thisExpression=thisExpression;t.thisTypeAnnotation=thisTypeAnnotation;t.throwStatement=throwStatement;t.topicReference=topicReference;t.tryStatement=tryStatement;t.tSAnyKeyword=t.tsAnyKeyword=tsAnyKeyword;t.tSArrayType=t.tsArrayType=tsArrayType;t.tSAsExpression=t.tsAsExpression=tsAsExpression;t.tSBigIntKeyword=t.tsBigIntKeyword=tsBigIntKeyword;t.tSBooleanKeyword=t.tsBooleanKeyword=tsBooleanKeyword;t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=tsCallSignatureDeclaration;t.tSConditionalType=t.tsConditionalType=tsConditionalType;t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration;t.tSConstructorType=t.tsConstructorType=tsConstructorType;t.tSDeclareFunction=t.tsDeclareFunction=tsDeclareFunction;t.tSDeclareMethod=t.tsDeclareMethod=tsDeclareMethod;t.tSEnumDeclaration=t.tsEnumDeclaration=tsEnumDeclaration;t.tSEnumMember=t.tsEnumMember=tsEnumMember;t.tSExportAssignment=t.tsExportAssignment=tsExportAssignment;t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments;t.tSExternalModuleReference=t.tsExternalModuleReference=tsExternalModuleReference;t.tSFunctionType=t.tsFunctionType=tsFunctionType;t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=tsImportEqualsDeclaration;t.tSImportType=t.tsImportType=tsImportType;t.tSIndexSignature=t.tsIndexSignature=tsIndexSignature;t.tSIndexedAccessType=t.tsIndexedAccessType=tsIndexedAccessType;t.tSInferType=t.tsInferType=tsInferType;t.tSInstantiationExpression=t.tsInstantiationExpression=tsInstantiationExpression;t.tSInterfaceBody=t.tsInterfaceBody=tsInterfaceBody;t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=tsInterfaceDeclaration;t.tSIntersectionType=t.tsIntersectionType=tsIntersectionType;t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=tsIntrinsicKeyword;t.tSLiteralType=t.tsLiteralType=tsLiteralType;t.tSMappedType=t.tsMappedType=tsMappedType;t.tSMethodSignature=t.tsMethodSignature=tsMethodSignature;t.tSModuleBlock=t.tsModuleBlock=tsModuleBlock;t.tSModuleDeclaration=t.tsModuleDeclaration=tsModuleDeclaration;t.tSNamedTupleMember=t.tsNamedTupleMember=tsNamedTupleMember;t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration;t.tSNeverKeyword=t.tsNeverKeyword=tsNeverKeyword;t.tSNonNullExpression=t.tsNonNullExpression=tsNonNullExpression;t.tSNullKeyword=t.tsNullKeyword=tsNullKeyword;t.tSNumberKeyword=t.tsNumberKeyword=tsNumberKeyword;t.tSObjectKeyword=t.tsObjectKeyword=tsObjectKeyword;t.tSOptionalType=t.tsOptionalType=tsOptionalType;t.tSParameterProperty=t.tsParameterProperty=tsParameterProperty;t.tSParenthesizedType=t.tsParenthesizedType=tsParenthesizedType;t.tSPropertySignature=t.tsPropertySignature=tsPropertySignature;t.tSQualifiedName=t.tsQualifiedName=tsQualifiedName;t.tSRestType=t.tsRestType=tsRestType;t.tSSatisfiesExpression=t.tsSatisfiesExpression=tsSatisfiesExpression;t.tSStringKeyword=t.tsStringKeyword=tsStringKeyword;t.tSSymbolKeyword=t.tsSymbolKeyword=tsSymbolKeyword;t.tSThisType=t.tsThisType=tsThisType;t.tSTupleType=t.tsTupleType=tsTupleType;t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=tsTypeAliasDeclaration;t.tSTypeAnnotation=t.tsTypeAnnotation=tsTypeAnnotation;t.tSTypeAssertion=t.tsTypeAssertion=tsTypeAssertion;t.tSTypeLiteral=t.tsTypeLiteral=tsTypeLiteral;t.tSTypeOperator=t.tsTypeOperator=tsTypeOperator;t.tSTypeParameter=t.tsTypeParameter=tsTypeParameter;t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=tsTypeParameterDeclaration;t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=tsTypeParameterInstantiation;t.tSTypePredicate=t.tsTypePredicate=tsTypePredicate;t.tSTypeQuery=t.tsTypeQuery=tsTypeQuery;t.tSTypeReference=t.tsTypeReference=tsTypeReference;t.tSUndefinedKeyword=t.tsUndefinedKeyword=tsUndefinedKeyword;t.tSUnionType=t.tsUnionType=tsUnionType;t.tSUnknownKeyword=t.tsUnknownKeyword=tsUnknownKeyword;t.tSVoidKeyword=t.tsVoidKeyword=tsVoidKeyword;t.tupleExpression=tupleExpression;t.tupleTypeAnnotation=tupleTypeAnnotation;t.typeAlias=typeAlias;t.typeAnnotation=typeAnnotation;t.typeCastExpression=typeCastExpression;t.typeParameter=typeParameter;t.typeParameterDeclaration=typeParameterDeclaration;t.typeParameterInstantiation=typeParameterInstantiation;t.typeofTypeAnnotation=typeofTypeAnnotation;t.unaryExpression=unaryExpression;t.unionTypeAnnotation=unionTypeAnnotation;t.updateExpression=updateExpression;t.v8IntrinsicIdentifier=v8IntrinsicIdentifier;t.variableDeclaration=variableDeclaration;t.variableDeclarator=variableDeclarator;t.variance=variance;t.voidTypeAnnotation=voidTypeAnnotation;t.whileStatement=whileStatement;t.withStatement=withStatement;t.yieldExpression=yieldExpression;var n=r(7170);var s=r(4585);function arrayExpression(e=[]){return(0,n.default)({type:"ArrayExpression",elements:e})}function assignmentExpression(e,t,r){return(0,n.default)({type:"AssignmentExpression",operator:e,left:t,right:r})}function binaryExpression(e,t,r){return(0,n.default)({type:"BinaryExpression",operator:e,left:t,right:r})}function interpreterDirective(e){return(0,n.default)({type:"InterpreterDirective",value:e})}function directive(e){return(0,n.default)({type:"Directive",value:e})}function directiveLiteral(e){return(0,n.default)({type:"DirectiveLiteral",value:e})}function blockStatement(e,t=[]){return(0,n.default)({type:"BlockStatement",body:e,directives:t})}function breakStatement(e=null){return(0,n.default)({type:"BreakStatement",label:e})}function callExpression(e,t){return(0,n.default)({type:"CallExpression",callee:e,arguments:t})}function catchClause(e=null,t){return(0,n.default)({type:"CatchClause",param:e,body:t})}function conditionalExpression(e,t,r){return(0,n.default)({type:"ConditionalExpression",test:e,consequent:t,alternate:r})}function continueStatement(e=null){return(0,n.default)({type:"ContinueStatement",label:e})}function debuggerStatement(){return{type:"DebuggerStatement"}}function doWhileStatement(e,t){return(0,n.default)({type:"DoWhileStatement",test:e,body:t})}function emptyStatement(){return{type:"EmptyStatement"}}function expressionStatement(e){return(0,n.default)({type:"ExpressionStatement",expression:e})}function file(e,t=null,r=null){return(0,n.default)({type:"File",program:e,comments:t,tokens:r})}function forInStatement(e,t,r){return(0,n.default)({type:"ForInStatement",left:e,right:t,body:r})}function forStatement(e=null,t=null,r=null,s){return(0,n.default)({type:"ForStatement",init:e,test:t,update:r,body:s})}function functionDeclaration(e=null,t,r,s=false,i=false){return(0,n.default)({type:"FunctionDeclaration",id:e,params:t,body:r,generator:s,async:i})}function functionExpression(e=null,t,r,s=false,i=false){return(0,n.default)({type:"FunctionExpression",id:e,params:t,body:r,generator:s,async:i})}function identifier(e){return(0,n.default)({type:"Identifier",name:e})}function ifStatement(e,t,r=null){return(0,n.default)({type:"IfStatement",test:e,consequent:t,alternate:r})}function labeledStatement(e,t){return(0,n.default)({type:"LabeledStatement",label:e,body:t})}function stringLiteral(e){return(0,n.default)({type:"StringLiteral",value:e})}function numericLiteral(e){return(0,n.default)({type:"NumericLiteral",value:e})}function nullLiteral(){return{type:"NullLiteral"}}function booleanLiteral(e){return(0,n.default)({type:"BooleanLiteral",value:e})}function regExpLiteral(e,t=""){return(0,n.default)({type:"RegExpLiteral",pattern:e,flags:t})}function logicalExpression(e,t,r){return(0,n.default)({type:"LogicalExpression",operator:e,left:t,right:r})}function memberExpression(e,t,r=false,s=null){return(0,n.default)({type:"MemberExpression",object:e,property:t,computed:r,optional:s})}function newExpression(e,t){return(0,n.default)({type:"NewExpression",callee:e,arguments:t})}function program(e,t=[],r="script",s=null){return(0,n.default)({type:"Program",body:e,directives:t,sourceType:r,interpreter:s,sourceFile:null})}function objectExpression(e){return(0,n.default)({type:"ObjectExpression",properties:e})}function objectMethod(e="method",t,r,s,i=false,a=false,o=false){return(0,n.default)({type:"ObjectMethod",kind:e,key:t,params:r,body:s,computed:i,generator:a,async:o})}function objectProperty(e,t,r=false,s=false,i=null){return(0,n.default)({type:"ObjectProperty",key:e,value:t,computed:r,shorthand:s,decorators:i})}function restElement(e){return(0,n.default)({type:"RestElement",argument:e})}function returnStatement(e=null){return(0,n.default)({type:"ReturnStatement",argument:e})}function sequenceExpression(e){return(0,n.default)({type:"SequenceExpression",expressions:e})}function parenthesizedExpression(e){return(0,n.default)({type:"ParenthesizedExpression",expression:e})}function switchCase(e=null,t){return(0,n.default)({type:"SwitchCase",test:e,consequent:t})}function switchStatement(e,t){return(0,n.default)({type:"SwitchStatement",discriminant:e,cases:t})}function thisExpression(){return{type:"ThisExpression"}}function throwStatement(e){return(0,n.default)({type:"ThrowStatement",argument:e})}function tryStatement(e,t=null,r=null){return(0,n.default)({type:"TryStatement",block:e,handler:t,finalizer:r})}function unaryExpression(e,t,r=true){return(0,n.default)({type:"UnaryExpression",operator:e,argument:t,prefix:r})}function updateExpression(e,t,r=false){return(0,n.default)({type:"UpdateExpression",operator:e,argument:t,prefix:r})}function variableDeclaration(e,t){return(0,n.default)({type:"VariableDeclaration",kind:e,declarations:t})}function variableDeclarator(e,t=null){return(0,n.default)({type:"VariableDeclarator",id:e,init:t})}function whileStatement(e,t){return(0,n.default)({type:"WhileStatement",test:e,body:t})}function withStatement(e,t){return(0,n.default)({type:"WithStatement",object:e,body:t})}function assignmentPattern(e,t){return(0,n.default)({type:"AssignmentPattern",left:e,right:t})}function arrayPattern(e){return(0,n.default)({type:"ArrayPattern",elements:e})}function arrowFunctionExpression(e,t,r=false){return(0,n.default)({type:"ArrowFunctionExpression",params:e,body:t,async:r,expression:null})}function classBody(e){return(0,n.default)({type:"ClassBody",body:e})}function classExpression(e=null,t=null,r,s=null){return(0,n.default)({type:"ClassExpression",id:e,superClass:t,body:r,decorators:s})}function classDeclaration(e,t=null,r,s=null){return(0,n.default)({type:"ClassDeclaration",id:e,superClass:t,body:r,decorators:s})}function exportAllDeclaration(e){return(0,n.default)({type:"ExportAllDeclaration",source:e})}function exportDefaultDeclaration(e){return(0,n.default)({type:"ExportDefaultDeclaration",declaration:e})}function exportNamedDeclaration(e=null,t=[],r=null){return(0,n.default)({type:"ExportNamedDeclaration",declaration:e,specifiers:t,source:r})}function exportSpecifier(e,t){return(0,n.default)({type:"ExportSpecifier",local:e,exported:t})}function forOfStatement(e,t,r,s=false){return(0,n.default)({type:"ForOfStatement",left:e,right:t,body:r,await:s})}function importDeclaration(e,t){return(0,n.default)({type:"ImportDeclaration",specifiers:e,source:t})}function importDefaultSpecifier(e){return(0,n.default)({type:"ImportDefaultSpecifier",local:e})}function importNamespaceSpecifier(e){return(0,n.default)({type:"ImportNamespaceSpecifier",local:e})}function importSpecifier(e,t){return(0,n.default)({type:"ImportSpecifier",local:e,imported:t})}function metaProperty(e,t){return(0,n.default)({type:"MetaProperty",meta:e,property:t})}function classMethod(e="method",t,r,s,i=false,a=false,o=false,l=false){return(0,n.default)({type:"ClassMethod",kind:e,key:t,params:r,body:s,computed:i,static:a,generator:o,async:l})}function objectPattern(e){return(0,n.default)({type:"ObjectPattern",properties:e})}function spreadElement(e){return(0,n.default)({type:"SpreadElement",argument:e})}function _super(){return{type:"Super"}}function taggedTemplateExpression(e,t){return(0,n.default)({type:"TaggedTemplateExpression",tag:e,quasi:t})}function templateElement(e,t=false){return(0,n.default)({type:"TemplateElement",value:e,tail:t})}function templateLiteral(e,t){return(0,n.default)({type:"TemplateLiteral",quasis:e,expressions:t})}function yieldExpression(e=null,t=false){return(0,n.default)({type:"YieldExpression",argument:e,delegate:t})}function awaitExpression(e){return(0,n.default)({type:"AwaitExpression",argument:e})}function _import(){return{type:"Import"}}function bigIntLiteral(e){return(0,n.default)({type:"BigIntLiteral",value:e})}function exportNamespaceSpecifier(e){return(0,n.default)({type:"ExportNamespaceSpecifier",exported:e})}function optionalMemberExpression(e,t,r=false,s){return(0,n.default)({type:"OptionalMemberExpression",object:e,property:t,computed:r,optional:s})}function optionalCallExpression(e,t,r){return(0,n.default)({type:"OptionalCallExpression",callee:e,arguments:t,optional:r})}function classProperty(e,t=null,r=null,s=null,i=false,a=false){return(0,n.default)({type:"ClassProperty",key:e,value:t,typeAnnotation:r,decorators:s,computed:i,static:a})}function classAccessorProperty(e,t=null,r=null,s=null,i=false,a=false){return(0,n.default)({type:"ClassAccessorProperty",key:e,value:t,typeAnnotation:r,decorators:s,computed:i,static:a})}function classPrivateProperty(e,t=null,r=null,s=false){return(0,n.default)({type:"ClassPrivateProperty",key:e,value:t,decorators:r,static:s})}function classPrivateMethod(e="method",t,r,s,i=false){return(0,n.default)({type:"ClassPrivateMethod",kind:e,key:t,params:r,body:s,static:i})}function privateName(e){return(0,n.default)({type:"PrivateName",id:e})}function staticBlock(e){return(0,n.default)({type:"StaticBlock",body:e})}function anyTypeAnnotation(){return{type:"AnyTypeAnnotation"}}function arrayTypeAnnotation(e){return(0,n.default)({type:"ArrayTypeAnnotation",elementType:e})}function booleanTypeAnnotation(){return{type:"BooleanTypeAnnotation"}}function booleanLiteralTypeAnnotation(e){return(0,n.default)({type:"BooleanLiteralTypeAnnotation",value:e})}function nullLiteralTypeAnnotation(){return{type:"NullLiteralTypeAnnotation"}}function classImplements(e,t=null){return(0,n.default)({type:"ClassImplements",id:e,typeParameters:t})}function declareClass(e,t=null,r=null,s){return(0,n.default)({type:"DeclareClass",id:e,typeParameters:t,extends:r,body:s})}function declareFunction(e){return(0,n.default)({type:"DeclareFunction",id:e})}function declareInterface(e,t=null,r=null,s){return(0,n.default)({type:"DeclareInterface",id:e,typeParameters:t,extends:r,body:s})}function declareModule(e,t,r=null){return(0,n.default)({type:"DeclareModule",id:e,body:t,kind:r})}function declareModuleExports(e){return(0,n.default)({type:"DeclareModuleExports",typeAnnotation:e})}function declareTypeAlias(e,t=null,r){return(0,n.default)({type:"DeclareTypeAlias",id:e,typeParameters:t,right:r})}function declareOpaqueType(e,t=null,r=null){return(0,n.default)({type:"DeclareOpaqueType",id:e,typeParameters:t,supertype:r})}function declareVariable(e){return(0,n.default)({type:"DeclareVariable",id:e})}function declareExportDeclaration(e=null,t=null,r=null){return(0,n.default)({type:"DeclareExportDeclaration",declaration:e,specifiers:t,source:r})}function declareExportAllDeclaration(e){return(0,n.default)({type:"DeclareExportAllDeclaration",source:e})}function declaredPredicate(e){return(0,n.default)({type:"DeclaredPredicate",value:e})}function existsTypeAnnotation(){return{type:"ExistsTypeAnnotation"}}function functionTypeAnnotation(e=null,t,r=null,s){return(0,n.default)({type:"FunctionTypeAnnotation",typeParameters:e,params:t,rest:r,returnType:s})}function functionTypeParam(e=null,t){return(0,n.default)({type:"FunctionTypeParam",name:e,typeAnnotation:t})}function genericTypeAnnotation(e,t=null){return(0,n.default)({type:"GenericTypeAnnotation",id:e,typeParameters:t})}function inferredPredicate(){return{type:"InferredPredicate"}}function interfaceExtends(e,t=null){return(0,n.default)({type:"InterfaceExtends",id:e,typeParameters:t})}function interfaceDeclaration(e,t=null,r=null,s){return(0,n.default)({type:"InterfaceDeclaration",id:e,typeParameters:t,extends:r,body:s})}function interfaceTypeAnnotation(e=null,t){return(0,n.default)({type:"InterfaceTypeAnnotation",extends:e,body:t})}function intersectionTypeAnnotation(e){return(0,n.default)({type:"IntersectionTypeAnnotation",types:e})}function mixedTypeAnnotation(){return{type:"MixedTypeAnnotation"}}function emptyTypeAnnotation(){return{type:"EmptyTypeAnnotation"}}function nullableTypeAnnotation(e){return(0,n.default)({type:"NullableTypeAnnotation",typeAnnotation:e})}function numberLiteralTypeAnnotation(e){return(0,n.default)({type:"NumberLiteralTypeAnnotation",value:e})}function numberTypeAnnotation(){return{type:"NumberTypeAnnotation"}}function objectTypeAnnotation(e,t=[],r=[],s=[],i=false){return(0,n.default)({type:"ObjectTypeAnnotation",properties:e,indexers:t,callProperties:r,internalSlots:s,exact:i})}function objectTypeInternalSlot(e,t,r,s,i){return(0,n.default)({type:"ObjectTypeInternalSlot",id:e,value:t,optional:r,static:s,method:i})}function objectTypeCallProperty(e){return(0,n.default)({type:"ObjectTypeCallProperty",value:e,static:null})}function objectTypeIndexer(e=null,t,r,s=null){return(0,n.default)({type:"ObjectTypeIndexer",id:e,key:t,value:r,variance:s,static:null})}function objectTypeProperty(e,t,r=null){return(0,n.default)({type:"ObjectTypeProperty",key:e,value:t,variance:r,kind:null,method:null,optional:null,proto:null,static:null})}function objectTypeSpreadProperty(e){return(0,n.default)({type:"ObjectTypeSpreadProperty",argument:e})}function opaqueType(e,t=null,r=null,s){return(0,n.default)({type:"OpaqueType",id:e,typeParameters:t,supertype:r,impltype:s})}function qualifiedTypeIdentifier(e,t){return(0,n.default)({type:"QualifiedTypeIdentifier",id:e,qualification:t})}function stringLiteralTypeAnnotation(e){return(0,n.default)({type:"StringLiteralTypeAnnotation",value:e})}function stringTypeAnnotation(){return{type:"StringTypeAnnotation"}}function symbolTypeAnnotation(){return{type:"SymbolTypeAnnotation"}}function thisTypeAnnotation(){return{type:"ThisTypeAnnotation"}}function tupleTypeAnnotation(e){return(0,n.default)({type:"TupleTypeAnnotation",types:e})}function typeofTypeAnnotation(e){return(0,n.default)({type:"TypeofTypeAnnotation",argument:e})}function typeAlias(e,t=null,r){return(0,n.default)({type:"TypeAlias",id:e,typeParameters:t,right:r})}function typeAnnotation(e){return(0,n.default)({type:"TypeAnnotation",typeAnnotation:e})}function typeCastExpression(e,t){return(0,n.default)({type:"TypeCastExpression",expression:e,typeAnnotation:t})}function typeParameter(e=null,t=null,r=null){return(0,n.default)({type:"TypeParameter",bound:e,default:t,variance:r,name:null})}function typeParameterDeclaration(e){return(0,n.default)({type:"TypeParameterDeclaration",params:e})}function typeParameterInstantiation(e){return(0,n.default)({type:"TypeParameterInstantiation",params:e})}function unionTypeAnnotation(e){return(0,n.default)({type:"UnionTypeAnnotation",types:e})}function variance(e){return(0,n.default)({type:"Variance",kind:e})}function voidTypeAnnotation(){return{type:"VoidTypeAnnotation"}}function enumDeclaration(e,t){return(0,n.default)({type:"EnumDeclaration",id:e,body:t})}function enumBooleanBody(e){return(0,n.default)({type:"EnumBooleanBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumNumberBody(e){return(0,n.default)({type:"EnumNumberBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumStringBody(e){return(0,n.default)({type:"EnumStringBody",members:e,explicitType:null,hasUnknownMembers:null})}function enumSymbolBody(e){return(0,n.default)({type:"EnumSymbolBody",members:e,hasUnknownMembers:null})}function enumBooleanMember(e){return(0,n.default)({type:"EnumBooleanMember",id:e,init:null})}function enumNumberMember(e,t){return(0,n.default)({type:"EnumNumberMember",id:e,init:t})}function enumStringMember(e,t){return(0,n.default)({type:"EnumStringMember",id:e,init:t})}function enumDefaultedMember(e){return(0,n.default)({type:"EnumDefaultedMember",id:e})}function indexedAccessType(e,t){return(0,n.default)({type:"IndexedAccessType",objectType:e,indexType:t})}function optionalIndexedAccessType(e,t){return(0,n.default)({type:"OptionalIndexedAccessType",objectType:e,indexType:t,optional:null})}function jsxAttribute(e,t=null){return(0,n.default)({type:"JSXAttribute",name:e,value:t})}function jsxClosingElement(e){return(0,n.default)({type:"JSXClosingElement",name:e})}function jsxElement(e,t=null,r,s=null){return(0,n.default)({type:"JSXElement",openingElement:e,closingElement:t,children:r,selfClosing:s})}function jsxEmptyExpression(){return{type:"JSXEmptyExpression"}}function jsxExpressionContainer(e){return(0,n.default)({type:"JSXExpressionContainer",expression:e})}function jsxSpreadChild(e){return(0,n.default)({type:"JSXSpreadChild",expression:e})}function jsxIdentifier(e){return(0,n.default)({type:"JSXIdentifier",name:e})}function jsxMemberExpression(e,t){return(0,n.default)({type:"JSXMemberExpression",object:e,property:t})}function jsxNamespacedName(e,t){return(0,n.default)({type:"JSXNamespacedName",namespace:e,name:t})}function jsxOpeningElement(e,t,r=false){return(0,n.default)({type:"JSXOpeningElement",name:e,attributes:t,selfClosing:r})}function jsxSpreadAttribute(e){return(0,n.default)({type:"JSXSpreadAttribute",argument:e})}function jsxText(e){return(0,n.default)({type:"JSXText",value:e})}function jsxFragment(e,t,r){return(0,n.default)({type:"JSXFragment",openingFragment:e,closingFragment:t,children:r})}function jsxOpeningFragment(){return{type:"JSXOpeningFragment"}}function jsxClosingFragment(){return{type:"JSXClosingFragment"}}function noop(){return{type:"Noop"}}function placeholder(e,t){return(0,n.default)({type:"Placeholder",expectedNode:e,name:t})}function v8IntrinsicIdentifier(e){return(0,n.default)({type:"V8IntrinsicIdentifier",name:e})}function argumentPlaceholder(){return{type:"ArgumentPlaceholder"}}function bindExpression(e,t){return(0,n.default)({type:"BindExpression",object:e,callee:t})}function importAttribute(e,t){return(0,n.default)({type:"ImportAttribute",key:e,value:t})}function decorator(e){return(0,n.default)({type:"Decorator",expression:e})}function doExpression(e,t=false){return(0,n.default)({type:"DoExpression",body:e,async:t})}function exportDefaultSpecifier(e){return(0,n.default)({type:"ExportDefaultSpecifier",exported:e})}function recordExpression(e){return(0,n.default)({type:"RecordExpression",properties:e})}function tupleExpression(e=[]){return(0,n.default)({type:"TupleExpression",elements:e})}function decimalLiteral(e){return(0,n.default)({type:"DecimalLiteral",value:e})}function moduleExpression(e){return(0,n.default)({type:"ModuleExpression",body:e})}function topicReference(){return{type:"TopicReference"}}function pipelineTopicExpression(e){return(0,n.default)({type:"PipelineTopicExpression",expression:e})}function pipelineBareFunction(e){return(0,n.default)({type:"PipelineBareFunction",callee:e})}function pipelinePrimaryTopicReference(){return{type:"PipelinePrimaryTopicReference"}}function tsParameterProperty(e){return(0,n.default)({type:"TSParameterProperty",parameter:e})}function tsDeclareFunction(e=null,t=null,r,s=null){return(0,n.default)({type:"TSDeclareFunction",id:e,typeParameters:t,params:r,returnType:s})}function tsDeclareMethod(e=null,t,r=null,s,i=null){return(0,n.default)({type:"TSDeclareMethod",decorators:e,key:t,typeParameters:r,params:s,returnType:i})}function tsQualifiedName(e,t){return(0,n.default)({type:"TSQualifiedName",left:e,right:t})}function tsCallSignatureDeclaration(e=null,t,r=null){return(0,n.default)({type:"TSCallSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function tsConstructSignatureDeclaration(e=null,t,r=null){return(0,n.default)({type:"TSConstructSignatureDeclaration",typeParameters:e,parameters:t,typeAnnotation:r})}function tsPropertySignature(e,t=null,r=null){return(0,n.default)({type:"TSPropertySignature",key:e,typeAnnotation:t,initializer:r,kind:null})}function tsMethodSignature(e,t=null,r,s=null){return(0,n.default)({type:"TSMethodSignature",key:e,typeParameters:t,parameters:r,typeAnnotation:s,kind:null})}function tsIndexSignature(e,t=null){return(0,n.default)({type:"TSIndexSignature",parameters:e,typeAnnotation:t})}function tsAnyKeyword(){return{type:"TSAnyKeyword"}}function tsBooleanKeyword(){return{type:"TSBooleanKeyword"}}function tsBigIntKeyword(){return{type:"TSBigIntKeyword"}}function tsIntrinsicKeyword(){return{type:"TSIntrinsicKeyword"}}function tsNeverKeyword(){return{type:"TSNeverKeyword"}}function tsNullKeyword(){return{type:"TSNullKeyword"}}function tsNumberKeyword(){return{type:"TSNumberKeyword"}}function tsObjectKeyword(){return{type:"TSObjectKeyword"}}function tsStringKeyword(){return{type:"TSStringKeyword"}}function tsSymbolKeyword(){return{type:"TSSymbolKeyword"}}function tsUndefinedKeyword(){return{type:"TSUndefinedKeyword"}}function tsUnknownKeyword(){return{type:"TSUnknownKeyword"}}function tsVoidKeyword(){return{type:"TSVoidKeyword"}}function tsThisType(){return{type:"TSThisType"}}function tsFunctionType(e=null,t,r=null){return(0,n.default)({type:"TSFunctionType",typeParameters:e,parameters:t,typeAnnotation:r})}function tsConstructorType(e=null,t,r=null){return(0,n.default)({type:"TSConstructorType",typeParameters:e,parameters:t,typeAnnotation:r})}function tsTypeReference(e,t=null){return(0,n.default)({type:"TSTypeReference",typeName:e,typeParameters:t})}function tsTypePredicate(e,t=null,r=null){return(0,n.default)({type:"TSTypePredicate",parameterName:e,typeAnnotation:t,asserts:r})}function tsTypeQuery(e,t=null){return(0,n.default)({type:"TSTypeQuery",exprName:e,typeParameters:t})}function tsTypeLiteral(e){return(0,n.default)({type:"TSTypeLiteral",members:e})}function tsArrayType(e){return(0,n.default)({type:"TSArrayType",elementType:e})}function tsTupleType(e){return(0,n.default)({type:"TSTupleType",elementTypes:e})}function tsOptionalType(e){return(0,n.default)({type:"TSOptionalType",typeAnnotation:e})}function tsRestType(e){return(0,n.default)({type:"TSRestType",typeAnnotation:e})}function tsNamedTupleMember(e,t,r=false){return(0,n.default)({type:"TSNamedTupleMember",label:e,elementType:t,optional:r})}function tsUnionType(e){return(0,n.default)({type:"TSUnionType",types:e})}function tsIntersectionType(e){return(0,n.default)({type:"TSIntersectionType",types:e})}function tsConditionalType(e,t,r,s){return(0,n.default)({type:"TSConditionalType",checkType:e,extendsType:t,trueType:r,falseType:s})}function tsInferType(e){return(0,n.default)({type:"TSInferType",typeParameter:e})}function tsParenthesizedType(e){return(0,n.default)({type:"TSParenthesizedType",typeAnnotation:e})}function tsTypeOperator(e){return(0,n.default)({type:"TSTypeOperator",typeAnnotation:e,operator:null})}function tsIndexedAccessType(e,t){return(0,n.default)({type:"TSIndexedAccessType",objectType:e,indexType:t})}function tsMappedType(e,t=null,r=null){return(0,n.default)({type:"TSMappedType",typeParameter:e,typeAnnotation:t,nameType:r})}function tsLiteralType(e){return(0,n.default)({type:"TSLiteralType",literal:e})}function tsExpressionWithTypeArguments(e,t=null){return(0,n.default)({type:"TSExpressionWithTypeArguments",expression:e,typeParameters:t})}function tsInterfaceDeclaration(e,t=null,r=null,s){return(0,n.default)({type:"TSInterfaceDeclaration",id:e,typeParameters:t,extends:r,body:s})}function tsInterfaceBody(e){return(0,n.default)({type:"TSInterfaceBody",body:e})}function tsTypeAliasDeclaration(e,t=null,r){return(0,n.default)({type:"TSTypeAliasDeclaration",id:e,typeParameters:t,typeAnnotation:r})}function tsInstantiationExpression(e,t=null){return(0,n.default)({type:"TSInstantiationExpression",expression:e,typeParameters:t})}function tsAsExpression(e,t){return(0,n.default)({type:"TSAsExpression",expression:e,typeAnnotation:t})}function tsSatisfiesExpression(e,t){return(0,n.default)({type:"TSSatisfiesExpression",expression:e,typeAnnotation:t})}function tsTypeAssertion(e,t){return(0,n.default)({type:"TSTypeAssertion",typeAnnotation:e,expression:t})}function tsEnumDeclaration(e,t){return(0,n.default)({type:"TSEnumDeclaration",id:e,members:t})}function tsEnumMember(e,t=null){return(0,n.default)({type:"TSEnumMember",id:e,initializer:t})}function tsModuleDeclaration(e,t){return(0,n.default)({type:"TSModuleDeclaration",id:e,body:t})}function tsModuleBlock(e){return(0,n.default)({type:"TSModuleBlock",body:e})}function tsImportType(e,t=null,r=null){return(0,n.default)({type:"TSImportType",argument:e,qualifier:t,typeParameters:r})}function tsImportEqualsDeclaration(e,t){return(0,n.default)({type:"TSImportEqualsDeclaration",id:e,moduleReference:t,isExport:null})}function tsExternalModuleReference(e){return(0,n.default)({type:"TSExternalModuleReference",expression:e})}function tsNonNullExpression(e){return(0,n.default)({type:"TSNonNullExpression",expression:e})}function tsExportAssignment(e){return(0,n.default)({type:"TSExportAssignment",expression:e})}function tsNamespaceExportDeclaration(e){return(0,n.default)({type:"TSNamespaceExportDeclaration",id:e})}function tsTypeAnnotation(e){return(0,n.default)({type:"TSTypeAnnotation",typeAnnotation:e})}function tsTypeParameterInstantiation(e){return(0,n.default)({type:"TSTypeParameterInstantiation",params:e})}function tsTypeParameterDeclaration(e){return(0,n.default)({type:"TSTypeParameterDeclaration",params:e})}function tsTypeParameter(e=null,t=null,r){return(0,n.default)({type:"TSTypeParameter",constraint:e,default:t,name:r})}function NumberLiteral(e){(0,s.default)("NumberLiteral","NumericLiteral","The node type ");return numericLiteral(e)}function RegexLiteral(e,t=""){(0,s.default)("RegexLiteral","RegExpLiteral","The node type ");return regExpLiteral(e,t)}function RestProperty(e){(0,s.default)("RestProperty","RestElement","The node type ");return restElement(e)}function SpreadProperty(e){(0,s.default)("SpreadProperty","SpreadElement","The node type ");return spreadElement(e)}},8611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:true,get:function(){return n.anyTypeAnnotation}});Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:true,get:function(){return n.argumentPlaceholder}});Object.defineProperty(t,"ArrayExpression",{enumerable:true,get:function(){return n.arrayExpression}});Object.defineProperty(t,"ArrayPattern",{enumerable:true,get:function(){return n.arrayPattern}});Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:true,get:function(){return n.arrayTypeAnnotation}});Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:true,get:function(){return n.arrowFunctionExpression}});Object.defineProperty(t,"AssignmentExpression",{enumerable:true,get:function(){return n.assignmentExpression}});Object.defineProperty(t,"AssignmentPattern",{enumerable:true,get:function(){return n.assignmentPattern}});Object.defineProperty(t,"AwaitExpression",{enumerable:true,get:function(){return n.awaitExpression}});Object.defineProperty(t,"BigIntLiteral",{enumerable:true,get:function(){return n.bigIntLiteral}});Object.defineProperty(t,"BinaryExpression",{enumerable:true,get:function(){return n.binaryExpression}});Object.defineProperty(t,"BindExpression",{enumerable:true,get:function(){return n.bindExpression}});Object.defineProperty(t,"BlockStatement",{enumerable:true,get:function(){return n.blockStatement}});Object.defineProperty(t,"BooleanLiteral",{enumerable:true,get:function(){return n.booleanLiteral}});Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:true,get:function(){return n.booleanLiteralTypeAnnotation}});Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:true,get:function(){return n.booleanTypeAnnotation}});Object.defineProperty(t,"BreakStatement",{enumerable:true,get:function(){return n.breakStatement}});Object.defineProperty(t,"CallExpression",{enumerable:true,get:function(){return n.callExpression}});Object.defineProperty(t,"CatchClause",{enumerable:true,get:function(){return n.catchClause}});Object.defineProperty(t,"ClassAccessorProperty",{enumerable:true,get:function(){return n.classAccessorProperty}});Object.defineProperty(t,"ClassBody",{enumerable:true,get:function(){return n.classBody}});Object.defineProperty(t,"ClassDeclaration",{enumerable:true,get:function(){return n.classDeclaration}});Object.defineProperty(t,"ClassExpression",{enumerable:true,get:function(){return n.classExpression}});Object.defineProperty(t,"ClassImplements",{enumerable:true,get:function(){return n.classImplements}});Object.defineProperty(t,"ClassMethod",{enumerable:true,get:function(){return n.classMethod}});Object.defineProperty(t,"ClassPrivateMethod",{enumerable:true,get:function(){return n.classPrivateMethod}});Object.defineProperty(t,"ClassPrivateProperty",{enumerable:true,get:function(){return n.classPrivateProperty}});Object.defineProperty(t,"ClassProperty",{enumerable:true,get:function(){return n.classProperty}});Object.defineProperty(t,"ConditionalExpression",{enumerable:true,get:function(){return n.conditionalExpression}});Object.defineProperty(t,"ContinueStatement",{enumerable:true,get:function(){return n.continueStatement}});Object.defineProperty(t,"DebuggerStatement",{enumerable:true,get:function(){return n.debuggerStatement}});Object.defineProperty(t,"DecimalLiteral",{enumerable:true,get:function(){return n.decimalLiteral}});Object.defineProperty(t,"DeclareClass",{enumerable:true,get:function(){return n.declareClass}});Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:true,get:function(){return n.declareExportAllDeclaration}});Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:true,get:function(){return n.declareExportDeclaration}});Object.defineProperty(t,"DeclareFunction",{enumerable:true,get:function(){return n.declareFunction}});Object.defineProperty(t,"DeclareInterface",{enumerable:true,get:function(){return n.declareInterface}});Object.defineProperty(t,"DeclareModule",{enumerable:true,get:function(){return n.declareModule}});Object.defineProperty(t,"DeclareModuleExports",{enumerable:true,get:function(){return n.declareModuleExports}});Object.defineProperty(t,"DeclareOpaqueType",{enumerable:true,get:function(){return n.declareOpaqueType}});Object.defineProperty(t,"DeclareTypeAlias",{enumerable:true,get:function(){return n.declareTypeAlias}});Object.defineProperty(t,"DeclareVariable",{enumerable:true,get:function(){return n.declareVariable}});Object.defineProperty(t,"DeclaredPredicate",{enumerable:true,get:function(){return n.declaredPredicate}});Object.defineProperty(t,"Decorator",{enumerable:true,get:function(){return n.decorator}});Object.defineProperty(t,"Directive",{enumerable:true,get:function(){return n.directive}});Object.defineProperty(t,"DirectiveLiteral",{enumerable:true,get:function(){return n.directiveLiteral}});Object.defineProperty(t,"DoExpression",{enumerable:true,get:function(){return n.doExpression}});Object.defineProperty(t,"DoWhileStatement",{enumerable:true,get:function(){return n.doWhileStatement}});Object.defineProperty(t,"EmptyStatement",{enumerable:true,get:function(){return n.emptyStatement}});Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:true,get:function(){return n.emptyTypeAnnotation}});Object.defineProperty(t,"EnumBooleanBody",{enumerable:true,get:function(){return n.enumBooleanBody}});Object.defineProperty(t,"EnumBooleanMember",{enumerable:true,get:function(){return n.enumBooleanMember}});Object.defineProperty(t,"EnumDeclaration",{enumerable:true,get:function(){return n.enumDeclaration}});Object.defineProperty(t,"EnumDefaultedMember",{enumerable:true,get:function(){return n.enumDefaultedMember}});Object.defineProperty(t,"EnumNumberBody",{enumerable:true,get:function(){return n.enumNumberBody}});Object.defineProperty(t,"EnumNumberMember",{enumerable:true,get:function(){return n.enumNumberMember}});Object.defineProperty(t,"EnumStringBody",{enumerable:true,get:function(){return n.enumStringBody}});Object.defineProperty(t,"EnumStringMember",{enumerable:true,get:function(){return n.enumStringMember}});Object.defineProperty(t,"EnumSymbolBody",{enumerable:true,get:function(){return n.enumSymbolBody}});Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:true,get:function(){return n.existsTypeAnnotation}});Object.defineProperty(t,"ExportAllDeclaration",{enumerable:true,get:function(){return n.exportAllDeclaration}});Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:true,get:function(){return n.exportDefaultDeclaration}});Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:true,get:function(){return n.exportDefaultSpecifier}});Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:true,get:function(){return n.exportNamedDeclaration}});Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:true,get:function(){return n.exportNamespaceSpecifier}});Object.defineProperty(t,"ExportSpecifier",{enumerable:true,get:function(){return n.exportSpecifier}});Object.defineProperty(t,"ExpressionStatement",{enumerable:true,get:function(){return n.expressionStatement}});Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.file}});Object.defineProperty(t,"ForInStatement",{enumerable:true,get:function(){return n.forInStatement}});Object.defineProperty(t,"ForOfStatement",{enumerable:true,get:function(){return n.forOfStatement}});Object.defineProperty(t,"ForStatement",{enumerable:true,get:function(){return n.forStatement}});Object.defineProperty(t,"FunctionDeclaration",{enumerable:true,get:function(){return n.functionDeclaration}});Object.defineProperty(t,"FunctionExpression",{enumerable:true,get:function(){return n.functionExpression}});Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:true,get:function(){return n.functionTypeAnnotation}});Object.defineProperty(t,"FunctionTypeParam",{enumerable:true,get:function(){return n.functionTypeParam}});Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:true,get:function(){return n.genericTypeAnnotation}});Object.defineProperty(t,"Identifier",{enumerable:true,get:function(){return n.identifier}});Object.defineProperty(t,"IfStatement",{enumerable:true,get:function(){return n.ifStatement}});Object.defineProperty(t,"Import",{enumerable:true,get:function(){return n.import}});Object.defineProperty(t,"ImportAttribute",{enumerable:true,get:function(){return n.importAttribute}});Object.defineProperty(t,"ImportDeclaration",{enumerable:true,get:function(){return n.importDeclaration}});Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:true,get:function(){return n.importDefaultSpecifier}});Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:true,get:function(){return n.importNamespaceSpecifier}});Object.defineProperty(t,"ImportSpecifier",{enumerable:true,get:function(){return n.importSpecifier}});Object.defineProperty(t,"IndexedAccessType",{enumerable:true,get:function(){return n.indexedAccessType}});Object.defineProperty(t,"InferredPredicate",{enumerable:true,get:function(){return n.inferredPredicate}});Object.defineProperty(t,"InterfaceDeclaration",{enumerable:true,get:function(){return n.interfaceDeclaration}});Object.defineProperty(t,"InterfaceExtends",{enumerable:true,get:function(){return n.interfaceExtends}});Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:true,get:function(){return n.interfaceTypeAnnotation}});Object.defineProperty(t,"InterpreterDirective",{enumerable:true,get:function(){return n.interpreterDirective}});Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:true,get:function(){return n.intersectionTypeAnnotation}});Object.defineProperty(t,"JSXAttribute",{enumerable:true,get:function(){return n.jsxAttribute}});Object.defineProperty(t,"JSXClosingElement",{enumerable:true,get:function(){return n.jsxClosingElement}});Object.defineProperty(t,"JSXClosingFragment",{enumerable:true,get:function(){return n.jsxClosingFragment}});Object.defineProperty(t,"JSXElement",{enumerable:true,get:function(){return n.jsxElement}});Object.defineProperty(t,"JSXEmptyExpression",{enumerable:true,get:function(){return n.jsxEmptyExpression}});Object.defineProperty(t,"JSXExpressionContainer",{enumerable:true,get:function(){return n.jsxExpressionContainer}});Object.defineProperty(t,"JSXFragment",{enumerable:true,get:function(){return n.jsxFragment}});Object.defineProperty(t,"JSXIdentifier",{enumerable:true,get:function(){return n.jsxIdentifier}});Object.defineProperty(t,"JSXMemberExpression",{enumerable:true,get:function(){return n.jsxMemberExpression}});Object.defineProperty(t,"JSXNamespacedName",{enumerable:true,get:function(){return n.jsxNamespacedName}});Object.defineProperty(t,"JSXOpeningElement",{enumerable:true,get:function(){return n.jsxOpeningElement}});Object.defineProperty(t,"JSXOpeningFragment",{enumerable:true,get:function(){return n.jsxOpeningFragment}});Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:true,get:function(){return n.jsxSpreadAttribute}});Object.defineProperty(t,"JSXSpreadChild",{enumerable:true,get:function(){return n.jsxSpreadChild}});Object.defineProperty(t,"JSXText",{enumerable:true,get:function(){return n.jsxText}});Object.defineProperty(t,"LabeledStatement",{enumerable:true,get:function(){return n.labeledStatement}});Object.defineProperty(t,"LogicalExpression",{enumerable:true,get:function(){return n.logicalExpression}});Object.defineProperty(t,"MemberExpression",{enumerable:true,get:function(){return n.memberExpression}});Object.defineProperty(t,"MetaProperty",{enumerable:true,get:function(){return n.metaProperty}});Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:true,get:function(){return n.mixedTypeAnnotation}});Object.defineProperty(t,"ModuleExpression",{enumerable:true,get:function(){return n.moduleExpression}});Object.defineProperty(t,"NewExpression",{enumerable:true,get:function(){return n.newExpression}});Object.defineProperty(t,"Noop",{enumerable:true,get:function(){return n.noop}});Object.defineProperty(t,"NullLiteral",{enumerable:true,get:function(){return n.nullLiteral}});Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:true,get:function(){return n.nullLiteralTypeAnnotation}});Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:true,get:function(){return n.nullableTypeAnnotation}});Object.defineProperty(t,"NumberLiteral",{enumerable:true,get:function(){return n.numberLiteral}});Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:true,get:function(){return n.numberLiteralTypeAnnotation}});Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:true,get:function(){return n.numberTypeAnnotation}});Object.defineProperty(t,"NumericLiteral",{enumerable:true,get:function(){return n.numericLiteral}});Object.defineProperty(t,"ObjectExpression",{enumerable:true,get:function(){return n.objectExpression}});Object.defineProperty(t,"ObjectMethod",{enumerable:true,get:function(){return n.objectMethod}});Object.defineProperty(t,"ObjectPattern",{enumerable:true,get:function(){return n.objectPattern}});Object.defineProperty(t,"ObjectProperty",{enumerable:true,get:function(){return n.objectProperty}});Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:true,get:function(){return n.objectTypeAnnotation}});Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:true,get:function(){return n.objectTypeCallProperty}});Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:true,get:function(){return n.objectTypeIndexer}});Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:true,get:function(){return n.objectTypeInternalSlot}});Object.defineProperty(t,"ObjectTypeProperty",{enumerable:true,get:function(){return n.objectTypeProperty}});Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:true,get:function(){return n.objectTypeSpreadProperty}});Object.defineProperty(t,"OpaqueType",{enumerable:true,get:function(){return n.opaqueType}});Object.defineProperty(t,"OptionalCallExpression",{enumerable:true,get:function(){return n.optionalCallExpression}});Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:true,get:function(){return n.optionalIndexedAccessType}});Object.defineProperty(t,"OptionalMemberExpression",{enumerable:true,get:function(){return n.optionalMemberExpression}});Object.defineProperty(t,"ParenthesizedExpression",{enumerable:true,get:function(){return n.parenthesizedExpression}});Object.defineProperty(t,"PipelineBareFunction",{enumerable:true,get:function(){return n.pipelineBareFunction}});Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:true,get:function(){return n.pipelinePrimaryTopicReference}});Object.defineProperty(t,"PipelineTopicExpression",{enumerable:true,get:function(){return n.pipelineTopicExpression}});Object.defineProperty(t,"Placeholder",{enumerable:true,get:function(){return n.placeholder}});Object.defineProperty(t,"PrivateName",{enumerable:true,get:function(){return n.privateName}});Object.defineProperty(t,"Program",{enumerable:true,get:function(){return n.program}});Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:true,get:function(){return n.qualifiedTypeIdentifier}});Object.defineProperty(t,"RecordExpression",{enumerable:true,get:function(){return n.recordExpression}});Object.defineProperty(t,"RegExpLiteral",{enumerable:true,get:function(){return n.regExpLiteral}});Object.defineProperty(t,"RegexLiteral",{enumerable:true,get:function(){return n.regexLiteral}});Object.defineProperty(t,"RestElement",{enumerable:true,get:function(){return n.restElement}});Object.defineProperty(t,"RestProperty",{enumerable:true,get:function(){return n.restProperty}});Object.defineProperty(t,"ReturnStatement",{enumerable:true,get:function(){return n.returnStatement}});Object.defineProperty(t,"SequenceExpression",{enumerable:true,get:function(){return n.sequenceExpression}});Object.defineProperty(t,"SpreadElement",{enumerable:true,get:function(){return n.spreadElement}});Object.defineProperty(t,"SpreadProperty",{enumerable:true,get:function(){return n.spreadProperty}});Object.defineProperty(t,"StaticBlock",{enumerable:true,get:function(){return n.staticBlock}});Object.defineProperty(t,"StringLiteral",{enumerable:true,get:function(){return n.stringLiteral}});Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:true,get:function(){return n.stringLiteralTypeAnnotation}});Object.defineProperty(t,"StringTypeAnnotation",{enumerable:true,get:function(){return n.stringTypeAnnotation}});Object.defineProperty(t,"Super",{enumerable:true,get:function(){return n.super}});Object.defineProperty(t,"SwitchCase",{enumerable:true,get:function(){return n.switchCase}});Object.defineProperty(t,"SwitchStatement",{enumerable:true,get:function(){return n.switchStatement}});Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:true,get:function(){return n.symbolTypeAnnotation}});Object.defineProperty(t,"TSAnyKeyword",{enumerable:true,get:function(){return n.tsAnyKeyword}});Object.defineProperty(t,"TSArrayType",{enumerable:true,get:function(){return n.tsArrayType}});Object.defineProperty(t,"TSAsExpression",{enumerable:true,get:function(){return n.tsAsExpression}});Object.defineProperty(t,"TSBigIntKeyword",{enumerable:true,get:function(){return n.tsBigIntKeyword}});Object.defineProperty(t,"TSBooleanKeyword",{enumerable:true,get:function(){return n.tsBooleanKeyword}});Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:true,get:function(){return n.tsCallSignatureDeclaration}});Object.defineProperty(t,"TSConditionalType",{enumerable:true,get:function(){return n.tsConditionalType}});Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:true,get:function(){return n.tsConstructSignatureDeclaration}});Object.defineProperty(t,"TSConstructorType",{enumerable:true,get:function(){return n.tsConstructorType}});Object.defineProperty(t,"TSDeclareFunction",{enumerable:true,get:function(){return n.tsDeclareFunction}});Object.defineProperty(t,"TSDeclareMethod",{enumerable:true,get:function(){return n.tsDeclareMethod}});Object.defineProperty(t,"TSEnumDeclaration",{enumerable:true,get:function(){return n.tsEnumDeclaration}});Object.defineProperty(t,"TSEnumMember",{enumerable:true,get:function(){return n.tsEnumMember}});Object.defineProperty(t,"TSExportAssignment",{enumerable:true,get:function(){return n.tsExportAssignment}});Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:true,get:function(){return n.tsExpressionWithTypeArguments}});Object.defineProperty(t,"TSExternalModuleReference",{enumerable:true,get:function(){return n.tsExternalModuleReference}});Object.defineProperty(t,"TSFunctionType",{enumerable:true,get:function(){return n.tsFunctionType}});Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:true,get:function(){return n.tsImportEqualsDeclaration}});Object.defineProperty(t,"TSImportType",{enumerable:true,get:function(){return n.tsImportType}});Object.defineProperty(t,"TSIndexSignature",{enumerable:true,get:function(){return n.tsIndexSignature}});Object.defineProperty(t,"TSIndexedAccessType",{enumerable:true,get:function(){return n.tsIndexedAccessType}});Object.defineProperty(t,"TSInferType",{enumerable:true,get:function(){return n.tsInferType}});Object.defineProperty(t,"TSInstantiationExpression",{enumerable:true,get:function(){return n.tsInstantiationExpression}});Object.defineProperty(t,"TSInterfaceBody",{enumerable:true,get:function(){return n.tsInterfaceBody}});Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:true,get:function(){return n.tsInterfaceDeclaration}});Object.defineProperty(t,"TSIntersectionType",{enumerable:true,get:function(){return n.tsIntersectionType}});Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:true,get:function(){return n.tsIntrinsicKeyword}});Object.defineProperty(t,"TSLiteralType",{enumerable:true,get:function(){return n.tsLiteralType}});Object.defineProperty(t,"TSMappedType",{enumerable:true,get:function(){return n.tsMappedType}});Object.defineProperty(t,"TSMethodSignature",{enumerable:true,get:function(){return n.tsMethodSignature}});Object.defineProperty(t,"TSModuleBlock",{enumerable:true,get:function(){return n.tsModuleBlock}});Object.defineProperty(t,"TSModuleDeclaration",{enumerable:true,get:function(){return n.tsModuleDeclaration}});Object.defineProperty(t,"TSNamedTupleMember",{enumerable:true,get:function(){return n.tsNamedTupleMember}});Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:true,get:function(){return n.tsNamespaceExportDeclaration}});Object.defineProperty(t,"TSNeverKeyword",{enumerable:true,get:function(){return n.tsNeverKeyword}});Object.defineProperty(t,"TSNonNullExpression",{enumerable:true,get:function(){return n.tsNonNullExpression}});Object.defineProperty(t,"TSNullKeyword",{enumerable:true,get:function(){return n.tsNullKeyword}});Object.defineProperty(t,"TSNumberKeyword",{enumerable:true,get:function(){return n.tsNumberKeyword}});Object.defineProperty(t,"TSObjectKeyword",{enumerable:true,get:function(){return n.tsObjectKeyword}});Object.defineProperty(t,"TSOptionalType",{enumerable:true,get:function(){return n.tsOptionalType}});Object.defineProperty(t,"TSParameterProperty",{enumerable:true,get:function(){return n.tsParameterProperty}});Object.defineProperty(t,"TSParenthesizedType",{enumerable:true,get:function(){return n.tsParenthesizedType}});Object.defineProperty(t,"TSPropertySignature",{enumerable:true,get:function(){return n.tsPropertySignature}});Object.defineProperty(t,"TSQualifiedName",{enumerable:true,get:function(){return n.tsQualifiedName}});Object.defineProperty(t,"TSRestType",{enumerable:true,get:function(){return n.tsRestType}});Object.defineProperty(t,"TSSatisfiesExpression",{enumerable:true,get:function(){return n.tsSatisfiesExpression}});Object.defineProperty(t,"TSStringKeyword",{enumerable:true,get:function(){return n.tsStringKeyword}});Object.defineProperty(t,"TSSymbolKeyword",{enumerable:true,get:function(){return n.tsSymbolKeyword}});Object.defineProperty(t,"TSThisType",{enumerable:true,get:function(){return n.tsThisType}});Object.defineProperty(t,"TSTupleType",{enumerable:true,get:function(){return n.tsTupleType}});Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:true,get:function(){return n.tsTypeAliasDeclaration}});Object.defineProperty(t,"TSTypeAnnotation",{enumerable:true,get:function(){return n.tsTypeAnnotation}});Object.defineProperty(t,"TSTypeAssertion",{enumerable:true,get:function(){return n.tsTypeAssertion}});Object.defineProperty(t,"TSTypeLiteral",{enumerable:true,get:function(){return n.tsTypeLiteral}});Object.defineProperty(t,"TSTypeOperator",{enumerable:true,get:function(){return n.tsTypeOperator}});Object.defineProperty(t,"TSTypeParameter",{enumerable:true,get:function(){return n.tsTypeParameter}});Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:true,get:function(){return n.tsTypeParameterDeclaration}});Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:true,get:function(){return n.tsTypeParameterInstantiation}});Object.defineProperty(t,"TSTypePredicate",{enumerable:true,get:function(){return n.tsTypePredicate}});Object.defineProperty(t,"TSTypeQuery",{enumerable:true,get:function(){return n.tsTypeQuery}});Object.defineProperty(t,"TSTypeReference",{enumerable:true,get:function(){return n.tsTypeReference}});Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:true,get:function(){return n.tsUndefinedKeyword}});Object.defineProperty(t,"TSUnionType",{enumerable:true,get:function(){return n.tsUnionType}});Object.defineProperty(t,"TSUnknownKeyword",{enumerable:true,get:function(){return n.tsUnknownKeyword}});Object.defineProperty(t,"TSVoidKeyword",{enumerable:true,get:function(){return n.tsVoidKeyword}});Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:true,get:function(){return n.taggedTemplateExpression}});Object.defineProperty(t,"TemplateElement",{enumerable:true,get:function(){return n.templateElement}});Object.defineProperty(t,"TemplateLiteral",{enumerable:true,get:function(){return n.templateLiteral}});Object.defineProperty(t,"ThisExpression",{enumerable:true,get:function(){return n.thisExpression}});Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:true,get:function(){return n.thisTypeAnnotation}});Object.defineProperty(t,"ThrowStatement",{enumerable:true,get:function(){return n.throwStatement}});Object.defineProperty(t,"TopicReference",{enumerable:true,get:function(){return n.topicReference}});Object.defineProperty(t,"TryStatement",{enumerable:true,get:function(){return n.tryStatement}});Object.defineProperty(t,"TupleExpression",{enumerable:true,get:function(){return n.tupleExpression}});Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:true,get:function(){return n.tupleTypeAnnotation}});Object.defineProperty(t,"TypeAlias",{enumerable:true,get:function(){return n.typeAlias}});Object.defineProperty(t,"TypeAnnotation",{enumerable:true,get:function(){return n.typeAnnotation}});Object.defineProperty(t,"TypeCastExpression",{enumerable:true,get:function(){return n.typeCastExpression}});Object.defineProperty(t,"TypeParameter",{enumerable:true,get:function(){return n.typeParameter}});Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:true,get:function(){return n.typeParameterDeclaration}});Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:true,get:function(){return n.typeParameterInstantiation}});Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:true,get:function(){return n.typeofTypeAnnotation}});Object.defineProperty(t,"UnaryExpression",{enumerable:true,get:function(){return n.unaryExpression}});Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:true,get:function(){return n.unionTypeAnnotation}});Object.defineProperty(t,"UpdateExpression",{enumerable:true,get:function(){return n.updateExpression}});Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:true,get:function(){return n.v8IntrinsicIdentifier}});Object.defineProperty(t,"VariableDeclaration",{enumerable:true,get:function(){return n.variableDeclaration}});Object.defineProperty(t,"VariableDeclarator",{enumerable:true,get:function(){return n.variableDeclarator}});Object.defineProperty(t,"Variance",{enumerable:true,get:function(){return n.variance}});Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:true,get:function(){return n.voidTypeAnnotation}});Object.defineProperty(t,"WhileStatement",{enumerable:true,get:function(){return n.whileStatement}});Object.defineProperty(t,"WithStatement",{enumerable:true,get:function(){return n.withStatement}});Object.defineProperty(t,"YieldExpression",{enumerable:true,get:function(){return n.yieldExpression}});var n=r(7453)},4371:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildChildren;var n=r(601);var s=r(9187);function buildChildren(e){const t=[];for(let r=0;r<e.children.length;r++){let i=e.children[r];if((0,n.isJSXText)(i)){(0,s.default)(i,t);continue}if((0,n.isJSXExpressionContainer)(i))i=i.expression;if((0,n.isJSXEmptyExpression)(i))continue;t.push(i)}return t}},8130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createTSUnionType;var n=r(7453);var s=r(1093);var i=r(601);function createTSUnionType(e){const t=e.map((e=>(0,i.isTSTypeAnnotation)(e)?e.typeAnnotation:e));const r=(0,s.default)(t);if(r.length===1){return r[0]}else{return(0,n.tsUnionType)(r)}}},7170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validateNode;var n=r(4439);var s=r(776);function validateNode(e){const t=s.BUILDER_KEYS[e.type];for(const r of t){(0,n.default)(e,r,e[r])}return e}},7653:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=clone;var n=r(7290);function clone(e){return(0,n.default)(e,false)}},8853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeep;var n=r(7290);function cloneDeep(e){return(0,n.default)(e)}},3198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneDeepWithoutLoc;var n=r(7290);function cloneDeepWithoutLoc(e){return(0,n.default)(e,true,true)}},7290:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneNode;var n=r(7940);var s=r(601);const i=Function.call.bind(Object.prototype.hasOwnProperty);function cloneIfNode(e,t,r,n){if(e&&typeof e.type==="string"){return cloneNodeInternal(e,t,r,n)}return e}function cloneIfNodeOrArray(e,t,r,n){if(Array.isArray(e)){return e.map((e=>cloneIfNode(e,t,r,n)))}return cloneIfNode(e,t,r,n)}function cloneNode(e,t=true,r=false){return cloneNodeInternal(e,t,r,new Map)}function cloneNodeInternal(e,t=true,r=false,a){if(!e)return e;const{type:o}=e;const l={type:e.type};if((0,s.isIdentifier)(e)){l.name=e.name;if(i(e,"optional")&&typeof e.optional==="boolean"){l.optional=e.optional}if(i(e,"typeAnnotation")){l.typeAnnotation=t?cloneIfNodeOrArray(e.typeAnnotation,true,r,a):e.typeAnnotation}}else if(!i(n.NODE_FIELDS,o)){throw new Error(`Unknown node type: "${o}"`)}else{for(const c of Object.keys(n.NODE_FIELDS[o])){if(i(e,c)){if(t){l[c]=(0,s.isFile)(e)&&c==="comments"?maybeCloneComments(e.comments,t,r,a):cloneIfNodeOrArray(e[c],true,r,a)}else{l[c]=e[c]}}}}if(i(e,"loc")){if(r){l.loc=null}else{l.loc=e.loc}}if(i(e,"leadingComments")){l.leadingComments=maybeCloneComments(e.leadingComments,t,r,a)}if(i(e,"innerComments")){l.innerComments=maybeCloneComments(e.innerComments,t,r,a)}if(i(e,"trailingComments")){l.trailingComments=maybeCloneComments(e.trailingComments,t,r,a)}if(i(e,"extra")){l.extra=Object.assign({},e.extra)}return l}function maybeCloneComments(e,t,r,n){if(!e||!t){return e}return e.map((e=>{const t=n.get(e);if(t)return t;const{type:s,value:i,loc:a}=e;const o={type:s,value:i,loc:a};if(r){o.loc=null}n.set(e,o);return o}))}},764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cloneWithoutLoc;var n=r(7290);function cloneWithoutLoc(e){return(0,n.default)(e,false,true)}},2217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addComment;var n=r(7777);function addComment(e,t,r,s){return(0,n.default)(e,t,[{type:s?"CommentLine":"CommentBlock",value:r}])}},7777:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=addComments;function addComments(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;if(e[n]){if(t==="leading"){e[n]=r.concat(e[n])}else{e[n].push(...r)}}else{e[n]=r}return e}},2324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritInnerComments;var n=r(1066);function inheritInnerComments(e,t){(0,n.default)("innerComments",e,t)}},4570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritLeadingComments;var n=r(1066);function inheritLeadingComments(e,t){(0,n.default)("leadingComments",e,t)}},7720:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritTrailingComments;var n=r(1066);function inheritTrailingComments(e,t){(0,n.default)("trailingComments",e,t)}},8727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inheritsComments;var n=r(7720);var s=r(4570);var i=r(2324);function inheritsComments(e,t){(0,n.default)(e,t);(0,s.default)(e,t);(0,i.default)(e,t);return e}},2320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeComments;var n=r(4152);function removeComments(e){n.COMMENT_KEYS.forEach((t=>{e[t]=null}));return e}},4300:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMPORTOREXPORTDECLARATION_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=t.ACCESSOR_TYPES=void 0;var n=r(7940);const s=n.FLIPPED_ALIAS_KEYS["Standardized"];t.STANDARDIZED_TYPES=s;const i=n.FLIPPED_ALIAS_KEYS["Expression"];t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS["Binary"];t.BINARY_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS["Scopable"];t.SCOPABLE_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS["BlockParent"];t.BLOCKPARENT_TYPES=l;const c=n.FLIPPED_ALIAS_KEYS["Block"];t.BLOCK_TYPES=c;const u=n.FLIPPED_ALIAS_KEYS["Statement"];t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS["Terminatorless"];t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS["CompletionStatement"];t.COMPLETIONSTATEMENT_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS["Conditional"];t.CONDITIONAL_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS["Loop"];t.LOOP_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS["While"];t.WHILE_TYPES=m;const y=n.FLIPPED_ALIAS_KEYS["ExpressionWrapper"];t.EXPRESSIONWRAPPER_TYPES=y;const g=n.FLIPPED_ALIAS_KEYS["For"];t.FOR_TYPES=g;const b=n.FLIPPED_ALIAS_KEYS["ForXStatement"];t.FORXSTATEMENT_TYPES=b;const T=n.FLIPPED_ALIAS_KEYS["Function"];t.FUNCTION_TYPES=T;const S=n.FLIPPED_ALIAS_KEYS["FunctionParent"];t.FUNCTIONPARENT_TYPES=S;const E=n.FLIPPED_ALIAS_KEYS["Pureish"];t.PUREISH_TYPES=E;const x=n.FLIPPED_ALIAS_KEYS["Declaration"];t.DECLARATION_TYPES=x;const v=n.FLIPPED_ALIAS_KEYS["PatternLike"];t.PATTERNLIKE_TYPES=v;const P=n.FLIPPED_ALIAS_KEYS["LVal"];t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS["TSEntityName"];t.TSENTITYNAME_TYPES=A;const w=n.FLIPPED_ALIAS_KEYS["Literal"];t.LITERAL_TYPES=w;const C=n.FLIPPED_ALIAS_KEYS["Immutable"];t.IMMUTABLE_TYPES=C;const I=n.FLIPPED_ALIAS_KEYS["UserWhitespacable"];t.USERWHITESPACABLE_TYPES=I;const O=n.FLIPPED_ALIAS_KEYS["Method"];t.METHOD_TYPES=O;const k=n.FLIPPED_ALIAS_KEYS["ObjectMember"];t.OBJECTMEMBER_TYPES=k;const N=n.FLIPPED_ALIAS_KEYS["Property"];t.PROPERTY_TYPES=N;const _=n.FLIPPED_ALIAS_KEYS["UnaryLike"];t.UNARYLIKE_TYPES=_;const D=n.FLIPPED_ALIAS_KEYS["Pattern"];t.PATTERN_TYPES=D;const M=n.FLIPPED_ALIAS_KEYS["Class"];t.CLASS_TYPES=M;const L=n.FLIPPED_ALIAS_KEYS["ImportOrExportDeclaration"];t.IMPORTOREXPORTDECLARATION_TYPES=L;const j=n.FLIPPED_ALIAS_KEYS["ExportDeclaration"];t.EXPORTDECLARATION_TYPES=j;const F=n.FLIPPED_ALIAS_KEYS["ModuleSpecifier"];t.MODULESPECIFIER_TYPES=F;const B=n.FLIPPED_ALIAS_KEYS["Accessor"];t.ACCESSOR_TYPES=B;const R=n.FLIPPED_ALIAS_KEYS["Private"];t.PRIVATE_TYPES=R;const U=n.FLIPPED_ALIAS_KEYS["Flow"];t.FLOW_TYPES=U;const V=n.FLIPPED_ALIAS_KEYS["FlowType"];t.FLOWTYPE_TYPES=V;const K=n.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"];t.FLOWBASEANNOTATION_TYPES=K;const W=n.FLIPPED_ALIAS_KEYS["FlowDeclaration"];t.FLOWDECLARATION_TYPES=W;const $=n.FLIPPED_ALIAS_KEYS["FlowPredicate"];t.FLOWPREDICATE_TYPES=$;const q=n.FLIPPED_ALIAS_KEYS["EnumBody"];t.ENUMBODY_TYPES=q;const H=n.FLIPPED_ALIAS_KEYS["EnumMember"];t.ENUMMEMBER_TYPES=H;const J=n.FLIPPED_ALIAS_KEYS["JSX"];t.JSX_TYPES=J;const G=n.FLIPPED_ALIAS_KEYS["Miscellaneous"];t.MISCELLANEOUS_TYPES=G;const X=n.FLIPPED_ALIAS_KEYS["TypeScript"];t.TYPESCRIPT_TYPES=X;const z=n.FLIPPED_ALIAS_KEYS["TSTypeElement"];t.TSTYPEELEMENT_TYPES=z;const Y=n.FLIPPED_ALIAS_KEYS["TSType"];t.TSTYPE_TYPES=Y;const Q=n.FLIPPED_ALIAS_KEYS["TSBaseType"];t.TSBASETYPE_TYPES=Q;const Z=L;t.MODULEDECLARATION_TYPES=Z},4152:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.NOT_LOCAL_BINDING=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BLOCK_SCOPED_SYMBOL=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=void 0;const r=["consequent","body","alternate"];t.STATEMENT_OR_BLOCK_KEYS=r;const n=["body","expressions"];t.FLATTENABLE_KEYS=n;const s=["left","init"];t.FOR_INIT_KEYS=s;const i=["leadingComments","trailingComments","innerComments"];t.COMMENT_KEYS=i;const a=["||","&&","??"];t.LOGICAL_OPERATORS=a;const o=["++","--"];t.UPDATE_OPERATORS=o;const l=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;const c=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=c;const u=[...c,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=u;const p=[...u,...l];t.BOOLEAN_BINARY_OPERATORS=p;const f=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=f;const d=["+",...f,...p,"|>"];t.BINARY_OPERATORS=d;const h=["=","+=",...f.map((e=>e+"=")),...a.map((e=>e+"="))];t.ASSIGNMENT_OPERATORS=h;const m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;const y=["+","-","~"];t.NUMBER_UNARY_OPERATORS=y;const g=["typeof"];t.STRING_UNARY_OPERATORS=g;const b=["void","throw",...m,...y,...g];t.UNARY_OPERATORS=b;const T={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=T;const S=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=S;const E=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=E},1846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=ensureBlock;var n=r(3763);function ensureBlock(e,t="body"){const r=(0,n.default)(e[t],e);e[t]=r;return r}},2855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=gatherSequenceExpressions;var n=r(6332);var s=r(601);var i=r(7453);var a=r(7290);function gatherSequenceExpressions(e,t,r){const o=[];let l=true;for(const c of e){if(!(0,s.isEmptyStatement)(c)){l=false}if((0,s.isExpression)(c)){o.push(c)}else if((0,s.isExpressionStatement)(c)){o.push(c.expression)}else if((0,s.isVariableDeclaration)(c)){if(c.kind!=="var")return;for(const e of c.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t)){r.push({kind:c.kind,id:(0,a.default)(t[e])})}if(e.init){o.push((0,i.assignmentExpression)("=",e.id,e.init))}}l=true}else if((0,s.isIfStatement)(c)){const e=c.consequent?gatherSequenceExpressions([c.consequent],t,r):t.buildUndefinedNode();const n=c.alternate?gatherSequenceExpressions([c.alternate],t,r):t.buildUndefinedNode();if(!e||!n)return;o.push((0,i.conditionalExpression)(c.test,e,n))}else if((0,s.isBlockStatement)(c)){const e=gatherSequenceExpressions(c.body,t,r);if(!e)return;o.push(e)}else if((0,s.isEmptyStatement)(c)){if(e.indexOf(c)===0){l=true}}else{return}}if(l){o.push(t.buildUndefinedNode())}if(o.length===1){return o[0]}else{return(0,i.sequenceExpression)(o)}}},1642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBindingIdentifierName;var n=r(5842);function toBindingIdentifierName(e){e=(0,n.default)(e);if(e==="eval"||e==="arguments")e="_"+e;return e}},3763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toBlock;var n=r(601);var s=r(7453);function toBlock(e,t){if((0,n.isBlockStatement)(e)){return e}let r=[];if((0,n.isEmptyStatement)(e)){r=[]}else{if(!(0,n.isStatement)(e)){if((0,n.isFunction)(t)){e=(0,s.returnStatement)(e)}else{e=(0,s.expressionStatement)(e)}}r=[e]}return(0,s.blockStatement)(r)}},8564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toComputedKey;var n=r(601);var s=r(7453);function toComputedKey(e,t=e.key||e.property){if(!e.computed&&(0,n.isIdentifier)(t))t=(0,s.stringLiteral)(t.name);return t}},4409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(601);var s=toExpression;t["default"]=s;function toExpression(e){if((0,n.isExpressionStatement)(e)){e=e.expression}if((0,n.isExpression)(e)){return e}if((0,n.isClass)(e)){e.type="ClassExpression"}else if((0,n.isFunction)(e)){e.type="FunctionExpression"}if(!(0,n.isExpression)(e)){throw new Error(`cannot turn ${e.type} to an expression`)}return e}},5842:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toIdentifier;var n=r(6488);var s=r(4975);function toIdentifier(e){e=e+"";let t="";for(const r of e){t+=(0,s.isIdentifierChar)(r.codePointAt(0))?r:"-"}t=t.replace(/^[-0-9]+/,"");t=t.replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}));if(!(0,n.default)(t)){t=`_${t}`}return t||"_"}},8136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toKeyAlias;var n=r(601);var s=r(7290);var i=r(2510);function toKeyAlias(e,t=e.key){let r;if(e.kind==="method"){return toKeyAlias.increment()+""}else if((0,n.isIdentifier)(t)){r=t.name}else if((0,n.isStringLiteral)(t)){r=JSON.stringify(t.value)}else{r=JSON.stringify((0,i.default)((0,s.default)(t)))}if(e.computed){r=`[${r}]`}if(e.static){r=`static:${r}`}return r}toKeyAlias.uid=0;toKeyAlias.increment=function(){if(toKeyAlias.uid>=Number.MAX_SAFE_INTEGER){return toKeyAlias.uid=0}else{return toKeyAlias.uid++}}},3541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toSequenceExpression;var n=r(2855);function toSequenceExpression(e,t){if(!(e!=null&&e.length))return;const r=[];const s=(0,n.default)(e,t,r);if(!s)return;for(const e of r){t.push(e)}return s}},5678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(601);var s=r(7453);var i=toStatement;t["default"]=i;function toStatement(e,t){if((0,n.isStatement)(e)){return e}let r=false;let i;if((0,n.isClass)(e)){r=true;i="ClassDeclaration"}else if((0,n.isFunction)(e)){r=true;i="FunctionDeclaration"}else if((0,n.isAssignmentExpression)(e)){return(0,s.expressionStatement)(e)}if(r&&!e.id){i=false}if(!i){if(t){return false}else{throw new Error(`cannot turn ${e.type} to a statement`)}}e.type=i;return e}},2576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(6488);var s=r(7453);var i=valueToNode;t["default"]=i;const a=Function.call.bind(Object.prototype.toString);function isRegExp(e){return a(e)==="[object RegExp]"}function isPlainObject(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function valueToNode(e){if(e===undefined){return(0,s.identifier)("undefined")}if(e===true||e===false){return(0,s.booleanLiteral)(e)}if(e===null){return(0,s.nullLiteral)()}if(typeof e==="string"){return(0,s.stringLiteral)(e)}if(typeof e==="number"){let t;if(Number.isFinite(e)){t=(0,s.numericLiteral)(Math.abs(e))}else{let r;if(Number.isNaN(e)){r=(0,s.numericLiteral)(0)}else{r=(0,s.numericLiteral)(1)}t=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}if(e<0||Object.is(e,-0)){t=(0,s.unaryExpression)("-",t)}return t}if(isRegExp(e)){const t=e.source;const r=e.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(t,r)}if(Array.isArray(e)){return(0,s.arrayExpression)(e.map(valueToNode))}if(isPlainObject(e)){const t=[];for(const r of Object.keys(e)){let i;if((0,n.default)(r)){i=(0,s.identifier)(r)}else{i=(0,s.stringLiteral)(r)}t.push((0,s.objectProperty)(i,valueToNode(e[r])))}return(0,s.objectExpression)(t)}throw new Error("don't know how to turn this value into a node")}},8013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.patternLikeCommon=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var n=r(9247);var s=r(6488);var i=r(4975);var a=r(6476);var o=r(4152);var l=r(3706);const c=(0,l.defineAliasedType)("Standardized");c("ArrayExpression",{fields:{elements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:!process.env.BABEL_TYPES_8_BREAKING?[]:undefined}},visitor:["elements"],aliases:["Expression"]});c("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,l.assertValueType)("string")}const e=(0,l.assertOneOf)(...o.ASSIGNMENT_OPERATORS);const t=(0,l.assertOneOf)("=");return function(r,s,i){const a=(0,n.default)("Pattern",r.left)?t:e;a(r,s,i)}}()},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("LVal"):(0,l.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});c("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,l.assertOneOf)(...o.BINARY_OPERATORS)},left:{validate:function(){const e=(0,l.assertNodeType)("Expression");const t=(0,l.assertNodeType)("Expression","PrivateName");const r=Object.assign((function(r,n,s){const i=r.operator==="in"?t:e;i(r,n,s)}),{oneOfNodeTypes:["Expression","PrivateName"]});return r}()},right:{validate:(0,l.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});c("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}});c("Directive",{visitor:["value"],fields:{value:{validate:(0,l.assertNodeType)("DirectiveLiteral")}}});c("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}}});c("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Directive"))),default:[]},body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});c("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});c("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,l.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,l.assertOneOf)(true,false),optional:true}}:{},{typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:true}})});c("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:true},body:{validate:(0,l.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});c("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Expression")},alternate:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});c("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,l.assertNodeType)("Identifier"),optional:true}},aliases:["Statement","Terminatorless","CompletionStatement"]});c("DebuggerStatement",{aliases:["Statement"]});c("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});c("EmptyStatement",{aliases:["Statement"]});c("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});c("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,l.assertNodeType)("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign((()=>{}),{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):(0,l.assertEach)((0,l.assertNodeType)("CommentBlock","CommentLine")),optional:true},tokens:{validate:(0,l.assertEach)(Object.assign((()=>{}),{type:"any"})),optional:true}}});c("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("VariableDeclaration","LVal"):(0,l.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,l.assertNodeType)("VariableDeclaration","Expression"),optional:true},test:{validate:(0,l.assertNodeType)("Expression"),optional:true},update:{validate:(0,l.assertNodeType)("Expression"),optional:true},body:{validate:(0,l.assertNodeType)("Statement")}}});const functionCommon=()=>({params:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:false},async:{default:false}});t.functionCommon=functionCommon;const functionTypeAnnotationCommon=()=>({returnType:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true}});t.functionTypeAnnotationCommon=functionTypeAnnotationCommon;const functionDeclarationCommon=()=>Object.assign({},functionCommon(),{declare:{validate:(0,l.assertValueType)("boolean"),optional:true},id:{validate:(0,l.assertNodeType)("Identifier"),optional:true}});t.functionDeclarationCommon=functionDeclarationCommon;c("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},functionDeclarationCommon(),functionTypeAnnotationCommon(),{body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};const e=(0,l.assertNodeType)("Identifier");return function(t,r,s){if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});c("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},functionCommon(),functionTypeAnnotationCommon(),{id:{validate:(0,l.assertNodeType)("Identifier"),optional:true},body:{validate:(0,l.assertNodeType)("BlockStatement")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});const patternLikeCommon=()=>({typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},optional:{validate:(0,l.assertValueType)("boolean"),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true}});t.patternLikeCommon=patternLikeCommon;c("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},patternLikeCommon(),{name:{validate:(0,l.chain)((0,l.assertValueType)("string"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,s.default)(r,false)){throw new TypeError(`"${r}" is not a valid identifier name`)}}),{type:"string"}))}}),validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const s=/\.(\w+)$/.exec(t);if(!s)return;const[,a]=s;const o={computed:false};if(a==="property"){if((0,n.default)("MemberExpression",e,o))return;if((0,n.default)("OptionalMemberExpression",e,o))return}else if(a==="key"){if((0,n.default)("Property",e,o))return;if((0,n.default)("Method",e,o))return}else if(a==="exported"){if((0,n.default)("ExportSpecifier",e))return}else if(a==="imported"){if((0,n.default)("ImportSpecifier",e,{imported:r}))return}else if(a==="meta"){if((0,n.default)("MetaProperty",e,{meta:r}))return}if(((0,i.isKeyword)(r.name)||(0,i.isReservedWord)(r.name,false))&&r.name!=="this"){throw new TypeError(`"${r.name}" is not a valid identifier`)}}});c("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},consequent:{validate:(0,l.assertNodeType)("Statement")},alternate:{optional:true,validate:(0,l.assertNodeType)("Statement")}}});c("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,l.assertNodeType)("Identifier")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("StringLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,l.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});c("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,l.assertValueType)("string")},flags:{validate:(0,l.chain)((0,l.assertValueType)("string"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;const n=/[^gimsuy]/.exec(r);if(n){throw new TypeError(`"${n[0]}" is not a valid RegExp flag`)}}),{type:"string"})),default:""}}});c("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,l.assertOneOf)(...o.LOGICAL_OPERATORS)},left:{validate:(0,l.assertNodeType)("Expression")},right:{validate:(0,l.assertNodeType)("Expression")}}});c("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,l.assertNodeType)("Expression","Super")},property:{validate:function(){const e=(0,l.assertNodeType)("Identifier","PrivateName");const t=(0,l.assertNodeType)("Expression");const validator=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","Identifier","PrivateName"];return validator}()},computed:{default:false}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:(0,l.assertOneOf)(true,false),optional:true}}:{})});c("NewExpression",{inherits:"CallExpression"});c("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,l.assertValueType)("string")},sourceType:{validate:(0,l.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,l.assertNodeType)("InterpreterDirective"),default:null,optional:true},directives:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Directive"))),default:[]},body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});c("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});c("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},functionCommon(),functionTypeAnnotationCommon(),{kind:Object.assign({validate:(0,l.assertOneOf)("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:false},key:{validate:function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral");const t=(0,l.assertNodeType)("Expression");const validator=function(r,n,s){const i=r.computed?t:e;i(r,n,s)};validator.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"];return validator}()},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},body:{validate:(0,l.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});c("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:false},key:{validate:function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName");const t=(0,l.assertNodeType)("Expression");const r=Object.assign((function(r,n,s){const i=r.computed?t:e;i(r,n,s)}),{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]});return r}()},value:{validate:(0,l.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.computed){throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}}),{type:"boolean"}),(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!(0,n.default)("Identifier",e.key)){throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}})),default:false},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const e=(0,l.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion");const t=(0,l.assertNodeType)("Expression");return function(r,s,i){if(!process.env.BABEL_TYPES_8_BREAKING)return;const a=(0,n.default)("ObjectPattern",r)?e:t;a(i,"value",i.value)}}()});c("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},patternLikeCommon(),{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("LVal"):(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")}}),validate(e,t){if(!process.env.BABEL_TYPES_8_BREAKING)return;const r=/(\w+)\[(\d+)\]/.exec(t);if(!r)throw new Error("Internal Babel error: malformed key.");const[,n,s]=r;if(e[n].length>+s+1){throw new TypeError(`RestElement must be last element of ${n}`)}}});c("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression"),optional:true}}});c("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression")))}},aliases:["Expression"]});c("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,l.assertNodeType)("Expression")}}});c("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,l.assertNodeType)("Expression"),optional:true},consequent:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}}});c("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,l.assertNodeType)("Expression")},cases:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("SwitchCase")))}}});c("ThisExpression",{aliases:["Expression"]});c("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}});c("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,l.chain)((0,l.assertNodeType)("BlockStatement"),Object.assign((function(e){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!e.handler&&!e.finalizer){throw new TypeError("TryStatement expects either a handler or finalizer, or both")}}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:true,validate:(0,l.assertNodeType)("CatchClause")},finalizer:{optional:true,validate:(0,l.assertNodeType)("BlockStatement")}}});c("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:true},argument:{validate:(0,l.assertNodeType)("Expression")},operator:{validate:(0,l.assertOneOf)(...o.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});c("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:false},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertNodeType)("Expression"):(0,l.assertNodeType)("Identifier","MemberExpression")},operator:{validate:(0,l.assertOneOf)(...o.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});c("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,l.assertValueType)("boolean"),optional:true},kind:{validate:(0,l.assertOneOf)("var","let","const","using","await using")},declarations:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("VariableDeclarator")))}},validate(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ForXStatement",e,{left:r}))return;if(r.declarations.length!==1){throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${e.type}`)}}});c("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,l.assertNodeType)("LVal")}const e=(0,l.assertNodeType)("Identifier","ArrayPattern","ObjectPattern");const t=(0,l.assertNodeType)("Identifier");return function(r,n,s){const i=r.init?e:t;i(r,n,s)}}()},definite:{optional:true,validate:(0,l.assertValueType)("boolean")},init:{optional:true,validate:(0,l.assertNodeType)("Expression")}}});c("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")}}});c("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},patternLikeCommon(),{left:{validate:(0,l.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,l.assertNodeType)("Expression")},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true}})});c("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},patternLikeCommon(),{elements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeOrValueType)("null","PatternLike","LVal")))}})});c("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},functionCommon(),functionTypeAnnotationCommon(),{expression:{validate:(0,l.assertValueType)("boolean")},body:{validate:(0,l.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,l.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:true}})});c("ClassBody",{visitor:["body"],fields:{body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}});c("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,l.assertNodeType)("Identifier"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,l.assertNodeType)("Expression")},superTypeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:true}}});c("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,l.assertNodeType)("Identifier")},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:true},body:{validate:(0,l.assertNodeType)("ClassBody")},superClass:{optional:true,validate:(0,l.assertNodeType)("Expression")},superTypeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true},implements:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},mixins:{validate:(0,l.assertNodeType)("InterfaceExtends"),optional:true},declare:{validate:(0,l.assertValueType)("boolean"),optional:true},abstract:{validate:(0,l.assertValueType)("boolean"),optional:true}},validate:function(){const e=(0,l.assertNodeType)("Identifier");return function(t,r,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(!(0,n.default)("ExportDefaultDeclaration",t)){e(s,"id",s.id)}}}()});c("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:(0,l.assertNodeType)("StringLiteral")},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value")),attributes:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},assertions:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))}}});c("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,l.assertNodeType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("value"))}});c("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:true,validate:(0,l.chain)((0,l.assertNodeType)("Declaration"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.specifiers.length){throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}}),{oneOfNodeTypes:["Declaration"]}),(function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&e.source){throw new TypeError("Cannot export a declaration from a source")}}))},attributes:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},assertions:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)(function(){const e=(0,l.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier");const t=(0,l.assertNodeType)("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return e;return function(r,n,s){const i=r.source?e:t;i(r,n,s)}}()))},source:{validate:(0,l.assertNodeType)("StringLiteral"),optional:true},exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value"))}});c("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},exported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,l.assertOneOf)("type","value"),optional:true}}});c("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING){return(0,l.assertNodeType)("VariableDeclaration","LVal")}const e=(0,l.assertNodeType)("VariableDeclaration");const t=(0,l.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,s,i){if((0,n.default)("VariableDeclaration",i)){e(r,s,i)}else{t(r,s,i)}}}()},right:{validate:(0,l.assertNodeType)("Expression")},body:{validate:(0,l.assertNodeType)("Statement")},await:{default:false}}});c("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},assertions:{optional:true,validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportAttribute")))},module:{optional:true,validate:(0,l.assertValueType)("boolean")},specifiers:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,l.assertNodeType)("StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:true}}});c("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}});c("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")}}});c("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,l.assertNodeType)("Identifier")},imported:{validate:(0,l.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,l.assertOneOf)("type","typeof","value"),optional:true}}});c("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,l.chain)((0,l.assertNodeType)("Identifier"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let s;switch(r.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta";break}if(!(0,n.default)("Identifier",e.property,{name:s})){throw new TypeError("Unrecognised MetaProperty")}}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,l.assertNodeType)("Identifier")}}});const classMethodOrPropertyCommon=()=>({abstract:{validate:(0,l.assertValueType)("boolean"),optional:true},accessibility:{validate:(0,l.assertOneOf)("public","private","protected"),optional:true},static:{default:false},override:{default:false},computed:{default:false},optional:{validate:(0,l.assertValueType)("boolean"),optional:true},key:{validate:(0,l.chain)(function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral");const t=(0,l.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});t.classMethodOrPropertyCommon=classMethodOrPropertyCommon;const classMethodOrDeclareMethodCommon=()=>Object.assign({},functionCommon(),classMethodOrPropertyCommon(),{params:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,l.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,l.chain)((0,l.assertValueType)("string"),(0,l.assertOneOf)("public","private","protected")),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true}});t.classMethodOrDeclareMethodCommon=classMethodOrDeclareMethodCommon;c("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},classMethodOrDeclareMethodCommon(),functionTypeAnnotationCommon(),{body:{validate:(0,l.assertNodeType)("BlockStatement")}})});c("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},patternLikeCommon(),{properties:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("RestElement","ObjectProperty")))}})});c("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}});c("Super",{aliases:["Expression"]});c("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,l.assertNodeType)("Expression")},quasi:{validate:(0,l.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,l.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});c("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,l.chain)((0,l.assertShape)({raw:{validate:(0,l.assertValueType)("string")},cooked:{validate:(0,l.assertValueType)("string"),optional:true}}),(function templateElementCookedValidator(e){const t=e.value.raw;let r=false;const error=()=>{throw new Error("Internal @babel/types error.")};const{str:n,firstInvalidLoc:s}=(0,a.readStringContents)("template",t,0,0,0,{unterminated(){r=true},strictNumericEscape:error,invalidEscapeSequence:error,numericSeparatorInEscapeSequence:error,unexpectedNumericSeparator:error,invalidDigit:error,invalidCodePoint:error});if(!r)throw new Error("Invalid raw");e.value.cooked=s?null:n}))},tail:{default:false}}});c("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("TemplateElement")))},expressions:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1){throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}}))}}});c("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,l.chain)((0,l.assertValueType)("boolean"),Object.assign((function(e,t,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;if(r&&!e.argument){throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}}),{type:"boolean"})),default:false},argument:{optional:true,validate:(0,l.assertNodeType)("Expression")}}});c("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,l.assertNodeType)("Expression")}}});c("Import",{aliases:["Expression"]});c("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,l.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});c("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,l.assertNodeType)("Identifier")}}});c("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,l.assertNodeType)("Expression")},property:{validate:function(){const e=(0,l.assertNodeType)("Identifier");const t=(0,l.assertNodeType)("Expression");const r=Object.assign((function(r,n,s){const i=r.computed?t:e;i(r,n,s)}),{oneOfNodeTypes:["Expression","Identifier"]});return r}()},computed:{default:false},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertValueType)("boolean"):(0,l.chain)((0,l.assertValueType)("boolean"),(0,l.assertOptionalChainStart)())}}});c("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,l.assertNodeType)("Expression")},arguments:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?(0,l.assertValueType)("boolean"):(0,l.chain)((0,l.assertValueType)("boolean"),(0,l.assertOptionalChainStart)())},typeArguments:{validate:(0,l.assertNodeType)("TypeParameterInstantiation"),optional:true},typeParameters:{validate:(0,l.assertNodeType)("TSTypeParameterInstantiation"),optional:true}}});c("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},classMethodOrPropertyCommon(),{value:{validate:(0,l.assertNodeType)("Expression"),optional:true},definite:{validate:(0,l.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,l.assertValueType)("boolean"),optional:true},declare:{validate:(0,l.assertValueType)("boolean"),optional:true},variance:{validate:(0,l.assertNodeType)("Variance"),optional:true}})});c("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},classMethodOrPropertyCommon(),{key:{validate:(0,l.chain)(function(){const e=(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName");const t=(0,l.assertNodeType)("Expression");return function(r,n,s){const i=r.computed?t:e;i(r,n,s)}}(),(0,l.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,l.assertNodeType)("Expression"),optional:true},definite:{validate:(0,l.assertValueType)("boolean"),optional:true},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},readonly:{validate:(0,l.assertValueType)("boolean"),optional:true},declare:{validate:(0,l.assertValueType)("boolean"),optional:true},variance:{validate:(0,l.assertNodeType)("Variance"),optional:true}})});c("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,l.assertNodeType)("PrivateName")},value:{validate:(0,l.assertNodeType)("Expression"),optional:true},typeAnnotation:{validate:(0,l.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:true},decorators:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Decorator"))),optional:true},static:{validate:(0,l.assertValueType)("boolean"),default:false},readonly:{validate:(0,l.assertValueType)("boolean"),optional:true},definite:{validate:(0,l.assertValueType)("boolean"),optional:true},variance:{validate:(0,l.assertNodeType)("Variance"),optional:true}}});c("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},classMethodOrDeclareMethodCommon(),functionTypeAnnotationCommon(),{kind:{validate:(0,l.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,l.assertNodeType)("PrivateName")},body:{validate:(0,l.assertNodeType)("BlockStatement")}})});c("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,l.assertNodeType)("Identifier")}}});c("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,l.chain)((0,l.assertValueType)("array"),(0,l.assertEach)((0,l.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})},4482:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEPRECATED_ALIASES=void 0;const r={ModuleDeclaration:"ImportOrExportDeclaration"};t.DEPRECATED_ALIASES=r},6851:(e,t,r)=>{"use strict";var n=r(3706);(0,n.default)("ArgumentPlaceholder",{});(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})}}:{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}});(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:false}}});(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}});(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]});(0,n.default)("TopicReference",{aliases:["Expression"]});(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]});(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},9563:(e,t,r)=>{"use strict";var n=r(3706);const s=(0,n.defineAliasedType)("Flow");const defineInterfaceishType=e=>{const t=e==="DeclareClass";s(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...t?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends"))},t?{mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements"))}:{},{body:(0,n.validateType)("ObjectTypeAnnotation")})})};s("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}});s("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("DeclareClass");s("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}});defineInterfaceishType("DeclareInterface");s("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}});s("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}});s("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});s("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}});s("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}});s("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});s("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}});s("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}});s("ExistsTypeAnnotation",{aliases:["FlowType"]});s("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}});s("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});s("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});s("InferredPredicate",{aliases:["FlowPredicate"]});s("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}});defineInterfaceishType("InterfaceDeclaration");s("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}});s("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});s("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}});s("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,n.arrayOfType)("ObjectTypeIndexer"),optional:true,default:[]},callProperties:{validate:(0,n.arrayOfType)("ObjectTypeCallProperty"),optional:true,default:[]},internalSlots:{validate:(0,n.arrayOfType)("ObjectTypeInternalSlot"),optional:true,default:[]},exact:{validate:(0,n.assertValueType)("boolean"),default:false},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}});s("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}});s("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}});s("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}});s("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}});s("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}});s("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,n.validateType)("FlowType")}});s("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}});s("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}});s("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}});s("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}});s("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}});s("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}});s("Variance",{builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}});s("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});s("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});s("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}});s("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}});s("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}});s("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}});s("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});s("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}});s("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},7940:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ALIAS_KEYS",{enumerable:true,get:function(){return s.ALIAS_KEYS}});Object.defineProperty(t,"BUILDER_KEYS",{enumerable:true,get:function(){return s.BUILDER_KEYS}});Object.defineProperty(t,"DEPRECATED_ALIASES",{enumerable:true,get:function(){return a.DEPRECATED_ALIASES}});Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:true,get:function(){return s.DEPRECATED_KEYS}});Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:true,get:function(){return s.FLIPPED_ALIAS_KEYS}});Object.defineProperty(t,"NODE_FIELDS",{enumerable:true,get:function(){return s.NODE_FIELDS}});Object.defineProperty(t,"NODE_PARENT_VALIDATIONS",{enumerable:true,get:function(){return s.NODE_PARENT_VALIDATIONS}});Object.defineProperty(t,"PLACEHOLDERS",{enumerable:true,get:function(){return i.PLACEHOLDERS}});Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_ALIAS}});Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:true,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}});t.TYPES=void 0;Object.defineProperty(t,"VISITOR_KEYS",{enumerable:true,get:function(){return s.VISITOR_KEYS}});var n=r(3797);r(8013);r(9563);r(8899);r(8195);r(6851);r(3980);var s=r(3706);var i=r(7762);var a=r(4482);Object.keys(a.DEPRECATED_ALIASES).forEach((e=>{s.FLIPPED_ALIAS_KEYS[e]=s.FLIPPED_ALIAS_KEYS[a.DEPRECATED_ALIASES[e]]}));n(s.VISITOR_KEYS);n(s.ALIAS_KEYS);n(s.FLIPPED_ALIAS_KEYS);n(s.NODE_FIELDS);n(s.BUILDER_KEYS);n(s.DEPRECATED_KEYS);n(i.PLACEHOLDERS_ALIAS);n(i.PLACEHOLDERS_FLIPPED_ALIAS);const o=[].concat(Object.keys(s.VISITOR_KEYS),Object.keys(s.FLIPPED_ALIAS_KEYS),Object.keys(s.DEPRECATED_KEYS));t.TYPES=o},8899:(e,t,r)=>{"use strict";var n=r(3706);const s=(0,n.defineAliasedType)("JSX");s("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:true,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});s("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});s("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:true,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:true}})});s("JSXEmptyExpression",{});s("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}});s("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}});s("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}});s("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});s("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}});s("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:false},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:true}}});s("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}});s("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}});s("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});s("JSXOpeningFragment",{aliases:["Immutable"]});s("JSXClosingFragment",{aliases:["Immutable"]})},8195:(e,t,r)=>{"use strict";var n=r(3706);var s=r(7762);const i=(0,n.defineAliasedType)("Miscellaneous");{i("Noop",{visitor:[]})}i("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...s.PLACEHOLDERS)}}});i("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},7762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(3706);const s=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=s;const i={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=i;for(const e of s){const t=n.ALIAS_KEYS[e];if(t!=null&&t.length)i[e]=t}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a;Object.keys(i).forEach((e=>{i[e].forEach((t=>{if(!Object.hasOwnProperty.call(a,t)){a[t]=[]}a[t].push(e)}))}))},3980:(e,t,r)=>{"use strict";var n=r(3706);var s=r(8013);var i=r(9247);const a=(0,n.defineAliasedType)("TypeScript");const o=(0,n.assertValueType)("boolean");const tSFunctionTypeAnnotationCommon=()=>({returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:true},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:true}});a("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:true},readonly:{validate:(0,n.assertValueType)("boolean"),optional:true},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:true},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:true}}});a("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,s.functionDeclarationCommon)(),tSFunctionTypeAnnotationCommon())});a("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,s.classMethodOrDeclareMethodCommon)(),tSFunctionTypeAnnotationCommon())});a("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const signatureDeclarationCommon=()=>({typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),["parameters"]:(0,n.validateArrayOfType)(["Identifier","RestElement"]),["typeAnnotation"]:(0,n.validateOptionalType)("TSTypeAnnotation")});const l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:signatureDeclarationCommon()};a("TSCallSignatureDeclaration",l);a("TSConstructSignatureDeclaration",l);const namedTypeElementCommon=()=>({key:(0,n.validateType)("Expression"),computed:{default:false},optional:(0,n.validateOptional)(o)});a("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},namedTypeElementCommon(),{readonly:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})});a("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},signatureDeclarationCommon(),namedTypeElementCommon(),{kind:{validate:(0,n.assertOneOf)("method","get","set")}})});a("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(o),static:(0,n.validateOptional)(o),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const c=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of c){a(e,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}})}a("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const u={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};a("TSFunctionType",Object.assign({},u,{fields:signatureDeclarationCommon()}));a("TSConstructorType",Object.assign({},u,{fields:Object.assign({},signatureDeclarationCommon(),{abstract:(0,n.validateOptional)(o)})}));a("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(o)}});a("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}});a("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}});a("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});a("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:o,default:false},elementType:(0,n.validateType)("TSType")}});const p={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};a("TSUnionType",p);a("TSIntersectionType",p);a("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}});a("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}});a("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});a("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}});a("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}});a("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)((0,n.assertOneOf)(true,false,"+","-")),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)((0,n.assertOneOf)(true,false,"+","-")),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}});a("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral");const t=(0,n.assertOneOf)("-");const r=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function validator(n,s,a){if((0,i.default)("UnaryExpression",a)){t(a,"operator",a.operator);e(a,"argument",a.argument)}else{r(n,s,a)}}validator.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"];return validator}()}}});a("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}});a("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}});a("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}});a("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("Expression"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});const f={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}};a("TSAsExpression",f);a("TSSatisfiesExpression",f);a("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}});a("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(o),const:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}});a("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}});a("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(o),global:(0,n.validateOptional)(o),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});a("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}});a("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});a("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(o),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:true}}});a("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}});a("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});a("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}});a("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}});a("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}});a("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}});a("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}});a("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},in:{validate:(0,n.assertValueType)("boolean"),optional:true},out:{validate:(0,n.assertValueType)("boolean"),optional:true},const:{validate:(0,n.assertValueType)("boolean"),optional:true},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:true},default:{validate:(0,n.assertNodeType)("TSType"),optional:true}}})},3706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0;t.arrayOf=arrayOf;t.arrayOfType=arrayOfType;t.assertEach=assertEach;t.assertNodeOrValueType=assertNodeOrValueType;t.assertNodeType=assertNodeType;t.assertOneOf=assertOneOf;t.assertOptionalChainStart=assertOptionalChainStart;t.assertShape=assertShape;t.assertValueType=assertValueType;t.chain=chain;t["default"]=defineType;t.defineAliasedType=defineAliasedType;t.typeIs=typeIs;t.validate=validate;t.validateArrayOfType=validateArrayOfType;t.validateOptional=validateOptional;t.validateOptionalType=validateOptionalType;t.validateType=validateType;var n=r(9247);var s=r(4439);const i={};t.VISITOR_KEYS=i;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const c={};t.BUILDER_KEYS=c;const u={};t.DEPRECATED_KEYS=u;const p={};t.NODE_PARENT_VALIDATIONS=p;function getType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}else{return typeof e}}function validate(e){return{validate:e}}function typeIs(e){return typeof e==="string"?assertNodeType(e):assertNodeType(...e)}function validateType(e){return validate(typeIs(e))}function validateOptional(e){return{validate:e,optional:true}}function validateOptionalType(e){return{validate:typeIs(e),optional:true}}function arrayOf(e){return chain(assertValueType("array"),assertEach(e))}function arrayOfType(e){return arrayOf(typeIs(e))}function validateArrayOfType(e){return validate(arrayOfType(e))}function assertEach(e){function validator(t,r,n){if(!Array.isArray(n))return;for(let i=0;i<n.length;i++){const a=`${r}[${i}]`;const o=n[i];e(t,a,o);if(process.env.BABEL_TYPES_8_BREAKING)(0,s.validateChild)(t,a,o)}}validator.each=e;return validator}function assertOneOf(...e){function validate(t,r,n){if(e.indexOf(n)<0){throw new TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}}validate.oneOf=e;return validate}function assertNodeType(...e){function validate(t,r,i){for(const a of e){if((0,n.default)(a,i)){(0,s.validateChild)(t,r,i);return}}throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i==null?void 0:i.type)}`)}validate.oneOfNodeTypes=e;return validate}function assertNodeOrValueType(...e){function validate(t,r,i){for(const a of e){if(getType(i)===a||(0,n.default)(a,i)){(0,s.validateChild)(t,r,i);return}}throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(i==null?void 0:i.type)}`)}validate.oneOfNodeOrValueTypes=e;return validate}function assertValueType(e){function validate(t,r,n){const s=getType(n)===e;if(!s){throw new TypeError(`Property ${r} expected type of ${e} but got ${getType(n)}`)}}validate.type=e;return validate}function assertShape(e){function validate(t,r,n){const i=[];for(const r of Object.keys(e)){try{(0,s.validateField)(t,r,n[r],e[r])}catch(e){if(e instanceof TypeError){i.push(e.message);continue}throw e}}if(i.length){throw new TypeError(`Property ${r} of ${t.type} expected to have the following:\n${i.join("\n")}`)}}validate.shapeOf=e;return validate}function assertOptionalChainStart(){function validate(e){var t;let r=e;while(e){const{type:e}=r;if(e==="OptionalCallExpression"){if(r.optional)return;r=r.callee;continue}if(e==="OptionalMemberExpression"){if(r.optional)return;r=r.object;continue}break}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(t=r)==null?void 0:t.type}`)}return validate}function chain(...e){function validate(...t){for(const r of e){r(...t)}}validate.chainOf=e;if(e.length>=2&&"type"in e[0]&&e[0].type==="array"&&!("each"in e[1])){throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`)}return validate}const f=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"];const d=["default","optional","deprecated","validate"];const h={};function defineAliasedType(...e){return(t,r={})=>{let n=r.aliases;if(!n){var s,i;if(r.inherits)n=(s=h[r.inherits].aliases)==null?void 0:s.slice();(i=n)!=null?i:n=[];r.aliases=n}const a=e.filter((e=>!n.includes(e)));n.unshift(...a);defineType(t,r)}}function defineType(e,t={}){const r=t.inherits&&h[t.inherits]||{};let n=t.fields;if(!n){n={};if(r.fields){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t];const s=e.default;if(Array.isArray(s)?s.length>0:s&&typeof s==="object"){throw new Error("field defaults can only be primitives or empty arrays currently")}n[t]={default:Array.isArray(s)?[]:s,optional:e.optional,deprecated:e.deprecated,validate:e.validate}}}}const s=t.visitor||r.visitor||[];const m=t.aliases||r.aliases||[];const y=t.builder||r.builder||t.visitor||[];for(const r of Object.keys(t)){if(f.indexOf(r)===-1){throw new Error(`Unknown type option "${r}" on ${e}`)}}if(t.deprecatedAlias){u[t.deprecatedAlias]=e}for(const e of s.concat(y)){n[e]=n[e]||{}}for(const t of Object.keys(n)){const r=n[t];if(r.default!==undefined&&y.indexOf(t)===-1){r.optional=true}if(r.default===undefined){r.default=null}else if(!r.validate&&r.default!=null){r.validate=assertValueType(getType(r.default))}for(const n of Object.keys(r)){if(d.indexOf(n)===-1){throw new Error(`Unknown field key "${n}" on ${e}.${t}`)}}}i[e]=t.visitor=s;c[e]=t.builder=y;l[e]=t.fields=n;a[e]=t.aliases=m;m.forEach((t=>{o[t]=o[t]||[];o[t].push(e)}));if(t.validate){p[e]=t.validate}h[e]=t}},776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n={react:true,assertNode:true,createTypeAnnotationBasedOnTypeof:true,createUnionTypeAnnotation:true,createFlowUnionType:true,createTSUnionType:true,cloneNode:true,clone:true,cloneDeep:true,cloneDeepWithoutLoc:true,cloneWithoutLoc:true,addComment:true,addComments:true,inheritInnerComments:true,inheritLeadingComments:true,inheritsComments:true,inheritTrailingComments:true,removeComments:true,ensureBlock:true,toBindingIdentifierName:true,toBlock:true,toComputedKey:true,toExpression:true,toIdentifier:true,toKeyAlias:true,toSequenceExpression:true,toStatement:true,valueToNode:true,appendToMemberExpression:true,inherits:true,prependToMemberExpression:true,removeProperties:true,removePropertiesDeep:true,removeTypeDuplicates:true,getBindingIdentifiers:true,getOuterBindingIdentifiers:true,traverse:true,traverseFast:true,shallowEqual:true,is:true,isBinding:true,isBlockScoped:true,isImmutable:true,isLet:true,isNode:true,isNodesEquivalent:true,isPlaceholderType:true,isReferenced:true,isScope:true,isSpecifierDefault:true,isType:true,isValidES3Identifier:true,isValidIdentifier:true,isVar:true,matchesPattern:true,validate:true,buildMatchMemberExpression:true,__internal__deprecationWarning:true};Object.defineProperty(t,"__internal__deprecationWarning",{enumerable:true,get:function(){return me.default}});Object.defineProperty(t,"addComment",{enumerable:true,get:function(){return T.default}});Object.defineProperty(t,"addComments",{enumerable:true,get:function(){return S.default}});Object.defineProperty(t,"appendToMemberExpression",{enumerable:true,get:function(){return R.default}});Object.defineProperty(t,"assertNode",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:true,get:function(){return de.default}});Object.defineProperty(t,"clone",{enumerable:true,get:function(){return m.default}});Object.defineProperty(t,"cloneDeep",{enumerable:true,get:function(){return y.default}});Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:true,get:function(){return g.default}});Object.defineProperty(t,"cloneNode",{enumerable:true,get:function(){return h.default}});Object.defineProperty(t,"cloneWithoutLoc",{enumerable:true,get:function(){return b.default}});Object.defineProperty(t,"createFlowUnionType",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"createTSUnionType",{enumerable:true,get:function(){return p.default}});Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:true,get:function(){return u.default}});Object.defineProperty(t,"ensureBlock",{enumerable:true,get:function(){return I.default}});Object.defineProperty(t,"getBindingIdentifiers",{enumerable:true,get:function(){return q.default}});Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:true,get:function(){return H.default}});Object.defineProperty(t,"inheritInnerComments",{enumerable:true,get:function(){return E.default}});Object.defineProperty(t,"inheritLeadingComments",{enumerable:true,get:function(){return x.default}});Object.defineProperty(t,"inheritTrailingComments",{enumerable:true,get:function(){return P.default}});Object.defineProperty(t,"inherits",{enumerable:true,get:function(){return U.default}});Object.defineProperty(t,"inheritsComments",{enumerable:true,get:function(){return v.default}});Object.defineProperty(t,"is",{enumerable:true,get:function(){return z.default}});Object.defineProperty(t,"isBinding",{enumerable:true,get:function(){return Y.default}});Object.defineProperty(t,"isBlockScoped",{enumerable:true,get:function(){return Q.default}});Object.defineProperty(t,"isImmutable",{enumerable:true,get:function(){return Z.default}});Object.defineProperty(t,"isLet",{enumerable:true,get:function(){return ee.default}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return te.default}});Object.defineProperty(t,"isNodesEquivalent",{enumerable:true,get:function(){return re.default}});Object.defineProperty(t,"isPlaceholderType",{enumerable:true,get:function(){return ne.default}});Object.defineProperty(t,"isReferenced",{enumerable:true,get:function(){return se.default}});Object.defineProperty(t,"isScope",{enumerable:true,get:function(){return ie.default}});Object.defineProperty(t,"isSpecifierDefault",{enumerable:true,get:function(){return ae.default}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return oe.default}});Object.defineProperty(t,"isValidES3Identifier",{enumerable:true,get:function(){return le.default}});Object.defineProperty(t,"isValidIdentifier",{enumerable:true,get:function(){return ce.default}});Object.defineProperty(t,"isVar",{enumerable:true,get:function(){return ue.default}});Object.defineProperty(t,"matchesPattern",{enumerable:true,get:function(){return pe.default}});Object.defineProperty(t,"prependToMemberExpression",{enumerable:true,get:function(){return V.default}});t.react=void 0;Object.defineProperty(t,"removeComments",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"removeProperties",{enumerable:true,get:function(){return K.default}});Object.defineProperty(t,"removePropertiesDeep",{enumerable:true,get:function(){return W.default}});Object.defineProperty(t,"removeTypeDuplicates",{enumerable:true,get:function(){return $.default}});Object.defineProperty(t,"shallowEqual",{enumerable:true,get:function(){return X.default}});Object.defineProperty(t,"toBindingIdentifierName",{enumerable:true,get:function(){return O.default}});Object.defineProperty(t,"toBlock",{enumerable:true,get:function(){return k.default}});Object.defineProperty(t,"toComputedKey",{enumerable:true,get:function(){return N.default}});Object.defineProperty(t,"toExpression",{enumerable:true,get:function(){return _.default}});Object.defineProperty(t,"toIdentifier",{enumerable:true,get:function(){return D.default}});Object.defineProperty(t,"toKeyAlias",{enumerable:true,get:function(){return M.default}});Object.defineProperty(t,"toSequenceExpression",{enumerable:true,get:function(){return L.default}});Object.defineProperty(t,"toStatement",{enumerable:true,get:function(){return j.default}});Object.defineProperty(t,"traverse",{enumerable:true,get:function(){return J.default}});Object.defineProperty(t,"traverseFast",{enumerable:true,get:function(){return G.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return fe.default}});Object.defineProperty(t,"valueToNode",{enumerable:true,get:function(){return F.default}});var s=r(7922);var i=r(5454);var a=r(4371);var o=r(6958);var l=r(9174);Object.keys(l).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===l[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return l[e]}})}));var c=r(785);var u=r(3103);var p=r(8130);var f=r(7453);Object.keys(f).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===f[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return f[e]}})}));var d=r(8611);Object.keys(d).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===d[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return d[e]}})}));var h=r(7290);var m=r(7653);var y=r(8853);var g=r(3198);var b=r(764);var T=r(2217);var S=r(7777);var E=r(2324);var x=r(4570);var v=r(8727);var P=r(7720);var A=r(2320);var w=r(4300);Object.keys(w).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===w[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return w[e]}})}));var C=r(4152);Object.keys(C).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===C[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return C[e]}})}));var I=r(1846);var O=r(1642);var k=r(3763);var N=r(8564);var _=r(4409);var D=r(5842);var M=r(8136);var L=r(3541);var j=r(5678);var F=r(2576);var B=r(7940);Object.keys(B).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===B[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return B[e]}})}));var R=r(3307);var U=r(8194);var V=r(3687);var K=r(2664);var W=r(2510);var $=r(6627);var q=r(6332);var H=r(8644);var J=r(275);Object.keys(J).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===J[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return J[e]}})}));var G=r(2871);var X=r(3631);var z=r(9247);var Y=r(7527);var Q=r(5127);var Z=r(9803);var ee=r(775);var te=r(4955);var re=r(598);var ne=r(4576);var se=r(8103);var ie=r(8498);var ae=r(2424);var oe=r(9810);var le=r(2042);var ce=r(6488);var ue=r(6205);var pe=r(8877);var fe=r(4439);var de=r(2049);var he=r(601);Object.keys(he).forEach((function(e){if(e==="default"||e==="__esModule")return;if(Object.prototype.hasOwnProperty.call(n,e))return;if(e in t&&t[e]===he[e])return;Object.defineProperty(t,e,{enumerable:true,get:function(){return he[e]}})}));var me=r(4585);const ye={isReactComponent:s.default,isCompatTag:i.default,buildChildren:a.default};t.react=ye},3307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=appendToMemberExpression;var n=r(7453);function appendToMemberExpression(e,t,r=false){e.object=(0,n.memberExpression)(e.object,e.property,e.computed);e.property=t;e.computed=!!r;return e}},6627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(601);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${getQualifiedName(e.qualification)}`}function removeTypeDuplicates(e){const t=Array.from(e);const r=new Map;const s=new Map;const i=new Set;const a=[];for(let e=0;e<t.length;e++){const o=t[e];if(!o)continue;if(a.indexOf(o)>=0){continue}if((0,n.isAnyTypeAnnotation)(o)){return[o]}if((0,n.isFlowBaseAnnotation)(o)){s.set(o.type,o);continue}if((0,n.isUnionTypeAnnotation)(o)){if(!i.has(o.types)){t.push(...o.types);i.add(o.types)}continue}if((0,n.isGenericTypeAnnotation)(o)){const e=getQualifiedName(o.id);if(r.has(e)){let t=r.get(e);if(t.typeParameters){if(o.typeParameters){t.typeParameters.params.push(...o.typeParameters.params);t.typeParameters.params=removeTypeDuplicates(t.typeParameters.params)}}else{t=o.typeParameters}}else{r.set(e,o)}continue}a.push(o)}for(const[,e]of s){a.push(e)}for(const[,e]of r){a.push(e)}return a}},8194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inherits;var n=r(4152);var s=r(8727);function inherits(e,t){if(!e||!t)return e;for(const r of n.INHERIT_KEYS.optional){if(e[r]==null){e[r]=t[r]}}for(const r of Object.keys(t)){if(r[0]==="_"&&r!=="__clone"){e[r]=t[r]}}for(const r of n.INHERIT_KEYS.force){e[r]=t[r]}(0,s.default)(e,t);return e}},3687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=prependToMemberExpression;var n=r(7453);var s=r(776);function prependToMemberExpression(e,t){if((0,s.isSuper)(e.object)){throw new Error("Cannot prepend node to super property access (`super.foo`).")}e.object=(0,n.memberExpression)(t,e.object);return e}},2664:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeProperties;var n=r(4152);const s=["tokens","start","end","loc","raw","rawValue"];const i=[...n.COMMENT_KEYS,"comments",...s];function removeProperties(e,t={}){const r=t.preserveComments?s:i;for(const t of r){if(e[t]!=null)e[t]=undefined}for(const t of Object.keys(e)){if(t[0]==="_"&&e[t]!=null)e[t]=undefined}const n=Object.getOwnPropertySymbols(e);for(const t of n){e[t]=null}}},2510:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removePropertiesDeep;var n=r(2871);var s=r(2664);function removePropertiesDeep(e,t){(0,n.default)(e,s.default,t);return e}},1093:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=removeTypeDuplicates;var n=r(601);function getQualifiedName(e){return(0,n.isIdentifier)(e)?e.name:`${e.right.name}.${getQualifiedName(e.left)}`}function removeTypeDuplicates(e){const t=Array.from(e);const r=new Map;const s=new Map;const i=new Set;const a=[];for(let e=0;e<t.length;e++){const o=t[e];if(!o)continue;if(a.indexOf(o)>=0){continue}if((0,n.isTSAnyKeyword)(o)){return[o]}if((0,n.isTSBaseType)(o)){s.set(o.type,o);continue}if((0,n.isTSUnionType)(o)){if(!i.has(o.types)){t.push(...o.types);i.add(o.types)}continue}if((0,n.isTSTypeReference)(o)&&o.typeParameters){const e=getQualifiedName(o.typeName);if(r.has(e)){let t=r.get(e);if(t.typeParameters){if(o.typeParameters){t.typeParameters.params.push(...o.typeParameters.params);t.typeParameters.params=removeTypeDuplicates(t.typeParameters.params)}}else{t=o.typeParameters}}else{r.set(e,o)}continue}a.push(o)}for(const[,e]of s){a.push(e)}for(const[,e]of r){a.push(e)}return a}},6332:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getBindingIdentifiers;var n=r(601);function getBindingIdentifiers(e,t,r){const s=[].concat(e);const i=Object.create(null);while(s.length){const e=s.shift();if(!e)continue;const a=getBindingIdentifiers.keys[e.type];if((0,n.isIdentifier)(e)){if(t){const t=i[e.name]=i[e.name]||[];t.push(e)}else{i[e.name]=e}continue}if((0,n.isExportDeclaration)(e)&&!(0,n.isExportAllDeclaration)(e)){if((0,n.isDeclaration)(e.declaration)){s.push(e.declaration)}continue}if(r){if((0,n.isFunctionDeclaration)(e)){s.push(e.id);continue}if((0,n.isFunctionExpression)(e)){continue}}if(a){for(let t=0;t<a.length;t++){const r=a[t];const n=e[r];if(n){Array.isArray(n)?s.push(...n):s.push(n)}}}}return i}getBindingIdentifiers.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},8644:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(6332);var s=getOuterBindingIdentifiers;t["default"]=s;function getOuterBindingIdentifiers(e,t){return(0,n.default)(e,t,true)}},275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=traverse;var n=r(7940);function traverse(e,t,r){if(typeof t==="function"){t={enter:t}}const{enter:n,exit:s}=t;traverseSimpleImpl(e,n,s,r,[])}function traverseSimpleImpl(e,t,r,s,i){const a=n.VISITOR_KEYS[e.type];if(!a)return;if(t)t(e,i,s);for(const n of a){const a=e[n];if(Array.isArray(a)){for(let o=0;o<a.length;o++){const l=a[o];if(!l)continue;i.push({node:e,key:n,index:o});traverseSimpleImpl(l,t,r,s,i);i.pop()}}else if(a){i.push({node:e,key:n});traverseSimpleImpl(a,t,r,s,i);i.pop()}}if(r)r(e,i,s)}},2871:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=traverseFast;var n=r(7940);function traverseFast(e,t,r){if(!e)return;const s=n.VISITOR_KEYS[e.type];if(!s)return;r=r||{};t(e,r);for(const n of s){const s=e[n];if(Array.isArray(s)){for(const e of s){traverseFast(e,t,r)}}else{traverseFast(s,t,r)}}}},4585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=deprecationWarning;const r=new Set;function deprecationWarning(e,t,n=""){if(r.has(e))return;r.add(e);const{internal:s,trace:i}=captureShortStackTrace(1,2);if(s){return}console.warn(`${n}\`${e}\` has been deprecated, please migrate to \`${t}\`\n${i}`)}function captureShortStackTrace(e,t){const{stackTraceLimit:r,prepareStackTrace:n}=Error;let s;Error.stackTraceLimit=1+e+t;Error.prepareStackTrace=function(e,t){s=t};(new Error).stack;Error.stackTraceLimit=r;Error.prepareStackTrace=n;if(!s)return{internal:false,trace:""};const i=s.slice(1+e,1+e+t);return{internal:/[\\/]@babel[\\/]/.test(i[1].getFileName()),trace:i.map((e=>`    at ${e}`)).join("\n")}}},1066:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=inherit;function inherit(e,t,r){if(t&&r){t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean)))}}},9187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=cleanJSXElementLiteralChild;var n=r(7453);var s=r(776);function cleanJSXElementLiteralChild(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e<r.length;e++){if(r[e].match(/[^ \t]/)){i=e}}let a="";for(let e=0;e<r.length;e++){const t=r[e];const n=e===0;const s=e===r.length-1;const o=e===i;let l=t.replace(/\t/g," ");if(!n){l=l.replace(/^[ ]+/,"")}if(!s){l=l.replace(/[ ]+$/,"")}if(l){if(!o){l+=" "}a+=l}}if(a)t.push((0,s.inherits)((0,n.stringLiteral)(a),e))}},3631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=shallowEqual;function shallowEqual(e,t){const r=Object.keys(t);for(const n of r){if(e[n]!==t[n]){return false}}return true}},2049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=buildMatchMemberExpression;var n=r(8877);function buildMatchMemberExpression(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)}},601:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isAccessor=isAccessor;t.isAnyTypeAnnotation=isAnyTypeAnnotation;t.isArgumentPlaceholder=isArgumentPlaceholder;t.isArrayExpression=isArrayExpression;t.isArrayPattern=isArrayPattern;t.isArrayTypeAnnotation=isArrayTypeAnnotation;t.isArrowFunctionExpression=isArrowFunctionExpression;t.isAssignmentExpression=isAssignmentExpression;t.isAssignmentPattern=isAssignmentPattern;t.isAwaitExpression=isAwaitExpression;t.isBigIntLiteral=isBigIntLiteral;t.isBinary=isBinary;t.isBinaryExpression=isBinaryExpression;t.isBindExpression=isBindExpression;t.isBlock=isBlock;t.isBlockParent=isBlockParent;t.isBlockStatement=isBlockStatement;t.isBooleanLiteral=isBooleanLiteral;t.isBooleanLiteralTypeAnnotation=isBooleanLiteralTypeAnnotation;t.isBooleanTypeAnnotation=isBooleanTypeAnnotation;t.isBreakStatement=isBreakStatement;t.isCallExpression=isCallExpression;t.isCatchClause=isCatchClause;t.isClass=isClass;t.isClassAccessorProperty=isClassAccessorProperty;t.isClassBody=isClassBody;t.isClassDeclaration=isClassDeclaration;t.isClassExpression=isClassExpression;t.isClassImplements=isClassImplements;t.isClassMethod=isClassMethod;t.isClassPrivateMethod=isClassPrivateMethod;t.isClassPrivateProperty=isClassPrivateProperty;t.isClassProperty=isClassProperty;t.isCompletionStatement=isCompletionStatement;t.isConditional=isConditional;t.isConditionalExpression=isConditionalExpression;t.isContinueStatement=isContinueStatement;t.isDebuggerStatement=isDebuggerStatement;t.isDecimalLiteral=isDecimalLiteral;t.isDeclaration=isDeclaration;t.isDeclareClass=isDeclareClass;t.isDeclareExportAllDeclaration=isDeclareExportAllDeclaration;t.isDeclareExportDeclaration=isDeclareExportDeclaration;t.isDeclareFunction=isDeclareFunction;t.isDeclareInterface=isDeclareInterface;t.isDeclareModule=isDeclareModule;t.isDeclareModuleExports=isDeclareModuleExports;t.isDeclareOpaqueType=isDeclareOpaqueType;t.isDeclareTypeAlias=isDeclareTypeAlias;t.isDeclareVariable=isDeclareVariable;t.isDeclaredPredicate=isDeclaredPredicate;t.isDecorator=isDecorator;t.isDirective=isDirective;t.isDirectiveLiteral=isDirectiveLiteral;t.isDoExpression=isDoExpression;t.isDoWhileStatement=isDoWhileStatement;t.isEmptyStatement=isEmptyStatement;t.isEmptyTypeAnnotation=isEmptyTypeAnnotation;t.isEnumBody=isEnumBody;t.isEnumBooleanBody=isEnumBooleanBody;t.isEnumBooleanMember=isEnumBooleanMember;t.isEnumDeclaration=isEnumDeclaration;t.isEnumDefaultedMember=isEnumDefaultedMember;t.isEnumMember=isEnumMember;t.isEnumNumberBody=isEnumNumberBody;t.isEnumNumberMember=isEnumNumberMember;t.isEnumStringBody=isEnumStringBody;t.isEnumStringMember=isEnumStringMember;t.isEnumSymbolBody=isEnumSymbolBody;t.isExistsTypeAnnotation=isExistsTypeAnnotation;t.isExportAllDeclaration=isExportAllDeclaration;t.isExportDeclaration=isExportDeclaration;t.isExportDefaultDeclaration=isExportDefaultDeclaration;t.isExportDefaultSpecifier=isExportDefaultSpecifier;t.isExportNamedDeclaration=isExportNamedDeclaration;t.isExportNamespaceSpecifier=isExportNamespaceSpecifier;t.isExportSpecifier=isExportSpecifier;t.isExpression=isExpression;t.isExpressionStatement=isExpressionStatement;t.isExpressionWrapper=isExpressionWrapper;t.isFile=isFile;t.isFlow=isFlow;t.isFlowBaseAnnotation=isFlowBaseAnnotation;t.isFlowDeclaration=isFlowDeclaration;t.isFlowPredicate=isFlowPredicate;t.isFlowType=isFlowType;t.isFor=isFor;t.isForInStatement=isForInStatement;t.isForOfStatement=isForOfStatement;t.isForStatement=isForStatement;t.isForXStatement=isForXStatement;t.isFunction=isFunction;t.isFunctionDeclaration=isFunctionDeclaration;t.isFunctionExpression=isFunctionExpression;t.isFunctionParent=isFunctionParent;t.isFunctionTypeAnnotation=isFunctionTypeAnnotation;t.isFunctionTypeParam=isFunctionTypeParam;t.isGenericTypeAnnotation=isGenericTypeAnnotation;t.isIdentifier=isIdentifier;t.isIfStatement=isIfStatement;t.isImmutable=isImmutable;t.isImport=isImport;t.isImportAttribute=isImportAttribute;t.isImportDeclaration=isImportDeclaration;t.isImportDefaultSpecifier=isImportDefaultSpecifier;t.isImportNamespaceSpecifier=isImportNamespaceSpecifier;t.isImportOrExportDeclaration=isImportOrExportDeclaration;t.isImportSpecifier=isImportSpecifier;t.isIndexedAccessType=isIndexedAccessType;t.isInferredPredicate=isInferredPredicate;t.isInterfaceDeclaration=isInterfaceDeclaration;t.isInterfaceExtends=isInterfaceExtends;t.isInterfaceTypeAnnotation=isInterfaceTypeAnnotation;t.isInterpreterDirective=isInterpreterDirective;t.isIntersectionTypeAnnotation=isIntersectionTypeAnnotation;t.isJSX=isJSX;t.isJSXAttribute=isJSXAttribute;t.isJSXClosingElement=isJSXClosingElement;t.isJSXClosingFragment=isJSXClosingFragment;t.isJSXElement=isJSXElement;t.isJSXEmptyExpression=isJSXEmptyExpression;t.isJSXExpressionContainer=isJSXExpressionContainer;t.isJSXFragment=isJSXFragment;t.isJSXIdentifier=isJSXIdentifier;t.isJSXMemberExpression=isJSXMemberExpression;t.isJSXNamespacedName=isJSXNamespacedName;t.isJSXOpeningElement=isJSXOpeningElement;t.isJSXOpeningFragment=isJSXOpeningFragment;t.isJSXSpreadAttribute=isJSXSpreadAttribute;t.isJSXSpreadChild=isJSXSpreadChild;t.isJSXText=isJSXText;t.isLVal=isLVal;t.isLabeledStatement=isLabeledStatement;t.isLiteral=isLiteral;t.isLogicalExpression=isLogicalExpression;t.isLoop=isLoop;t.isMemberExpression=isMemberExpression;t.isMetaProperty=isMetaProperty;t.isMethod=isMethod;t.isMiscellaneous=isMiscellaneous;t.isMixedTypeAnnotation=isMixedTypeAnnotation;t.isModuleDeclaration=isModuleDeclaration;t.isModuleExpression=isModuleExpression;t.isModuleSpecifier=isModuleSpecifier;t.isNewExpression=isNewExpression;t.isNoop=isNoop;t.isNullLiteral=isNullLiteral;t.isNullLiteralTypeAnnotation=isNullLiteralTypeAnnotation;t.isNullableTypeAnnotation=isNullableTypeAnnotation;t.isNumberLiteral=isNumberLiteral;t.isNumberLiteralTypeAnnotation=isNumberLiteralTypeAnnotation;t.isNumberTypeAnnotation=isNumberTypeAnnotation;t.isNumericLiteral=isNumericLiteral;t.isObjectExpression=isObjectExpression;t.isObjectMember=isObjectMember;t.isObjectMethod=isObjectMethod;t.isObjectPattern=isObjectPattern;t.isObjectProperty=isObjectProperty;t.isObjectTypeAnnotation=isObjectTypeAnnotation;t.isObjectTypeCallProperty=isObjectTypeCallProperty;t.isObjectTypeIndexer=isObjectTypeIndexer;t.isObjectTypeInternalSlot=isObjectTypeInternalSlot;t.isObjectTypeProperty=isObjectTypeProperty;t.isObjectTypeSpreadProperty=isObjectTypeSpreadProperty;t.isOpaqueType=isOpaqueType;t.isOptionalCallExpression=isOptionalCallExpression;t.isOptionalIndexedAccessType=isOptionalIndexedAccessType;t.isOptionalMemberExpression=isOptionalMemberExpression;t.isParenthesizedExpression=isParenthesizedExpression;t.isPattern=isPattern;t.isPatternLike=isPatternLike;t.isPipelineBareFunction=isPipelineBareFunction;t.isPipelinePrimaryTopicReference=isPipelinePrimaryTopicReference;t.isPipelineTopicExpression=isPipelineTopicExpression;t.isPlaceholder=isPlaceholder;t.isPrivate=isPrivate;t.isPrivateName=isPrivateName;t.isProgram=isProgram;t.isProperty=isProperty;t.isPureish=isPureish;t.isQualifiedTypeIdentifier=isQualifiedTypeIdentifier;t.isRecordExpression=isRecordExpression;t.isRegExpLiteral=isRegExpLiteral;t.isRegexLiteral=isRegexLiteral;t.isRestElement=isRestElement;t.isRestProperty=isRestProperty;t.isReturnStatement=isReturnStatement;t.isScopable=isScopable;t.isSequenceExpression=isSequenceExpression;t.isSpreadElement=isSpreadElement;t.isSpreadProperty=isSpreadProperty;t.isStandardized=isStandardized;t.isStatement=isStatement;t.isStaticBlock=isStaticBlock;t.isStringLiteral=isStringLiteral;t.isStringLiteralTypeAnnotation=isStringLiteralTypeAnnotation;t.isStringTypeAnnotation=isStringTypeAnnotation;t.isSuper=isSuper;t.isSwitchCase=isSwitchCase;t.isSwitchStatement=isSwitchStatement;t.isSymbolTypeAnnotation=isSymbolTypeAnnotation;t.isTSAnyKeyword=isTSAnyKeyword;t.isTSArrayType=isTSArrayType;t.isTSAsExpression=isTSAsExpression;t.isTSBaseType=isTSBaseType;t.isTSBigIntKeyword=isTSBigIntKeyword;t.isTSBooleanKeyword=isTSBooleanKeyword;t.isTSCallSignatureDeclaration=isTSCallSignatureDeclaration;t.isTSConditionalType=isTSConditionalType;t.isTSConstructSignatureDeclaration=isTSConstructSignatureDeclaration;t.isTSConstructorType=isTSConstructorType;t.isTSDeclareFunction=isTSDeclareFunction;t.isTSDeclareMethod=isTSDeclareMethod;t.isTSEntityName=isTSEntityName;t.isTSEnumDeclaration=isTSEnumDeclaration;t.isTSEnumMember=isTSEnumMember;t.isTSExportAssignment=isTSExportAssignment;t.isTSExpressionWithTypeArguments=isTSExpressionWithTypeArguments;t.isTSExternalModuleReference=isTSExternalModuleReference;t.isTSFunctionType=isTSFunctionType;t.isTSImportEqualsDeclaration=isTSImportEqualsDeclaration;t.isTSImportType=isTSImportType;t.isTSIndexSignature=isTSIndexSignature;t.isTSIndexedAccessType=isTSIndexedAccessType;t.isTSInferType=isTSInferType;t.isTSInstantiationExpression=isTSInstantiationExpression;t.isTSInterfaceBody=isTSInterfaceBody;t.isTSInterfaceDeclaration=isTSInterfaceDeclaration;t.isTSIntersectionType=isTSIntersectionType;t.isTSIntrinsicKeyword=isTSIntrinsicKeyword;t.isTSLiteralType=isTSLiteralType;t.isTSMappedType=isTSMappedType;t.isTSMethodSignature=isTSMethodSignature;t.isTSModuleBlock=isTSModuleBlock;t.isTSModuleDeclaration=isTSModuleDeclaration;t.isTSNamedTupleMember=isTSNamedTupleMember;t.isTSNamespaceExportDeclaration=isTSNamespaceExportDeclaration;t.isTSNeverKeyword=isTSNeverKeyword;t.isTSNonNullExpression=isTSNonNullExpression;t.isTSNullKeyword=isTSNullKeyword;t.isTSNumberKeyword=isTSNumberKeyword;t.isTSObjectKeyword=isTSObjectKeyword;t.isTSOptionalType=isTSOptionalType;t.isTSParameterProperty=isTSParameterProperty;t.isTSParenthesizedType=isTSParenthesizedType;t.isTSPropertySignature=isTSPropertySignature;t.isTSQualifiedName=isTSQualifiedName;t.isTSRestType=isTSRestType;t.isTSSatisfiesExpression=isTSSatisfiesExpression;t.isTSStringKeyword=isTSStringKeyword;t.isTSSymbolKeyword=isTSSymbolKeyword;t.isTSThisType=isTSThisType;t.isTSTupleType=isTSTupleType;t.isTSType=isTSType;t.isTSTypeAliasDeclaration=isTSTypeAliasDeclaration;t.isTSTypeAnnotation=isTSTypeAnnotation;t.isTSTypeAssertion=isTSTypeAssertion;t.isTSTypeElement=isTSTypeElement;t.isTSTypeLiteral=isTSTypeLiteral;t.isTSTypeOperator=isTSTypeOperator;t.isTSTypeParameter=isTSTypeParameter;t.isTSTypeParameterDeclaration=isTSTypeParameterDeclaration;t.isTSTypeParameterInstantiation=isTSTypeParameterInstantiation;t.isTSTypePredicate=isTSTypePredicate;t.isTSTypeQuery=isTSTypeQuery;t.isTSTypeReference=isTSTypeReference;t.isTSUndefinedKeyword=isTSUndefinedKeyword;t.isTSUnionType=isTSUnionType;t.isTSUnknownKeyword=isTSUnknownKeyword;t.isTSVoidKeyword=isTSVoidKeyword;t.isTaggedTemplateExpression=isTaggedTemplateExpression;t.isTemplateElement=isTemplateElement;t.isTemplateLiteral=isTemplateLiteral;t.isTerminatorless=isTerminatorless;t.isThisExpression=isThisExpression;t.isThisTypeAnnotation=isThisTypeAnnotation;t.isThrowStatement=isThrowStatement;t.isTopicReference=isTopicReference;t.isTryStatement=isTryStatement;t.isTupleExpression=isTupleExpression;t.isTupleTypeAnnotation=isTupleTypeAnnotation;t.isTypeAlias=isTypeAlias;t.isTypeAnnotation=isTypeAnnotation;t.isTypeCastExpression=isTypeCastExpression;t.isTypeParameter=isTypeParameter;t.isTypeParameterDeclaration=isTypeParameterDeclaration;t.isTypeParameterInstantiation=isTypeParameterInstantiation;t.isTypeScript=isTypeScript;t.isTypeofTypeAnnotation=isTypeofTypeAnnotation;t.isUnaryExpression=isUnaryExpression;t.isUnaryLike=isUnaryLike;t.isUnionTypeAnnotation=isUnionTypeAnnotation;t.isUpdateExpression=isUpdateExpression;t.isUserWhitespacable=isUserWhitespacable;t.isV8IntrinsicIdentifier=isV8IntrinsicIdentifier;t.isVariableDeclaration=isVariableDeclaration;t.isVariableDeclarator=isVariableDeclarator;t.isVariance=isVariance;t.isVoidTypeAnnotation=isVoidTypeAnnotation;t.isWhile=isWhile;t.isWhileStatement=isWhileStatement;t.isWithStatement=isWithStatement;t.isYieldExpression=isYieldExpression;var n=r(3631);var s=r(4585);function isArrayExpression(e,t){if(!e)return false;if(e.type!=="ArrayExpression")return false;return t==null||(0,n.default)(e,t)}function isAssignmentExpression(e,t){if(!e)return false;if(e.type!=="AssignmentExpression")return false;return t==null||(0,n.default)(e,t)}function isBinaryExpression(e,t){if(!e)return false;if(e.type!=="BinaryExpression")return false;return t==null||(0,n.default)(e,t)}function isInterpreterDirective(e,t){if(!e)return false;if(e.type!=="InterpreterDirective")return false;return t==null||(0,n.default)(e,t)}function isDirective(e,t){if(!e)return false;if(e.type!=="Directive")return false;return t==null||(0,n.default)(e,t)}function isDirectiveLiteral(e,t){if(!e)return false;if(e.type!=="DirectiveLiteral")return false;return t==null||(0,n.default)(e,t)}function isBlockStatement(e,t){if(!e)return false;if(e.type!=="BlockStatement")return false;return t==null||(0,n.default)(e,t)}function isBreakStatement(e,t){if(!e)return false;if(e.type!=="BreakStatement")return false;return t==null||(0,n.default)(e,t)}function isCallExpression(e,t){if(!e)return false;if(e.type!=="CallExpression")return false;return t==null||(0,n.default)(e,t)}function isCatchClause(e,t){if(!e)return false;if(e.type!=="CatchClause")return false;return t==null||(0,n.default)(e,t)}function isConditionalExpression(e,t){if(!e)return false;if(e.type!=="ConditionalExpression")return false;return t==null||(0,n.default)(e,t)}function isContinueStatement(e,t){if(!e)return false;if(e.type!=="ContinueStatement")return false;return t==null||(0,n.default)(e,t)}function isDebuggerStatement(e,t){if(!e)return false;if(e.type!=="DebuggerStatement")return false;return t==null||(0,n.default)(e,t)}function isDoWhileStatement(e,t){if(!e)return false;if(e.type!=="DoWhileStatement")return false;return t==null||(0,n.default)(e,t)}function isEmptyStatement(e,t){if(!e)return false;if(e.type!=="EmptyStatement")return false;return t==null||(0,n.default)(e,t)}function isExpressionStatement(e,t){if(!e)return false;if(e.type!=="ExpressionStatement")return false;return t==null||(0,n.default)(e,t)}function isFile(e,t){if(!e)return false;if(e.type!=="File")return false;return t==null||(0,n.default)(e,t)}function isForInStatement(e,t){if(!e)return false;if(e.type!=="ForInStatement")return false;return t==null||(0,n.default)(e,t)}function isForStatement(e,t){if(!e)return false;if(e.type!=="ForStatement")return false;return t==null||(0,n.default)(e,t)}function isFunctionDeclaration(e,t){if(!e)return false;if(e.type!=="FunctionDeclaration")return false;return t==null||(0,n.default)(e,t)}function isFunctionExpression(e,t){if(!e)return false;if(e.type!=="FunctionExpression")return false;return t==null||(0,n.default)(e,t)}function isIdentifier(e,t){if(!e)return false;if(e.type!=="Identifier")return false;return t==null||(0,n.default)(e,t)}function isIfStatement(e,t){if(!e)return false;if(e.type!=="IfStatement")return false;return t==null||(0,n.default)(e,t)}function isLabeledStatement(e,t){if(!e)return false;if(e.type!=="LabeledStatement")return false;return t==null||(0,n.default)(e,t)}function isStringLiteral(e,t){if(!e)return false;if(e.type!=="StringLiteral")return false;return t==null||(0,n.default)(e,t)}function isNumericLiteral(e,t){if(!e)return false;if(e.type!=="NumericLiteral")return false;return t==null||(0,n.default)(e,t)}function isNullLiteral(e,t){if(!e)return false;if(e.type!=="NullLiteral")return false;return t==null||(0,n.default)(e,t)}function isBooleanLiteral(e,t){if(!e)return false;if(e.type!=="BooleanLiteral")return false;return t==null||(0,n.default)(e,t)}function isRegExpLiteral(e,t){if(!e)return false;if(e.type!=="RegExpLiteral")return false;return t==null||(0,n.default)(e,t)}function isLogicalExpression(e,t){if(!e)return false;if(e.type!=="LogicalExpression")return false;return t==null||(0,n.default)(e,t)}function isMemberExpression(e,t){if(!e)return false;if(e.type!=="MemberExpression")return false;return t==null||(0,n.default)(e,t)}function isNewExpression(e,t){if(!e)return false;if(e.type!=="NewExpression")return false;return t==null||(0,n.default)(e,t)}function isProgram(e,t){if(!e)return false;if(e.type!=="Program")return false;return t==null||(0,n.default)(e,t)}function isObjectExpression(e,t){if(!e)return false;if(e.type!=="ObjectExpression")return false;return t==null||(0,n.default)(e,t)}function isObjectMethod(e,t){if(!e)return false;if(e.type!=="ObjectMethod")return false;return t==null||(0,n.default)(e,t)}function isObjectProperty(e,t){if(!e)return false;if(e.type!=="ObjectProperty")return false;return t==null||(0,n.default)(e,t)}function isRestElement(e,t){if(!e)return false;if(e.type!=="RestElement")return false;return t==null||(0,n.default)(e,t)}function isReturnStatement(e,t){if(!e)return false;if(e.type!=="ReturnStatement")return false;return t==null||(0,n.default)(e,t)}function isSequenceExpression(e,t){if(!e)return false;if(e.type!=="SequenceExpression")return false;return t==null||(0,n.default)(e,t)}function isParenthesizedExpression(e,t){if(!e)return false;if(e.type!=="ParenthesizedExpression")return false;return t==null||(0,n.default)(e,t)}function isSwitchCase(e,t){if(!e)return false;if(e.type!=="SwitchCase")return false;return t==null||(0,n.default)(e,t)}function isSwitchStatement(e,t){if(!e)return false;if(e.type!=="SwitchStatement")return false;return t==null||(0,n.default)(e,t)}function isThisExpression(e,t){if(!e)return false;if(e.type!=="ThisExpression")return false;return t==null||(0,n.default)(e,t)}function isThrowStatement(e,t){if(!e)return false;if(e.type!=="ThrowStatement")return false;return t==null||(0,n.default)(e,t)}function isTryStatement(e,t){if(!e)return false;if(e.type!=="TryStatement")return false;return t==null||(0,n.default)(e,t)}function isUnaryExpression(e,t){if(!e)return false;if(e.type!=="UnaryExpression")return false;return t==null||(0,n.default)(e,t)}function isUpdateExpression(e,t){if(!e)return false;if(e.type!=="UpdateExpression")return false;return t==null||(0,n.default)(e,t)}function isVariableDeclaration(e,t){if(!e)return false;if(e.type!=="VariableDeclaration")return false;return t==null||(0,n.default)(e,t)}function isVariableDeclarator(e,t){if(!e)return false;if(e.type!=="VariableDeclarator")return false;return t==null||(0,n.default)(e,t)}function isWhileStatement(e,t){if(!e)return false;if(e.type!=="WhileStatement")return false;return t==null||(0,n.default)(e,t)}function isWithStatement(e,t){if(!e)return false;if(e.type!=="WithStatement")return false;return t==null||(0,n.default)(e,t)}function isAssignmentPattern(e,t){if(!e)return false;if(e.type!=="AssignmentPattern")return false;return t==null||(0,n.default)(e,t)}function isArrayPattern(e,t){if(!e)return false;if(e.type!=="ArrayPattern")return false;return t==null||(0,n.default)(e,t)}function isArrowFunctionExpression(e,t){if(!e)return false;if(e.type!=="ArrowFunctionExpression")return false;return t==null||(0,n.default)(e,t)}function isClassBody(e,t){if(!e)return false;if(e.type!=="ClassBody")return false;return t==null||(0,n.default)(e,t)}function isClassExpression(e,t){if(!e)return false;if(e.type!=="ClassExpression")return false;return t==null||(0,n.default)(e,t)}function isClassDeclaration(e,t){if(!e)return false;if(e.type!=="ClassDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportAllDeclaration(e,t){if(!e)return false;if(e.type!=="ExportAllDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportDefaultDeclaration(e,t){if(!e)return false;if(e.type!=="ExportDefaultDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportNamedDeclaration(e,t){if(!e)return false;if(e.type!=="ExportNamedDeclaration")return false;return t==null||(0,n.default)(e,t)}function isExportSpecifier(e,t){if(!e)return false;if(e.type!=="ExportSpecifier")return false;return t==null||(0,n.default)(e,t)}function isForOfStatement(e,t){if(!e)return false;if(e.type!=="ForOfStatement")return false;return t==null||(0,n.default)(e,t)}function isImportDeclaration(e,t){if(!e)return false;if(e.type!=="ImportDeclaration")return false;return t==null||(0,n.default)(e,t)}function isImportDefaultSpecifier(e,t){if(!e)return false;if(e.type!=="ImportDefaultSpecifier")return false;return t==null||(0,n.default)(e,t)}function isImportNamespaceSpecifier(e,t){if(!e)return false;if(e.type!=="ImportNamespaceSpecifier")return false;return t==null||(0,n.default)(e,t)}function isImportSpecifier(e,t){if(!e)return false;if(e.type!=="ImportSpecifier")return false;return t==null||(0,n.default)(e,t)}function isMetaProperty(e,t){if(!e)return false;if(e.type!=="MetaProperty")return false;return t==null||(0,n.default)(e,t)}function isClassMethod(e,t){if(!e)return false;if(e.type!=="ClassMethod")return false;return t==null||(0,n.default)(e,t)}function isObjectPattern(e,t){if(!e)return false;if(e.type!=="ObjectPattern")return false;return t==null||(0,n.default)(e,t)}function isSpreadElement(e,t){if(!e)return false;if(e.type!=="SpreadElement")return false;return t==null||(0,n.default)(e,t)}function isSuper(e,t){if(!e)return false;if(e.type!=="Super")return false;return t==null||(0,n.default)(e,t)}function isTaggedTemplateExpression(e,t){if(!e)return false;if(e.type!=="TaggedTemplateExpression")return false;return t==null||(0,n.default)(e,t)}function isTemplateElement(e,t){if(!e)return false;if(e.type!=="TemplateElement")return false;return t==null||(0,n.default)(e,t)}function isTemplateLiteral(e,t){if(!e)return false;if(e.type!=="TemplateLiteral")return false;return t==null||(0,n.default)(e,t)}function isYieldExpression(e,t){if(!e)return false;if(e.type!=="YieldExpression")return false;return t==null||(0,n.default)(e,t)}function isAwaitExpression(e,t){if(!e)return false;if(e.type!=="AwaitExpression")return false;return t==null||(0,n.default)(e,t)}function isImport(e,t){if(!e)return false;if(e.type!=="Import")return false;return t==null||(0,n.default)(e,t)}function isBigIntLiteral(e,t){if(!e)return false;if(e.type!=="BigIntLiteral")return false;return t==null||(0,n.default)(e,t)}function isExportNamespaceSpecifier(e,t){if(!e)return false;if(e.type!=="ExportNamespaceSpecifier")return false;return t==null||(0,n.default)(e,t)}function isOptionalMemberExpression(e,t){if(!e)return false;if(e.type!=="OptionalMemberExpression")return false;return t==null||(0,n.default)(e,t)}function isOptionalCallExpression(e,t){if(!e)return false;if(e.type!=="OptionalCallExpression")return false;return t==null||(0,n.default)(e,t)}function isClassProperty(e,t){if(!e)return false;if(e.type!=="ClassProperty")return false;return t==null||(0,n.default)(e,t)}function isClassAccessorProperty(e,t){if(!e)return false;if(e.type!=="ClassAccessorProperty")return false;return t==null||(0,n.default)(e,t)}function isClassPrivateProperty(e,t){if(!e)return false;if(e.type!=="ClassPrivateProperty")return false;return t==null||(0,n.default)(e,t)}function isClassPrivateMethod(e,t){if(!e)return false;if(e.type!=="ClassPrivateMethod")return false;return t==null||(0,n.default)(e,t)}function isPrivateName(e,t){if(!e)return false;if(e.type!=="PrivateName")return false;return t==null||(0,n.default)(e,t)}function isStaticBlock(e,t){if(!e)return false;if(e.type!=="StaticBlock")return false;return t==null||(0,n.default)(e,t)}function isAnyTypeAnnotation(e,t){if(!e)return false;if(e.type!=="AnyTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isArrayTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ArrayTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isBooleanTypeAnnotation(e,t){if(!e)return false;if(e.type!=="BooleanTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isBooleanLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="BooleanLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNullLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NullLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isClassImplements(e,t){if(!e)return false;if(e.type!=="ClassImplements")return false;return t==null||(0,n.default)(e,t)}function isDeclareClass(e,t){if(!e)return false;if(e.type!=="DeclareClass")return false;return t==null||(0,n.default)(e,t)}function isDeclareFunction(e,t){if(!e)return false;if(e.type!=="DeclareFunction")return false;return t==null||(0,n.default)(e,t)}function isDeclareInterface(e,t){if(!e)return false;if(e.type!=="DeclareInterface")return false;return t==null||(0,n.default)(e,t)}function isDeclareModule(e,t){if(!e)return false;if(e.type!=="DeclareModule")return false;return t==null||(0,n.default)(e,t)}function isDeclareModuleExports(e,t){if(!e)return false;if(e.type!=="DeclareModuleExports")return false;return t==null||(0,n.default)(e,t)}function isDeclareTypeAlias(e,t){if(!e)return false;if(e.type!=="DeclareTypeAlias")return false;return t==null||(0,n.default)(e,t)}function isDeclareOpaqueType(e,t){if(!e)return false;if(e.type!=="DeclareOpaqueType")return false;return t==null||(0,n.default)(e,t)}function isDeclareVariable(e,t){if(!e)return false;if(e.type!=="DeclareVariable")return false;return t==null||(0,n.default)(e,t)}function isDeclareExportDeclaration(e,t){if(!e)return false;if(e.type!=="DeclareExportDeclaration")return false;return t==null||(0,n.default)(e,t)}function isDeclareExportAllDeclaration(e,t){if(!e)return false;if(e.type!=="DeclareExportAllDeclaration")return false;return t==null||(0,n.default)(e,t)}function isDeclaredPredicate(e,t){if(!e)return false;if(e.type!=="DeclaredPredicate")return false;return t==null||(0,n.default)(e,t)}function isExistsTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ExistsTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isFunctionTypeAnnotation(e,t){if(!e)return false;if(e.type!=="FunctionTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isFunctionTypeParam(e,t){if(!e)return false;if(e.type!=="FunctionTypeParam")return false;return t==null||(0,n.default)(e,t)}function isGenericTypeAnnotation(e,t){if(!e)return false;if(e.type!=="GenericTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isInferredPredicate(e,t){if(!e)return false;if(e.type!=="InferredPredicate")return false;return t==null||(0,n.default)(e,t)}function isInterfaceExtends(e,t){if(!e)return false;if(e.type!=="InterfaceExtends")return false;return t==null||(0,n.default)(e,t)}function isInterfaceDeclaration(e,t){if(!e)return false;if(e.type!=="InterfaceDeclaration")return false;return t==null||(0,n.default)(e,t)}function isInterfaceTypeAnnotation(e,t){if(!e)return false;if(e.type!=="InterfaceTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isIntersectionTypeAnnotation(e,t){if(!e)return false;if(e.type!=="IntersectionTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isMixedTypeAnnotation(e,t){if(!e)return false;if(e.type!=="MixedTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isEmptyTypeAnnotation(e,t){if(!e)return false;if(e.type!=="EmptyTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNullableTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NullableTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNumberLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NumberLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isNumberTypeAnnotation(e,t){if(!e)return false;if(e.type!=="NumberTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ObjectTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeInternalSlot(e,t){if(!e)return false;if(e.type!=="ObjectTypeInternalSlot")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeCallProperty(e,t){if(!e)return false;if(e.type!=="ObjectTypeCallProperty")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeIndexer(e,t){if(!e)return false;if(e.type!=="ObjectTypeIndexer")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeProperty(e,t){if(!e)return false;if(e.type!=="ObjectTypeProperty")return false;return t==null||(0,n.default)(e,t)}function isObjectTypeSpreadProperty(e,t){if(!e)return false;if(e.type!=="ObjectTypeSpreadProperty")return false;return t==null||(0,n.default)(e,t)}function isOpaqueType(e,t){if(!e)return false;if(e.type!=="OpaqueType")return false;return t==null||(0,n.default)(e,t)}function isQualifiedTypeIdentifier(e,t){if(!e)return false;if(e.type!=="QualifiedTypeIdentifier")return false;return t==null||(0,n.default)(e,t)}function isStringLiteralTypeAnnotation(e,t){if(!e)return false;if(e.type!=="StringLiteralTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isStringTypeAnnotation(e,t){if(!e)return false;if(e.type!=="StringTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isSymbolTypeAnnotation(e,t){if(!e)return false;if(e.type!=="SymbolTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isThisTypeAnnotation(e,t){if(!e)return false;if(e.type!=="ThisTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTupleTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TupleTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTypeofTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TypeofTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTypeAlias(e,t){if(!e)return false;if(e.type!=="TypeAlias")return false;return t==null||(0,n.default)(e,t)}function isTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTypeCastExpression(e,t){if(!e)return false;if(e.type!=="TypeCastExpression")return false;return t==null||(0,n.default)(e,t)}function isTypeParameter(e,t){if(!e)return false;if(e.type!=="TypeParameter")return false;return t==null||(0,n.default)(e,t)}function isTypeParameterDeclaration(e,t){if(!e)return false;if(e.type!=="TypeParameterDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTypeParameterInstantiation(e,t){if(!e)return false;if(e.type!=="TypeParameterInstantiation")return false;return t==null||(0,n.default)(e,t)}function isUnionTypeAnnotation(e,t){if(!e)return false;if(e.type!=="UnionTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isVariance(e,t){if(!e)return false;if(e.type!=="Variance")return false;return t==null||(0,n.default)(e,t)}function isVoidTypeAnnotation(e,t){if(!e)return false;if(e.type!=="VoidTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isEnumDeclaration(e,t){if(!e)return false;if(e.type!=="EnumDeclaration")return false;return t==null||(0,n.default)(e,t)}function isEnumBooleanBody(e,t){if(!e)return false;if(e.type!=="EnumBooleanBody")return false;return t==null||(0,n.default)(e,t)}function isEnumNumberBody(e,t){if(!e)return false;if(e.type!=="EnumNumberBody")return false;return t==null||(0,n.default)(e,t)}function isEnumStringBody(e,t){if(!e)return false;if(e.type!=="EnumStringBody")return false;return t==null||(0,n.default)(e,t)}function isEnumSymbolBody(e,t){if(!e)return false;if(e.type!=="EnumSymbolBody")return false;return t==null||(0,n.default)(e,t)}function isEnumBooleanMember(e,t){if(!e)return false;if(e.type!=="EnumBooleanMember")return false;return t==null||(0,n.default)(e,t)}function isEnumNumberMember(e,t){if(!e)return false;if(e.type!=="EnumNumberMember")return false;return t==null||(0,n.default)(e,t)}function isEnumStringMember(e,t){if(!e)return false;if(e.type!=="EnumStringMember")return false;return t==null||(0,n.default)(e,t)}function isEnumDefaultedMember(e,t){if(!e)return false;if(e.type!=="EnumDefaultedMember")return false;return t==null||(0,n.default)(e,t)}function isIndexedAccessType(e,t){if(!e)return false;if(e.type!=="IndexedAccessType")return false;return t==null||(0,n.default)(e,t)}function isOptionalIndexedAccessType(e,t){if(!e)return false;if(e.type!=="OptionalIndexedAccessType")return false;return t==null||(0,n.default)(e,t)}function isJSXAttribute(e,t){if(!e)return false;if(e.type!=="JSXAttribute")return false;return t==null||(0,n.default)(e,t)}function isJSXClosingElement(e,t){if(!e)return false;if(e.type!=="JSXClosingElement")return false;return t==null||(0,n.default)(e,t)}function isJSXElement(e,t){if(!e)return false;if(e.type!=="JSXElement")return false;return t==null||(0,n.default)(e,t)}function isJSXEmptyExpression(e,t){if(!e)return false;if(e.type!=="JSXEmptyExpression")return false;return t==null||(0,n.default)(e,t)}function isJSXExpressionContainer(e,t){if(!e)return false;if(e.type!=="JSXExpressionContainer")return false;return t==null||(0,n.default)(e,t)}function isJSXSpreadChild(e,t){if(!e)return false;if(e.type!=="JSXSpreadChild")return false;return t==null||(0,n.default)(e,t)}function isJSXIdentifier(e,t){if(!e)return false;if(e.type!=="JSXIdentifier")return false;return t==null||(0,n.default)(e,t)}function isJSXMemberExpression(e,t){if(!e)return false;if(e.type!=="JSXMemberExpression")return false;return t==null||(0,n.default)(e,t)}function isJSXNamespacedName(e,t){if(!e)return false;if(e.type!=="JSXNamespacedName")return false;return t==null||(0,n.default)(e,t)}function isJSXOpeningElement(e,t){if(!e)return false;if(e.type!=="JSXOpeningElement")return false;return t==null||(0,n.default)(e,t)}function isJSXSpreadAttribute(e,t){if(!e)return false;if(e.type!=="JSXSpreadAttribute")return false;return t==null||(0,n.default)(e,t)}function isJSXText(e,t){if(!e)return false;if(e.type!=="JSXText")return false;return t==null||(0,n.default)(e,t)}function isJSXFragment(e,t){if(!e)return false;if(e.type!=="JSXFragment")return false;return t==null||(0,n.default)(e,t)}function isJSXOpeningFragment(e,t){if(!e)return false;if(e.type!=="JSXOpeningFragment")return false;return t==null||(0,n.default)(e,t)}function isJSXClosingFragment(e,t){if(!e)return false;if(e.type!=="JSXClosingFragment")return false;return t==null||(0,n.default)(e,t)}function isNoop(e,t){if(!e)return false;if(e.type!=="Noop")return false;return t==null||(0,n.default)(e,t)}function isPlaceholder(e,t){if(!e)return false;if(e.type!=="Placeholder")return false;return t==null||(0,n.default)(e,t)}function isV8IntrinsicIdentifier(e,t){if(!e)return false;if(e.type!=="V8IntrinsicIdentifier")return false;return t==null||(0,n.default)(e,t)}function isArgumentPlaceholder(e,t){if(!e)return false;if(e.type!=="ArgumentPlaceholder")return false;return t==null||(0,n.default)(e,t)}function isBindExpression(e,t){if(!e)return false;if(e.type!=="BindExpression")return false;return t==null||(0,n.default)(e,t)}function isImportAttribute(e,t){if(!e)return false;if(e.type!=="ImportAttribute")return false;return t==null||(0,n.default)(e,t)}function isDecorator(e,t){if(!e)return false;if(e.type!=="Decorator")return false;return t==null||(0,n.default)(e,t)}function isDoExpression(e,t){if(!e)return false;if(e.type!=="DoExpression")return false;return t==null||(0,n.default)(e,t)}function isExportDefaultSpecifier(e,t){if(!e)return false;if(e.type!=="ExportDefaultSpecifier")return false;return t==null||(0,n.default)(e,t)}function isRecordExpression(e,t){if(!e)return false;if(e.type!=="RecordExpression")return false;return t==null||(0,n.default)(e,t)}function isTupleExpression(e,t){if(!e)return false;if(e.type!=="TupleExpression")return false;return t==null||(0,n.default)(e,t)}function isDecimalLiteral(e,t){if(!e)return false;if(e.type!=="DecimalLiteral")return false;return t==null||(0,n.default)(e,t)}function isModuleExpression(e,t){if(!e)return false;if(e.type!=="ModuleExpression")return false;return t==null||(0,n.default)(e,t)}function isTopicReference(e,t){if(!e)return false;if(e.type!=="TopicReference")return false;return t==null||(0,n.default)(e,t)}function isPipelineTopicExpression(e,t){if(!e)return false;if(e.type!=="PipelineTopicExpression")return false;return t==null||(0,n.default)(e,t)}function isPipelineBareFunction(e,t){if(!e)return false;if(e.type!=="PipelineBareFunction")return false;return t==null||(0,n.default)(e,t)}function isPipelinePrimaryTopicReference(e,t){if(!e)return false;if(e.type!=="PipelinePrimaryTopicReference")return false;return t==null||(0,n.default)(e,t)}function isTSParameterProperty(e,t){if(!e)return false;if(e.type!=="TSParameterProperty")return false;return t==null||(0,n.default)(e,t)}function isTSDeclareFunction(e,t){if(!e)return false;if(e.type!=="TSDeclareFunction")return false;return t==null||(0,n.default)(e,t)}function isTSDeclareMethod(e,t){if(!e)return false;if(e.type!=="TSDeclareMethod")return false;return t==null||(0,n.default)(e,t)}function isTSQualifiedName(e,t){if(!e)return false;if(e.type!=="TSQualifiedName")return false;return t==null||(0,n.default)(e,t)}function isTSCallSignatureDeclaration(e,t){if(!e)return false;if(e.type!=="TSCallSignatureDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSConstructSignatureDeclaration(e,t){if(!e)return false;if(e.type!=="TSConstructSignatureDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSPropertySignature(e,t){if(!e)return false;if(e.type!=="TSPropertySignature")return false;return t==null||(0,n.default)(e,t)}function isTSMethodSignature(e,t){if(!e)return false;if(e.type!=="TSMethodSignature")return false;return t==null||(0,n.default)(e,t)}function isTSIndexSignature(e,t){if(!e)return false;if(e.type!=="TSIndexSignature")return false;return t==null||(0,n.default)(e,t)}function isTSAnyKeyword(e,t){if(!e)return false;if(e.type!=="TSAnyKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSBooleanKeyword(e,t){if(!e)return false;if(e.type!=="TSBooleanKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSBigIntKeyword(e,t){if(!e)return false;if(e.type!=="TSBigIntKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSIntrinsicKeyword(e,t){if(!e)return false;if(e.type!=="TSIntrinsicKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSNeverKeyword(e,t){if(!e)return false;if(e.type!=="TSNeverKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSNullKeyword(e,t){if(!e)return false;if(e.type!=="TSNullKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSNumberKeyword(e,t){if(!e)return false;if(e.type!=="TSNumberKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSObjectKeyword(e,t){if(!e)return false;if(e.type!=="TSObjectKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSStringKeyword(e,t){if(!e)return false;if(e.type!=="TSStringKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSSymbolKeyword(e,t){if(!e)return false;if(e.type!=="TSSymbolKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSUndefinedKeyword(e,t){if(!e)return false;if(e.type!=="TSUndefinedKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSUnknownKeyword(e,t){if(!e)return false;if(e.type!=="TSUnknownKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSVoidKeyword(e,t){if(!e)return false;if(e.type!=="TSVoidKeyword")return false;return t==null||(0,n.default)(e,t)}function isTSThisType(e,t){if(!e)return false;if(e.type!=="TSThisType")return false;return t==null||(0,n.default)(e,t)}function isTSFunctionType(e,t){if(!e)return false;if(e.type!=="TSFunctionType")return false;return t==null||(0,n.default)(e,t)}function isTSConstructorType(e,t){if(!e)return false;if(e.type!=="TSConstructorType")return false;return t==null||(0,n.default)(e,t)}function isTSTypeReference(e,t){if(!e)return false;if(e.type!=="TSTypeReference")return false;return t==null||(0,n.default)(e,t)}function isTSTypePredicate(e,t){if(!e)return false;if(e.type!=="TSTypePredicate")return false;return t==null||(0,n.default)(e,t)}function isTSTypeQuery(e,t){if(!e)return false;if(e.type!=="TSTypeQuery")return false;return t==null||(0,n.default)(e,t)}function isTSTypeLiteral(e,t){if(!e)return false;if(e.type!=="TSTypeLiteral")return false;return t==null||(0,n.default)(e,t)}function isTSArrayType(e,t){if(!e)return false;if(e.type!=="TSArrayType")return false;return t==null||(0,n.default)(e,t)}function isTSTupleType(e,t){if(!e)return false;if(e.type!=="TSTupleType")return false;return t==null||(0,n.default)(e,t)}function isTSOptionalType(e,t){if(!e)return false;if(e.type!=="TSOptionalType")return false;return t==null||(0,n.default)(e,t)}function isTSRestType(e,t){if(!e)return false;if(e.type!=="TSRestType")return false;return t==null||(0,n.default)(e,t)}function isTSNamedTupleMember(e,t){if(!e)return false;if(e.type!=="TSNamedTupleMember")return false;return t==null||(0,n.default)(e,t)}function isTSUnionType(e,t){if(!e)return false;if(e.type!=="TSUnionType")return false;return t==null||(0,n.default)(e,t)}function isTSIntersectionType(e,t){if(!e)return false;if(e.type!=="TSIntersectionType")return false;return t==null||(0,n.default)(e,t)}function isTSConditionalType(e,t){if(!e)return false;if(e.type!=="TSConditionalType")return false;return t==null||(0,n.default)(e,t)}function isTSInferType(e,t){if(!e)return false;if(e.type!=="TSInferType")return false;return t==null||(0,n.default)(e,t)}function isTSParenthesizedType(e,t){if(!e)return false;if(e.type!=="TSParenthesizedType")return false;return t==null||(0,n.default)(e,t)}function isTSTypeOperator(e,t){if(!e)return false;if(e.type!=="TSTypeOperator")return false;return t==null||(0,n.default)(e,t)}function isTSIndexedAccessType(e,t){if(!e)return false;if(e.type!=="TSIndexedAccessType")return false;return t==null||(0,n.default)(e,t)}function isTSMappedType(e,t){if(!e)return false;if(e.type!=="TSMappedType")return false;return t==null||(0,n.default)(e,t)}function isTSLiteralType(e,t){if(!e)return false;if(e.type!=="TSLiteralType")return false;return t==null||(0,n.default)(e,t)}function isTSExpressionWithTypeArguments(e,t){if(!e)return false;if(e.type!=="TSExpressionWithTypeArguments")return false;return t==null||(0,n.default)(e,t)}function isTSInterfaceDeclaration(e,t){if(!e)return false;if(e.type!=="TSInterfaceDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSInterfaceBody(e,t){if(!e)return false;if(e.type!=="TSInterfaceBody")return false;return t==null||(0,n.default)(e,t)}function isTSTypeAliasDeclaration(e,t){if(!e)return false;if(e.type!=="TSTypeAliasDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSInstantiationExpression(e,t){if(!e)return false;if(e.type!=="TSInstantiationExpression")return false;return t==null||(0,n.default)(e,t)}function isTSAsExpression(e,t){if(!e)return false;if(e.type!=="TSAsExpression")return false;return t==null||(0,n.default)(e,t)}function isTSSatisfiesExpression(e,t){if(!e)return false;if(e.type!=="TSSatisfiesExpression")return false;return t==null||(0,n.default)(e,t)}function isTSTypeAssertion(e,t){if(!e)return false;if(e.type!=="TSTypeAssertion")return false;return t==null||(0,n.default)(e,t)}function isTSEnumDeclaration(e,t){if(!e)return false;if(e.type!=="TSEnumDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSEnumMember(e,t){if(!e)return false;if(e.type!=="TSEnumMember")return false;return t==null||(0,n.default)(e,t)}function isTSModuleDeclaration(e,t){if(!e)return false;if(e.type!=="TSModuleDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSModuleBlock(e,t){if(!e)return false;if(e.type!=="TSModuleBlock")return false;return t==null||(0,n.default)(e,t)}function isTSImportType(e,t){if(!e)return false;if(e.type!=="TSImportType")return false;return t==null||(0,n.default)(e,t)}function isTSImportEqualsDeclaration(e,t){if(!e)return false;if(e.type!=="TSImportEqualsDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSExternalModuleReference(e,t){if(!e)return false;if(e.type!=="TSExternalModuleReference")return false;return t==null||(0,n.default)(e,t)}function isTSNonNullExpression(e,t){if(!e)return false;if(e.type!=="TSNonNullExpression")return false;return t==null||(0,n.default)(e,t)}function isTSExportAssignment(e,t){if(!e)return false;if(e.type!=="TSExportAssignment")return false;return t==null||(0,n.default)(e,t)}function isTSNamespaceExportDeclaration(e,t){if(!e)return false;if(e.type!=="TSNamespaceExportDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSTypeAnnotation(e,t){if(!e)return false;if(e.type!=="TSTypeAnnotation")return false;return t==null||(0,n.default)(e,t)}function isTSTypeParameterInstantiation(e,t){if(!e)return false;if(e.type!=="TSTypeParameterInstantiation")return false;return t==null||(0,n.default)(e,t)}function isTSTypeParameterDeclaration(e,t){if(!e)return false;if(e.type!=="TSTypeParameterDeclaration")return false;return t==null||(0,n.default)(e,t)}function isTSTypeParameter(e,t){if(!e)return false;if(e.type!=="TSTypeParameter")return false;return t==null||(0,n.default)(e,t)}function isStandardized(e,t){if(!e)return false;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(e.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isExpression(e,t){if(!e)return false;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isBinary(e,t){if(!e)return false;switch(e.type){case"BinaryExpression":case"LogicalExpression":break;default:return false}return t==null||(0,n.default)(e,t)}function isScopable(e,t){if(!e)return false;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return false}return t==null||(0,n.default)(e,t)}function isBlockParent(e,t){if(!e)return false;switch(e.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return false}return t==null||(0,n.default)(e,t)}function isBlock(e,t){if(!e)return false;switch(e.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(e.expectedNode==="BlockStatement")break;default:return false}return t==null||(0,n.default)(e,t)}function isStatement(e,t){if(!e)return false;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(e.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isTerminatorless(e,t){if(!e)return false;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return false}return t==null||(0,n.default)(e,t)}function isCompletionStatement(e,t){if(!e)return false;switch(e.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isConditional(e,t){if(!e)return false;switch(e.type){case"ConditionalExpression":case"IfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isLoop(e,t){if(!e)return false;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isWhile(e,t){if(!e)return false;switch(e.type){case"DoWhileStatement":case"WhileStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isExpressionWrapper(e,t){if(!e)return false;switch(e.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return false}return t==null||(0,n.default)(e,t)}function isFor(e,t){if(!e)return false;switch(e.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isForXStatement(e,t){if(!e)return false;switch(e.type){case"ForInStatement":case"ForOfStatement":break;default:return false}return t==null||(0,n.default)(e,t)}function isFunction(e,t){if(!e)return false;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return false}return t==null||(0,n.default)(e,t)}function isFunctionParent(e,t){if(!e)return false;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return false}return t==null||(0,n.default)(e,t)}function isPureish(e,t){if(!e)return false;switch(e.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return false}return t==null||(0,n.default)(e,t)}function isDeclaration(e,t){if(!e)return false;switch(e.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if(e.expectedNode==="Declaration")break;default:return false}return t==null||(0,n.default)(e,t)}function isPatternLike(e,t){if(!e)return false;switch(e.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isLVal(e,t){if(!e)return false;switch(e.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(e.expectedNode){case"Pattern":case"Identifier":break;default:return false}break;default:return false}return t==null||(0,n.default)(e,t)}function isTSEntityName(e,t){if(!e)return false;switch(e.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(e.expectedNode==="Identifier")break;default:return false}return t==null||(0,n.default)(e,t)}function isLiteral(e,t){if(!e)return false;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return false}return t==null||(0,n.default)(e,t)}function isImmutable(e,t){if(!e)return false;switch(e.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(e.expectedNode==="StringLiteral")break;default:return false}return t==null||(0,n.default)(e,t)}function isUserWhitespacable(e,t){if(!e)return false;switch(e.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isMethod(e,t){if(!e)return false;switch(e.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return false}return t==null||(0,n.default)(e,t)}function isObjectMember(e,t){if(!e)return false;switch(e.type){case"ObjectMethod":case"ObjectProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isProperty(e,t){if(!e)return false;switch(e.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isUnaryLike(e,t){if(!e)return false;switch(e.type){case"UnaryExpression":case"SpreadElement":break;default:return false}return t==null||(0,n.default)(e,t)}function isPattern(e,t){if(!e)return false;switch(e.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(e.expectedNode==="Pattern")break;default:return false}return t==null||(0,n.default)(e,t)}function isClass(e,t){if(!e)return false;switch(e.type){case"ClassExpression":case"ClassDeclaration":break;default:return false}return t==null||(0,n.default)(e,t)}function isImportOrExportDeclaration(e,t){if(!e)return false;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return false}return t==null||(0,n.default)(e,t)}function isExportDeclaration(e,t){if(!e)return false;switch(e.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return false}return t==null||(0,n.default)(e,t)}function isModuleSpecifier(e,t){if(!e)return false;switch(e.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return false}return t==null||(0,n.default)(e,t)}function isAccessor(e,t){if(!e)return false;switch(e.type){case"ClassAccessorProperty":break;default:return false}return t==null||(0,n.default)(e,t)}function isPrivate(e,t){if(!e)return false;switch(e.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlow(e,t){if(!e)return false;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlowType(e,t){if(!e)return false;switch(e.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlowBaseAnnotation(e,t){if(!e)return false;switch(e.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlowDeclaration(e,t){if(!e)return false;switch(e.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return false}return t==null||(0,n.default)(e,t)}function isFlowPredicate(e,t){if(!e)return false;switch(e.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return false}return t==null||(0,n.default)(e,t)}function isEnumBody(e,t){if(!e)return false;switch(e.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return false}return t==null||(0,n.default)(e,t)}function isEnumMember(e,t){if(!e)return false;switch(e.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return false}return t==null||(0,n.default)(e,t)}function isJSX(e,t){if(!e)return false;switch(e.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return false}return t==null||(0,n.default)(e,t)}function isMiscellaneous(e,t){if(!e)return false;switch(e.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return false}return t==null||(0,n.default)(e,t)}function isTypeScript(e,t){if(!e)return false;switch(e.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return false}return t==null||(0,n.default)(e,t)}function isTSTypeElement(e,t){if(!e)return false;switch(e.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return false}return t==null||(0,n.default)(e,t)}function isTSType(e,t){if(!e)return false;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return false}return t==null||(0,n.default)(e,t)}function isTSBaseType(e,t){if(!e)return false;switch(e.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return false}return t==null||(0,n.default)(e,t)}function isNumberLiteral(e,t){(0,s.default)("isNumberLiteral","isNumericLiteral");if(!e)return false;if(e.type!=="NumberLiteral")return false;return t==null||(0,n.default)(e,t)}function isRegexLiteral(e,t){(0,s.default)("isRegexLiteral","isRegExpLiteral");if(!e)return false;if(e.type!=="RegexLiteral")return false;return t==null||(0,n.default)(e,t)}function isRestProperty(e,t){(0,s.default)("isRestProperty","isRestElement");if(!e)return false;if(e.type!=="RestProperty")return false;return t==null||(0,n.default)(e,t)}function isSpreadProperty(e,t){(0,s.default)("isSpreadProperty","isSpreadElement");if(!e)return false;if(e.type!=="SpreadProperty")return false;return t==null||(0,n.default)(e,t)}function isModuleDeclaration(e,t){(0,s.default)("isModuleDeclaration","isImportOrExportDeclaration");return isImportOrExportDeclaration(e,t)}},9247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=is;var n=r(3631);var s=r(9810);var i=r(4576);var a=r(7940);function is(e,t,r){if(!t)return false;const o=(0,s.default)(t.type,e);if(!o){if(!r&&t.type==="Placeholder"&&e in a.FLIPPED_ALIAS_KEYS){return(0,i.default)(t.expectedNode,e)}return false}if(typeof r==="undefined"){return true}else{return(0,n.default)(t,r)}}},7527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBinding;var n=r(6332);function isBinding(e,t,r){if(r&&e.type==="Identifier"&&t.type==="ObjectProperty"&&r.type==="ObjectExpression"){return false}const s=n.default.keys[t.type];if(s){for(let r=0;r<s.length;r++){const n=s[r];const i=t[n];if(Array.isArray(i)){if(i.indexOf(e)>=0)return true}else{if(i===e)return true}}}return false}},5127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBlockScoped;var n=r(601);var s=r(775);function isBlockScoped(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,s.default)(e)}},9803:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isImmutable;var n=r(9810);var s=r(601);function isImmutable(e){if((0,n.default)(e.type,"Immutable"))return true;if((0,s.isIdentifier)(e)){if(e.name==="undefined"){return true}else{return false}}return false}},775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isLet;var n=r(601);var s=r(4152);function isLet(e){return(0,n.isVariableDeclaration)(e)&&(e.kind!=="var"||e[s.BLOCK_SCOPED_SYMBOL])}},4955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNode;var n=r(7940);function isNode(e){return!!(e&&n.VISITOR_KEYS[e.type])}},598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNodesEquivalent;var n=r(7940);function isNodesEquivalent(e,t){if(typeof e!=="object"||typeof t!=="object"||e==null||t==null){return e===t}if(e.type!==t.type){return false}const r=Object.keys(n.NODE_FIELDS[e.type]||e.type);const s=n.VISITOR_KEYS[e.type];for(const n of r){const r=e[n];const i=t[n];if(typeof r!==typeof i){return false}if(r==null&&i==null){continue}else if(r==null||i==null){return false}if(Array.isArray(r)){if(!Array.isArray(i)){return false}if(r.length!==i.length){return false}for(let e=0;e<r.length;e++){if(!isNodesEquivalent(r[e],i[e])){return false}}continue}if(typeof r==="object"&&!(s!=null&&s.includes(n))){for(const e of Object.keys(r)){if(r[e]!==i[e]){return false}}continue}if(!isNodesEquivalent(r,i)){return false}}return true}},4576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isPlaceholderType;var n=r(7940);function isPlaceholderType(e,t){if(e===t)return true;const r=n.PLACEHOLDERS_ALIAS[e];if(r){for(const e of r){if(t===e)return true}}return false}},8103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isReferenced;function isReferenced(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":if(t.property===e){return!!t.computed}return t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return false;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(t.key===e){return!!t.computed}return false;case"ObjectProperty":if(t.key===e){return!!t.computed}return!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(t.key===e){return!!t.computed}return true;case"ClassPrivateProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":return t.right===e;case"AssignmentPattern":return t.right===e;case"LabeledStatement":return false;case"CatchClause":return false;case"RestElement":return false;case"BreakStatement":case"ContinueStatement":return false;case"FunctionDeclaration":case"FunctionExpression":return false;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return false;case"ExportSpecifier":if(r!=null&&r.source){return false}return t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return false;case"ImportAttribute":return false;case"JSXAttribute":return false;case"ObjectPattern":case"ArrayPattern":return false;case"MetaProperty":return false;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":if(t.key===e){return!!t.computed}return true}return true}},8498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isScope;var n=r(601);function isScope(e,t){if((0,n.isBlockStatement)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return false}if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t))){return true}return(0,n.isScopable)(e)}},2424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isSpecifierDefault;var n=r(601);function isSpecifierDefault(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})}},9810:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isType;var n=r(7940);function isType(e,t){if(e===t)return true;if(n.ALIAS_KEYS[t])return false;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return true;for(const t of r){if(e===t)return true}}return false}},2042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidES3Identifier;var n=r(6488);const s=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier(e){return(0,n.default)(e)&&!s.has(e)}},6488:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidIdentifier;var n=r(4975);function isValidIdentifier(e,t=true){if(typeof e!=="string")return false;if(t){if((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,true)){return false}}return(0,n.isIdentifierName)(e)}},6205:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isVar;var n=r(601);var s=r(4152);function isVar(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[s.BLOCK_SCOPED_SYMBOL]}},8877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=matchesPattern;var n=r(601);function matchesPattern(e,t,r){if(!(0,n.isMemberExpression)(e))return false;const s=Array.isArray(t)?t:t.split(".");const i=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object){i.push(a.property)}i.push(a);if(i.length<s.length)return false;if(!r&&i.length>s.length)return false;for(let e=0,t=i.length-1;e<s.length;e++,t--){const r=i[t];let a;if((0,n.isIdentifier)(r)){a=r.name}else if((0,n.isStringLiteral)(r)){a=r.value}else if((0,n.isThisExpression)(r)){a="this"}else{return false}if(s[e]!==a)return false}return true}},5454:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isCompatTag;function isCompatTag(e){return!!e&&/^[a-z]/.test(e)}},7922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(2049);const s=(0,n.default)("React.Component");var i=s;t["default"]=i},4439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=validate;t.validateChild=validateChild;t.validateField=validateField;var n=r(7940);function validate(e,t,r){if(!e)return;const s=n.NODE_FIELDS[e.type];if(!s)return;const i=s[t];validateField(e,t,r,i);validateChild(e,t,r)}function validateField(e,t,r,n){if(!(n!=null&&n.validate))return;if(n.optional&&r==null)return;n.validate(e,t,r)}function validateChild(e,t,r){if(r==null)return;const s=n.NODE_PARENT_VALIDATIONS[r.type];if(!s)return;s(e,t,r)}},8204:(e,t,r)=>{e.exports=function import_(e){return r(5179)(e)};0&&0},212:e=>{"use strict";e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"45","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},2735:e=>{"use strict";e.exports=JSON.parse('{"transform-unicode-sets-regex":{"chrome":"112","opera":"98","edge":"112","firefox":"116","safari":"tp","node":"20","deno":"1.32","opera_mobile":"75","electron":"24.0"},"transform-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","safari":"16.4","node":"16.11","deno":"1.14","ios":"16.4","samsung":"17","opera_mobile":"66","electron":"15.0"},"proposal-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","safari":"16.4","node":"16.11","deno":"1.14","ios":"16.4","samsung":"17","opera_mobile":"66","electron":"15.0"},"transform-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","opera_mobile":"64","electron":"13.0"},"proposal-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","deno":"1.9","ios":"15","samsung":"16","opera_mobile":"64","electron":"13.0"},"transform-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"14.5","samsung":"11","opera_mobile":"53","electron":"6.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","deno":"1","ios":"14.5","samsung":"11","opera_mobile":"53","electron":"6.0"},"transform-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","opera_mobile":"60","electron":"10.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","deno":"1","ios":"15","samsung":"14","opera_mobile":"60","electron":"10.0"},"transform-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","opera_mobile":"54","electron":"6.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","deno":"1","ios":"13","samsung":"11","rhino":"1.7.14","opera_mobile":"54","electron":"6.0"},"transform-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","opera_mobile":"60","electron":"10.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","deno":"1.2","ios":"14","samsung":"14","opera_mobile":"60","electron":"10.0"},"transform-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","opera_mobile":"57","electron":"8.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","deno":"1","ios":"13.4","samsung":"13","opera_mobile":"57","electron":"8.0"},"transform-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","opera_mobile":"64","electron":"13.0"},"proposal-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","deno":"1.9","ios":"13.4","samsung":"16","opera_mobile":"64","electron":"13.0"},"transform-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","opera_mobile":"47","electron":"3.0"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","deno":"1","ios":"12","samsung":"9","rhino":"1.7.14","opera_mobile":"47","electron":"3.0"},"transform-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","safari":"16.3","node":"6","deno":"1","ios":"16.3","samsung":"5","opera_mobile":"36","electron":"0.37"},"transform-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","opera_mobile":"46","electron":"3.0"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","deno":"1","ios":"12","samsung":"8","opera_mobile":"46","electron":"3.0"},"transform-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"44","electron":"2.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"44","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","deno":"1","ios":"11.3","samsung":"8","opera_mobile":"46","electron":"3.0"},"transform-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","deno":"1","ios":"11.3","samsung":"9","opera_mobile":"47","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","deno":"1","ios":"11","samsung":"6","opera_mobile":"42","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","deno":"1","ios":"10.3","samsung":"6","rhino":"1.7.14","opera_mobile":"41","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","deno":"1","ios":"13","samsung":"3.4","opera_mobile":"28","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","opera_mobile":"32","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","rhino":"1.7.13","opera_mobile":"34","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","deno":"1","ie":"11","ios":"10","samsung":"3.4","opera_mobile":"28","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","rhino":"1.7.14","opera_mobile":"30","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","deno":"1","ios":"9","samsung":"3.4","opera_mobile":"29","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","deno":"1","ios":"8","samsung":"4","opera_mobile":"32","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"36","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","deno":"1","ios":"9","samsung":"4","opera_mobile":"32","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","deno":"1","ios":"12","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","deno":"1","ios":"10","samsung":"5","opera_mobile":"41","electron":"1.2"},"transform-block-scoping":{"chrome":"50","opera":"37","edge":"14","firefox":"53","safari":"11","node":"6","deno":"1","ios":"11","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","deno":"1","ios":"9","samsung":"3","rhino":"1.7.13","opera_mobile":"25","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","deno":"1","ios":"10","samsung":"5","opera_mobile":"33","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","deno":"1","ios":"10","samsung":"5","opera_mobile":"37","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.4","deno":"1","ie":"9","android":"4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"12","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.6","deno":"1","ie":"9","android":"4.4","ios":"6","phantom":"1.9","samsung":"1","rhino":"1.7.13","opera_mobile":"10.1","electron":"0.20"},"transform-export-namespace-from":{"chrome":"72","deno":"1.0","edge":"79","firefox":"80","node":"13.2","opera":"60","opera_mobile":"51","safari":"14.1","ios":"14.5","samsung":"11.0","android":"72","electron":"5.0"},"proposal-export-namespace-from":{"chrome":"72","deno":"1.0","edge":"79","firefox":"80","node":"13.2","opera":"60","opera_mobile":"51","safari":"14.1","ios":"14.5","samsung":"11.0","android":"72","electron":"5.0"}}')},8819:e=>{"use strict";e.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.22.5","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.22.5","@babel/helper-validator-option":"^7.22.5","@babel/plugin-syntax-jsx":"^7.22.5","@babel/plugin-transform-modules-commonjs":"^7.22.5","@babel/plugin-transform-typescript":"^7.22.5"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.22.5","@babel/helper-plugin-test-runner":"^7.22.5"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs"}')},3676:e=>{"use strict";e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var i=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}s.loaded=true;return s.exports}(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(3050);module.exports=r})();