/*
* Support for source maps in V8 stack traces * https://github.com/evanw/node-source-map-support */
(this.define||function(J,N){this.sourceMapSupport=N()})(“browser-source-map-support”,function(J){(function h(r,m,e){function p(g,d){if(!m){if(!r){var k=“function”==typeof require&&require;if(!d&&k)return k(g,!0);if(u)return u(g,!0);throw Error(“Cannot find module '”g
“'”);}k=m={exports:{}};r[0].call(k.exports,function(d){var c=r[1];return p(c?c:d)},k,k.exports,h,r,m,e)}return m.exports}for(var u=“function”==typeof require&&require,z=0;ze
'” is not in the set.');};g.prototype.at=function(d){if(0<=d&&d<this._array.length)return this._array;throw Error(“No element indexed by ”+d);};g.prototype.toArray=function(){return this._array.slice()}; h.ArraySet=g})},{“./util”:16,amdefine:17}],10:[function(h,r,m){if(“function”!==typeof e)var e=h(“amdefine”)(r,h);e(function(e,h,m){var g=e(“./base64”);h.encode=function(d){var e=“”,l=0>d?(-d<<1)+1:(d<<1)+0;do d=l&31,l>>>=5,0<l&&(d|=32),e+=g.encode(d);while(0<l);return e};h.decode=function(d){var e=0,l=d.length,c=0,a=0,b,h;do{if(e>=l)throw Error(“Expected more digits in base 64 VLQ value.”);h=g.decode(d.charAt(e++));b=!!(h&32);h&=31;c+=h<<a;a+=5}while(b);l=c>>1;return{value:1===(c&1)?-l:l,rest:d.slice(e)}}})}, {“./base64”:11,amdefine:17}],11:[function(h,r,m){if(“function”!==typeof e)var e=h(“amdefine”)(r,h);e(function(e,h,m){var g={},d={};“ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/”.split(“”).forEach(function(e,l){g=l;d=e});h.encode=function(e){if(e in d)return d;throw new TypeError(“Must be between 0 and 63: ”+e);};h.decode=function(d){if(d in g)return g;throw new TypeError(“Not a valid base 64 digit: ”+d);}})},{amdefine:17}],12:[function(h,r,m){if(“function”!==typeof e)var e= h(“amdefine”)(r,h);e(function(e,h,m){function g(d,e,l,c,a){var b=Math.floor((e-d)/2)+d,h=a(l,c,!0);return 0===h?c:0a
'” is not in the SourceMap.');};g.prototype.generatedPositionFor=function(a){a={source:d.getArg(a,“source”),originalLine:d.getArg(a,“line”),originalColumn:d.getArg(a,“column”)};this.sourceRoot&& (a.source=d.relative(this.sourceRoot,a.source));return(a=this._findMapping(a,this._originalMappings,“originalLine”,“originalColumn”,d.compareByOriginalPositions))?{line:d.getArg(a,“generatedLine”,null),column:d.getArg(a,“generatedColumn”,null)}:{line:null,column:null}};g.GENERATED_ORDER=1;g.ORIGINAL_ORDER=2;g.prototype.eachMapping=function(a,b,c){b=b||null;switch(c||g.GENERATED_ORDER){case g.GENERATED_ORDER:c=this._generatedMappings;break;case g.ORIGINAL_ORDER:c=this._originalMappings;break;default:throw Error(“Unknown order of iteration.”); }var e=this.sourceRoot;c.map(function(a){var b=a.source;b&&e&&(b=d.join(e,b));return{source:b,generatedLine:a.generatedLine,generatedColumn:a.generatedColumn,originalLine:a.originalLine,originalColumn:a.originalColumn,name:a.name}}).forEach(a,b)};h.SourceMapConsumer=g})},{“./array-set”:9,“./base64-vlq”:10,“./binary-search”:12,“./util”:16,amdefine:17}],14:[function(h,r,m){if(“function”!==typeof e)var e=h(“amdefine”)(r,h);e(function(e,h,m){function g©{this._file=k.getArg(c,“file”);this._sourceRoot= k.getArg(c,“sourceRoot”,null);this._sources=new l;this._names=new l;this._mappings=[];this._sourcesContents=null}var d=e(“./base64-vlq”),k=e(“./util”),l=e(“./array-set”).ArraySet;g.prototype._version=3;g.fromSourceMap=function©{var a=c.sourceRoot,b=new g({file:c.file,sourceRoot:a});c.eachMapping(function©{var d={generated:{line:c.generatedLine,column:c.generatedColumn}};c.source&&(d.source=c.source,a&&(d.source=k.relative(a,d.source)),d.original={line:c.originalLine,column:c.originalColumn},c.name&& (d.name=c.name));b.addMapping(d)});c.sources.forEach(function(a){var d=c.sourceContentFor(a);d&&b.setSourceContent(a,d)});return b};g.prototype.addMapping=function©{var a=k.getArg(c,“generated”),b=k.getArg(c,“original”,null),d=k.getArg(c,“source”,null);c=k.getArg(c,“name”,null);this._validateMapping(a,b,d,c);d&&!this._sources.has(d)&&this._sources.add(d);c&&!this._names.has©&&this._names.add©;this._mappings.push({generatedLine:a.line,generatedColumn:a.column,originalLine:null!=b&&b.line,originalColumn:null!= b&&b.column,source:d,name:c})};g.prototype.setSourceContent=function(c,a){var b=c;this._sourceRoot&&(b=k.relative(this._sourceRoot,b));null!==a?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents=a):(delete this._sourcesContents,0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))};g.prototype.applySourceMap=function(c,a){a||(a=c.file);var b=this._sourceRoot;b&&(a=k.relative(b,a));var d=new l,e=new l;this._mappings.forEach(function(g){if(g.source=== a&&g.originalLine){var l=c.originalPositionFor({line:g.originalLine,column:g.originalColumn});null!==l.source&&(g.source=b?k.relative(b,l.source):l.source,g.originalLine=l.line,g.originalColumn=l.column,null!==l.name&&null!==g.name&&(g.name=l.name))}(l=g.source)&&!d.has(l)&&d.add(l);(g=g.name)&&!e.has(g)&&e.add(g)},this);this._sources=d;this._names=e;c.sources.forEach(function(a){var d=c.sourceContentFor(a);d&&(b&&(a=k.relative(b,a)),this.setSourceContent(a,d))},this)};g.prototype._validateMapping= function(c,a,b,d){if(!(c&&“line”in c&&“column”in c&&0<c.line&&0<=c.column&&!a&&!b&&!d||c&&“line”in c&&“column”in c&&a&&“line”in a&&“column”in a&&0<c.line&&0<=c.column&&0<a.line&&0<=a.column&&b))throw Error(“Invalid mapping: ”+JSON.stringify({generated:c,source:b,original:a,name:d}));};g.prototype._serializeMappings=function(){var c=0,a=1,b=0,e=0,g=0,l=0,h=“”,v;this._mappings.sort(k.compareByGeneratedPositions);for(var x=0,p=this._mappings.length;x<p;x++){v=this._mappings;if(v.generatedLine!==a)for(c= 0;v.generatedLine!==a;)h+=“;”,a++;else if(0<x){if(!k.compareByGeneratedPositions(v,this._mappings))continue;h+=“,”}h+=d.encode(v.generatedColumn-c);c=v.generatedColumn;v.source&&(h+=d.encode(this._sources.indexOf(v.source)-l),l=this._sources.indexOf(v.source),h+=d.encode(v.originalLine-1-e),e=v.originalLine-1,h+=d.encode(v.originalColumn-b),b=v.originalColumn,v.name&&(h+=d.encode(this._names.indexOf(v.name)-g),g=this._names.indexOf(v.name)))}return h};g.prototype._generateSourcesContent=function(c, a){return c.map(function(b){if(!this._sourcesContents)return null;a&&(b=k.relative(a,b));b=k.toSetString(b);return Object.prototype.hasOwnProperty.call(this._sourcesContents,b)?this._sourcesContents:null},this)};g.prototype.toJSON=function(){var c={version:this._version,file:this._file,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};this._sourceRoot&&(c.sourceRoot=this._sourceRoot);this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources, c.sourceRoot));return c};g.prototype.toString=function(){return JSON.stringify(this)};h.SourceMapGenerator=g})},{“./array-set”:9,“./base64-vlq”:10,“./util”:16,amdefine:17}],15:[function(h,r,m){if(“function”!==typeof e)var e=h(“amdefine”)(r,h);e(function(e,h,m){function g(d,c,a,b,e){this.children=[];this.sourceContents={};this.line=void 0===d?null:d;this.column=void 0===c?null:c;this.source=void 0===a?null:a;this.name=void 0===e?null:e;null!=b&&this.add(b)}var d=e(“./source-map-generator”).SourceMapGenerator, k=e(“./util”);g.fromStringWithSourceMap=function(d,c){function a(a,c){null===a||void 0===a.source?b.add©:b.add(new g(a.originalLine,a.originalColumn,a.source,c,a.name))}var b=new g,e=d.split(“n”),h=1,k=0,p=null;c.eachMapping(function©{if(null===p){for(;h<c.generatedLine;)b.add(e.shift()+“n”),h++;if(k<c.generatedColumn){var d=e;b.add(d.substr(0,c.generatedColumn));e=d.substr(c.generatedColumn);k=c.generatedColumn}}else{if(h<c.generatedLine){var g=“”;do g+=e.shift()+“n”,h++,k=0;while(h< c.generatedLine);kb
'” is a required argument.');};var l=/(+)://((w+:w+)+)?(:(d+))?(S+)?/,c=/^data:.+,.+/;h.urlParse=g;h.urlGenerate=d;h.join=function(a,b){var e;return b.match(l)||b.match©?b:“/”===b.charAt(0)&&(e=g(a))?(e.path=b,d(e)):a.replace(//$/,“”)+“/”+b};h.toSetString=function(a){return“$”+a};h.fromSetString=function(a){return a.substr(1)};h.relative=function(a,b){a=a.replace(//$/,“”);var c=g(a);return“/”==b.charAt(0)&&c&&“/”==c.path? b.slice(1):0===b.indexOf(a+“/”)?b.substr(a.length+1):b};h.compareByOriginalPositions=function(a,b,c){var d;return(d=k(a.source,b.source))||(d=a.originalLine-b.originalLine)||(d=a.originalColumn-b.originalColumn)||c||(d=k(a.name,b.name))?d:(d=a.generatedLine-b.generatedLine)?d:a.generatedColumn-b.generatedColumn};h.compareByGeneratedPositions=function(a,b,c){var d;return(d=a.generatedLine-b.generatedLine)||(d=a.generatedColumn-b.generatedColumn)||c||(d=k(a.source,b.source))||(d=a.originalLine-b.originalLine)? d:(d=a.originalColumn-b.originalColumn)?d:k(a.name,b.name)}})},{amdefine:17}],17:[function(h,r,m){(function(e,p){r.exports=function(m,r){function g(a,b){var c;if(a&&“.”===a.charAt(0)&&b){c=b.split(“/”);c=c.slice(0,c.length-1);var d=c=c.concat(a.split(“/”)),e,g;for(e=0;d;e+=1)if(g=d,“.”===g)d.splice(e,1),e-=1;else if(“..”===g)if(1!==e||“..”!==d&&“..”!==d)0<e&&(d.splice(e-1,2),e-=2);else break;a=c.join(“/”)}return a}function d(a){return function(b){return g(b,a)}}function k(a){function c(d){b= d}c.fromText=function(a,b){throw Error(“amdefine does not implement load.fromText”);};return c}function l(a,c,d){var e,g,h;if(a)g=b={},h={id:a,uri:p,exports:g},e=A(r,g,h,a);else{if(y)throw Error(“amdefine with no module ID cannot be called more than once per file.”);y=!0;g=m.exports;h=m;e=A(r,g,h,m.id)}c&&(c=c.map(function(a){return e(a)}));c=“function”===typeof d?d.apply(h.exports,c):d;void 0!==c&&(h.exports=c,a&&(b=h.exports))}function c(b,c,d){Array.isArray(b)?(d=c,c=b,b=void 0):“string”!== typeof b&&(d=b,b=c=void 0);c&&!Array.isArray©&&(d=c,c=void 0);c||(c=);b?a=[b,c,d]:l(b,c,d)}var a={},b={},y=!1,B=h(“path”),A,C;A=function(a,b,c,d){function h(g,k){if(“string”===typeof g)return C(a,b,c,g,d);g=g.map(function(e){return C(a,b,c,e,d)});e.nextTick(function(){k.apply(null,g)})}h.toUrl=function(a){return 0===a.indexOf(“.”)?g(a,B.dirname(c.filename)):a};return h};r=r||function(){return m.require.apply(m,arguments)};C=function(c,e,h,m,p){var r=m.indexOf(“!”), F=m;if(-1===r){m=g(m,p);if(“require”===m)return A(c,e,h,p);if(“exports”===m)return e;if(“module”===m)return h;if(b.hasOwnProperty(m))return b;if(a)return l.apply(null,a),b;if©return c(F);throw Error(“No module with ID: ”+m);}F=m.substring(0,r);m=m.substring(r+1,m.length);r=C(c,e,h,F,p);m=r.normalize?r.normalize(m,d(p)):g(m,p);b||r.load(m,A(c,e,h,p),k(m),{});return b};c.require=function©{if(b)return b;if(a)return l.apply(null,a),b};c.amd={};return c}}).call(this, h(“node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js”),“/node_modules/source-map/node_modules/amdefine/amdefine.js”)},{“node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js”:6,path:7}],18:[function(h,r,m){(function(e,p){function r(){return“undefined”!==typeof window}function z(a){if(a in D)return D;try{if(r()){var b=new XMLHttpRequest;b.open(“GET”,a,!1);b.send(null);var c=4===b.readyState?b.responseText:null}else c= x.readFileSync(a,“utf8”)}catch(d){c=null}return D=c}function g(a,b){if(!a)return b;var c=v.dirname(a),d=/^w+://*/.exec©,d=d?d:“”;return d+v.resolve(c.slice(d.length),b)}function d(a){var b;a:{if(r()&&(b=new XMLHttpRequest,b.open(“GET”,a,!1),b.send(null),b=b.getResponseHeader(“SourceMap”)||b.getResponseHeader(“X-SourceMap”)))break a;b=z(a);b=(b=///s*sourceMappingURL=(.*)s*$/m.exec(b))?b:null}if(!b)return null;“data:application/json;base64,”==b.slice(0,29).toLowerCase()?(a= (new p(b.slice(29),“base64”)).toString(),b=null):(b=g(a,b),a=z(b,“utf8”));return a?{url:b,map:a}:null}function k(a){var b=E;if(!b){var c=d(a.source);c&&(b=E={url:c.url,map:new C(c.map)},b.map.sourcesContent&&b.map.sources.forEach(function(a,c){var d=b.map.sourcesContent;if(d){var e=g(b.url,a);D=d}}))}return b&&(c=b.map.originalPositionFor(a),null!==c.source)?(c.source=g(b.url,c.source),c):a}function l(a){var b=/^eval at ([^(]+) ((.+):(d+):(d+))$/.exec(a);return b?(a= k({source:b,line:b,column:b-1}),“eval at ”b[1]
“ (”a.source
“:”a.line
“:”+(a.column+1)+“)”):(b=/^eval at ([^(]+) ((.+))$/.exec(a))?“eval at ”b[1]
“ (”+l(b)+“)”:a}function c(){var a,b=“”;this.isNative()?b=“native”:(a=this.getScriptNameOrSourceURL(),!a&&this.isEval()&&(b=this.getEvalOrigin(),b+=“, ”),b=a?b+a:b+“<anonymous>”,a=this.getLineNumber(),null!=a&&(b+=“:”+a,(a=this.getColumnNumber())&&(b+=“:”+a)));a=“”;var c=this.getFunctionName(),d=!0,e=this.isConstructor();if(this.isToplevel()|| e)e?a+=“new ”+(c||“<anonymous>”):c?a+=c:(a+=b,d=!1);else{var e=this.getTypeName(),g=this.getMethodName();c?(e&&0!=c.indexOf(e)&&(a+=e+“.”),a+=c,g&&c.indexOf(“.”+g)!=c.length-g.length-1&&(a+=“ [as ”g
“]”)):a+=e+“.”+(g||“<anonymous>”)}d&&(a+=“ (”b
“)”);return a}function a(a){var b={};Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(function©{b=/^(?:is|get)/.test©?function(){return a.call(a)}:a});b.toString=c;return b}function b(b){var c=b.getFileName()||b.getScriptNameOrSourceURL(); if©{var d=k({source:c,line:b.getLineNumber(),column:b.getColumnNumber()-1});b=a(b);b.getFileName=function(){return d.source};b.getLineNumber=function(){return d.line};b.getColumnNumber=function(){return d.column+1};b.getScriptNameOrSourceURL=function(){return d.source};return b}var e=b.isEval()&&b.getEvalOrigin();e&&(e=l(e),b=a(b),b.getEvalOrigin=function(){return e});return b}function y(a,c){s&&(D={},E={});return a+c.map(function(a){return“n at ”+b(a)}).join(“”)}function B(a){var b=/n at [^(]+ ((.*):(d+):(d+))/.exec(a.stack); if(b){a=b;var c=+b,b=+b,d=D;!d&&x.existsSync(a)&&(d=x.readFileSync(a,“utf8”));if(d&&(d=d.split(/(?:rn|r|n)/)))return“n”a
“:”c
“n”d
“n”+Array(b).join(“ ”)+“^”}return null}function A(a){if(a&&a.stack){var b=B(a);null!==b&&console.log(b);console.log(a.stack)}else console.log(“Uncaught exception:”,a);e.exit(1)}var C=h(“source-map”).SourceMapConsumer,v=h(“path”),x=h(“fs”),G=!1,s=!1,D={},E={};m.wrapCallSite=b;m.getErrorSource=B;m.mapSourcePosition=k;m.retrieveSourceMap=d;m.install= function(a){if(!G){G=!0;Error.prepareStackTrace=y;a=a||{};var b=“handleUncaughtExceptions”in a?a.handleUncaughtExceptions:!0;s=“emptyCacheBetweenOperations”in a?a.emptyCacheBetweenOperations:!1;a.retrieveFile&&(z=a.retrieveFile);a.retrieveSourceMap&&(d=a.retrieveSourceMap);if(b&&!r())e.on(“uncaughtException”,A)}}}).call(this,h(“node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js”),h(“buffer”).Buffer)},{“node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js”:6, buffer:3,fs:2,path:7,“source-map”:8}]},{},[1]);return J});