stacktape 1.0.0-alpha.68 → 1.0.0-alpha.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/helper-lambdas/batchJobTriggerLambda-53a4cf68fff216898ffda9e6dbe59c1d7b3ec8ad.zip +0 -0
- package/helper-lambdas/cdnOriginRequestLambda-3babc8a1f1908d4a350897d05123d8b05c580511.zip +0 -0
- package/helper-lambdas/cdnOriginResponseLambda-754a0b0784bb4577e2a7e132fee3fc7d8aef40e9.zip +0 -0
- package/helper-lambdas/stacktapeServiceLambda-feaad67a31bf11b8ded0466179c036165d170e3d.zip +0 -0
- package/package.json +1 -1
- package/source-map-install.js +4 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var nr=Object.defineProperty;var s=(r,e)=>nr(r,"name",{value:e,configurable:!0}),Fr=typeof require!="undefined"?require:r=>{throw new Error('Dynamic require of "'+r+'" is not supported')};var w=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var Me=w(H=>{var we="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");H.encode=function(r){if(0<=r&&r<we.length)return we[r];throw new TypeError("Must be between 0 and 63: "+r)};H.decode=function(r){var e=65,n=90,t=97,o=122,i=48,u=57,a=43,l=47,c=26,f=52;return e<=r&&r<=n?r-e:t<=r&&r<=o?r-t+c:i<=r&&r<=u?r-i+f:r==a?62:r==l?63:-1}});var ne=w(re=>{var Le=Me(),ee=5,Ee=1<<ee,Ae=Ee-1,Oe=Ee;function tr(r){return r<0?(-r<<1)+1:(r<<1)+0}s(tr,"toVLQSigned");function or(r){var e=(r&1)==1,n=r>>1;return e?-n:n}s(or,"fromVLQSigned");re.encode=s(function(e){var n="",t,o=tr(e);do t=o&Ae,o>>>=ee,o>0&&(t|=Oe),n+=Le.encode(t);while(o>0);return n},"base64VLQ_encode");re.decode=s(function(e,n,t){var o=e.length,i=0,u=0,a,l;do{if(n>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(l=Le.decode(e.charCodeAt(n++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(n-1));a=!!(l&Oe),l&=Ae,i=i+(l<<u),u+=ee}while(a);t.value=or(i),t.rest=n},"base64VLQ_decode")});var F=w(y=>{function ir(r,e,n){if(e in r)return r[e];if(arguments.length===3)return n;throw new Error('"'+e+'" is a required argument.')}s(ir,"getArg");y.getArg=ir;var be=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,ur=/^data:.+\,.+$/;function D(r){var e=r.match(be);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}s(D,"urlParse");y.urlParse=D;function B(r){var e="";return r.scheme&&(e+=r.scheme+":"),e+="//",r.auth&&(e+=r.auth+"@"),r.host&&(e+=r.host),r.port&&(e+=":"+r.port),r.path&&(e+=r.path),e}s(B,"urlGenerate");y.urlGenerate=B;function te(r){var e=r,n=D(r);if(n){if(!n.path)return r;e=n.path}for(var t=y.isAbsolute(e),o=e.split(/\/+/),i,u=0,a=o.length-1;a>=0;a--)i=o[a],i==="."?o.splice(a,1):i===".."?u++:u>0&&(i===""?(o.splice(a+1,u),u=0):(o.splice(a,2),u--));return e=o.join("/"),e===""&&(e=t?"/":"."),n?(n.path=e,B(n)):e}s(te,"normalize");y.normalize=te;function Re(r,e){r===""&&(r="."),e===""&&(e=".");var n=D(e),t=D(r);if(t&&(r=t.path||"/"),n&&!n.scheme)return t&&(n.scheme=t.scheme),B(n);if(n||e.match(ur))return e;if(t&&!t.host&&!t.path)return t.host=e,B(t);var o=e.charAt(0)==="/"?e:te(r.replace(/\/+$/,"")+"/"+e);return t?(t.path=o,B(t)):o}s(Re,"join");y.join=Re;y.isAbsolute=function(r){return r.charAt(0)==="/"||be.test(r)};function sr(r,e){r===""&&(r="."),r=r.replace(/\/$/,"");for(var n=0;e.indexOf(r+"/")!==0;){var t=r.lastIndexOf("/");if(t<0||(r=r.slice(0,t),r.match(/^([^\/]+:\/)?\/*$/)))return e;++n}return Array(n+1).join("../")+e.substr(r.length+1)}s(sr,"relative");y.relative=sr;var Ne=function(){var r=Object.create(null);return!("__proto__"in r)}();function xe(r){return r}s(xe,"identity");function lr(r){return Ge(r)?"$"+r:r}s(lr,"toSetString");y.toSetString=Ne?xe:lr;function ar(r){return Ge(r)?r.slice(1):r}s(ar,"fromSetString");y.fromSetString=Ne?xe:ar;function Ge(r){if(!r)return!1;var e=r.length;if(e<9||r.charCodeAt(e-1)!==95||r.charCodeAt(e-2)!==95||r.charCodeAt(e-3)!==111||r.charCodeAt(e-4)!==116||r.charCodeAt(e-5)!==111||r.charCodeAt(e-6)!==114||r.charCodeAt(e-7)!==112||r.charCodeAt(e-8)!==95||r.charCodeAt(e-9)!==95)return!1;for(var n=e-10;n>=0;n--)if(r.charCodeAt(n)!==36)return!1;return!0}s(Ge,"isProtoString");function cr(r,e,n){var t=P(r.source,e.source);return t!==0||(t=r.originalLine-e.originalLine,t!==0)||(t=r.originalColumn-e.originalColumn,t!==0||n)||(t=r.generatedColumn-e.generatedColumn,t!==0)||(t=r.generatedLine-e.generatedLine,t!==0)?t:P(r.name,e.name)}s(cr,"compareByOriginalPositions");y.compareByOriginalPositions=cr;function fr(r,e,n){var t=r.generatedLine-e.generatedLine;return t!==0||(t=r.generatedColumn-e.generatedColumn,t!==0||n)||(t=P(r.source,e.source),t!==0)||(t=r.originalLine-e.originalLine,t!==0)||(t=r.originalColumn-e.originalColumn,t!==0)?t:P(r.name,e.name)}s(fr,"compareByGeneratedPositionsDeflated");y.compareByGeneratedPositionsDeflated=fr;function P(r,e){return r===e?0:r===null?1:e===null?-1:r>e?1:-1}s(P,"strcmp");function hr(r,e){var n=r.generatedLine-e.generatedLine;return n!==0||(n=r.generatedColumn-e.generatedColumn,n!==0)||(n=P(r.source,e.source),n!==0)||(n=r.originalLine-e.originalLine,n!==0)||(n=r.originalColumn-e.originalColumn,n!==0)?n:P(r.name,e.name)}s(hr,"compareByGeneratedPositionsInflated");y.compareByGeneratedPositionsInflated=hr;function gr(r){return JSON.parse(r.replace(/^\)]}'[^\n]*\n/,""))}s(gr,"parseSourceMapInput");y.parseSourceMapInput=gr;function dr(r,e,n){if(e=e||"",r&&(r[r.length-1]!=="/"&&e[0]!=="/"&&(r+="/"),e=r+e),n){var t=D(n);if(!t)throw new Error("sourceMapURL could not be parsed");if(t.path){var o=t.path.lastIndexOf("/");o>=0&&(t.path=t.path.substring(0,o+1))}e=Re(B(t),e)}return te(e)}s(dr,"computeSourceURL");y.computeSourceURL=dr});var ue=w(Ie=>{var oe=F(),ie=Object.prototype.hasOwnProperty,x=typeof Map!="undefined";function b(){this._array=[],this._set=x?new Map:Object.create(null)}s(b,"ArraySet");b.fromArray=s(function(e,n){for(var t=new b,o=0,i=e.length;o<i;o++)t.add(e[o],n);return t},"ArraySet_fromArray");b.prototype.size=s(function(){return x?this._set.size:Object.getOwnPropertyNames(this._set).length},"ArraySet_size");b.prototype.add=s(function(e,n){var t=x?e:oe.toSetString(e),o=x?this.has(e):ie.call(this._set,t),i=this._array.length;(!o||n)&&this._array.push(e),o||(x?this._set.set(e,i):this._set[t]=i)},"ArraySet_add");b.prototype.has=s(function(e){if(x)return this._set.has(e);var n=oe.toSetString(e);return ie.call(this._set,n)},"ArraySet_has");b.prototype.indexOf=s(function(e){if(x){var n=this._set.get(e);if(n>=0)return n}else{var t=oe.toSetString(e);if(ie.call(this._set,t))return this._set[t]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");b.prototype.at=s(function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},"ArraySet_at");b.prototype.toArray=s(function(){return this._array.slice()},"ArraySet_toArray");Ie.ArraySet=b});var Be=w(qe=>{var Te=F();function vr(r,e){var n=r.generatedLine,t=e.generatedLine,o=r.generatedColumn,i=e.generatedColumn;return t>n||t==n&&i>=o||Te.compareByGeneratedPositionsInflated(r,e)<=0}s(vr,"generatedPositionAfter");function V(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}s(V,"MappingList");V.prototype.unsortedForEach=s(function(e,n){this._array.forEach(e,n)},"MappingList_forEach");V.prototype.add=s(function(e){vr(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");V.prototype.toArray=s(function(){return this._sorted||(this._array.sort(Te.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");qe.MappingList=V});var se=w(Pe=>{var k=ne(),_=F(),J=ue().ArraySet,pr=Be().MappingList;function E(r){r||(r={}),this._file=_.getArg(r,"file",null),this._sourceRoot=_.getArg(r,"sourceRoot",null),this._skipValidation=_.getArg(r,"skipValidation",!1),this._sources=new J,this._names=new J,this._mappings=new pr,this._sourcesContents=null}s(E,"SourceMapGenerator");E.prototype._version=3;E.fromSourceMap=s(function(e){var n=e.sourceRoot,t=new E({file:e.file,sourceRoot:n});return e.eachMapping(function(o){var i={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(i.source=o.source,n!=null&&(i.source=_.relative(n,i.source)),i.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(i.name=o.name)),t.addMapping(i)}),e.sources.forEach(function(o){var i=o;n!==null&&(i=_.relative(n,o)),t._sources.has(i)||t._sources.add(i);var u=e.sourceContentFor(o);u!=null&&t.setSourceContent(o,u)}),t},"SourceMapGenerator_fromSourceMap");E.prototype.addMapping=s(function(e){var n=_.getArg(e,"generated"),t=_.getArg(e,"original",null),o=_.getArg(e,"source",null),i=_.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,t,o,i),o!=null&&(o=String(o),this._sources.has(o)||this._sources.add(o)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:t!=null&&t.line,originalColumn:t!=null&&t.column,source:o,name:i})},"SourceMapGenerator_addMapping");E.prototype.setSourceContent=s(function(e,n){var t=e;this._sourceRoot!=null&&(t=_.relative(this._sourceRoot,t)),n!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[_.toSetString(t)]=n):this._sourcesContents&&(delete this._sourcesContents[_.toSetString(t)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");E.prototype.applySourceMap=s(function(e,n,t){var o=n;if(n==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);o=e.file}var i=this._sourceRoot;i!=null&&(o=_.relative(i,o));var u=new J,a=new J;this._mappings.unsortedForEach(function(l){if(l.source===o&&l.originalLine!=null){var c=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});c.source!=null&&(l.source=c.source,t!=null&&(l.source=_.join(t,l.source)),i!=null&&(l.source=_.relative(i,l.source)),l.originalLine=c.line,l.originalColumn=c.column,c.name!=null&&(l.name=c.name))}var f=l.source;f!=null&&!u.has(f)&&u.add(f);var d=l.name;d!=null&&!a.has(d)&&a.add(d)},this),this._sources=u,this._names=a,e.sources.forEach(function(l){var c=e.sourceContentFor(l);c!=null&&(t!=null&&(l=_.join(t,l)),i!=null&&(l=_.relative(i,l)),this.setSourceContent(l,c))},this)},"SourceMapGenerator_applySourceMap");E.prototype._validateMapping=s(function(e,n,t,o){if(n&&typeof n.line!="number"&&typeof n.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(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!n&&!t&&!o)){if(e&&"line"in e&&"column"in e&&n&&"line"in n&&"column"in n&&e.line>0&&e.column>=0&&n.line>0&&n.column>=0&&t)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:t,original:n,name:o}))}},"SourceMapGenerator_validateMapping");E.prototype._serializeMappings=s(function(){for(var e=0,n=1,t=0,o=0,i=0,u=0,a="",l,c,f,d,g=this._mappings.toArray(),v=0,L=g.length;v<L;v++){if(c=g[v],l="",c.generatedLine!==n)for(e=0;c.generatedLine!==n;)l+=";",n++;else if(v>0){if(!_.compareByGeneratedPositionsInflated(c,g[v-1]))continue;l+=","}l+=k.encode(c.generatedColumn-e),e=c.generatedColumn,c.source!=null&&(d=this._sources.indexOf(c.source),l+=k.encode(d-u),u=d,l+=k.encode(c.originalLine-1-o),o=c.originalLine-1,l+=k.encode(c.originalColumn-t),t=c.originalColumn,c.name!=null&&(f=this._names.indexOf(c.name),l+=k.encode(f-i),i=f)),a+=l}return a},"SourceMapGenerator_serializeMappings");E.prototype._generateSourcesContent=s(function(e,n){return e.map(function(t){if(!this._sourcesContents)return null;n!=null&&(t=_.relative(n,t));var o=_.toSetString(t);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)},"SourceMapGenerator_generateSourcesContent");E.prototype.toJSON=s(function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},"SourceMapGenerator_toJSON");E.prototype.toString=s(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");Pe.SourceMapGenerator=E});var Fe=w(G=>{G.GREATEST_LOWER_BOUND=1;G.LEAST_UPPER_BOUND=2;function le(r,e,n,t,o,i){var u=Math.floor((e-r)/2)+r,a=o(n,t[u],!0);return a===0?u:a>0?e-u>1?le(u,e,n,t,o,i):i==G.LEAST_UPPER_BOUND?e<t.length?e:-1:u:u-r>1?le(r,u,n,t,o,i):i==G.LEAST_UPPER_BOUND?u:r<0?-1:r}s(le,"recursiveSearch");G.search=s(function(e,n,t,o){if(n.length===0)return-1;var i=le(-1,n.length,e,n,t,o||G.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&t(n[i],n[i-1],!0)===0;)--i;return i},"search")});var je=w(Ue=>{function ae(r,e,n){var t=r[e];r[e]=r[n],r[n]=t}s(ae,"swap");function _r(r,e){return Math.round(r+Math.random()*(e-r))}s(_r,"randomIntInRange");function ce(r,e,n,t){if(n<t){var o=_r(n,t),i=n-1;ae(r,o,t);for(var u=r[t],a=n;a<t;a++)e(r[a],u)<=0&&(i+=1,ae(r,i,a));ae(r,i+1,a);var l=i+1;ce(r,e,n,l-1),ce(r,e,l+1,t)}}s(ce,"doQuickSort");Ue.quickSort=function(r,e){ce(r,e,0,r.length-1)}});var ke=w(X=>{var h=F(),fe=Fe(),U=ue().ArraySet,mr=ne(),$=je().quickSort;function p(r,e){var n=r;return typeof r=="string"&&(n=h.parseSourceMapInput(r)),n.sections!=null?new A(n,e):new m(n,e)}s(p,"SourceMapConsumer");p.fromSourceMap=function(r,e){return m.fromSourceMap(r,e)};p.prototype._version=3;p.prototype.__generatedMappings=null;Object.defineProperty(p.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});p.prototype.__originalMappings=null;Object.defineProperty(p.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});p.prototype._charIsMappingSeparator=s(function(e,n){var t=e.charAt(n);return t===";"||t===","},"SourceMapConsumer_charIsMappingSeparator");p.prototype._parseMappings=s(function(e,n){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");p.GENERATED_ORDER=1;p.ORIGINAL_ORDER=2;p.GREATEST_LOWER_BOUND=1;p.LEAST_UPPER_BOUND=2;p.prototype.eachMapping=s(function(e,n,t){var o=n||null,i=t||p.GENERATED_ORDER,u;switch(i){case p.GENERATED_ORDER:u=this._generatedMappings;break;case p.ORIGINAL_ORDER:u=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;u.map(function(l){var c=l.source===null?null:this._sources.at(l.source);return c=h.computeSourceURL(a,c,this._sourceMapURL),{source:c,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,o)},"SourceMapConsumer_eachMapping");p.prototype.allGeneratedPositionsFor=s(function(e){var n=h.getArg(e,"line"),t={source:h.getArg(e,"source"),originalLine:n,originalColumn:h.getArg(e,"column",0)};if(t.source=this._findSourceIndex(t.source),t.source<0)return[];var o=[],i=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",h.compareByOriginalPositions,fe.LEAST_UPPER_BOUND);if(i>=0){var u=this._originalMappings[i];if(e.column===void 0)for(var a=u.originalLine;u&&u.originalLine===a;)o.push({line:h.getArg(u,"generatedLine",null),column:h.getArg(u,"generatedColumn",null),lastColumn:h.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++i];else for(var l=u.originalColumn;u&&u.originalLine===n&&u.originalColumn==l;)o.push({line:h.getArg(u,"generatedLine",null),column:h.getArg(u,"generatedColumn",null),lastColumn:h.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++i]}return o},"SourceMapConsumer_allGeneratedPositionsFor");X.SourceMapConsumer=p;function m(r,e){var n=r;typeof r=="string"&&(n=h.parseSourceMapInput(r));var t=h.getArg(n,"version"),o=h.getArg(n,"sources"),i=h.getArg(n,"names",[]),u=h.getArg(n,"sourceRoot",null),a=h.getArg(n,"sourcesContent",null),l=h.getArg(n,"mappings"),c=h.getArg(n,"file",null);if(t!=this._version)throw new Error("Unsupported version: "+t);u&&(u=h.normalize(u)),o=o.map(String).map(h.normalize).map(function(f){return u&&h.isAbsolute(u)&&h.isAbsolute(f)?h.relative(u,f):f}),this._names=U.fromArray(i.map(String),!0),this._sources=U.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(f){return h.computeSourceURL(u,f,e)}),this.sourceRoot=u,this.sourcesContent=a,this._mappings=l,this._sourceMapURL=e,this.file=c}s(m,"BasicSourceMapConsumer");m.prototype=Object.create(p.prototype);m.prototype.consumer=p;m.prototype._findSourceIndex=function(r){var e=r;if(this.sourceRoot!=null&&(e=h.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var n;for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==r)return n;return-1};m.fromSourceMap=s(function(e,n){var t=Object.create(m.prototype),o=t._names=U.fromArray(e._names.toArray(),!0),i=t._sources=U.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file,t._sourceMapURL=n,t._absoluteSources=t._sources.toArray().map(function(v){return h.computeSourceURL(t.sourceRoot,v,n)});for(var u=e._mappings.toArray().slice(),a=t.__generatedMappings=[],l=t.__originalMappings=[],c=0,f=u.length;c<f;c++){var d=u[c],g=new De;g.generatedLine=d.generatedLine,g.generatedColumn=d.generatedColumn,d.source&&(g.source=i.indexOf(d.source),g.originalLine=d.originalLine,g.originalColumn=d.originalColumn,d.name&&(g.name=o.indexOf(d.name)),l.push(g)),a.push(g)}return $(t.__originalMappings,h.compareByOriginalPositions),t},"SourceMapConsumer_fromSourceMap");m.prototype._version=3;Object.defineProperty(m.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function De(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}s(De,"Mapping");m.prototype._parseMappings=s(function(e,n){for(var t=1,o=0,i=0,u=0,a=0,l=0,c=e.length,f=0,d={},g={},v=[],L=[],C,W,S,q,Ce;f<c;)if(e.charAt(f)===";")t++,f++,o=0;else if(e.charAt(f)===",")f++;else{for(C=new De,C.generatedLine=t,q=f;q<c&&!this._charIsMappingSeparator(e,q);q++);if(W=e.slice(f,q),S=d[W],S)f+=W.length;else{for(S=[];f<q;)mr.decode(e,f,g),Ce=g.value,f=g.rest,S.push(Ce);if(S.length===2)throw new Error("Found a source, but no line and column");if(S.length===3)throw new Error("Found a source and line, but no column");d[W]=S}C.generatedColumn=o+S[0],o=C.generatedColumn,S.length>1&&(C.source=a+S[1],a+=S[1],C.originalLine=i+S[2],i=C.originalLine,C.originalLine+=1,C.originalColumn=u+S[3],u=C.originalColumn,S.length>4&&(C.name=l+S[4],l+=S[4])),L.push(C),typeof C.originalLine=="number"&&v.push(C)}$(L,h.compareByGeneratedPositionsDeflated),this.__generatedMappings=L,$(v,h.compareByOriginalPositions),this.__originalMappings=v},"SourceMapConsumer_parseMappings");m.prototype._findMapping=s(function(e,n,t,o,i,u){if(e[t]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[t]);if(e[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[o]);return fe.search(e,n,i,u)},"SourceMapConsumer_findMapping");m.prototype.computeColumnSpans=s(function(){for(var e=0;e<this._generatedMappings.length;++e){var n=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var t=this._generatedMappings[e+1];if(n.generatedLine===t.generatedLine){n.lastGeneratedColumn=t.generatedColumn-1;continue}}n.lastGeneratedColumn=1/0}},"SourceMapConsumer_computeColumnSpans");m.prototype.originalPositionFor=s(function(e){var n={generatedLine:h.getArg(e,"line"),generatedColumn:h.getArg(e,"column")},t=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",h.compareByGeneratedPositionsDeflated,h.getArg(e,"bias",p.GREATEST_LOWER_BOUND));if(t>=0){var o=this._generatedMappings[t];if(o.generatedLine===n.generatedLine){var i=h.getArg(o,"source",null);i!==null&&(i=this._sources.at(i),i=h.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var u=h.getArg(o,"name",null);return u!==null&&(u=this._names.at(u)),{source:i,line:h.getArg(o,"originalLine",null),column:h.getArg(o,"originalColumn",null),name:u}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");m.prototype.hasContentsOfAllSources=s(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");m.prototype.sourceContentFor=s(function(e,n){if(!this.sourcesContent)return null;var t=this._findSourceIndex(e);if(t>=0)return this.sourcesContent[t];var o=e;this.sourceRoot!=null&&(o=h.relative(this.sourceRoot,o));var i;if(this.sourceRoot!=null&&(i=h.urlParse(this.sourceRoot))){var u=o.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(u))return this.sourcesContent[this._sources.indexOf(u)];if((!i.path||i.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw new Error('"'+o+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");m.prototype.generatedPositionFor=s(function(e){var n=h.getArg(e,"source");if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var t={source:n,originalLine:h.getArg(e,"line"),originalColumn:h.getArg(e,"column")},o=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",h.compareByOriginalPositions,h.getArg(e,"bias",p.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===t.source)return{line:h.getArg(i,"generatedLine",null),column:h.getArg(i,"generatedColumn",null),lastColumn:h.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");X.BasicSourceMapConsumer=m;function A(r,e){var n=r;typeof r=="string"&&(n=h.parseSourceMapInput(r));var t=h.getArg(n,"version"),o=h.getArg(n,"sections");if(t!=this._version)throw new Error("Unsupported version: "+t);this._sources=new U,this._names=new U;var i={line:-1,column:0};this._sections=o.map(function(u){if(u.url)throw new Error("Support for url field in sections not implemented.");var a=h.getArg(u,"offset"),l=h.getArg(a,"line"),c=h.getArg(a,"column");if(l<i.line||l===i.line&&c<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=a,{generatedOffset:{generatedLine:l+1,generatedColumn:c+1},consumer:new p(h.getArg(u,"map"),e)}})}s(A,"IndexedSourceMapConsumer");A.prototype=Object.create(p.prototype);A.prototype.constructor=p;A.prototype._version=3;Object.defineProperty(A.prototype,"sources",{get:function(){for(var r=[],e=0;e<this._sections.length;e++)for(var n=0;n<this._sections[e].consumer.sources.length;n++)r.push(this._sections[e].consumer.sources[n]);return r}});A.prototype.originalPositionFor=s(function(e){var n={generatedLine:h.getArg(e,"line"),generatedColumn:h.getArg(e,"column")},t=fe.search(n,this._sections,function(i,u){var a=i.generatedLine-u.generatedOffset.generatedLine;return a||i.generatedColumn-u.generatedOffset.generatedColumn}),o=this._sections[t];return o?o.consumer.originalPositionFor({line:n.generatedLine-(o.generatedOffset.generatedLine-1),column:n.generatedColumn-(o.generatedOffset.generatedLine===n.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},"IndexedSourceMapConsumer_originalPositionFor");A.prototype.hasContentsOfAllSources=s(function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},"IndexedSourceMapConsumer_hasContentsOfAllSources");A.prototype.sourceContentFor=s(function(e,n){for(var t=0;t<this._sections.length;t++){var o=this._sections[t],i=o.consumer.sourceContentFor(e,!0);if(i)return i}if(n)return null;throw new Error('"'+e+'" is not in the SourceMap.')},"IndexedSourceMapConsumer_sourceContentFor");A.prototype.generatedPositionFor=s(function(e){for(var n=0;n<this._sections.length;n++){var t=this._sections[n];if(t.consumer._findSourceIndex(h.getArg(e,"source"))!==-1){var o=t.consumer.generatedPositionFor(e);if(o){var i={line:o.line+(t.generatedOffset.generatedLine-1),column:o.column+(t.generatedOffset.generatedLine===o.line?t.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}},"IndexedSourceMapConsumer_generatedPositionFor");A.prototype._parseMappings=s(function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var t=0;t<this._sections.length;t++)for(var o=this._sections[t],i=o.consumer._generatedMappings,u=0;u<i.length;u++){var a=i[u],l=o.consumer._sources.at(a.source);l=h.computeSourceURL(o.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var c=null;a.name&&(c=o.consumer._names.at(a.name),this._names.add(c),c=this._names.indexOf(c));var f={source:l,generatedLine:a.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(o.generatedOffset.generatedLine===a.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(f),typeof f.originalLine=="number"&&this.__originalMappings.push(f)}$(this.__generatedMappings,h.compareByGeneratedPositionsDeflated),$(this.__originalMappings,h.compareByOriginalPositions)},"IndexedSourceMapConsumer_parseMappings");X.IndexedSourceMapConsumer=A});var ze=w($e=>{var Sr=se().SourceMapGenerator,Z=F(),yr=/(\r?\n)/,Cr=10,j="$$$isSourceNode$$$";function M(r,e,n,t,o){this.children=[],this.sourceContents={},this.line=r==null?null:r,this.column=e==null?null:e,this.source=n==null?null:n,this.name=o==null?null:o,this[j]=!0,t!=null&&this.add(t)}s(M,"SourceNode");M.fromStringWithSourceMap=s(function(e,n,t){var o=new M,i=e.split(yr),u=0,a=s(function(){var g=L(),v=L()||"";return g+v;function L(){return u<i.length?i[u++]:void 0}},"shiftNextLine"),l=1,c=0,f=null;return n.eachMapping(function(g){if(f!==null)if(l<g.generatedLine)d(f,a()),l++,c=0;else{var v=i[u]||"",L=v.substr(0,g.generatedColumn-c);i[u]=v.substr(g.generatedColumn-c),c=g.generatedColumn,d(f,L),f=g;return}for(;l<g.generatedLine;)o.add(a()),l++;if(c<g.generatedColumn){var v=i[u]||"";o.add(v.substr(0,g.generatedColumn)),i[u]=v.substr(g.generatedColumn),c=g.generatedColumn}f=g},this),u<i.length&&(f&&d(f,a()),o.add(i.splice(u).join(""))),n.sources.forEach(function(g){var v=n.sourceContentFor(g);v!=null&&(t!=null&&(g=Z.join(t,g)),o.setSourceContent(g,v))}),o;function d(g,v){if(g===null||g.source===void 0)o.add(v);else{var L=t?Z.join(t,g.source):g.source;o.add(new M(g.originalLine,g.originalColumn,L,v,g.name))}}s(d,"addMappingWithCode")},"SourceNode_fromStringWithSourceMap");M.prototype.add=s(function(e){if(Array.isArray(e))e.forEach(function(n){this.add(n)},this);else if(e[j]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"SourceNode_add");M.prototype.prepend=s(function(e){if(Array.isArray(e))for(var n=e.length-1;n>=0;n--)this.prepend(e[n]);else if(e[j]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"SourceNode_prepend");M.prototype.walk=s(function(e){for(var n,t=0,o=this.children.length;t<o;t++)n=this.children[t],n[j]?n.walk(e):n!==""&&e(n,{source:this.source,line:this.line,column:this.column,name:this.name})},"SourceNode_walk");M.prototype.join=s(function(e){var n,t,o=this.children.length;if(o>0){for(n=[],t=0;t<o-1;t++)n.push(this.children[t]),n.push(e);n.push(this.children[t]),this.children=n}return this},"SourceNode_join");M.prototype.replaceRight=s(function(e,n){var t=this.children[this.children.length-1];return t[j]?t.replaceRight(e,n):typeof t=="string"?this.children[this.children.length-1]=t.replace(e,n):this.children.push("".replace(e,n)),this},"SourceNode_replaceRight");M.prototype.setSourceContent=s(function(e,n){this.sourceContents[Z.toSetString(e)]=n},"SourceNode_setSourceContent");M.prototype.walkSourceContents=s(function(e){for(var n=0,t=this.children.length;n<t;n++)this.children[n][j]&&this.children[n].walkSourceContents(e);for(var o=Object.keys(this.sourceContents),n=0,t=o.length;n<t;n++)e(Z.fromSetString(o[n]),this.sourceContents[o[n]])},"SourceNode_walkSourceContents");M.prototype.toString=s(function(){var e="";return this.walk(function(n){e+=n}),e},"SourceNode_toString");M.prototype.toStringWithSourceMap=s(function(e){var n={code:"",line:1,column:0},t=new Sr(e),o=!1,i=null,u=null,a=null,l=null;return this.walk(function(c,f){n.code+=c,f.source!==null&&f.line!==null&&f.column!==null?((i!==f.source||u!==f.line||a!==f.column||l!==f.name)&&t.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:n.line,column:n.column},name:f.name}),i=f.source,u=f.line,a=f.column,l=f.name,o=!0):o&&(t.addMapping({generated:{line:n.line,column:n.column}}),i=null,o=!1);for(var d=0,g=c.length;d<g;d++)c.charCodeAt(d)===Cr?(n.line++,n.column=0,d+1===g?(i=null,o=!1):o&&t.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:n.line,column:n.column},name:f.name})):n.column++}),this.walkSourceContents(function(c,f){t.setSourceContent(c,f)}),{code:n.code,map:t}},"SourceNode_toStringWithSourceMap");$e.SourceNode=M});var Qe=w(K=>{K.SourceMapGenerator=se().SourceMapGenerator;K.SourceMapConsumer=ke().SourceMapConsumer;K.SourceNode=ze().SourceNode});var Ve=w((Kr,We)=>{var wr=Object.prototype.toString,he=typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function Mr(r){return wr.call(r).slice(8,-1)==="ArrayBuffer"}s(Mr,"isArrayBuffer");function Lr(r,e,n){e>>>=0;var t=r.byteLength-e;if(t<0)throw new RangeError("'offset' is out of bounds");if(n===void 0)n=t;else if(n>>>=0,n>t)throw new RangeError("'length' is out of bounds");return he?Buffer.from(r.slice(e,e+n)):new Buffer(new Uint8Array(r.slice(e,e+n)))}s(Lr,"fromArrayBuffer");function Er(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!Buffer.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');return he?Buffer.from(r,e):new Buffer(r,e)}s(Er,"fromString");function Ar(r,e,n){if(typeof r=="number")throw new TypeError('"value" argument must not be a number');return Mr(r)?Lr(r,e,n):typeof r=="string"?Er(r,e):he?Buffer.from(r):new Buffer(r)}s(Ar,"bufferFrom");We.exports=Ar});var rr=w((T,ye)=>{var Or=Qe().SourceMapConsumer,ge=require("path"),O;try{O=require("fs"),(!O.existsSync||!O.readFileSync)&&(O=null)}catch(r){}var br=Ve();function Je(r,e){return r.require(e)}s(Je,"dynamicRequire");var Xe=!1,Ze=!1,de=!1,z="auto",I={},Q={},Rr=/^data:application\/json[^,]+base64,/,R=[],N=[];function ve(){return z==="browser"?!0:z==="node"?!1:typeof window!="undefined"&&typeof XMLHttpRequest=="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}s(ve,"isInBrowser");function Nr(){return typeof process=="object"&&process!==null&&typeof process.on=="function"}s(Nr,"hasGlobalProcessEventEmitter");function Y(r){return function(e){for(var n=0;n<r.length;n++){var t=r[n](e);if(t)return t}return null}}s(Y,"handlerExec");var pe=Y(R);R.push(function(r){if(r=r.trim(),/^file:/.test(r)&&(r=r.replace(/file:\/\/\/(\w:)?/,function(t,o){return o?"":"/"})),r in I)return I[r];var e="";try{if(O)O.existsSync(r)&&(e=O.readFileSync(r,"utf8"));else{var n=new XMLHttpRequest;n.open("GET",r,!1),n.send(null),n.readyState===4&&n.status===200&&(e=n.responseText)}}catch(t){}return I[r]=e});function _e(r,e){if(!r)return e;var n=ge.dirname(r),t=/^\w+:\/\/[^\/]*/.exec(n),o=t?t[0]:"",i=n.slice(o.length);return o&&/^\/\w\:/.test(i)?(o+="/",o+ge.resolve(n.slice(o.length),e).replace(/\\/g,"/")):o+ge.resolve(n.slice(o.length),e)}s(_e,"supportRelativeURL");function xr(r){var e;if(ve())try{var n=new XMLHttpRequest;n.open("GET",r,!1),n.send(null),e=n.readyState===4?n.responseText:null;var t=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(t)return t}catch(a){}e=pe(r);for(var o=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,i,u;u=o.exec(e);)i=u;return i?i[1]:null}s(xr,"retrieveSourceMapURL");var me=Y(N);N.push(function(r){var e=xr(r);if(!e)return null;var n;if(Rr.test(e)){var t=e.slice(e.indexOf(",")+1);n=br(t,"base64").toString(),e=r}else e=_e(r,e),n=pe(e);return n?{url:e,map:n}:null});function Se(r){var e=Q[r.source];if(!e){var n=me(r.source);n?(e=Q[r.source]={url:n.url,map:new Or(n.map)},e.map.sourcesContent&&e.map.sources.forEach(function(o,i){var u=e.map.sourcesContent[i];if(u){var a=_e(e.url,o);I[a]=u}})):e=Q[r.source]={url:null,map:null}}if(e&&e.map&&typeof e.map.originalPositionFor=="function"){var t=e.map.originalPositionFor(r);if(t.source!==null)return t.source=_e(e.url,t.source),t}return r}s(Se,"mapSourcePosition");function Ke(r){var e=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(r);if(e){var n=Se({source:e[2],line:+e[3],column:e[4]-1});return"eval at "+e[1]+" ("+n.source+":"+n.line+":"+(n.column+1)+")"}return e=/^eval at ([^(]+) \((.+)\)$/.exec(r),e?"eval at "+e[1]+" ("+Ke(e[2])+")":r}s(Ke,"mapEvalOrigin");function Gr(){var r,e="";if(this.isNative())e="native";else{r=this.getScriptNameOrSourceURL(),!r&&this.isEval()&&(e=this.getEvalOrigin(),e+=", "),r?e+=r:e+="<anonymous>";var n=this.getLineNumber();if(n!=null){e+=":"+n;var t=this.getColumnNumber();t&&(e+=":"+t)}}var o="",i=this.getFunctionName(),u=!0,a=this.isConstructor(),l=!(this.isToplevel()||a);if(l){var c=this.getTypeName();c==="[object Object]"&&(c="null");var f=this.getMethodName();i?(c&&i.indexOf(c)!=0&&(o+=c+"."),o+=i,f&&i.indexOf("."+f)!=i.length-f.length-1&&(o+=" [as "+f+"]")):o+=c+"."+(f||"<anonymous>")}else a?o+="new "+(i||"<anonymous>"):i?o+=i:(o+=e,u=!1);return u&&(o+=" ("+e+")"),o}s(Gr,"CallSiteToString");function Ye(r){var e={};return Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(function(n){e[n]=/^(?:is|get)/.test(n)?function(){return r[n].call(r)}:r[n]}),e.toString=Gr,e}s(Ye,"cloneCallSite");function He(r,e){if(e===void 0&&(e={nextPosition:null,curPosition:null}),r.isNative())return e.curPosition=null,r;var n=r.getFileName()||r.getScriptNameOrSourceURL();if(n){var t=r.getLineNumber(),o=r.getColumnNumber()-1,i=/^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)/,u=i.test(process.version)?0:62;t===1&&o>u&&!ve()&&!r.isEval()&&(o-=u);var a=Se({source:n,line:t,column:o});e.curPosition=a,r=Ye(r);var l=r.getFunctionName;return r.getFunctionName=function(){return e.nextPosition==null?l():e.nextPosition.name||l()},r.getFileName=function(){return a.source},r.getLineNumber=function(){return a.line},r.getColumnNumber=function(){return a.column+1},r.getScriptNameOrSourceURL=function(){return a.source},r}var c=r.isEval()&&r.getEvalOrigin();return c&&(c=Ke(c),r=Ye(r),r.getEvalOrigin=function(){return c}),r}s(He,"wrapCallSite");function Ir(r,e){de&&(I={},Q={});for(var n=r.name||"Error",t=r.message||"",o=n+": "+t,i={nextPosition:null,curPosition:null},u=[],a=e.length-1;a>=0;a--)u.push(`
|
|
2
|
+
at `+He(e[a],i)),i.nextPosition=i.curPosition;return i.curPosition=i.nextPosition=null,o+u.reverse().join("")}s(Ir,"prepareStackTrace");function er(r){var e=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(r.stack);if(e){var n=e[1],t=+e[2],o=+e[3],i=I[n];if(!i&&O&&O.existsSync(n))try{i=O.readFileSync(n,"utf8")}catch(a){i=""}if(i){var u=i.split(/(?:\r\n|\r|\n)/)[t-1];if(u)return n+":"+t+`
|
|
3
|
+
`+u+`
|
|
4
|
+
`+new Array(o).join(" ")+"^"}}return null}s(er,"getErrorSource");function Tr(r){var e=er(r);process.stderr._handle&&process.stderr._handle.setBlocking&&process.stderr._handle.setBlocking(!0),e&&(console.error(),console.error(e)),console.error(r.stack),process.exit(1)}s(Tr,"printErrorAndExit");function qr(){var r=process.emit;process.emit=function(e){if(e==="uncaughtException"){var n=arguments[1]&&arguments[1].stack,t=this.listeners(e).length>0;if(n&&!t)return Tr(arguments[1])}return r.apply(this,arguments)}}s(qr,"shimEmitUncaughtException");var Br=R.slice(0),Pr=N.slice(0);T.wrapCallSite=He;T.getErrorSource=er;T.mapSourcePosition=Se;T.retrieveSourceMap=me;T.install=function(r){if(r=r||{},r.environment&&(z=r.environment,["node","browser","auto"].indexOf(z)===-1))throw new Error("environment "+z+" was unknown. Available options are {auto, browser, node}");if(r.retrieveFile&&(r.overrideRetrieveFile&&(R.length=0),R.unshift(r.retrieveFile)),r.retrieveSourceMap&&(r.overrideRetrieveSourceMap&&(N.length=0),N.unshift(r.retrieveSourceMap)),r.hookRequire&&!ve()){var e=Je(ye,"module"),n=e.prototype._compile;n.__sourceMapSupport||(e.prototype._compile=function(i,u){return I[u]=i,Q[u]=void 0,n.call(this,i,u)},e.prototype._compile.__sourceMapSupport=!0)}if(de||(de="emptyCacheBetweenOperations"in r?r.emptyCacheBetweenOperations:!1),Xe||(Xe=!0,Error.prepareStackTrace=Ir),!Ze){var t="handleUncaughtExceptions"in r?r.handleUncaughtExceptions:!0;try{var o=Je(ye,"worker_threads");o.isMainThread===!1&&(t=!1)}catch(i){}t&&Nr()&&(Ze=!0,qr())}};T.resetRetrieveHandlers=function(){R.length=0,N.length=0,R=Br.slice(0),N=Pr.slice(0),me=Y(N),pe=Y(R)}});rr().install({environment:"node",handleUncaughtExceptions:!1});
|