!function(e,n){"object"==typeofexports&&"object"==typeofmodule?module.exports=n(require("fs"),require("path")):"function"==typeofdefine&&define.amd?define(["fs","path"],n):"object"==typeofexports?exports.sourceMap=n(require("fs"),require("path")):e.sourceMap=n(e.fs,e.path)}(window,(function(e,n){returnfunction(e){varn={};functiont(r){if(n[r])returnn[r].exports;varo=n[r]={i:r,l:!1,exports:{}};returne[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}returnt.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)returne;if(4&n&&"object"==typeofe&&e&&e.__esModule)returne;varr=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeofe)for(varoine)t.d(r,o,function(n){returne[n]}.bind(null,o));returnr},t.n=function(e){varn=e&&e.__esModule?function(){returne.default}:function(){returne};returnt.d(n,"a",n),n},t.o=function(e,n){returnObject.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=5)}([function(e,n){n.getArg=function(e,n,t){if(nine)returne[n];if(3===arguments.length)returnt;thrownewError('"'+n+'" is a required argument.')};constt=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;functiono(e){constn=e.match(t);returnn?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}functioni(e){letn="";returne.scheme&&(n+=e.scheme+":"),n+="//",e.auth&&(n+=e.auth+"@"),e.host&&(n+=e.host),e.port&&(n+=":"+e.port),e.path&&(n+=e.path),n}n.urlParse=o,n.urlGenerate=i;consts=function(e){constn=[];returnfunction(t){for(lete=0;e<n.length;e++)if(n[e].input===t){constt=n[0];returnn[0]=n[e],n[e]=t,n[0].result}constr=e(t);returnn.unshift({input:t,result:r}),n.length>32&&n.pop(),r}}((function(e){lett=e;constr=o(e);if(r){if(!r.path)returne;t=r.path}consts=n.isAbsolute(t),l=[];leta=0,u=0;for(;;){if(a=u,u=t.indexOf("/",a),-1===u){l.push(t.slice(a));break}for(l.push(t.slice(a,u));u<t.length&&"/"===t[u];)u++}letc=0;for(u=l.length-1;u>=0;u--){conste=l[u];"."===e?l.splice(u,1):".."===e?c++:c>0&&(""===e?(l.splice(u+1,c),c=0):(l.splice(u,2),c--))}returnt=l.join("/"),""===t&&(t=s?"/":"."),r?(r.path=t,i(r)):t}));functionl(e,n){""===e&&(e="."),""===n&&(n=".");constt=o(n),l=o(e);if(l&&(e=l.path||"/"),t&&!t.scheme)returnl&&(t.scheme=l.scheme),i(t);if(t||n.match(r))returnn;if(l&&!l.host&&!l.path)returnl.host=n,i(l);consta="/"===n.charAt(0)?n:s(e.replace(/\/+$/,"")+"/"+n);returnl?(l.path=a,i(l)):a}n.normalize=s,n.join=l,n.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},n.relative=function(e,n){""===e&&(e="."),e=e.replace(/\/$/,"");lett=0;for(;0!==n.indexOf(e+"/");){constr=e.lastIndexOf("/");if(r<0)returnn;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))returnn;++t}returnArray(t+1).join("../")+n.substr(e.length+1)};consta=!("__proto__"inObject.create(null));functionu(e){returne}functionc(e){if(!e)return!1;constn=e.length;if(n<9)return!1;if(95!==e.charCodeAt(n-1)||95!==e.charCodeAt(n-2)||111!==e.charCodeAt(n-3)||116!==e.charCodeAt(n-4)||111!==e.charCodeAt(n-5)||114!==e.charCodeAt(n-6)||112!==e.charCodeAt(n-7)||95!==e.charCodeAt(n-8)||95!==e.charCodeAt(n-9))return!1;for(lett=n-10;t>=0;t--)if(36!==e.charCodeAt(t))return!1;return!0}functiong(e,n){returne===n?0:null===e?1:null===n?-1:e>n?1:-1}n.toSetString=a?u:function(e){returnc(e)?"$"+e:e},n.fromSetString=a?u:function(e){returnc(e)?e.slice(1):e},n.compareByOriginalPositions=function(e,n,t){letr=g(e.source,n.source);return0!==r?r:(r=e.originalLine-n.originalLine,0!==r?r:(r=e.originalColumn-n.originalColumn,0!==r||t?r:(r=e.generatedColumn-n.generatedColumn,0!==r?r:(r=e.generatedLine-n.generatedLine,0!==r?r:g(e.name,n.name)))))},n.compareByGeneratedPositionsDeflated=function(e,n,t){letr=e.generatedLine-n.generatedLine;return0!==r?r:(r=e.generatedColumn-n.generatedColumn,0!==r||t?r:(r=g(e.source,n.source),0!==r?r:(r=e.originalLine-n.originalLine,0!==r?r:(r=e.originalColumn-n.originalColumn,0!==r?r:g(e.name,n.name)))))},n.compareByGeneratedPositionsInflated=function(e,n){lett=e.generatedLine-n.generatedLine;return0!==t?t:(t=e.generatedColumn-n.generatedColumn,0!==t?t:(t=g(e.source,n.source),0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t?t:g(e.name,n.name)))))},n.parseSourceMapInput=function(e){returnJSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},n.computeSourceURL=function(e,n,t){if(n=n||"",e&&("/"!==e[e.length-1]&&"/"!==n[0]&&(e+="/"),n=e+n),t){conste=o(t);if(!e)thrownewError("sourceMapURL could not be parsed");if(e.path){constn=e.path.lastIndexOf("/");n>=0&&(e.path=e.path.substring(0,n+1))}n=l(i(e),n)}returns(n)}},function(e,n,t){constr=t(2),o=t(0),i=t(3).ArraySet,s=t(7).MappingList;classl{constructor(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=newi,this._names=newi,this._mappings=news,this._sourcesContents=null}staticfromSourceMap(e){constn=e.sourceRoot,t=newl({file:e.file,sourceRoot:n});returne.eachMapping((function(e){constr={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=n&&(r.source=o.relative(n,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),t.addMapping(r)})),e.sources.forEach((function(r){leti=r;null!==n&&(i=o.relative(n,r)),t._sources.has(i)||t._sources.add(i);consts=e.sourceContentFor(r);null!=s&&t.setSourceContent(r,s)})),t}addMapping(e){constn=o.getArg(e,"generated"),t=o.getArg(e,"original",null);letr=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,t,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=t&&t.line,originalColumn:null!=t&&t.column,source:r,name:i})}setSourceContent(e,n){lett=e;null!=this._sourceRoot&&(t=o.relative(this._sourceRoot,t)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(t)]=n):this._sourcesContents&&(deletethis._sourcesContents[o.toSetString(t)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))}applySourceMap(e,n,t){letr=n;if(null==n){if(null==e.file)thrownewError('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}consts=this._sourceRoot;null!=s&&(r=o.relative(s,r));constl=this._mappings.toArray().length>0?newi:this._sources,a=newi;this._mappings.unsortedForEach((function(n){if(n.source===r&&null!=n.originalLine){constr=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=r.source&&(n.source=r.source,null!=t&&(n.source=o.join(t,n.source)),null!=s&&(n.source=o.relative(s,n.source)),n.originalLine=r.line,n.originalColumn=r.column,null!=r.name&&(n.name=r.name))}consti=n.source;null==i||l.has(i)||l.add(i);constu=n.name;null==u||a.has(u)||a.add(u)}),this),this._sources=l,this._names=a,e.sources.forEach((function(n){constr=e.sourceContentFor(n);null!=r&&(null!=t&&(n=o.join(t,n)),null!=s&&(n=o.relative(s,n)),this.setSourceContent(n,r))}),this)}_validateMapping(e,n,t,r){if(n&&"number"!=typeofn.line&&"number"!=typeofn.column)thrownewError("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(e&&"line"ine&&"column"ine&&e.line>0&&e.column>=0&&!n&&!t&&!r);elseif(!(e&&"line"ine&&"column"ine&&n&&"line"inn&&"column"inn&&e.line>0&&e.column>=0&&n.line>0&&n.column>=0&&t))thrownewError("Invalid mapping: "+JSON.stringify({generated:e,source:t,original:n,name:r}))}_serializeMappings(){lete,n,t,i,s=0,l=1,a=0,u=0,c=0,g=0,p="";consth=this._mappings.toArray();for(letm=0,d=h.length;m<d;m++){if(n=h[m],e="",n.generatedLine!==l)for(s=0;n.generatedLine!==l;)e+=";",l++;elseif(m>0){if(!o.compareByGeneratedPositionsInflated(n,h[m-1]))continue;e+=","}e+=r.encode(n.generatedColumn-s),s=n.generatedColumn,null!=n.source&&(i=this._sources.indexOf(n.source),e+=r.encode(i-g),g=i,e+=r.encode(n.originalLine-1-u),u=n.originalLine-1,e+=r.encode(n.originalColumn-a),a=n.originalColumn,null!=n.name&&(t=this._names.indexOf(n.name),e+=r.encode(t-c),c=t)),p+=e}returnp}_generateSourcesContent(e,n){returne.map((function(e){if(!this._sourcesContents)returnnull;null!=n&&(e=o.relative(n,e));constt=o.toSetString(e);returnObject.prototype.hasOwnProperty.call(this._sourcesContents,t)?this._sourcesContents[t]:null}),this)}toJSON(){conste={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};returnnull!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e}toString(){returnJSON.stringify(this.toJSON())}}l.prototype._version=3,n.SourceMapGenerator=l},function(e,n,t){constr=t(6);n.encode=function(e){letn,t="",o=function(e){returne<0?1+(-e<<1):0+(e<<1)}(e);do{n=31&o,o>>>=5,o>0&&(n|=32),t+=r.encode(n)}while(o>0);returnt}},function(e,n){classt{constructor(){this._array=[],this._set=newMap}staticfromArray(e,n){constr=newt;for(lett=0,o=e.length;t<o;t++)r.add(e[t],n);returnr}size(){returnthis._set.size}add(e,n){constt=this.has(e),r=this._array.length;t&&!n||this._array.push(e),t||this._set.set(e,r)}has(e){returnthis._set.has(e)}indexOf(e){constn=this._set.get(e);if(n>=0)returnn;thrownewError('"'+e+'" is not in the set.')}at(e){if(e>=0&&e<this._array.length)returnthis._array[e];thrownewError("No element indexed by "+e)}toArray(){returnthis._array.slice()}}n.ArraySet=t},function(e,n,t){(function(n){if(function(){return"undefined"!=typeofwindow&&this===window}.call()){letn=null;e.exports=function(){if("string"==typeofn)returnfetch(n).then(e=>e.arrayBuffer());if(ninstanceofArrayBuffer)returnPromise.resolve(n);thrownewError("You must provide the string URL or ArrayBuffer contents of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer")},e.exports.initialize=e=>n=e}else{constr=t(10),o=t(11);e.exports=function(){returnnewPromise((e,t)=>{consti=o.join(n,"mappings.wasm");r.readFile(i,null,(n,r)=>{n?t(n):e(r.buffer)})})},e.exports.initialize=e=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}}).call(this,"/")},function(e,n,t){n.SourceMapGenerator=t(1).SourceMapGenerator,n.SourceMapConsumer=t(8).SourceMapConsumer,n.SourceNode=t(13).SourceNode},function(e,n){constt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");n.encode=function(e){if(0<=e&&e<t.length)returnt[e];thrownewTypeError("Must be between 0 and 63: "+e)}},function(e,n,t){constr=t(0);n.MappingList=class{constructor(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(e,n){this._array.forEach(e,n)}add(e){!function(e,n){constt=e.generatedLine,o=n.generatedLine,i=e.generatedColumn,s=n.generatedColumn;returno>t||o==t&&s>=i||r.compareByGeneratedPositionsInflated(e,n)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))}toArray(){returnthis._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array}}},function(e,n,t){constr=t(0),o=t(9),i=t(3).ArraySet,s=(t(2),t(4)),l=t(12),a=Symbol("smcInternal");classu{constructor(e,n){returne==a?Promise.resolve(this):function(e,n){lett=e;"string"==typeofe&&(t=r.parseSourceMapInput(e));consto=null!=t.sections?newg(t,n):newc(t,n);returnPromise.resolve(o)}(e,n)}staticinitialize(e){s.initialize(e["lib/mappings.wasm"])}staticfromSourceMap(e,n){returnfunction(e,n){returnc.fromSourceMap(e,n)}(e,n)}staticasyncwith(e,n,t){constr=awaitnewu(e,n);try{returnawaitt(r)}finally{r.destroy()}}_parseMappings(e,n){thrownewError("Subclasses must implement _parseMappings")}eachMapping(e,n,t){thrownewError("Subclasses must implement eachMapping")}allGeneratedPositionsFor(e){thrownewError("Subclasses must implement allGeneratedPositionsFor")}destroy(){thrownewError("Subclasses must implement destroy")}}u.prototype._version=3,u.GENERATED_ORDER=1,u.ORIGINAL_ORDER=2,u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,n.SourceMapConsumer=u;classcextendsu{constructor(e,n){returnsuper(a).then(t=>{leto=e;"string"==typeofe&&(o=r.parseSourceMapInput(e));consts=r.getArg(o,"version");leta=r.getArg(o,"sources");constu=r.getArg(o,"names",[]);letc=r.getArg(o,"sourceRoot",null);constg=r.getArg(o,"sourcesContent",null),p=r.getArg(o,"mappings"),h=r.getArg(o,"file",null);if(s!=t._version)thrownewError("Unsupported version: "+s);returnc&&(c=r.normalize(c)),a=a.map(String).map(r.normalize).map((function(e){returnc&&r.isAbsolute(c)&&r.isAbsolute(e)?r.relative(c,e):e})),t._names=i.fromArray(u.map(String),!0),t._sources=i.fromArray(a,!0),t._absoluteSources=t._sources.toArray().map((function(e){returnr.computeSourceURL(c,e,n)})),t.sourceRoot=c,t.sourcesContent=g,t._mappings=p,t._sourceMapURL=n,t.file=h,t._computedColumnSpans=!1,t._mappingsPtr=0,t._wasm=null,l().then(e=>(t._wasm=e,t))})}_findSourceIndex(e){letn=e;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))returnthis._sources.indexOf(n);for(letn=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==e)returnn;return-1}staticfromSourceMap(e,n){returnnewc(e.toString())}getsources(){returnthis._absoluteSources.slice()}_getMappingsPtr(){return0===this._mappingsPtr&&this._parseMappings(this._mappings,this.sourceRoot),this._mappingsPtr}_parseMappings(e,n){constt=e.length,r=this._wasm.exports.allocate_mappings(t),o=newUint8Array(this._wasm.exports.memory.buffer,r,t);for(letn=0;n<t;n++)o[n]=e.charCodeAt(n);consti=this._wasm.exports.parse_mappings(r);if(!i){conste=this._wasm.exports.get_last_error();letn=`Error parsing mappings (code ${e}): `;switch(e){case1:n+="the mappings contained a negative line, column, source index, or name index";break;case2:n+="the mappings contained a number larger than 2**32";break;case3:n+="reached EOF while in the middle of parsing a VLQ";break;case4:n+="invalid base 64 character while parsing a VLQ";break;default:n+="unknown error code"}thrownewError(n)}this._mappingsPtr=i}eachMapping(e,n,t){consto=n||null,i=t||u.GENERATED_ORDER,s=this.sourceRoot;this._wasm.withMappingCallback(n=>{null!==n.source&&(n.source=this._sources.at(n.source),n.source=r.computeSourceURL(s,n.source,this._sourceMapURL),null!==n.name&&(n.name=this._names.at(n.name))),e.call(o,n)},()=>{switch(i){caseu.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;caseu.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:thrownewError("Unknown order of iteration.")}})}allGeneratedPositionsFor(e){letn=r.getArg(e,"source");constt=r.getArg(e,"line"),o=e.column||0;if(n=this._findSourceIndex(n),n<0)return[];if(t<1)thrownewError("Line numbers must be >= 1");if(o<0)thrownewError("Column numbers must be >= 0");consti=[];returnthis._wasm.withMappingCallback(e=>{letn=e.lastGeneratedColumn;this._computedColumnSpans&&null===n&&(n=1/0),i.push({line:e.generatedLine,column:e.generatedColumn,lastColumn:n})},()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),n,t-1,"column"ine,o)}),i}destroy(){0!==this._mappingsPtr&&(this._wasm.exports.free_mappings(this._mappingsPtr),this._mappingsPtr=0)}computeColumnSpans(){this._computedColumnSpans||(this._wasm.exports.compute_column_spans(this._getMappingsPtr()),this._computedColumnSpans=!0)}originalPositionFor(e){constn={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")};if(n.generatedLine<1)thrownewError("Line numbers must be >= 1");if(n.generatedColumn<0)thrownewError("Column numbers must be >= 0");lett,o=r.getArg(e,"bias",u.GREATEST_LOWER_BOUND);if(null==o&&(o=u.GREATEST_LOWER_BOUND),this._wasm.withMappingCallback(e=>t=e,()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),n.generatedLine-1,n.generatedColumn,o)}),t&&t.generatedLine===n.generatedLine){lete=r.getArg(t,"source",null);null!==e&&(e=this._sources.at(e),e=r.computeSourceURL(this.sourceRoot,e,this._sourceMapURL));letn=r.getArg(t,"name",null);returnnull!==n&&(n=this._names.at(n)),{source:e,line:r.getArg(t,"originalLine",null),column:r.getArg(t,"originalColumn",null),name:n}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){returnnull==e})))}sourceContentFor(e,n){if(!this.sourcesContent)returnnull;constt=this._findSourceIndex(e);if(t>=0)returnthis.sourcesContent[t];leto,i=e;if(null!=this.sourceRoot&&(i=r.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(o=r.urlParse(this.sourceRoot))){conste=i.replace(/^file:\/\//,"");if("file"==o.scheme&&this._sources.has(e))returnthis.sourcesContent[this._sources.indexOf(e)];if((!o.path||"/"==o.path)&&this._sources.has("/"+i))returnthis.sourcesContent[this._sources.indexOf("/"+i)]}if(n)returnnull;thrownewError('"'+i+'" is not in the SourceMap.')}generatedPositionFor(e){letn=r.getArg(e,"source");if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};constt={source:n,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")};if(t.originalLine<1)thrownewError("Line numbers must be >= 1");if(t.originalColumn<0)thrownewError("Column numbers must be >= 0");leto,i=r.getArg(e,"bias",u.GREATEST_LOWER_BOUND);if(null==i&&(i=u.GREATEST_LOWER_BOUND),this._wasm.withMappingCallback(e=>o=e,()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),t.source,t.originalLine-1,t.originalColumn,i)}),o&&o.source===t.source){lete=o.lastGeneratedColumn;returnthis._computedColumnSpans&&null===e&&(e=1/0),{line:r.getArg(o,"generatedLine",null),column:r.getArg(o,"generatedColumn",null),lastColumn:e}}return{line:null,column:null,lastColumn:null}}}c.prototype.consumer=u,n.BasicSourceMapConsumer=c;classgextendsu{constructor(e,n){returnsuper(a).then(t=>{leto=e;"string"==typeofe&&(o=r.parseSourceMapInput(e));consts=r.getArg(o,"version"),l=r.getArg(o,"sections");if(s!=t._version)thrownewError("Unsupported version: "+s);t._sources=newi,t._names=newi,t.__generatedMappings=null,t.__originalMappings=null,t.__generatedMappingsUnsorted=null,t.__originalMappingsUnsorted=null;leta={line:-1,column:0};returnPromise.all(l.map(e=>{if(e.url)thrownewError("Support for url field in sections not implemented.");constt=r.getArg(e,"offset"),o=r.getArg(t,"line"),i=r.getArg(t,"column");if(o<a.line||o===a.line&&i<a.column)thrownewError("Section offsets must be ordered and non-overlapping.");a=t;returnnewu(r.getArg(e,"map"),n).then(e=>({generatedOffset:{generatedLine:o+1,generatedColumn:i+1},consumer:e}))})).then(e=>(t._sections=e,t))})}get_generatedMappings(){returnthis.__generatedMappings||this._sortGeneratedMappings(),this.__generatedMappings}get_originalMappings(){returnthis.__originalMappings||this._sortOriginalMappings(),this.__originalMappings}get_generatedMappingsUnsorted(){returnthis.__generatedMappingsUnsorted||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappingsUnsorted}get_originalMappingsUnsorted(){returnthis.__originalMappingsUnsorted||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappingsUnsorted}_sortGeneratedMappings(){conste=this._generatedMappingsUnsorted;e.sort(r.compareByGeneratedPositionsDeflated),this.__generatedMappings=e}_sortOriginalMappings(){conste=this._originalMappingsUnsorted;e.sort(r.compareByOriginalPositions),this.__originalMappings=e}getsources(){conste=[];for(letn=0;n<this._sections.length;n++)for(lett=0;t<this._sections[n].consumer.sources.length;t++)e.push(this._sections[n].consumer.sources[t]);returne}originalPositionFor(e){constn={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},t=o.search(n,this._sections,(function(e,n){constt=e.generatedLine-n.generatedOffset.generatedLine;returnt||e.generatedColumn-n.generatedOffset.generatedColumn})),i=this._sections[t];returni?i.consumer.originalPositionFor({line:n.generatedLine-(i.generatedOffset.generatedLine-1),column:n.generatedColumn-(i.generatedOffset.generatedLine===n.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){returnthis._sections.every((function(e){returne.consumer.hasContentsOfAllSources()}))}sourceContentFor(e,n){for(letn=0;n<this._sections.length;n++){constt=this._sections[n].consumer.sourceContentFor(e,!0);if(t)returnt}if(n)returnnull;thrownewError('"'+e+'" is not in the SourceMap.')}generatedPositionFor(e){for(letn=0;n<this._sections.length;n++){constt=this._sections[n];if(-1===t.consumer._findSourceIndex(r.getArg(e,"source")))continue;consto=t.consumer.generatedPositionFor(e);if(o){return{line:o.line+(t.generatedOffset.generatedLine-1),column:o.column+(t.generatedOffset.generatedLine===o.line?t.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}}_parseMappings(e,n){constt=this.__generatedMappingsUnsorted=[],o=this.__originalMappingsUnsorted=[];for(lete=0;e<this._sections.length;e++){constn=this._sections[e],i=[];n.consumer.eachMapping(e=>i.push(e));for(lete=0;e<i.length;e++){consts=i[e];letl=r.computeSourceURL(n.consumer.sourceRoot,null,this._sourceMapURL);this._sources.add(l),l=this._sources.indexOf(l);leta=null;s.name&&(this._names.add(s.name),a=this._names.indexOf(s.name));constu={source:l,generatedLine:s.generatedLine+(n.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(n.generatedOffset.generatedLine===s.generatedLine?n.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:a};t.push(u),"number"==typeofu.originalLine&&o.push(u)}}}eachMapping(e,n,t){consto=n||null;leti;switch(t||u.GENERATED_ORDER){caseu.GENERATED_ORDER:i=this._generatedMappings;break;caseu.ORIGINAL_ORDER:i=this._originalMappings;break;default:thrownewError("Unknown order of iteration.")}consts=this.sourceRoot;i.map((function(e){letn=null;returnnull!==e.source&&(n=this._sources.at(e.source),n=r.computeSourceURL(s,n,this._sourceMapURL)),{source:n,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,o)}_findMapping(e,n,t,r,i,s){if(e[t]<=0)thrownewTypeError("Line must be greater than or equal to 1, got "+e[t]);if(e[r]<0)thrownewTypeError("Column must be greater than or equal to 0, got "+e[r]);returno.search(e,n,i,s)}allGeneratedPositionsFor(e){constn=r.getArg(e,"line"),t={source:r.getArg(e,"source"),originalLine:n,originalColumn:r.getArg(e,"column",0)};if(t.source=this._findSourceIndex(t.source),t.source<0)return[];if(t.originalLine<1)thrownewError("Line numbers must be >= 1");if(t.originalColumn<0)thrownewError("Column numbers must be >= 0");consti=[];lets=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(s>=0){lett=this._originalMappings[s];if(void0===e.column){conste=t.originalLine;for(;t&&t.originalLine===e;){lete=t.lastGeneratedColumn;this._computedColumnSpans&&null===e&&(e=1/0),i.push({line:r.getArg(t,"generatedLine",null),column:r.getArg(t,"generatedColumn",null),lastColumn:e}),t=this._originalMappings[++s]}}else{conste=t.originalColumn;for(;t&&t.originalLine===n&&t.originalColumn==e;){lete=t.lastGeneratedColumn;this._computedColumnSpans&&null===e&&(e=1/0),i.push({line:r.getArg(t,"generatedLine",null),column:r.getArg(t,"generatedColumn",null),lastColumn:e}),t=this._originalMappings[++s]}}}returni}destroy(){for(lete=0;e<this._sections.length;e++)this._sections[e].consumer.destroy()}}n.IndexedSourceMapConsumer=g},function(e,n){n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,r,o){if(0===t.length)return-1;leti=functione(t,r,o,i,s,l){consta=Math.floor((r-t)/2)+t,u=s(o,i[a],!0);return0===u?a:u>0?r-a>1?e(a,r,o,i,s,l):l==n.LEAST_UPPER_BOUND?r<i.length?r:-1:a:a-t>1?e(t,a,o,i,s,l):l==n.LEAST_UPPER_BOUND?a:t<0?-1:t}(-1,t.length,e,t,r,o||n.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===r(t[i],t[i-1],!0);)--i;returni}},function(n,t){n.exports=e},function(e,t){e.exports=n},function(e,n,t){constr=t(4);functiono(){this.generatedLine=0,this.generatedColumn=0,this.lastGeneratedColumn=null,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}leti=null;e.exports=function(){if(i)returni;conste=[];returni=r().then(n=>WebAssembly.instantiate(n,{env:{mapping_callback(n,t,r,i,s,l,a,u,c,g){constp=newo;p.generatedLine=n+1,p.generatedColumn=t,r&&(p.lastGeneratedColumn=i-1),s&&(p.source=l,p.originalLine=a+1,p.originalColumn=u,c&&(p.name=g)),e[e.length-1](p)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}})).then(n=>({exports:n.instance.exports,withMappingCallback:(n,t)=>{e.push(n);try{t()}finally{e.pop()}}})).then(null,e=>{throwi=null,e}),i}},function(e,n,t){constr=t(1).SourceMapGenerator,o=t(0),i=/(\r?\n)/,s="$$$isSourceNode$$$";classl{constructor(e,n,t,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==n?null:n,this.source=null==t?null:t,this.name=null==o?null:o,this[s]=!0,null!=r&&this.add(r)}staticfromStringWithSourceMap(e,n,t){constr=newl,s=e.split(i);leta=0;constu=function(){returne()+(e()||"");functione(){returna<s.length?s[a++]:void0}};letc,g=1,p=0,h=null;returnn.eachMapping((function(e){if(null!==h){if(!(g<e.generatedLine)){c=s[a]||"";constn=c.substr(0,e.generatedColumn-p);returns[a]=c.substr(e.generatedColumn-p),p=e.generatedColumn,m(h,n),void(h=e)}m(h,u()),g++,p=0}for(;g<e.generatedLine;)r.add(u()),g++;p<e.generatedColumn&&(c=s[a]||"",r.add(c.substr(0,e.generatedColumn)),s[a]=c.substr(e.generatedColumn),p=e.generatedColumn),h=e}),this),a<s.length&&(h&&m(h,u()),r.add(s.splice(a).join(""))),n.sources.forEach((function(e){consti=n.sourceContentFor(e);null!=i&&(null!=t&&(e=o.join(t,e)),r.setSourceContent(e,i))})),r;functionm(e,n){if(null===e||void0===e.source)r.add(n);else{consti=t?o.join(t,e.source):e.source;r.add(newl(e.originalLine,e.originalColumn,i,n,e.name))}}}add(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[s]&&"string"!=typeofe)thrownewTypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}returnthis}prepend(e){if(Array.isArray(e))for(letn=e.length-1;n>=0;n--)this.prepend(e[n]);else{if(!e[s]&&"string"!=typeofe)thrownewTypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}returnthis}walk(e){letn;for(lett=0,r=this.children.length;t<r;t++)n=this.children[t],n[s]?n.walk(e):""!==n&&e(n,{source:this.source,line:this.line,column:this.column,name:this.name})}join(e){letn,t;constr=this.children.length;if(r>0){for(n=[],t=0;t<r-1;t++)n.push(this.children[t]),n.push(e);n.push(this.children[t]),this.children=n}returnthis}replaceRight(e,n){constt=this.children[this.children.length-1];returnt[s]?t.replaceRight(e,n):"string"==typeoft?this.children[this.children.length-1]=t.replace(e,n):this.children.push("".replace(e,n)),this}setSourceContent(e,n){this.sourceContents[o.toSetString(e)]=n}walkSourceContents(e){for(letn=0,t=this.children.length;n<t;n++)this.children[n][s]&&this.children[n].walkSourceContents(e);constn=Object.keys(this.sourceContents);for(lett=0,r=n.length;t<r;t++)e(o.fromSetString(n[t]),this.sourceContents[n[t]])}toString(){lete="";returnthis.walk((function(n){e+=n})),e}toStringWithSourceMap(e){constn={code:"",line:1,column:0},t=newr(e);leto=!1,i=null,s=null,l=null,a=null;returnthis.walk((function(e,r){n.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(i===r.source&&s===r.line&&l===r.column&&a===r.name||t.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:n.line,column:n.column},name:r.name}),i=r.source,s=r.line,l=r.column,a=r.name,o=!0):o&&(t.addMapping({generated:{line:n.line,column:n.column}}),i=null,o=!1);for(lets=0,l=e.length;s<l;s++)10===e.charCodeAt(s)?(n.line++,n.column=0,s+1===l?(i=null,o=!1):o&&t.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:n.line,column:n.column},name:r.name})):n.column++})),this.walkSourceContents((function(e,n){t.setSourceContent(e,n)})),{code:n.code,map:t}}}n.SourceNode=l}])}));