UNPKG

copilot-language-server-extracted

Version:
34 lines (33 loc) 2.55 MB
#!/usr/bin/env node import { createRequire } from "node:module"; const __dirname = import.meta.dirname; const __filename = import.meta.filename; const _require = createRequire(import.meta.url); function require(modname) { switch (modname) { case "tls": { const tls = _require("tls"); if (tls.createSecureContext()?.context?.addCACert) { return tls; } const _createSecureContext = tls.createSecureContext; tls.createSecureContext = (arg) => ({ ..._createSecureContext(arg), context: { addCACert: (_key) => { } }, }); return tls; } case "http2": { const http2 = _require("http2"); http2.ClientHttp2Session.prototype._onTimeout = () => { }; return http2; } default: { return _require(modname); } } } var $Je=Object.create,WE=Object.defineProperty,JJe=Object.getOwnPropertyDescriptor,zJe=Object.getOwnPropertyNames,KJe=Object.getPrototypeOf,XJe=Object.prototype.hasOwnProperty,qG=a=>{throw TypeError(a)},ZJe=(a,l,c)=>l in a?WE(a,l,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[l]=c,o=(a,l)=>WE(a,"name",{value:l,configurable:!0}),k=(a,l)=>()=>(a&&(l=a(a=0)),l),G=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports),F1=(a,l)=>{for(var c in l)WE(a,c,{get:l[c],enumerable:!0})},zme=(a,l,c,u)=>{if(l&&typeof l=="object"||typeof l=="function")for(let d of zJe(l))!XJe.call(a,d)&&d!==c&&WE(a,d,{get:()=>l[d],enumerable:!(u=JJe(l,d))||u.enumerable});return a},Rt=(a,l,c)=>(c=a!=null?$Je(KJe(a)):{},zme(l||!a||!a.__esModule?WE(c,"default",{value:a,enumerable:!0}):c,a)),eze=a=>zme(WE({},"__esModule",{value:!0}),a),pn=(a,l,c)=>ZJe(a,typeof l!="symbol"?l+"":l,c),HG=(a,l,c)=>l.has(a)||qG("Cannot "+c),Kme=(a,l)=>Object(l)!==l?qG('Cannot use the "in" operator on this value'):a.has(l),O=(a,l,c)=>(HG(a,l,"read from private field"),c?c.call(a):l.get(a)),It=(a,l,c)=>l.has(a)?qG("Cannot add the same private member more than once"):l instanceof WeakSet?l.add(a):l.set(a,c),at=(a,l,c,u)=>(HG(a,l,"write to private field"),u?u.call(a,c):l.set(a,c),c),Fn=(a,l,c)=>(HG(a,l,"access private method"),c),Zme=G(a=>{var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");a.encode=function(c){if(0<=c&&c<l.length)return l[c];throw new TypeError("Must be between 0 and 63: "+c)},a.decode=function(c){var u=65,d=90,h=97,A=122,f=48,p=57,g=43,m=47,y=26,E=52;return u<=c&&c<=d?c-u:h<=c&&c<=A?c-h+y:f<=c&&c<=p?c-f+E:c==g?62:c==m?63:-1}}),jG=G(a=>{var l=Zme(),c=5,u=1<<c,d=u-1,h=u;function A(p){return p<0?(-p<<1)+1:(p<<1)+0}o(A,"toVLQSigned");function f(p){var g=(p&1)===1,m=p>>1;return g?-m:m}o(f,"fromVLQSigned"),a.encode=o(function(p){var g="",m,y=A(p);do m=y&d,y>>>=c,y>0&&(m|=h),g+=l.encode(m);while(y>0);return g},"base64VLQ_encode"),a.decode=o(function(p,g,m){var y=p.length,E=0,v=0,I,b;do{if(g>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(b=l.decode(p.charCodeAt(g++)),b===-1)throw new Error("Invalid base64 digit: "+p.charAt(g-1));I=!!(b&h),b&=d,E=E+(b<<v),v+=c}while(I);m.value=f(E),m.rest=g},"base64VLQ_decode")}),$E=G(a=>{function l(_,D,q){if(D in _)return _[D];if(arguments.length===3)return q;throw new Error('"'+D+'" is a required argument.')}o(l,"getArg"),a.getArg=l;var c=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,u=/^data:.+\,.+$/;function d(_){var D=_.match(c);return D?{scheme:D[1],auth:D[2],host:D[3],port:D[4],path:D[5]}:null}o(d,"urlParse"),a.urlParse=d;function h(_){var D="";return _.scheme&&(D+=_.scheme+":"),D+="//",_.auth&&(D+=_.auth+"@"),_.host&&(D+=_.host),_.port&&(D+=":"+_.port),_.path&&(D+=_.path),D}o(h,"urlGenerate"),a.urlGenerate=h;function A(_){var D=_,q=d(_);if(q){if(!q.path)return _;D=q.path}for(var j=a.isAbsolute(D),F=D.split(/\/+/),x,R=0,N=F.length-1;N>=0;N--)x=F[N],x==="."?F.splice(N,1):x===".."?R++:R>0&&(x===""?(F.splice(N+1,R),R=0):(F.splice(N,2),R--));return D=F.join("/"),D===""&&(D=j?"/":"."),q?(q.path=D,h(q)):D}o(A,"normalize"),a.normalize=A;function f(_,D){_===""&&(_="."),D===""&&(D=".");var q=d(D),j=d(_);if(j&&(_=j.path||"/"),q&&!q.scheme)return j&&(q.scheme=j.scheme),h(q);if(q||D.match(u))return D;if(j&&!j.host&&!j.path)return j.host=D,h(j);var F=D.charAt(0)==="/"?D:A(_.replace(/\/+$/,"")+"/"+D);return j?(j.path=F,h(j)):F}o(f,"join"),a.join=f,a.isAbsolute=function(_){return _.charAt(0)==="/"||c.test(_)};function p(_,D){_===""&&(_="."),_=_.replace(/\/$/,"");for(var q=0;D.indexOf(_+"/")!==0;){var j=_.lastIndexOf("/");if(j<0||(_=_.slice(0,j),_.match(/^([^\/]+:\/)?\/*$/)))return D;++q}return Array(q+1).join("../")+D.substr(_.length+1)}o(p,"relative"),a.relative=p;var g=function(){var _=Object.create(null);return!("__proto__"in _)}();function m(_){return _}o(m,"identity");function y(_){return v(_)?"$"+_:_}o(y,"toSetString"),a.toSetString=g?m:y;function E(_){return v(_)?_.slice(1):_}o(E,"fromSetString"),a.fromSetString=g?m:E;function v(_){if(!_)return!1;var D=_.length;if(D<9||_.charCodeAt(D-1)!==95||_.charCodeAt(D-2)!==95||_.charCodeAt(D-3)!==111||_.charCodeAt(D-4)!==116||_.charCodeAt(D-5)!==111||_.charCodeAt(D-6)!==114||_.charCodeAt(D-7)!==112||_.charCodeAt(D-8)!==95||_.charCodeAt(D-9)!==95)return!1;for(var q=D-10;q>=0;q--)if(_.charCodeAt(q)!==36)return!1;return!0}o(v,"isProtoString");function I(_,D,q){var j=w(_.source,D.source);return j!==0||(j=_.originalLine-D.originalLine,j!==0)||(j=_.originalColumn-D.originalColumn,j!==0||q)||(j=_.generatedColumn-D.generatedColumn,j!==0)||(j=_.generatedLine-D.generatedLine,j!==0)?j:w(_.name,D.name)}o(I,"compareByOriginalPositions"),a.compareByOriginalPositions=I;function b(_,D,q){var j=_.generatedLine-D.generatedLine;return j!==0||(j=_.generatedColumn-D.generatedColumn,j!==0||q)||(j=w(_.source,D.source),j!==0)||(j=_.originalLine-D.originalLine,j!==0)||(j=_.originalColumn-D.originalColumn,j!==0)?j:w(_.name,D.name)}o(b,"compareByGeneratedPositionsDeflated"),a.compareByGeneratedPositionsDeflated=b;function w(_,D){return _===D?0:_===null?1:D===null?-1:_>D?1:-1}o(w,"strcmp");function Q(_,D){var q=_.generatedLine-D.generatedLine;return q!==0||(q=_.generatedColumn-D.generatedColumn,q!==0)||(q=w(_.source,D.source),q!==0)||(q=_.originalLine-D.originalLine,q!==0)||(q=_.originalColumn-D.originalColumn,q!==0)?q:w(_.name,D.name)}o(Q,"compareByGeneratedPositionsInflated"),a.compareByGeneratedPositionsInflated=Q;function S(_){return JSON.parse(_.replace(/^\)]}'[^\n]*\n/,""))}o(S,"parseSourceMapInput"),a.parseSourceMapInput=S;function B(_,D,q){if(D=D||"",_&&(_[_.length-1]!=="/"&&D[0]!=="/"&&(_+="/"),D=_+D),q){var j=d(q);if(!j)throw new Error("sourceMapURL could not be parsed");if(j.path){var F=j.path.lastIndexOf("/");F>=0&&(j.path=j.path.substring(0,F+1))}D=f(h(j),D)}return A(D)}o(B,"computeSourceURL"),a.computeSourceURL=B}),zG=G(a=>{var l=$E(),c=Object.prototype.hasOwnProperty,u=typeof Map<"u";function d(){this._array=[],this._set=u?new Map:Object.create(null)}o(d,"ArraySet"),d.fromArray=o(function(h,A){for(var f=new d,p=0,g=h.length;p<g;p++)f.add(h[p],A);return f},"ArraySet_fromArray"),d.prototype.size=o(function(){return u?this._set.size:Object.getOwnPropertyNames(this._set).length},"ArraySet_size"),d.prototype.add=o(function(h,A){var f=u?h:l.toSetString(h),p=u?this.has(h):c.call(this._set,f),g=this._array.length;(!p||A)&&this._array.push(h),p||(u?this._set.set(h,g):this._set[f]=g)},"ArraySet_add"),d.prototype.has=o(function(h){if(u)return this._set.has(h);var A=l.toSetString(h);return c.call(this._set,A)},"ArraySet_has"),d.prototype.indexOf=o(function(h){if(u){var A=this._set.get(h);if(A>=0)return A}else{var f=l.toSetString(h);if(c.call(this._set,f))return this._set[f]}throw new Error('"'+h+'" is not in the set.')},"ArraySet_indexOf"),d.prototype.at=o(function(h){if(h>=0&&h<this._array.length)return this._array[h];throw new Error("No element indexed by "+h)},"ArraySet_at"),d.prototype.toArray=o(function(){return this._array.slice()},"ArraySet_toArray"),a.ArraySet=d}),dpe=G(a=>{var l=$E();function c(d,h){var A=d.generatedLine,f=h.generatedLine,p=d.generatedColumn,g=h.generatedColumn;return f>A||f==A&&g>=p||l.compareByGeneratedPositionsInflated(d,h)<=0}o(c,"generatedPositionAfter");function u(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(u,"MappingList"),u.prototype.unsortedForEach=o(function(d,h){this._array.forEach(d,h)},"MappingList_forEach"),u.prototype.add=o(function(d){c(this._last,d)?(this._last=d,this._array.push(d)):(this._sorted=!1,this._array.push(d))},"MappingList_add"),u.prototype.toArray=o(function(){return this._sorted||(this._array.sort(l.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray"),a.MappingList=u}),KG=G(a=>{var l=jG(),c=$E(),u=zG().ArraySet,d=dpe().MappingList;function h(A){A||(A={}),this._file=c.getArg(A,"file",null),this._sourceRoot=c.getArg(A,"sourceRoot",null),this._skipValidation=c.getArg(A,"skipValidation",!1),this._sources=new u,this._names=new u,this._mappings=new d,this._sourcesContents=null}o(h,"SourceMapGenerator"),h.prototype._version=3,h.fromSourceMap=o(function(A){var f=A.sourceRoot,p=new h({file:A.file,sourceRoot:f});return A.eachMapping(function(g){var m={generated:{line:g.generatedLine,column:g.generatedColumn}};g.source!=null&&(m.source=g.source,f!=null&&(m.source=c.relative(f,m.source)),m.original={line:g.originalLine,column:g.originalColumn},g.name!=null&&(m.name=g.name)),p.addMapping(m)}),A.sources.forEach(function(g){var m=g;f!==null&&(m=c.relative(f,g)),p._sources.has(m)||p._sources.add(m);var y=A.sourceContentFor(g);y!=null&&p.setSourceContent(g,y)}),p},"SourceMapGenerator_fromSourceMap"),h.prototype.addMapping=o(function(A){var f=c.getArg(A,"generated"),p=c.getArg(A,"original",null),g=c.getArg(A,"source",null),m=c.getArg(A,"name",null);this._skipValidation||this._validateMapping(f,p,g,m),g!=null&&(g=String(g),this._sources.has(g)||this._sources.add(g)),m!=null&&(m=String(m),this._names.has(m)||this._names.add(m)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:g,name:m})},"SourceMapGenerator_addMapping"),h.prototype.setSourceContent=o(function(A,f){var p=A;this._sourceRoot!=null&&(p=c.relative(this._sourceRoot,p)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[c.toSetString(p)]=f):this._sourcesContents&&(delete this._sourcesContents[c.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent"),h.prototype.applySourceMap=o(function(A,f,p){var g=f;if(f==null){if(A.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);g=A.file}var m=this._sourceRoot;m!=null&&(g=c.relative(m,g));var y=new u,E=new u;this._mappings.unsortedForEach(function(v){if(v.source===g&&v.originalLine!=null){var I=A.originalPositionFor({line:v.originalLine,column:v.originalColumn});I.source!=null&&(v.source=I.source,p!=null&&(v.source=c.join(p,v.source)),m!=null&&(v.source=c.relative(m,v.source)),v.originalLine=I.line,v.originalColumn=I.column,I.name!=null&&(v.name=I.name))}var b=v.source;b!=null&&!y.has(b)&&y.add(b);var w=v.name;w!=null&&!E.has(w)&&E.add(w)},this),this._sources=y,this._names=E,A.sources.forEach(function(v){var I=A.sourceContentFor(v);I!=null&&(p!=null&&(v=c.join(p,v)),m!=null&&(v=c.relative(m,v)),this.setSourceContent(v,I))},this)},"SourceMapGenerator_applySourceMap"),h.prototype._validateMapping=o(function(A,f,p,g){if(f&&typeof f.line!="number"&&typeof f.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(A&&"line"in A&&"column"in A&&A.line>0&&A.column>=0&&!f&&!p&&!g)){if(A&&"line"in A&&"column"in A&&f&&"line"in f&&"column"in f&&A.line>0&&A.column>=0&&f.line>0&&f.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:A,source:p,original:f,name:g}))}},"SourceMapGenerator_validateMapping"),h.prototype._serializeMappings=o(function(){for(var A=0,f=1,p=0,g=0,m=0,y=0,E="",v,I,b,w,Q=this._mappings.toArray(),S=0,B=Q.length;S<B;S++){if(I=Q[S],v="",I.generatedLine!==f)for(A=0;I.generatedLine!==f;)v+=";",f++;else if(S>0){if(!c.compareByGeneratedPositionsInflated(I,Q[S-1]))continue;v+=","}v+=l.encode(I.generatedColumn-A),A=I.generatedColumn,I.source!=null&&(w=this._sources.indexOf(I.source),v+=l.encode(w-y),y=w,v+=l.encode(I.originalLine-1-g),g=I.originalLine-1,v+=l.encode(I.originalColumn-p),p=I.originalColumn,I.name!=null&&(b=this._names.indexOf(I.name),v+=l.encode(b-m),m=b)),E+=v}return E},"SourceMapGenerator_serializeMappings"),h.prototype._generateSourcesContent=o(function(A,f){return A.map(function(p){if(!this._sourcesContents)return null;f!=null&&(p=c.relative(f,p));var g=c.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,g)?this._sourcesContents[g]:null},this)},"SourceMapGenerator_generateSourcesContent"),h.prototype.toJSON=o(function(){var A={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(A.file=this._file),this._sourceRoot!=null&&(A.sourceRoot=this._sourceRoot),this._sourcesContents&&(A.sourcesContent=this._generateSourcesContent(A.sources,A.sourceRoot)),A},"SourceMapGenerator_toJSON"),h.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString"),a.SourceMapGenerator=h}),hpe=G(a=>{a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2;function l(c,u,d,h,A,f){var p=Math.floor((u-c)/2)+c,g=A(d,h[p],!0);return g===0?p:g>0?u-p>1?l(p,u,d,h,A,f):f==a.LEAST_UPPER_BOUND?u<h.length?u:-1:p:p-c>1?l(c,p,d,h,A,f):f==a.LEAST_UPPER_BOUND?p:c<0?-1:c}o(l,"recursiveSearch"),a.search=o(function(c,u,d,h){if(u.length===0)return-1;var A=l(-1,u.length,c,u,d,h||a.GREATEST_LOWER_BOUND);if(A<0)return-1;for(;A-1>=0&&d(u[A],u[A-1],!0)===0;)--A;return A},"search")}),mpe=G(a=>{function l(d,h,A){var f=d[h];d[h]=d[A],d[A]=f}o(l,"swap");function c(d,h){return Math.round(d+Math.random()*(h-d))}o(c,"randomIntInRange");function u(d,h,A,f){if(A<f){var p=c(A,f),g=A-1;l(d,p,f);for(var m=d[f],y=A;y<f;y++)h(d[y],m)<=0&&(g+=1,l(d,g,y));l(d,g+1,y);var E=g+1;u(d,h,A,E-1),u(d,h,E+1,f)}}o(u,"doQuickSort"),a.quickSort=function(d,h){u(d,h,0,d.length-1)}}),ype=G(a=>{var l=$E(),c=hpe(),u=zG().ArraySet,d=jG(),h=mpe().quickSort;function A(m,y){var E=m;return typeof m=="string"&&(E=l.parseSourceMapInput(m)),E.sections!=null?new g(E,y):new f(E,y)}o(A,"SourceMapConsumer"),A.fromSourceMap=function(m,y){return f.fromSourceMap(m,y)},A.prototype._version=3,A.prototype.__generatedMappings=null,Object.defineProperty(A.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")}),A.prototype.__originalMappings=null,Object.defineProperty(A.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")}),A.prototype._charIsMappingSeparator=o(function(m,y){var E=m.charAt(y);return E===";"||E===","},"SourceMapConsumer_charIsMappingSeparator"),A.prototype._parseMappings=o(function(m,y){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings"),A.GENERATED_ORDER=1,A.ORIGINAL_ORDER=2,A.GREATEST_LOWER_BOUND=1,A.LEAST_UPPER_BOUND=2,A.prototype.eachMapping=o(function(m,y,E){var v=y||null,I=E||A.GENERATED_ORDER,b;switch(I){case A.GENERATED_ORDER:b=this._generatedMappings;break;case A.ORIGINAL_ORDER:b=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var w=this.sourceRoot;b.map(function(Q){var S=Q.source===null?null:this._sources.at(Q.source);return S=l.computeSourceURL(w,S,this._sourceMapURL),{source:S,generatedLine:Q.generatedLine,generatedColumn:Q.generatedColumn,originalLine:Q.originalLine,originalColumn:Q.originalColumn,name:Q.name===null?null:this._names.at(Q.name)}},this).forEach(m,v)},"SourceMapConsumer_eachMapping"),A.prototype.allGeneratedPositionsFor=o(function(m){var y=l.getArg(m,"line"),E={source:l.getArg(m,"source"),originalLine:y,originalColumn:l.getArg(m,"column",0)};if(E.source=this._findSourceIndex(E.source),E.source<0)return[];var v=[],I=this._findMapping(E,this._originalMappings,"originalLine","originalColumn",l.compareByOriginalPositions,c.LEAST_UPPER_BOUND);if(I>=0){var b=this._originalMappings[I];if(m.column===void 0)for(var w=b.originalLine;b&&b.originalLine===w;)v.push({line:l.getArg(b,"generatedLine",null),column:l.getArg(b,"generatedColumn",null),lastColumn:l.getArg(b,"lastGeneratedColumn",null)}),b=this._originalMappings[++I];else for(var Q=b.originalColumn;b&&b.originalLine===y&&b.originalColumn==Q;)v.push({line:l.getArg(b,"generatedLine",null),column:l.getArg(b,"generatedColumn",null),lastColumn:l.getArg(b,"lastGeneratedColumn",null)}),b=this._originalMappings[++I]}return v},"SourceMapConsumer_allGeneratedPositionsFor"),a.SourceMapConsumer=A;function f(m,y){var E=m;typeof m=="string"&&(E=l.parseSourceMapInput(m));var v=l.getArg(E,"version"),I=l.getArg(E,"sources"),b=l.getArg(E,"names",[]),w=l.getArg(E,"sourceRoot",null),Q=l.getArg(E,"sourcesContent",null),S=l.getArg(E,"mappings"),B=l.getArg(E,"file",null);if(v!=this._version)throw new Error("Unsupported version: "+v);w&&(w=l.normalize(w)),I=I.map(String).map(l.normalize).map(function(_){return w&&l.isAbsolute(w)&&l.isAbsolute(_)?l.relative(w,_):_}),this._names=u.fromArray(b.map(String),!0),this._sources=u.fromArray(I,!0),this._absoluteSources=this._sources.toArray().map(function(_){return l.computeSourceURL(w,_,y)}),this.sourceRoot=w,this.sourcesContent=Q,this._mappings=S,this._sourceMapURL=y,this.file=B}o(f,"BasicSourceMapConsumer"),f.prototype=Object.create(A.prototype),f.prototype.consumer=A,f.prototype._findSourceIndex=function(m){var y=m;if(this.sourceRoot!=null&&(y=l.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var E;for(E=0;E<this._absoluteSources.length;++E)if(this._absoluteSources[E]==m)return E;return-1},f.fromSourceMap=o(function(m,y){var E=Object.create(f.prototype),v=E._names=u.fromArray(m._names.toArray(),!0),I=E._sources=u.fromArray(m._sources.toArray(),!0);E.sourceRoot=m._sourceRoot,E.sourcesContent=m._generateSourcesContent(E._sources.toArray(),E.sourceRoot),E.file=m._file,E._sourceMapURL=y,E._absoluteSources=E._sources.toArray().map(function(q){return l.computeSourceURL(E.sourceRoot,q,y)});for(var b=m._mappings.toArray().slice(),w=E.__generatedMappings=[],Q=E.__originalMappings=[],S=0,B=b.length;S<B;S++){var _=b[S],D=new p;D.generatedLine=_.generatedLine,D.generatedColumn=_.generatedColumn,_.source&&(D.source=I.indexOf(_.source),D.originalLine=_.originalLine,D.originalColumn=_.originalColumn,_.name&&(D.name=v.indexOf(_.name)),Q.push(D)),w.push(D)}return h(E.__originalMappings,l.compareByOriginalPositions),E},"SourceMapConsumer_fromSourceMap"),f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:o(function(){return this._absoluteSources.slice()},"get")});function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o(p,"Mapping"),f.prototype._parseMappings=o(function(m,y){for(var E=1,v=0,I=0,b=0,w=0,Q=0,S=m.length,B=0,_={},D={},q=[],j=[],F,x,R,N,L;B<S;)if(m.charAt(B)===";")E++,B++,v=0;else if(m.charAt(B)===",")B++;else{for(F=new p,F.generatedLine=E,N=B;N<S&&!this._charIsMappingSeparator(m,N);N++);if(x=m.slice(B,N),R=_[x],R)B+=x.length;else{for(R=[];B<N;)d.decode(m,B,D),L=D.value,B=D.rest,R.push(L);if(R.length===2)throw new Error("Found a source, but no line and column");if(R.length===3)throw new Error("Found a source and line, but no column");_[x]=R}F.generatedColumn=v+R[0],v=F.generatedColumn,R.length>1&&(F.source=w+R[1],w+=R[1],F.originalLine=I+R[2],I=F.originalLine,F.originalLine+=1,F.originalColumn=b+R[3],b=F.originalColumn,R.length>4&&(F.name=Q+R[4],Q+=R[4])),j.push(F),typeof F.originalLine=="number"&&q.push(F)}h(j,l.compareByGeneratedPositionsDeflated),this.__generatedMappings=j,h(q,l.compareByOriginalPositions),this.__originalMappings=q},"SourceMapConsumer_parseMappings"),f.prototype._findMapping=o(function(m,y,E,v,I,b){if(m[E]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+m[E]);if(m[v]<0)throw new TypeError("Column must be greater than or equal to 0, got "+m[v]);return c.search(m,y,I,b)},"SourceMapConsumer_findMapping"),f.prototype.computeColumnSpans=o(function(){for(var m=0;m<this._generatedMappings.length;++m){var y=this._generatedMappings[m];if(m+1<this._generatedMappings.length){var E=this._generatedMappings[m+1];if(y.generatedLine===E.generatedLine){y.lastGeneratedColumn=E.generatedColumn-1;continue}}y.lastGeneratedColumn=1/0}},"SourceMapConsumer_computeColumnSpans"),f.prototype.originalPositionFor=o(function(m){var y={generatedLine:l.getArg(m,"line"),generatedColumn:l.getArg(m,"column")},E=this._findMapping(y,this._generatedMappings,"generatedLine","generatedColumn",l.compareByGeneratedPositionsDeflated,l.getArg(m,"bias",A.GREATEST_LOWER_BOUND));if(E>=0){var v=this._generatedMappings[E];if(v.generatedLine===y.generatedLine){var I=l.getArg(v,"source",null);I!==null&&(I=this._sources.at(I),I=l.computeSourceURL(this.sourceRoot,I,this._sourceMapURL));var b=l.getArg(v,"name",null);return b!==null&&(b=this._names.at(b)),{source:I,line:l.getArg(v,"originalLine",null),column:l.getArg(v,"originalColumn",null),name:b}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor"),f.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(m){return m==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources"),f.prototype.sourceContentFor=o(function(m,y){if(!this.sourcesContent)return null;var E=this._findSourceIndex(m);if(E>=0)return this.sourcesContent[E];var v=m;this.sourceRoot!=null&&(v=l.relative(this.sourceRoot,v));var I;if(this.sourceRoot!=null&&(I=l.urlParse(this.sourceRoot))){var b=v.replace(/^file:\/\//,"");if(I.scheme=="file"&&this._sources.has(b))return this.sourcesContent[this._sources.indexOf(b)];if((!I.path||I.path=="/")&&this._sources.has("/"+v))return this.sourcesContent[this._sources.indexOf("/"+v)]}if(y)return null;throw new Error('"'+v+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor"),f.prototype.generatedPositionFor=o(function(m){var y=l.getArg(m,"source");if(y=this._findSourceIndex(y),y<0)return{line:null,column:null,lastColumn:null};var E={source:y,originalLine:l.getArg(m,"line"),originalColumn:l.getArg(m,"column")},v=this._findMapping(E,this._originalMappings,"originalLine","originalColumn",l.compareByOriginalPositions,l.getArg(m,"bias",A.GREATEST_LOWER_BOUND));if(v>=0){var I=this._originalMappings[v];if(I.source===E.source)return{line:l.getArg(I,"generatedLine",null),column:l.getArg(I,"generatedColumn",null),lastColumn:l.getArg(I,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor"),a.BasicSourceMapConsumer=f;function g(m,y){var E=m;typeof m=="string"&&(E=l.parseSourceMapInput(m));var v=l.getArg(E,"version"),I=l.getArg(E,"sections");if(v!=this._version)throw new Error("Unsupported version: "+v);this._sources=new u,this._names=new u;var b={line:-1,column:0};this._sections=I.map(function(w){if(w.url)throw new Error("Support for url field in sections not implemented.");var Q=l.getArg(w,"offset"),S=l.getArg(Q,"line"),B=l.getArg(Q,"column");if(S<b.line||S===b.line&&B<b.column)throw new Error("Section offsets must be ordered and non-overlapping.");return b=Q,{generatedOffset:{generatedLine:S+1,generatedColumn:B+1},consumer:new A(l.getArg(w,"map"),y)}})}o(g,"IndexedSourceMapConsumer"),g.prototype=Object.create(A.prototype),g.prototype.constructor=A,g.prototype._version=3,Object.defineProperty(g.prototype,"sources",{get:o(function(){for(var m=[],y=0;y<this._sections.length;y++)for(var E=0;E<this._sections[y].consumer.sources.length;E++)m.push(this._sections[y].consumer.sources[E]);return m},"get")}),g.prototype.originalPositionFor=o(function(m){var y={generatedLine:l.getArg(m,"line"),generatedColumn:l.getArg(m,"column")},E=c.search(y,this._sections,function(I,b){var w=I.generatedLine-b.generatedOffset.generatedLine;return w||I.generatedColumn-b.generatedOffset.generatedColumn}),v=this._sections[E];return v?v.consumer.originalPositionFor({line:y.generatedLine-(v.generatedOffset.generatedLine-1),column:y.generatedColumn-(v.generatedOffset.generatedLine===y.generatedLine?v.generatedOffset.generatedColumn-1:0),bias:m.bias}):{source:null,line:null,column:null,name:null}},"IndexedSourceMapConsumer_originalPositionFor"),g.prototype.hasContentsOfAllSources=o(function(){return this._sections.every(function(m){return m.consumer.hasContentsOfAllSources()})},"IndexedSourceMapConsumer_hasContentsOfAllSources"),g.prototype.sourceContentFor=o(function(m,y){for(var E=0;E<this._sections.length;E++){var v=this._sections[E],I=v.consumer.sourceContentFor(m,!0);if(I)return I}if(y)return null;throw new Error('"'+m+'" is not in the SourceMap.')},"IndexedSourceMapConsumer_sourceContentFor"),g.prototype.generatedPositionFor=o(function(m){for(var y=0;y<this._sections.length;y++){var E=this._sections[y];if(E.consumer._findSourceIndex(l.getArg(m,"source"))!==-1){var v=E.consumer.generatedPositionFor(m);if(v){var I={line:v.line+(E.generatedOffset.generatedLine-1),column:v.column+(E.generatedOffset.generatedLine===v.line?E.generatedOffset.generatedColumn-1:0)};return I}}}return{line:null,column:null}},"IndexedSourceMapConsumer_generatedPositionFor"),g.prototype._parseMappings=o(function(m,y){this.__generatedMappings=[],this.__originalMappings=[];for(var E=0;E<this._sections.length;E++)for(var v=this._sections[E],I=v.consumer._generatedMappings,b=0;b<I.length;b++){var w=I[b],Q=v.consumer._sources.at(w.source);Q=l.computeSourceURL(v.consumer.sourceRoot,Q,this._sourceMapURL),this._sources.add(Q),Q=this._sources.indexOf(Q);var S=null;w.name&&(S=v.consumer._names.at(w.name),this._names.add(S),S=this._names.indexOf(S));var B={source:Q,generatedLine:w.generatedLine+(v.generatedOffset.generatedLine-1),generatedColumn:w.generatedColumn+(v.generatedOffset.generatedLine===w.generatedLine?v.generatedOffset.generatedColumn-1:0),originalLine:w.originalLine,originalColumn:w.originalColumn,name:S};this.__generatedMappings.push(B),typeof B.originalLine=="number"&&this.__originalMappings.push(B)}h(this.__generatedMappings,l.compareByGeneratedPositionsDeflated),h(this.__originalMappings,l.compareByOriginalPositions)},"IndexedSourceMapConsumer_parseMappings"),a.IndexedSourceMapConsumer=g}),Epe=G(a=>{var l=KG().SourceMapGenerator,c=$E(),u=/(\r?\n)/,d=10,h="$$$isSourceNode$$$";function A(f,p,g,m,y){this.children=[],this.sourceContents={},this.line=f??null,this.column=p??null,this.source=g??null,this.name=y??null,this[h]=!0,m!=null&&this.add(m)}o(A,"SourceNode"),A.fromStringWithSourceMap=o(function(f,p,g){var m=new A,y=f.split(u),E=0,v=o(function(){var S=_(),B=_()||"";return S+B;function _(){return E<y.length?y[E++]:void 0}},"shiftNextLine"),I=1,b=0,w=null;return p.eachMapping(function(S){if(w!==null)if(I<S.generatedLine)Q(w,v()),I++,b=0;else{var B=y[E]||"",_=B.substr(0,S.generatedColumn-b);y[E]=B.substr(S.generatedColumn-b),b=S.generatedColumn,Q(w,_),w=S;return}for(;I<S.generatedLine;)m.add(v()),I++;if(b<S.generatedColumn){var B=y[E]||"";m.add(B.substr(0,S.generatedColumn)),y[E]=B.substr(S.generatedColumn),b=S.generatedColumn}w=S},this),E<y.length&&(w&&Q(w,v()),m.add(y.splice(E).join(""))),p.sources.forEach(function(S){var B=p.sourceContentFor(S);B!=null&&(g!=null&&(S=c.join(g,S)),m.setSourceContent(S,B))}),m;function Q(S,B){if(S===null||S.source===void 0)m.add(B);else{var _=g?c.join(g,S.source):S.source;m.add(new A(S.originalLine,S.originalColumn,_,B,S.name))}}},"SourceNode_fromStringWithSourceMap"),A.prototype.add=o(function(f){if(Array.isArray(f))f.forEach(function(p){this.add(p)},this);else if(f[h]||typeof f=="string")f&&this.children.push(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},"SourceNode_add"),A.prototype.prepend=o(function(f){if(Array.isArray(f))for(var p=f.length-1;p>=0;p--)this.prepend(f[p]);else if(f[h]||typeof f=="string")this.children.unshift(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},"SourceNode_prepend"),A.prototype.walk=o(function(f){for(var p,g=0,m=this.children.length;g<m;g++)p=this.children[g],p[h]?p.walk(f):p!==""&&f(p,{source:this.source,line:this.line,column:this.column,name:this.name})},"SourceNode_walk"),A.prototype.join=o(function(f){var p,g,m=this.children.length;if(m>0){for(p=[],g=0;g<m-1;g++)p.push(this.children[g]),p.push(f);p.push(this.children[g]),this.children=p}return this},"SourceNode_join"),A.prototype.replaceRight=o(function(f,p){var g=this.children[this.children.length-1];return g[h]?g.replaceRight(f,p):typeof g=="string"?this.children[this.children.length-1]=g.replace(f,p):this.children.push("".replace(f,p)),this},"SourceNode_replaceRight"),A.prototype.setSourceContent=o(function(f,p){this.sourceContents[c.toSetString(f)]=p},"SourceNode_setSourceContent"),A.prototype.walkSourceContents=o(function(f){for(var p=0,g=this.children.length;p<g;p++)this.children[p][h]&&this.children[p].walkSourceContents(f);for(var m=Object.keys(this.sourceContents),p=0,g=m.length;p<g;p++)f(c.fromSetString(m[p]),this.sourceContents[m[p]])},"SourceNode_walkSourceContents"),A.prototype.toString=o(function(){var f="";return this.walk(function(p){f+=p}),f},"SourceNode_toString"),A.prototype.toStringWithSourceMap=o(function(f){var p={code:"",line:1,column:0},g=new l(f),m=!1,y=null,E=null,v=null,I=null;return this.walk(function(b,w){p.code+=b,w.source!==null&&w.line!==null&&w.column!==null?((y!==w.source||E!==w.line||v!==w.column||I!==w.name)&&g.addMapping({source:w.source,original:{line:w.line,column:w.column},generated:{line:p.line,column:p.column},name:w.name}),y=w.source,E=w.line,v=w.column,I=w.name,m=!0):m&&(g.addMapping({generated:{line:p.line,column:p.column}}),y=null,m=!1);for(var Q=0,S=b.length;Q<S;Q++)b.charCodeAt(Q)===d?(p.line++,p.column=0,Q+1===S?(y=null,m=!1):m&&g.addMapping({source:w.source,original:{line:w.line,column:w.column},generated:{line:p.line,column:p.column},name:w.name})):p.column++}),this.walkSourceContents(function(b,w){g.setSourceContent(b,w)}),{code:p.code,map:g}},"SourceNode_toStringWithSourceMap"),a.SourceNode=A}),Ipe=G(a=>{a.SourceMapGenerator=KG().SourceMapGenerator,a.SourceMapConsumer=ype().SourceMapConsumer,a.SourceNode=Epe().SourceNode}),vpe=G((a,l)=>{var c=Object.prototype.toString,u=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function d(p){return c.call(p).slice(8,-1)==="ArrayBuffer"}o(d,"isArrayBuffer");function h(p,g,m){g>>>=0;var y=p.byteLength-g;if(y<0)throw new RangeError("'offset' is out of bounds");if(m===void 0)m=y;else if(m>>>=0,m>y)throw new RangeError("'length' is out of bounds");return u?Buffer.from(p.slice(g,g+m)):new Buffer(new Uint8Array(p.slice(g,g+m)))}o(h,"fromArrayBuffer");function A(p,g){if((typeof g!="string"||g==="")&&(g="utf8"),!Buffer.isEncoding(g))throw new TypeError('"encoding" must be a valid string encoding');return u?Buffer.from(p,g):new Buffer(p,g)}o(A,"fromString");function f(p,g,m){if(typeof p=="number")throw new TypeError('"value" argument must not be a number');return d(p)?h(p,g,m):typeof p=="string"?A(p,g):u?Buffer.from(p):new Buffer(p)}o(f,"bufferFrom"),l.exports=f}),Qpe=G((a,l)=>{var c=Ipe().SourceMapConsumer,u=require("path"),d;try{d=require("fs"),(!d.existsSync||!d.readFileSync)&&(d=null)}catch{}var h=vpe();function A(te,se){return te.require(se)}o(A,"dynamicRequire");var f=!1,p=!1,g=!1,m="auto",y={},E={},v=/^data:application\/json[^,]+base64,/,I=[],b=[];function w(){return m==="browser"?!0:m==="node"?!1:typeof window<"u"&&typeof XMLHttpRequest=="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}o(w,"isInBrowser");function Q(){return typeof process=="object"&&process!==null&&typeof process.on=="function"}o(Q,"hasGlobalProcessEventEmitter");function S(){return typeof process=="object"&&process!==null?process.version:""}o(S,"globalProcessVersion");function B(){if(typeof process=="object"&&process!==null)return process.stderr}o(B,"globalProcessStderr");function _(te){if(typeof process=="object"&&process!==null&&typeof process.exit=="function")return process.exit(te)}o(_,"globalProcessExit");function D(te){return function(se){for(var Ce=0;Ce<te.length;Ce++){var ye=te[Ce](se);if(ye)return ye}return null}}o(D,"handlerExec");var q=D(I);I.push(function(te){if(te=te.trim(),/^file:/.test(te)&&(te=te.replace(/file:\/\/\/(\w:)?/,function(ye,Qe){return Qe?"":"/"})),te in y)return y[te];var se="";try{if(d)d.existsSync(te)&&(se=d.readFileSync(te,"utf8"));else{var Ce=new XMLHttpRequest;Ce.open("GET",te,!1),Ce.send(null),Ce.readyState===4&&Ce.status===200&&(se=Ce.responseText)}}catch{}return y[te]=se});function j(te,se){if(!te)return se;var Ce=u.dirname(te),ye=/^\w+:\/\/[^\/]*/.exec(Ce),Qe=ye?ye[0]:"",we=Ce.slice(Qe.length);return Qe&&/^\/\w\:/.test(we)?(Qe+="/",Qe+u.resolve(Ce.slice(Qe.length),se).replace(/\\/g,"/")):Qe+u.resolve(Ce.slice(Qe.length),se)}o(j,"supportRelativeURL");function F(te){var se;if(w())try{var Ce=new XMLHttpRequest;Ce.open("GET",te,!1),Ce.send(null),se=Ce.readyState===4?Ce.responseText:null;var ye=Ce.getResponseHeader("SourceMap")||Ce.getResponseHeader("X-SourceMap");if(ye)return ye}catch{}se=q(te);for(var Qe=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,we,Fe;Fe=Qe.exec(se);)we=Fe;return we?we[1]:null}o(F,"retrieveSourceMapURL");var x=D(b);b.push(function(te){var se=F(te);if(!se)return null;var Ce;if(v.test(se)){var ye=se.slice(se.indexOf(",")+1);Ce=h(ye,"base64").toString(),se=te}else se=j(te,se),Ce=q(se);return Ce?{url:se,map:Ce}:null});function R(te){var se=E[te.source];if(!se){var Ce=x(te.source);Ce?(se=E[te.source]={url:Ce.url,map:new c(Ce.map)},se.map.sourcesContent&&se.map.sources.forEach(function(Qe,we){var Fe=se.map.sourcesContent[we];if(Fe){var De=j(se.url,Qe);y[De]=Fe}})):se=E[te.source]={url:null,map:null}}if(se&&se.map&&typeof se.map.originalPositionFor=="function"){var ye=se.map.originalPositionFor(te);if(ye.source!==null)return ye.source=j(se.url,ye.source),ye}return te}o(R,"mapSourcePosition");function N(te){var se=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(te);if(se){var Ce=R({source:se[2],line:+se[3],column:se[4]-1});return"eval at "+se[1]+" ("+Ce.source+":"+Ce.line+":"+(Ce.column+1)+")"}return se=/^eval at ([^(]+) \((.+)\)$/.exec(te),se?"eval at "+se[1]+" ("+N(se[2])+")":te}o(N,"mapEvalOrigin");function L(){var te,se="";if(this.isNative())se="native";else{te=this.getScriptNameOrSourceURL(),!te&&this.isEval()&&(se=this.getEvalOrigin(),se+=", "),te?se+=te:se+="<anonymous>";var Ce=this.getLineNumber();if(Ce!=null){se+=":"+Ce;var ye=this.getColumnNumber();ye&&(se+=":"+ye)}}var Qe="",we=this.getFunctionName(),Fe=!0,De=this.isConstructor(),Se=!(this.isToplevel()||De);if(Se){var Re=this.getTypeName();Re==="[object Object]"&&(Re="null");var H=this.getMethodName();we?(Re&&we.indexOf(Re)!=0&&(Qe+=Re+"."),Qe+=we,H&&we.indexOf("."+H)!=we.length-H.length-1&&(Qe+=" [as "+H+"]")):Qe+=Re+"."+(H||"<anonymous>")}else De?Qe+="new "+(we||"<anonymous>"):we?Qe+=we:(Qe+=se,Fe=!1);return Fe&&(Qe+=" ("+se+")"),Qe}o(L,"CallSiteToString");function P(te){var se={};return Object.getOwnPropertyNames(Object.getPrototypeOf(te)).forEach(function(Ce){se[Ce]=/^(?:is|get)/.test(Ce)?function(){return te[Ce].call(te)}:te[Ce]}),se.toString=L,se}o(P,"cloneCallSite");function U(te,se){if(se===void 0&&(se={nextPosition:null,curPosition:null}),te.isNative())return se.curPosition=null,te;var Ce=te.getFileName()||te.getScriptNameOrSourceURL();if(Ce){var ye=te.getLineNumber(),Qe=te.getColumnNumber()-1,we=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/,Fe=we.test(S())?0:62;ye===1&&Qe>Fe&&!w()&&!te.isEval()&&(Qe-=Fe);var De=R({source:Ce,line:ye,column:Qe});se.curPosition=De,te=P(te);var Se=te.getFunctionName;return te.getFunctionName=function(){return se.nextPosition==null?Se():se.nextPosition.name||Se()},te.getFileName=function(){return De.source},te.getLineNumber=function(){return De.line},te.getColumnNumber=function(){return De.column+1},te.getScriptNameOrSourceURL=function(){return De.source},te}var Re=te.isEval()&&te.getEvalOrigin();return Re&&(Re=N(Re),te=P(te),te.getEvalOrigin=function(){return Re}),te}o(U,"wrapCallSite");function W(te,se){g&&(y={},E={});for(var Ce=te.name||"Error",ye=te.message||"",Qe=Ce+": "+ye,we={nextPosition:null,curPosition:null},Fe=[],De=se.length-1;De>=0;De--)Fe.push(` at `+U(se[De],we)),we.nextPosition=we.curPosition;return we.curPosition=we.nextPosition=null,Qe+Fe.reverse().join("")}o(W,"prepareStackTrace");function Y(te){var se=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(te.stack);if(se){var Ce=se[1],ye=+se[2],Qe=+se[3],we=y[Ce];if(!we&&d&&d.existsSync(Ce))try{we=d.readFileSync(Ce,"utf8")}catch{we=""}if(we){var Fe=we.split(/(?:\r\n|\r|\n)/)[ye-1];if(Fe)return Ce+":"+ye+` `+Fe+` `+new Array(Qe).join(" ")+"^"}}return null}o(Y,"getErrorSource");function ee(te){var se=Y(te),Ce=B();Ce&&Ce._handle&&Ce._handle.setBlocking&&Ce._handle.setBlocking(!0),se&&(console.error(),console.error(se)),console.error(te.stack),_(1)}o(ee,"printErrorAndExit");function Z(){var te=process.emit;process.emit=function(se){if(se==="uncaughtException"){var Ce=arguments[1]&&arguments[1].stack,ye=this.listeners(se).length>0;if(Ce&&!ye)return ee(arguments[1])}return te.apply(this,arguments)}}o(Z,"shimEmitUncaughtException");var z=I.slice(0),Ae=b.slice(0);a.wrapCallSite=U,a.getErrorSource=Y,a.mapSourcePosition=R,a.retrieveSourceMap=x,a.install=function(te){if(te=te||{},te.environment&&(m=te.environment,["node","browser","auto"].indexOf(m)===-1))throw new Error("environment "+m+" was unknown. Available options are {auto, browser, node}");if(te.retrieveFile&&(te.overrideRetrieveFile&&(I.length=0),I.unshift(te.retrieveFile)),te.retrieveSourceMap&&(te.overrideRetrieveSourceMap&&(b.length=0),b.unshift(te.retrieveSourceMap)),te.hookRequire&&!w()){var se=A(l,"module"),Ce=se.prototype._compile;Ce.__sourceMapSupport||(se.prototype._compile=function(we,Fe){return y[Fe]=we,E[Fe]=void 0,Ce.call(this,we,Fe)},se.prototype._compile.__sourceMapSupport=!0)}if(g||(g="emptyCacheBetweenOperations"in te?te.emptyCacheBetweenOperations:!1),f||(f=!0,Error.prepareStackTrace=W),!p){var ye="handleUncaughtExceptions"in te?te.handleUncaughtExceptions:!0;try{var Qe=A(l,"worker_threads");Qe.isMainThread===!1&&(ye=!1)}catch{}ye&&Q()&&(p=!0,Z())}},a.resetRetrieveHandlers=function(){I.length=0,b.length=0,I=z.slice(0),b=Ae.slice(0),x=D(b),q=D(I)}}),uV=G(()=>{Qpe().install()}),b_=G(a=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.thenable=a.typedArray=a.stringArray=a.array=a.func=a.error=a.number=a.string=a.boolean=void 0;function l(m){return m===!0||m===!1}o(l,"boolean"),a.boolean=l;function c(m){return typeof m=="string"||m instanceof String}o(c,"string"),a.string=c;function u(m){return typeof m=="number"||m instanceof Number}o(u,"number"),a.number=u;function d(m){return m instanceof Error}o(d,"error"),a.error=d;function h(m){return typeof m=="function"}o(h,"func"),a.func=h;function A(m){return Array.isArray(m)}o(A,"array"),a.array=A;function f(m){return A(m)&&m.every(y=>c(y))}o(f,"stringArray"),a.stringArray=f;function p(m,y){return Array.isArray(m)&&m.every(y)}o(p,"typedArray"),a.typedArray=p;function g(m){return m&&h(m.then)}o(g,"thenable"),a.thenable=g}),KE=G(a=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.stringArray=a.array=a.func=a.error=a.number=a.string=a.boolean=void 0;function l(p){return p===!0||p===!1}o(l,"boolean"),a.boolean=l;function c(p){return typeof p=="string"||p instanceof String}o(c,"string"),a.string=c;function u(p){return typeof p=="number"||p instanceof Number}o(u,"number"),a.number=u;function d(p){return p instanceof Error}o(d,"error"),a.error=d;function h(p){return typeof p=="function"}o(h,"func"),a.func=h;function A(p){return Array.isArray(p)}o(A,"array"),a.array=A;function f(p){return A(p)&&p.every(g=>c(g))}o(f,"stringArray"),a.stringArray=f}),oW=G(a=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Message=a.NotificationType9=a.NotificationType8=a.NotificationType7=a.NotificationType6=a.NotificationType5=a.NotificationType4=a.NotificationType3=a.NotificationType2=a.NotificationType1=a.NotificationType0=a.NotificationType=a.RequestType9=a.RequestType8=a.RequestType7=a.RequestType6=a.RequestType5=a.RequestType4=a.RequestType3=a.RequestType2=a.RequestType1=a.RequestType=a.RequestType0=a.AbstractMessageSignature=a.ParameterStructures=a.ResponseError=a.ErrorCodes=void 0;var l=KE(),c;(function(be){be.ParseError=-32700,be.InvalidRequest=-32600,be.MethodNotFound=-32601,be.InvalidParams=-32602,be.InternalError=-32603,be.jsonrpcReservedErrorRangeStart=-32099,be.serverErrorStart=-32099,be.MessageWriteError=-32099,be.MessageReadError=-32098,be.PendingResponseRejected=-32097,be.ConnectionInactive=-32096,be.ServerNotInitialized=-32002,be.UnknownErrorCode=-32001,be.jsonrpcReservedErrorRangeEnd=-32e3,be.serverErrorEnd=-32e3})(c||(a.ErrorCodes=c={}));var u=class AC extends Error{constructor(ke,$e,Ue){super($e),this.code=l.number(ke)?ke:c.UnknownErrorCode,this.data=Ue,Object.setPrototypeOf(this,AC.prototype)}toJson(){let ke={code:this.code,message:this.message};return this.data!==void 0&&(ke.data=this.data),ke}};o(u,"ResponseError");var d=u;a.ResponseError=d;var h=class U3{constructor(ke){this.kind=ke}static is(ke){return ke===U3.auto||ke===U3.byName||ke===U3.byPosition}toString(){return this.kind}};o(h,"ParameterStructures");var A=h;a.ParameterStructures=A,A.auto=new A("auto"),A.byPosition=new A("byPosition"),A.byName=new A("byName");var f=class{constructor(ke,$e){this.method=ke,this.numberOfParams=$e}get parameterStructures(){return A.auto}};o(f,"AbstractMessageSignature");var p=f;a.AbstractMessageSignature=p;var g=class extends p{constructor(ke){super(ke,0)}};o(g,"RequestType0");var m=g;a.RequestType0=m;var y=class extends p{constructor(ke,$e=A.auto){super(ke,1),this._parameterStructures=$e}get parameterStructures(){return this._parameterStructures}};o(y,"RequestType");var E=y;a.RequestType=E;var v=class extends p{constructor(ke,$e=A.auto){super(ke,1),this._parameterStructures=$e}get parameterStructures(){return this._parameterStructures}};o(v,"RequestType1");var I=v;a.RequestType1=I;var b=class extends p{constructor(ke){super(ke,2)}};o(b,"RequestType2");var w=b;a.RequestType2=w;var Q=class extends p{constructor(ke){super(ke,3)}};o(Q,"RequestType3");var S=Q;a.RequestType3=S;var B=class extends p{constructor(ke){super(ke,4)}};o(B,"RequestType4");var _=B;a.RequestType4=_;var D=class extends p{constructor(ke){super(ke,5)}};o(D,"RequestType5");var q=D;a.RequestType5=q;var j=class extends p{constructor(ke){super(ke,6)}};o(j,"RequestType6");var F=j;a.RequestType6=F;var x=class extends p{constructor(ke){super(ke,7)}};o(x,"RequestType7");var R=x;a.RequestType7=R;var N=class extends p{constructor(ke){super(ke,8)}};o(N,"RequestType8");var L=N;a.RequestType8=L;var P=class extends p{constructor(ke){super(ke,9)}};o(P,"RequestType9");var U=P;a.RequestType9=U;var W=class extends p{constructor(ke,$e=A.auto){super(ke,1),this._parameterStructures=$e}get parameterStructures(){return this._parameterStructures}};o(W,"NotificationType");var Y=W;a.NotificationType=Y;var ee=class extends p{constructor(ke){super(ke,0)}};o(ee,"NotificationType0");var Z=ee;a.NotificationType0=Z;var z=class extends p{constructor(ke,$e=A.auto){super(ke,1),this._parameterStructures=$e}get parameterStructures(){return this._parameterStructures}};o(z,"NotificationType1");var Ae=z;a.NotificationType1=Ae;var te=class extends p{constructor(ke){super(ke,2)}};o(te,"NotificationType2");var se=te;a.NotificationType2=se;var Ce=class extends p{constructor(ke){super(ke,3)}};o(Ce,"NotificationType3");var ye=Ce;a.NotificationType3=ye;var Qe=class extends p{constructor(ke){super(ke,4)}};o(Qe,"NotificationType4");var we=Qe;a.NotificationType4=we;var Fe=class extends p{constructor(ke){super(ke,5)}};o(Fe,"NotificationType5");var De=Fe;a.NotificationType5=De;var Se=class extends p{constructor(ke){super(ke,6)}};o(Se,"NotificationType6");var Re=Se;a.NotificationType6=Re;var H=class extends p{constructor(ke){super(ke,7)}};o(H,"NotificationType7");var de=H;a.NotificationType7=de;var ue=class extends p{constructor(ke){super(ke,8)}};o(ue,"NotificationType8");var $=ue;a.NotificationType8=$;var ne=class extends p{constructor(ke){super(ke,9)}};o(ne,"NotificationType9");var me=ne;a.NotificationType9=me;var Ee;(function(be){function ke(Ve){let Te=Ve;return Te&&l.string(Te.method)&&(l.string(Te.id)||l.number(Te.id))}o(ke,"isRequest"),be.isRequest=ke;function $e(Ve){let Te=Ve;return Te&&l.string(Te.method)&&Ve.id===void 0}o($e,"isNotification"),be.isNotification=$e;function Ue(Ve){let Te=Ve;return Te&&(Te.result!==void 0||!!Te.error)&&(l.string(Te.id)||l.number(Te.id)||Te.id===null)}o(Ue,"isResponse"),be.isResponse=Ue})(Ee||(a.Message=Ee={}))}),cW=G(a=>{"use strict";var l;Object.defineProperty(a,"__esModule",{value:!0}),a.LRUCache=a.LinkedMap=a.Touch=void 0;var c;(function(f){f.None=0,f.First=1,f.AsOld=f.First,f.Last=2,f.AsNew=f.Last})(c||(a.Touch=c={}));var u=class{constructor(){this[l]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var p;return(p=this._head)==null?void 0:p.value}get last(){var p;return(p=this._tail)==null?void 0:p.value}has(p){return this._map.has(p)}get(p,g=c.None){let m=this._map.get(p);if(m)return g!==c.None&&this.touch(m,g),m.value}set(p,g,m=c.None){let y=this._map.get(p);if(y)y.value=g,m!==c.None&&this.touch(y,m);else{switch(y={key:p,value:g,next:void 0,previous:void 0},m){case c.None:this.addItemLast(y);break;case c.First:this.addItemFirst(y);break;case c.Last:this.addItemLast(y);break;default:this.addItemLast(y);break}this._map.set(p,y),this._size++}return this}delete(p){return!!this.remove(p)}remove(p){let g=this._map.get(p);if(g)return this._map.delete(p),this.removeItem(g),this._size--,g.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let p=this._head;return this._map.delete(p.key),this.removeItem(p),this._size--,p.value}forEach(p,g){let m=this._state,y=this._head;for(;y;){if(g?p.bind(g)(y.value,y.key,this):p(y.value,y.key,this),this._state!==m)throw new Error("LinkedMap got modified during iteration.");y=y.next}}keys(){let p=this._state,g=this._head,m={[Symbol.iterator]:()=>m,next:o(()=>{if(this._state!==p)throw new Error("LinkedMap got modified during iteration.");if(g){let y={value:g.key,done:!1};return g=g.next,y}else return{value:void 0,done:!0}},"next")};return m}values(){let p=this._state,g=this._head,m={[Symbol.iterator]:()=>m,next:o(()=>{if(this._state!==p)throw new Error("LinkedMap got modified during iteration.");if(g){let y={value:g.value,done:!1};return g=g.next,y}else return{value:void 0,done:!0}},"next")};return m}entries(){let p=this._state,g=this._head,m={[Symbol.iterator]:()=>m,next:o(()=>{if(this._state!==p)throw new Error("LinkedMap got modified during iteration.");if(g){let y={value:[g.key,g.value],done:!1};return g=g.next,y}else return{value:void 0,done:!0}},"next")};return m}[(l=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(p){if(p>=this.size)return;if(p===0){this.clear();return}let g=this._head,m=this.size;for(;g&&m>p;)this._map.delete(g.key),g=g.next,m--;this._head=g,this._size=m,g&&(g.previous=void 0),this._state++}addItemFirst(p){if(!this._head&&!this._tail)this._tail=p;else if(this._head)p.next=this._head,this._head.previous=p;else throw new Error("Invalid list");this._head=p,this._state++}addItemLast(p){if(!this._head&&!this._tail)this._head=p;else if(this._tail)p.previous=this._tail,this._tail.next=p;else throw new Error("Invalid list");this._tail=p,this._state++}removeItem(p){if(p===this._head&&p===this._tail)this._head=void 0,this._tail=void 0;else if(p===this._head){if(!p.next)throw new Error("Invalid list");p.next.previous=void 0,this._head=p.next}else if(p===this._tail){if(!p.previous)throw new Error("Invalid list");p.previous.next=void 0,this._tail=p.previous}else{let g=p.next,m=p.previous;if(!g||!m)throw new Error("Invalid list");g.previous=m,m.next=g}p.next=void 0,p.previous=void 0,this._state++}touch(p,g){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(g!==c.First&&g!==c.Last)){if(g===c.First){if(p===this._head)return;let m=p.next,y=p.previous;p===this._tail?(y.next=void 0,this._tail=y):(m.previous=y,y.next=m),p.previous=void 0,p.next=this._head,this._head.previous=p,this._head=p,this._state++}else if(g===c.Last){if(p===this._tail)return;let m=p.next,y=p.previous;p===this._head?(m.previous=void 0,this._head=m):(m.previous=y,y.next=m),p.next=void 0,p.previous=this._tail,this._tail.next=p,this._tail=p,this._state++}}}toJSON(){let p=[];return this.forEach((g,m)=>{p.push([m,g])}),p}fromJSON(p){this.clear();for(let[g,m]of p)this.set(