Browse Source

[dist] Added build script for ES5 environments and dist

master
Muthu Kumar 6 years ago
parent
commit
96249c5e54
  1. 431
      es5/dist.js
  2. 2795
      es5/index.js
  3. 1
      es6/index.js
  4. 12
      package.json
  5. 4
      sample/sample7.test.js
  6. 4
      scripts/closure.sh
  7. 2645
      shrinkwrap.yaml

431
es5/dist.js

@ -0,0 +1,431 @@
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.owns=function(a,c){return Object.prototype.hasOwnProperty.call(a,c)};$jscomp.assign="function"==typeof Object.assign?Object.assign:function(a,c){for(var g=1;g<arguments.length;g++){var e=arguments[g];if(e)for(var b in e)$jscomp.owns(e,b)&&(a[b]=e[b])}return a};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,g){a!=Array.prototype&&a!=Object.prototype&&(a[c]=g.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.polyfill=function(a,c,g,e){if(c){g=$jscomp.global;a=a.split(".");for(e=0;e<a.length-1;e++){var b=a[e];b in g||(g[b]={});g=g[b]}a=a[a.length-1];e=g[a];c=c(e);c!=e&&null!=c&&$jscomp.defineProperty(g,a,{configurable:!0,writable:!0,value:c})}};$jscomp.polyfill("Object.assign",function(a){return a||$jscomp.assign},"es6","es3");$jscomp.SYMBOL_PREFIX="jscomp_symbol_";$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};
$jscomp.Symbol=function(){var a=0;return function(c){return $jscomp.SYMBOL_PREFIX+(c||"")+a++}}();$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var a=$jscomp.global.Symbol.iterator;a||(a=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&$jscomp.defineProperty(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};
$jscomp.initSymbolAsyncIterator=function(){$jscomp.initSymbol();var a=$jscomp.global.Symbol.asyncIterator;a||(a=$jscomp.global.Symbol.asyncIterator=$jscomp.global.Symbol("asyncIterator"));$jscomp.initSymbolAsyncIterator=function(){}};$jscomp.arrayIterator=function(a){var c=0;return $jscomp.iteratorPrototype(function(){return c<a.length?{done:!1,value:a[c++]}:{done:!0}})};
$jscomp.iteratorPrototype=function(a){$jscomp.initSymbolIterator();a={next:a};a[$jscomp.global.Symbol.iterator]=function(){return this};return a};$jscomp.polyfill("Array.from",function(a){return a?a:function(a,g,e){$jscomp.initSymbolIterator();g=null!=g?g:function(a){return a};var b=[],f=a[Symbol.iterator];if("function"==typeof f){a=f.call(a);for(var d=0;!(f=a.next()).done;)b.push(g.call(e,f.value,d++))}else for(f=a.length,d=0;d<f;d++)b.push(g.call(e,a[d],d));return b}},"es6","es3");
$jscomp.iteratorFromArray=function(a,c){$jscomp.initSymbolIterator();a instanceof String&&(a+="");var g=0,e={next:function(){if(g<a.length){var b=g++;return{value:c(b,a[b]),done:!1}}e.next=function(){return{done:!0,value:void 0}};return e.next()}};e[Symbol.iterator]=function(){return e};return e};$jscomp.polyfill("Array.prototype.keys",function(a){return a?a:function(){return $jscomp.iteratorFromArray(this,function(a){return a})}},"es6","es3");
$jscomp.makeIterator=function(a){$jscomp.initSymbolIterator();var c=a[Symbol.iterator];return c?c.call(a):$jscomp.arrayIterator(a)};$jscomp.FORCE_POLYFILL_PROMISE=!1;
$jscomp.polyfill("Promise",function(a){function c(){this.batch_=null}function g(a){return a instanceof b?a:new b(function(d,b){d(a)})}if(a&&!$jscomp.FORCE_POLYFILL_PROMISE)return a;c.prototype.asyncExecute=function(a){null==this.batch_&&(this.batch_=[],this.asyncExecuteBatch_());this.batch_.push(a);return this};c.prototype.asyncExecuteBatch_=function(){var a=this;this.asyncExecuteFunction(function(){a.executeBatch_()})};var e=$jscomp.global.setTimeout;c.prototype.asyncExecuteFunction=function(a){e(a,
0)};c.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var a=this.batch_;this.batch_=[];for(var b=0;b<a.length;++b){var f=a[b];a[b]=null;try{f()}catch(l){this.asyncThrow_(l)}}}this.batch_=null};c.prototype.asyncThrow_=function(a){this.asyncExecuteFunction(function(){throw a;})};var b=function(a){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];var d=this.createResolveAndReject_();try{a(d.resolve,d.reject)}catch(k){d.reject(k)}};b.prototype.createResolveAndReject_=
function(){function a(a){return function(d){f||(f=!0,a.call(b,d))}}var b=this,f=!1;return{resolve:a(this.resolveTo_),reject:a(this.reject_)}};b.prototype.resolveTo_=function(a){if(a===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.settleSameAsPromise_(a);else{a:switch(typeof a){case "object":var d=null!=a;break a;case "function":d=!0;break a;default:d=!1}d?this.resolveToNonPromiseObj_(a):this.fulfill_(a)}};b.prototype.resolveToNonPromiseObj_=function(a){var b=
void 0;try{b=a.then}catch(k){this.reject_(k);return}"function"==typeof b?this.settleSameAsThenable_(b,a):this.fulfill_(a)};b.prototype.reject_=function(a){this.settle_(2,a)};b.prototype.fulfill_=function(a){this.settle_(1,a)};b.prototype.settle_=function(a,b){if(0!=this.state_)throw Error("Cannot settle("+a+", "+b+"): Promise already settled in state"+this.state_);this.state_=a;this.result_=b;this.executeOnSettledCallbacks_()};b.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var a=
0;a<this.onSettledCallbacks_.length;++a)f.asyncExecute(this.onSettledCallbacks_[a]);this.onSettledCallbacks_=null}};var f=new c;b.prototype.settleSameAsPromise_=function(a){var b=this.createResolveAndReject_();a.callWhenSettled_(b.resolve,b.reject)};b.prototype.settleSameAsThenable_=function(a,b){var d=this.createResolveAndReject_();try{a.call(b,d.resolve,d.reject)}catch(l){d.reject(l)}};b.prototype.then=function(a,f){function d(a,b){return"function"==typeof a?function(b){try{e(a(b))}catch(t){h(t)}}:
b}var e,h,c=new b(function(a,b){e=a;h=b});this.callWhenSettled_(d(a,e),d(f,h));return c};b.prototype.catch=function(a){return this.then(void 0,a)};b.prototype.callWhenSettled_=function(a,b){function d(){switch(e.state_){case 1:a(e.result_);break;case 2:b(e.result_);break;default:throw Error("Unexpected state: "+e.state_);}}var e=this;null==this.onSettledCallbacks_?f.asyncExecute(d):this.onSettledCallbacks_.push(d)};b.resolve=g;b.reject=function(a){return new b(function(b,d){d(a)})};b.race=function(a){return new b(function(b,
d){for(var f=$jscomp.makeIterator(a),e=f.next();!e.done;e=f.next())g(e.value).callWhenSettled_(b,d)})};b.all=function(a){var d=$jscomp.makeIterator(a),f=d.next();return f.done?g([]):new b(function(a,b){function e(b){return function(d){k[b]=d;h--;0==h&&a(k)}}var k=[],h=0;do k.push(void 0),h++,g(f.value).callWhenSettled_(e(k.length-1),b),f=d.next();while(!f.done)})};return b},"es6","es3");
$jscomp.polyfill("Array.prototype.fill",function(a){return a?a:function(a,g,e){var b=this.length||0;0>g&&(g=Math.max(0,b+g));if(null==e||e>b)e=b;e=Number(e);0>e&&(e=Math.max(0,b+e));for(g=Number(g||0);g<e;g++)this[g]=a;return this}},"es6","es3");$jscomp.polyfill("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}},"es6","es5");
$jscomp.polyfill("Reflect.ownKeys",function(a){return a?a:function(a){var c=[],e=Object.getOwnPropertyNames(a);a=Object.getOwnPropertySymbols(a);for(var b=0;b<e.length;b++)("jscomp_symbol_"==e[b].substring(0,14)?a:c).push(e[b]);return c.concat(a)}},"es6","es5");
$jscomp.checkStringArgs=function(a,c,g){if(null==a)throw new TypeError("The 'this' value for String.prototype."+g+" must not be null or undefined");if(c instanceof RegExp)throw new TypeError("First argument to String.prototype."+g+" must not be a regular expression");return a+""};
$jscomp.polyfill("String.prototype.repeat",function(a){return a?a:function(a){var c=$jscomp.checkStringArgs(this,null,"repeat");if(0>a||1342177279<a)throw new RangeError("Invalid count value");a|=0;for(var e="";a;)if(a&1&&(e+=c),a>>>=1)c+=c;return e}},"es6","es3");$jscomp.findInternal=function(a,c,g){a instanceof String&&(a=String(a));for(var e=a.length,b=0;b<e;b++){var f=a[b];if(c.call(g,f,b,a))return{i:b,v:f}}return{i:-1,v:void 0}};
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,g){return $jscomp.findInternal(this,a,g).v}},"es6","es3");$jscomp.polyfill("Array.prototype.findIndex",function(a){return a?a:function(a,g){return $jscomp.findInternal(this,a,g).i}},"es6","es3");
var _slicedToArray=function(){return function(a,c){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a)){var g=[],e=!0,b=!1,f=void 0;try{for(var d=a[Symbol.iterator](),h;!(e=(h=d.next()).done)&&(g.push(h.value),!c||g.length!==c);e=!0);}catch(k){b=!0,f=k}finally{try{if(!e&&d["return"])d["return"]()}finally{if(b)throw f;}}return g}throw new TypeError("Invalid attempt to destructure non-iterable instance");}}(),_createClass=function(){function a(a,g){for(var e=0;e<g.length;e++){var b=g[e];b.enumerable=
b.enumerable||!1;b.configurable=!0;"value"in b&&(b.writable=!0);Object.defineProperty(a,b.key,b)}}return function(c,g,e){g&&a(c.prototype,g);e&&a(c,e);return c}}(),_extends2=Object.assign||function(a){for(var c=1;c<arguments.length;c++){var g=arguments[c],e;for(e in g)Object.prototype.hasOwnProperty.call(g,e)&&(a[e]=g[e])}return a},_typeof2="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"===typeof Symbol&&a.constructor===Symbol&&
a!==Symbol.prototype?"symbol":typeof a},_templateObject=_taggedTemplateLiteral([""," is not an array"],[""," is not an array"]),_templateObject2=_taggedTemplateLiteral([""," is not an object"],[""," is not an object"]),_templateObject3=_taggedTemplateLiteral([""," doesn't have length ",""],[""," doesn't have length ",""]),_templateObject4=_taggedTemplateLiteral([""," is not equal to ",""],[""," is not equal to ",""]),_templateObject5=_taggedTemplateLiteral([""," is not deeply equal to ",""],[""," is not deeply equal to ",
""]),_templateObject6=_taggedTemplateLiteral([""," does not contain ",""],[""," does not contain ",""]),_templateObject7=_taggedTemplateLiteral([""," is not true"],[""," is not true"]),_templateObject8=_taggedTemplateLiteral([""," is not false"],[""," is not false"]),_templateObject9=_taggedTemplateLiteral([""," does not have property '","'"],[""," does not have property '","'"]),_templateObject10=_taggedTemplateLiteral(["<","> does not exist in ",""],["<","> does not exist in ",""]),_templateObject11=
_taggedTemplateLiteral([""," is not a promise"],[""," is not a promise"]),_templateObject12=_taggedTemplateLiteral(["'","' does not resolve to '","'"],["'","' does not resolve to '","'"]),_templateObject13=_taggedTemplateLiteral(["'","' is not of type '","'"],["'","' is not of type '","'"]),_templateObject14=_taggedTemplateLiteral(["'","' is not greater than ",""],["'","' is not greater than ",""]),_templateObject15=_taggedTemplateLiteral(["'","' is not less than ",""],["'","' is not less than ",
""]),_templateObject16=_taggedTemplateLiteral(["'","' is less than ",""],["'","' is less than ",""]),_templateObject17=_taggedTemplateLiteral(["'","' is greater than ",""],["'","' is greater than ",""]);function _possibleConstructorReturn(a,c){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!==typeof c&&"function"!==typeof c?a:c}
function _inherits(a,c){if("function"!==typeof c&&null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}function _taggedTemplateLiteral(a,c){return Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(c)}}))}
function _toArray(a){return Array.isArray(a)?a:Array.from(a)}function _classCallCheck2(a,c){if(!(a instanceof c))throw new TypeError("Cannot call a class as a function");}function _defineProperty2(a,c,g){c in a?Object.defineProperty(a,c,{value:g,enumerable:!0,configurable:!0,writable:!0}):a[c]=g;return a}function _toConsumableArray2(a){if(Array.isArray(a)){for(var c=0,g=Array(a.length);c<a.length;c++)g[c]=a[c];return g}return Array.from(a)}
(function(a){"object"===("undefined"===typeof exports?"undefined":_typeof2(exports))&&"undefined"!==typeof module?module.exports=a():"function"===typeof define&&define.amd?define([],a):("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).Gunner=a()})(function(){return function(){function a(c,g,e){function b(d,k){if(!g[d]){if(!c[d]){var h="function"==typeof require&&require;if(!k&&h)return h(d,!0);if(f)return f(d,!0);k=Error("Cannot find module '"+
d+"'");throw k.code="MODULE_NOT_FOUND",k;}k=g[d]={exports:{}};c[d][0].call(k.exports,function(a){return b(c[d][1][a]||a)},k,k.exports,a,c,g,e)}return g[d].exports}for(var f="function"==typeof require&&require,d=0;d<e.length;d++)b(e[d]);return b}return a}()({1:[function(a,c,g){c.exports=a("../src/gunner")},{"../src/gunner":235}],2:[function(a,c,g){(function(e){(function(a){"object"===("undefined"===typeof g?"undefined":_typeof2(g))&&"undefined"!==typeof c?c.exports=a():("undefined"!==typeof window?
window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:this).isEq=a()})(function(){return function(){function b(f,d,e){function k(c,l){if(!d[c]){if(!f[c]){var n="function"==typeof a&&a;if(!l&&n)return n(c,!0);if(h)return h(c,!0);l=Error("Cannot find module '"+c+"'");throw l.code="MODULE_NOT_FOUND",l;}l=d[c]={exports:{}};f[c][0].call(l.exports,function(a){var b=f[c][1][a];return k(b?b:a)},l,l.exports,b,f,d,e)}return d[c].exports}for(var h="function"==typeof a&&a,c=0;c<e.length;c++)k(e[c]);
return k}return b}()({1:[function(a,f,d){var b="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(a){return"undefined"===typeof a?"undefined":_typeof2(a)}:function(a){return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":"undefined"===typeof a?"undefined":_typeof2(a)};f.exports=function q(a,d,f){if(a===d)return!0;if(("undefined"===typeof a?"undefined":b(a))!==("undefined"===typeof d?"undefined":b(d))||Array.isArray(a)&&!Array.isArray(d)||
Array.isArray(d)&&!Array.isArray(a))return!1;if("number"===typeof a)return isNaN(a)&&isNaN(d)?!1:a===d;if("string"===typeof a||"boolean"===typeof a||null===a||void 0===a)return a===d;if(a instanceof RegExp)return String(a)===String(d);if("object"!==("undefined"===typeof a?"undefined":b(a))||"object"!==("undefined"===typeof d?"undefined":b(d)))return a===d;var e=Object.keys(a),h=Object.keys(d);if(!f&&(f=e,e.length!==h.length))return!1;if(!Array.isArray(f))throw Error("[isEq] third parameter should be an array of keys!");
if(0===f.length)return!0;for(var c in f)if(e=f[c],Array.isArray(a[e])&&Array.isArray(d[e])&&(e=c),a[e]!==d[e])if(b("object"===a[e])&&b("object"===d[e])||Array.isArray(a[e])&&Array.isArray(d[e])){if(!q(a[e],d[e]))return!1}else return!1;return!0}},{}]},{},[1])(1)})}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],3:[function(a,c,g){(function(e){function b(a,b,d){b in a?Object.defineProperty(a,b,{value:d,enumerable:!0,configurable:!0,
writable:!0}):a[b]=d;return a}function f(a){if(Array.isArray(a)){for(var b=0,d=Array(a.length);b<a.length;b++)d[b]=a[b];return d}return Array.from(a)}var d=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var d=arguments[b],f;for(f in d)Object.prototype.hasOwnProperty.call(d,f)&&(a[f]=d[f])}return a},h="function"===typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(a){return"undefined"===typeof a?"undefined":_typeof2(a)}:function(a){return a&&"function"===typeof Symbol&&a.constructor===
Symbol&&a!==Symbol.prototype?"symbol":"undefined"===typeof a?"undefined":_typeof2(a)};(function(a){"object"===("undefined"===typeof g?"undefined":h(g))&&"undefined"!==typeof c?c.exports=a():("undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:this).promiseObject=a()})(function(){return function(){function b(d,f,e){function h(k,l){if(!f[k]){if(!d[k]){var n="function"==typeof a&&a;if(!l&&n)return n(k,!0);if(c)return c(k,!0);l=Error("Cannot find module '"+k+"'");
throw l.code="MODULE_NOT_FOUND",l;}l=f[k]={exports:{}};d[k][0].call(l.exports,function(a){return h(d[k][1][a]||a)},l,l.exports,b,d,f,e)}return f[k].exports}for(var c="function"==typeof a&&a,k=0;k<e.length;k++)h(e[k]);return h}return b}()({1:[function(a,b,d){b.exports=a("../index.js")},{"../index.js":2}],2:[function(a,e,c){var k=function(a){return a&&"object"===("undefined"===typeof a?"undefined":h(a))&&a.constructor===Object},l="undefined"!==typeof Symbol?Symbol("SELF"):"[~~//-- SELF --//~~]",n=function(a,
b){return function G(d){return Object.keys(d).reduce(function(e,h){var c=d[h];return c===b?(d[h]=a,[].concat(f(e),[h])):k(c)?[].concat(f(e),f(G(c,b))):e},[])}(a)},g=function(a,b){return Promise.all(a.map(function(a){return Promise.resolve(a).then(b)}))},t=function(a){return Promise.all(Object.keys(a).map(function(b){return Promise.resolve(a[b]).then(function(d){return a[b]=d})})).then(function(b){return a})};e.exports=function(a){var f=!1;return function G(e){return Promise.resolve(e).then(function(e){return Array.isArray(e)?
g(e,function(a){return G(a)}):k(e)?t(Object.keys(e).reduce(function(h,k){return e[k]===a?(f=!0,d({},h,b({},k,l))):d({},h,b({},k,G(e[k])))},{})):e})}(a).then(function(a){f&&n(a,l);return a})}},{}]},{},[1])(1)})}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"../index.js":4}],4:[function(a,c,g){var e=function(a){return a&&"object"===("undefined"===typeof a?"undefined":_typeof2(a))&&a.constructor===Object},b="undefined"!==typeof Symbol?
Symbol("SELF"):"[~~//-- SELF --//~~]",f=function(a,b){return function q(d){return Object.keys(d).reduce(function(f,h){var c=d[h];return c===b?(d[h]=a,[].concat(_toConsumableArray2(f),[h])):e(c)?[].concat(_toConsumableArray2(f),_toConsumableArray2(q(c,b))):f},[])}(a)},d=function(a,b){return Promise.all(a.map(function(a){return Promise.resolve(a).then(b)}))},h=function(a){return Promise.all(Object.keys(a).map(function(b){return Promise.resolve(a[b]).then(function(d){return a[b]=d})})).then(function(b){return a})};
c.exports=function(a){var c=!1;return function q(f){return Promise.resolve(f).then(function(f){return Array.isArray(f)?d(f,function(a){return q(a)}):e(f)?h(Object.keys(f).reduce(function(d,e){return f[e]===a?(c=!0,_extends2({},d,_defineProperty2({},e,b))):_extends2({},d,_defineProperty2({},e,q(f[e])))},{})):f})}(a).then(function(a){c&&f(a,b);return a})}},{}],5:[function(a,c,g){(function(e){function b(a,b){if(a===b)return 0;for(var d=a.length,f=b.length,e=0,h=Math.min(d,f);e<h;++e)if(a[e]!==b[e]){d=
a[e];f=b[e];break}return d<f?-1:f<d?1:0}function f(a){return e.Buffer&&"function"===typeof e.Buffer.isBuffer?e.Buffer.isBuffer(a):!(null==a||!a._isBuffer)}function d(a){return f(a)||"function"!==typeof e.ArrayBuffer?!1:"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(a):a?a instanceof DataView||a.buffer&&a.buffer instanceof ArrayBuffer?!0:!1:!1}function h(a){if(w.isFunction(a))return E?a.name:(a=a.toString().match(J))&&a[1]}function k(a,b){return"string"===typeof a?a.length<b?a:a.slice(0,
b):a}function l(a){if(E||!w.isFunction(a))return w.inspect(a);a=h(a);return"[Function"+(a?": "+a:"")+"]"}function n(a,b,d,f,e){throw new y.AssertionError({message:d,actual:a,expected:b,operator:f,stackStartFunction:e});}function g(a,b){a||n(a,!0,b,"==",y.ok)}function q(a,e,h,c){if(a===e)return!0;if(f(a)&&f(e))return 0===b(a,e);if(w.isDate(a)&&w.isDate(e))return a.getTime()===e.getTime();if(w.isRegExp(a)&&w.isRegExp(e))return a.source===e.source&&a.global===e.global&&a.multiline===e.multiline&&a.lastIndex===
e.lastIndex&&a.ignoreCase===e.ignoreCase;if(null!==a&&"object"===("undefined"===typeof a?"undefined":_typeof2(a))||null!==e&&"object"===("undefined"===typeof e?"undefined":_typeof2(e))){if(!d(a)||!d(e)||Object.prototype.toString.call(a)!==Object.prototype.toString.call(e)||a instanceof Float32Array||a instanceof Float64Array){if(f(a)!==f(e))return!1;c=c||{actual:[],expected:[]};var k=c.actual.indexOf(a);if(-1!==k&&k===c.expected.indexOf(e))return!0;c.actual.push(a);c.expected.push(e);return r(a,e,
h,c)}return 0===b(new Uint8Array(a.buffer),new Uint8Array(e.buffer))}return h?a===e:a==e}function m(a){return"[object Arguments]"==Object.prototype.toString.call(a)}function r(a,b,d,f){if(null===a||void 0===a||null===b||void 0===b)return!1;if(w.isPrimitive(a)||w.isPrimitive(b))return a===b;if(d&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(b))return!1;var e=m(a),h=m(b);if(e&&!h||!e&&h)return!1;if(e)return a=G.call(a),b=G.call(b),q(a,b,d);e=A(a);var c=A(b);if(e.length!==c.length)return!1;e.sort();
c.sort();for(h=e.length-1;0<=h;h--)if(e[h]!==c[h])return!1;for(h=e.length-1;0<=h;h--)if(c=e[h],!q(a[c],b[c],d,f))return!1;return!0}function t(a,b,d){q(a,b,!0)&&n(a,b,d,"notDeepStrictEqual",t)}function u(a,b){if(!a||!b)return!1;if("[object RegExp]"==Object.prototype.toString.call(b))return b.test(a);try{if(a instanceof b)return!0}catch(I){}return Error.isPrototypeOf(b)?!1:!0===b.call({},a)}function v(a,b,d,f){if("function"!==typeof b)throw new TypeError('"block" argument must be a function');"string"===
typeof d&&(f=d,d=null);try{b()}catch(K){var e=K}b=e;f=(d&&d.name?" ("+d.name+").":".")+(f?" "+f:".");a&&!b&&n(b,d,"Missing expected exception"+f);e="string"===typeof f;var h=!a&&w.isError(b),c=!a&&b&&!d;(h&&e&&u(b,d)||c)&&n(b,d,"Got unwanted exception"+f);if(a&&b&&d&&!u(b,d)||!a&&b)throw b;}var w=a("util/"),B=Object.prototype.hasOwnProperty,G=Array.prototype.slice,E=function(){return"foo"===function(){}.name}(),y=c.exports=g,J=/\s*function\s+([^\(\s]*)\s*/;y.AssertionError=function(a){this.name="AssertionError";
this.actual=a.actual;this.expected=a.expected;this.operator=a.operator;a.message?(this.message=a.message,this.generatedMessage=!1):(this.message=k(l(this.actual),128)+" "+this.operator+" "+k(l(this.expected),128),this.generatedMessage=!0);var b=a.stackStartFunction||n;Error.captureStackTrace?Error.captureStackTrace(this,b):(a=Error(),a.stack&&(a=a.stack,b=h(b),b=a.indexOf("\n"+b),0<=b&&(b=a.indexOf("\n",b+1),a=a.substring(b+1)),this.stack=a))};w.inherits(y.AssertionError,Error);y.fail=n;y.ok=g;y.equal=
function(a,b,d){a!=b&&n(a,b,d,"==",y.equal)};y.notEqual=function(a,b,d){a==b&&n(a,b,d,"!=",y.notEqual)};y.deepEqual=function(a,b,d){q(a,b,!1)||n(a,b,d,"deepEqual",y.deepEqual)};y.deepStrictEqual=function(a,b,d){q(a,b,!0)||n(a,b,d,"deepStrictEqual",y.deepStrictEqual)};y.notDeepEqual=function(a,b,d){q(a,b,!1)&&n(a,b,d,"notDeepEqual",y.notDeepEqual)};y.notDeepStrictEqual=t;y.strictEqual=function(a,b,d){a!==b&&n(a,b,d,"===",y.strictEqual)};y.notStrictEqual=function(a,b,d){a===b&&n(a,b,d,"!==",y.notStrictEqual)};
y.throws=function(a,b,d){v(!0,a,b,d)};y.doesNotThrow=function(a,b,d){v(!1,a,b,d)};y.ifError=function(a){if(a)throw a;};var A=Object.keys||function(a){var b=[],d;for(d in a)B.call(a,d)&&b.push(d);return b}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"util/":214}],6:[function(a,c,g){function e(a){var b=a.length;if(0<b%4)throw Error("Invalid string. Length must be a multiple of 4");a=a.indexOf("=");-1===a&&(a=b);return[a,a===
b?0:4-a%4]}function b(a,b,d){for(var e=[],h=b;h<d;h+=3)b=(a[h]<<16&16711680)+(a[h+1]<<8&65280)+(a[h+2]&255),e.push(f[b>>18&63]+f[b>>12&63]+f[b>>6&63]+f[b&63]);return e.join("")}g.byteLength=function(a){a=e(a);var b=a[1];return 3*(a[0]+b)/4-b};g.toByteArray=function(a){var b=e(a);var f=b[0];b=b[1];for(var c=new h(3*(f+b)/4-b),k=0,g=0<b?f-4:f,r=0;r<g;r+=4)f=d[a.charCodeAt(r)]<<18|d[a.charCodeAt(r+1)]<<12|d[a.charCodeAt(r+2)]<<6|d[a.charCodeAt(r+3)],c[k++]=f>>16&255,c[k++]=f>>8&255,c[k++]=f&255;2===
b&&(f=d[a.charCodeAt(r)]<<2|d[a.charCodeAt(r+1)]>>4,c[k++]=f&255);1===b&&(f=d[a.charCodeAt(r)]<<10|d[a.charCodeAt(r+1)]<<4|d[a.charCodeAt(r+2)]>>2,c[k++]=f>>8&255,c[k++]=f&255);return c};g.fromByteArray=function(a){for(var d=a.length,e=d%3,h=[],c=0,k=d-e;c<k;c+=16383)h.push(b(a,c,c+16383>k?k:c+16383));1===e?(a=a[d-1],h.push(f[a>>2]+f[a<<4&63]+"==")):2===e&&(a=(a[d-2]<<8)+a[d-1],h.push(f[a>>10]+f[a>>4&63]+f[a<<2&63]+"="));return h.join("")};var f=[],d=[],h="undefined"!==typeof Uint8Array?Uint8Array:
Array;for(a=0;64>a;++a)f[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[a],d["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(a)]=a;d[45]=62;d[95]=63},{}],7:[function(a,c,g){},{}],8:[function(a,c,g){function e(a){if(a>x)throw new RangeError('The value "'+a+'" is invalid for option "size"');a=new Uint8Array(a);a.__proto__=b.prototype;return a}function b(a,b,d){if("number"===typeof a){if("string"===typeof b)throw new TypeError('The "string" argument must be of type string. Received type number');
return h(a)}return f(a,b,d)}function f(a,d,f){if("string"===typeof a){var h=d;if("string"!==typeof h||""===h)h="utf8";if(!b.isEncoding(h))throw new TypeError("Unknown encoding: "+h);d=p(a,h)|0;f=e(d);a=f.write(a,h);a!==d&&(f=f.slice(0,a));return f}if(ArrayBuffer.isView(a))return k(a);if(null==a)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+("undefined"===typeof a?"undefined":_typeof2(a)));if(H(a,ArrayBuffer)||a&&H(a.buffer,
ArrayBuffer)){if(0>d||a.byteLength<d)throw new RangeError('"offset" is outside of buffer bounds');if(a.byteLength<d+(f||0))throw new RangeError('"length" is outside of buffer bounds');a=void 0===d&&void 0===f?new Uint8Array(a):void 0===f?new Uint8Array(a,d):new Uint8Array(a,d,f);a.__proto__=b.prototype;return a}if("number"===typeof a)throw new TypeError('The "value" argument must not be of type number. Received type number');h=a.valueOf&&a.valueOf();if(null!=h&&h!==a)return b.from(h,d,f);if(h=l(a))return h;
if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof a[Symbol.toPrimitive])return b.from(a[Symbol.toPrimitive]("string"),d,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+("undefined"===typeof a?"undefined":_typeof2(a)));}function d(a){if("number"!==typeof a)throw new TypeError('"size" argument must be of type number');if(0>a)throw new RangeError('The value "'+a+'" is invalid for option "size"');
}function h(a){d(a);return e(0>a?0:n(a)|0)}function k(a){for(var b=0>a.length?0:n(a.length)|0,d=e(b),f=0;f<b;f+=1)d[f]=a[f]&255;return d}function l(a){if(b.isBuffer(a)){var d=n(a.length)|0,f=e(d);if(0===f.length)return f;a.copy(f,0,0,d);return f}if(void 0!==a.length)return(d="number"!==typeof a.length)||(d=a.length,d=d!==d),d?e(0):k(a);if("Buffer"===a.type&&Array.isArray(a.data))return k(a.data)}function n(a){if(a>=x)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+x.toString(16)+
" bytes");return a|0}function p(a,d){if(b.isBuffer(a))return a.length;if(ArrayBuffer.isView(a)||H(a,ArrayBuffer))return a.byteLength;if("string"!==typeof a)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+("undefined"===typeof a?"undefined":_typeof2(a)));var f=a.length,e=2<arguments.length&&!0===arguments[2];if(!e&&0===f)return 0;for(var h=!1;;)switch(d){case "ascii":case "latin1":case "binary":return f;case "utf8":case "utf-8":return J(a).length;
case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*f;case "hex":return f>>>1;case "base64":return I.toByteArray(y(a)).length;default:if(h)return e?-1:J(a).length;d=(""+d).toLowerCase();h=!0}}function q(a,b,d){var f=!1;if(void 0===b||0>b)b=0;if(b>this.length)return"";if(void 0===d||d>this.length)d=this.length;if(0>=d)return"";d>>>=0;b>>>=0;if(d<=b)return"";for(a||(a="utf8");;)switch(a){case "hex":a=b;b=d;d=this.length;if(!a||0>a)a=0;if(!b||0>b||b>d)b=d;f="";for(d=a;d<b;++d)a=f,f=this[d],
f=16>f?"0"+f.toString(16):f.toString(16),f=a+f;return f;case "utf8":case "utf-8":return u(this,b,d);case "ascii":a="";for(d=Math.min(this.length,d);b<d;++b)a+=String.fromCharCode(this[b]&127);return a;case "latin1":case "binary":a="";for(d=Math.min(this.length,d);b<d;++b)a+=String.fromCharCode(this[b]);return a;case "base64":return b=0===b&&d===this.length?I.fromByteArray(this):I.fromByteArray(this.slice(b,d)),b;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":b=this.slice(b,d);d="";for(a=
0;a<b.length;a+=2)d+=String.fromCharCode(b[a]+256*b[a+1]);return d;default:if(f)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase();f=!0}}function m(a,b,d){var f=a[b];a[b]=a[d];a[d]=f}function r(a,d,f,e,h){if(0===a.length)return-1;"string"===typeof f?(e=f,f=0):2147483647<f?f=2147483647:-2147483648>f&&(f=-2147483648);f=+f;f!==f&&(f=h?0:a.length-1);0>f&&(f=a.length+f);if(f>=a.length){if(h)return-1;f=a.length-1}else if(0>f)if(h)f=0;else return-1;"string"===typeof d&&(d=b.from(d,e));if(b.isBuffer(d))return 0===
d.length?-1:t(a,d,f,e,h);if("number"===typeof d)return d&=255,"function"===typeof Uint8Array.prototype.indexOf?h?Uint8Array.prototype.indexOf.call(a,d,f):Uint8Array.prototype.lastIndexOf.call(a,d,f):t(a,[d],f,e,h);throw new TypeError("val must be string, number or Buffer");}function t(a,b,d,f,e){function h(a,b){return 1===c?a[b]:a.readUInt16BE(b*c)}var c=1,z=a.length,k=b.length;if(void 0!==f&&(f=String(f).toLowerCase(),"ucs2"===f||"ucs-2"===f||"utf16le"===f||"utf-16le"===f)){if(2>a.length||2>b.length)return-1;
c=2;z/=2;k/=2;d/=2}if(e)for(f=-1;d<z;d++)if(h(a,d)===h(b,-1===f?0:d-f)){if(-1===f&&(f=d),d-f+1===k)return f*c}else-1!==f&&(d-=d-f),f=-1;else for(d+k>z&&(d=z-k);0<=d;d--){z=!0;for(f=0;f<k;f++)if(h(a,d+f)!==h(b,f)){z=!1;break}if(z)return d}return-1}function u(a,b,d){d=Math.min(a.length,d);for(var f=[];b<d;){var e=a[b],h=null,c=239<e?4:223<e?3:191<e?2:1;if(b+c<=d)switch(c){case 1:128>e&&(h=e);break;case 2:var z=a[b+1];128===(z&192)&&(e=(e&31)<<6|z&63,127<e&&(h=e));break;case 3:z=a[b+1];var k=a[b+2];
128===(z&192)&&128===(k&192)&&(e=(e&15)<<12|(z&63)<<6|k&63,2047<e&&(55296>e||57343<e)&&(h=e));break;case 4:z=a[b+1];k=a[b+2];var l=a[b+3];128===(z&192)&&128===(k&192)&&128===(l&192)&&(e=(e&15)<<18|(z&63)<<12|(k&63)<<6|l&63,65535<e&&1114112>e&&(h=e))}null===h?(h=65533,c=1):65535<h&&(h-=65536,f.push(h>>>10&1023|55296),h=56320|h&1023);f.push(h);b+=c}a=f.length;if(a<=Q)f=String.fromCharCode.apply(String,f);else{d="";for(b=0;b<a;)d+=String.fromCharCode.apply(String,f.slice(b,b+=Q));f=d}return f}function v(a,
b,d){if(0!==a%1||0>a)throw new RangeError("offset is not uint");if(a+b>d)throw new RangeError("Trying to access beyond buffer length");}function w(a,d,f,e,h,c){if(!b.isBuffer(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(d>h||d<c)throw new RangeError('"value" argument is out of bounds');if(f+e>a.length)throw new RangeError("Index out of range");}function B(a,b,d,f,e,h){if(d+f>a.length)throw new RangeError("Index out of range");if(0>d)throw new RangeError("Index out of range");
}function G(a,b,d,f,e){b=+b;d>>>=0;e||B(a,b,d,4,3.4028234663852886E38,-3.4028234663852886E38);F.write(a,b,d,f,23,4);return d+4}function E(a,b,d,f,e){b=+b;d>>>=0;e||B(a,b,d,8,1.7976931348623157E308,-1.7976931348623157E308);F.write(a,b,d,f,52,8);return d+8}function y(a){a=a.split("=")[0];a=a.trim().replace(L,"");if(2>a.length)return"";for(;0!==a.length%4;)a+="=";return a}function J(a,b){b=b||Infinity;for(var d,f=a.length,e=null,h=[],c=0;c<f;++c){d=a.charCodeAt(c);if(55295<d&&57344>d){if(!e){if(56319<
d){-1<(b-=3)&&h.push(239,191,189);continue}else if(c+1===f){-1<(b-=3)&&h.push(239,191,189);continue}e=d;continue}if(56320>d){-1<(b-=3)&&h.push(239,191,189);e=d;continue}d=(e-55296<<10|d-56320)+65536}else e&&-1<(b-=3)&&h.push(239,191,189);e=null;if(128>d){if(0>--b)break;h.push(d)}else if(2048>d){if(0>(b-=2))break;h.push(d>>6|192,d&63|128)}else if(65536>d){if(0>(b-=3))break;h.push(d>>12|224,d>>6&63|128,d&63|128)}else if(1114112>d){if(0>(b-=4))break;h.push(d>>18|240,d>>12&63|128,d>>6&63|128,d&63|128)}else throw Error("Invalid code point");
}return h}function A(a){for(var b=[],d=0;d<a.length;++d)b.push(a.charCodeAt(d)&255);return b}function D(a,b,d,f){for(var e=0;e<f&&!(e+d>=b.length||e>=a.length);++e)b[e+d]=a[e];return e}function H(a,b){return a instanceof b||null!=a&&null!=a.constructor&&null!=a.constructor.name&&a.constructor.name===b.name}var I=a("base64-js"),F=a("ieee754");g.Buffer=b;g.SlowBuffer=function(a){+a!=a&&(a=0);return b.alloc(+a)};g.INSPECT_MAX_BYTES=50;var x=2147483647;g.kMaxLength=x;b.TYPED_ARRAY_SUPPORT=function(){try{var a=
new Uint8Array(1);a.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===a.foo()}catch(z){return!1}}();b.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");Object.defineProperty(b.prototype,"parent",{enumerable:!0,get:function(){if(b.isBuffer(this))return this.buffer}});Object.defineProperty(b.prototype,
"offset",{enumerable:!0,get:function(){if(b.isBuffer(this))return this.byteOffset}});"undefined"!==typeof Symbol&&null!=Symbol.species&&b[Symbol.species]===b&&Object.defineProperty(b,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1});b.poolSize=8192;b.from=function(a,b,d){return f(a,b,d)};b.prototype.__proto__=Uint8Array.prototype;b.__proto__=Uint8Array;b.alloc=function(a,b,f){d(a);a=0>=a?e(a):void 0!==b?"string"===typeof f?e(a).fill(b,f):e(a).fill(b):e(a);return a};b.allocUnsafe=
function(a){return h(a)};b.allocUnsafeSlow=function(a){return h(a)};b.isBuffer=function(a){return null!=a&&!0===a._isBuffer&&a!==b.prototype};b.compare=function(a,d){H(a,Uint8Array)&&(a=b.from(a,a.offset,a.byteLength));H(d,Uint8Array)&&(d=b.from(d,d.offset,d.byteLength));if(!b.isBuffer(a)||!b.isBuffer(d))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===d)return 0;for(var f=a.length,e=d.length,h=0,c=Math.min(f,e);h<c;++h)if(a[h]!==d[h]){f=a[h];e=d[h];
break}return f<e?-1:e<f?1:0};b.isEncoding=function(a){switch(String(a).toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "latin1":case "binary":case "base64":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return!0;default:return!1}};b.concat=function(a,d){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(0===a.length)return b.alloc(0);var f;if(void 0===d)for(f=d=0;f<a.length;++f)d+=a[f].length;d=b.allocUnsafe(d);var e=0;for(f=0;f<
a.length;++f){var h=a[f];H(h,Uint8Array)&&(h=b.from(h));if(!b.isBuffer(h))throw new TypeError('"list" argument must be an Array of Buffers');h.copy(d,e);e+=h.length}return d};b.byteLength=p;b.prototype._isBuffer=!0;b.prototype.swap16=function(){var a=this.length;if(0!==a%2)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var b=0;b<a;b+=2)m(this,b,b+1);return this};b.prototype.swap32=function(){var a=this.length;if(0!==a%4)throw new RangeError("Buffer size must be a multiple of 32-bits");
for(var b=0;b<a;b+=4)m(this,b,b+3),m(this,b+1,b+2);return this};b.prototype.swap64=function(){var a=this.length;if(0!==a%8)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var b=0;b<a;b+=8)m(this,b,b+7),m(this,b+1,b+6),m(this,b+2,b+5),m(this,b+3,b+4);return this};b.prototype.toString=function(){var a=this.length;return 0===a?"":0===arguments.length?u(this,0,a):q.apply(this,arguments)};b.prototype.toLocaleString=b.prototype.toString;b.prototype.equals=function(a){if(!b.isBuffer(a))throw new TypeError("Argument must be a Buffer");
return this===a?!0:0===b.compare(this,a)};b.prototype.inspect=function(){var a=g.INSPECT_MAX_BYTES;var b=this.toString("hex",0,a).replace(/(.{2})/g,"$1 ").trim();this.length>a&&(b+=" ... ");return"<Buffer "+b+">"};b.prototype.compare=function(a,d,f,e,h){H(a,Uint8Array)&&(a=b.from(a,a.offset,a.byteLength));if(!b.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+("undefined"===typeof a?"undefined":_typeof2(a)));void 0===d&&(d=0);void 0===
f&&(f=a?a.length:0);void 0===e&&(e=0);void 0===h&&(h=this.length);if(0>d||f>a.length||0>e||h>this.length)throw new RangeError("out of range index");if(e>=h&&d>=f)return 0;if(e>=h)return-1;if(d>=f)return 1;d>>>=0;f>>>=0;e>>>=0;h>>>=0;if(this===a)return 0;var c=h-e,k=f-d,l=Math.min(c,k);e=this.slice(e,h);a=a.slice(d,f);for(d=0;d<l;++d)if(e[d]!==a[d]){c=e[d];k=a[d];break}return c<k?-1:k<c?1:0};b.prototype.includes=function(a,b,d){return-1!==this.indexOf(a,b,d)};b.prototype.indexOf=function(a,b,d){return r(this,
a,b,d,!0)};b.prototype.lastIndexOf=function(a,b,d){return r(this,a,b,d,!1)};b.prototype.write=function(a,b,d,f){if(void 0===b)f="utf8",d=this.length,b=0;else if(void 0===d&&"string"===typeof b)f=b,d=this.length,b=0;else if(isFinite(b))b>>>=0,isFinite(d)?(d>>>=0,void 0===f&&(f="utf8")):(f=d,d=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var e=this.length-b;if(void 0===d||d>e)d=e;if(0<a.length&&(0>d||0>b)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");
f||(f="utf8");for(e=!1;;)switch(f){case "hex":a:{b=Number(b)||0;f=this.length-b;d?(d=Number(d),d>f&&(d=f)):d=f;f=a.length;d>f/2&&(d=f/2);for(f=0;f<d;++f){e=parseInt(a.substr(2*f,2),16);if(e!==e){a=f;break a}this[b+f]=e}a=f}return a;case "utf8":case "utf-8":return D(J(a,this.length-b),this,b,d);case "ascii":return D(A(a),this,b,d);case "latin1":case "binary":return D(A(a),this,b,d);case "base64":return D(I.toByteArray(y(a)),this,b,d);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":f=a;e=this.length-
b;for(var h=[],c=0;c<f.length&&!(0>(e-=2));++c){var k=f.charCodeAt(c);a=k>>8;k%=256;h.push(k);h.push(a)}return D(h,this,b,d);default:if(e)throw new TypeError("Unknown encoding: "+f);f=(""+f).toLowerCase();e=!0}};b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;b.prototype.slice=function(a,d){var f=this.length;a=~~a;d=void 0===d?f:~~d;0>a?(a+=f,0>a&&(a=0)):a>f&&(a=f);0>d?(d+=f,0>d&&(d=0)):d>f&&(d=f);d<a&&(d=a);a=this.subarray(a,d);a.__proto__=
b.prototype;return a};b.prototype.readUIntLE=function(a,b,d){a>>>=0;b>>>=0;d||v(a,b,this.length);d=this[a];for(var f=1,e=0;++e<b&&(f*=256);)d+=this[a+e]*f;return d};b.prototype.readUIntBE=function(a,b,d){a>>>=0;b>>>=0;d||v(a,b,this.length);d=this[a+--b];for(var f=1;0<b&&(f*=256);)d+=this[a+--b]*f;return d};b.prototype.readUInt8=function(a,b){a>>>=0;b||v(a,1,this.length);return this[a]};b.prototype.readUInt16LE=function(a,b){a>>>=0;b||v(a,2,this.length);return this[a]|this[a+1]<<8};b.prototype.readUInt16BE=
function(a,b){a>>>=0;b||v(a,2,this.length);return this[a]<<8|this[a+1]};b.prototype.readUInt32LE=function(a,b){a>>>=0;b||v(a,4,this.length);return(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]};b.prototype.readUInt32BE=function(a,b){a>>>=0;b||v(a,4,this.length);return 16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])};b.prototype.readIntLE=function(a,b,d){a>>>=0;b>>>=0;d||v(a,b,this.length);d=this[a];for(var f=1,e=0;++e<b&&(f*=256);)d+=this[a+e]*f;d>=128*f&&(d-=Math.pow(2,8*b));return d};
b.prototype.readIntBE=function(a,b,d){a>>>=0;b>>>=0;d||v(a,b,this.length);d=b;for(var f=1,e=this[a+--d];0<d&&(f*=256);)e+=this[a+--d]*f;e>=128*f&&(e-=Math.pow(2,8*b));return e};b.prototype.readInt8=function(a,b){a>>>=0;b||v(a,1,this.length);return this[a]&128?-1*(255-this[a]+1):this[a]};b.prototype.readInt16LE=function(a,b){a>>>=0;b||v(a,2,this.length);a=this[a]|this[a+1]<<8;return a&32768?a|4294901760:a};b.prototype.readInt16BE=function(a,b){a>>>=0;b||v(a,2,this.length);a=this[a+1]|this[a]<<8;return a&
32768?a|4294901760:a};b.prototype.readInt32LE=function(a,b){a>>>=0;b||v(a,4,this.length);return this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24};b.prototype.readInt32BE=function(a,b){a>>>=0;b||v(a,4,this.length);return this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]};b.prototype.readFloatLE=function(a,b){a>>>=0;b||v(a,4,this.length);return F.read(this,a,!0,23,4)};b.prototype.readFloatBE=function(a,b){a>>>=0;b||v(a,4,this.length);return F.read(this,a,!1,23,4)};b.prototype.readDoubleLE=function(a,
b){a>>>=0;b||v(a,8,this.length);return F.read(this,a,!0,52,8)};b.prototype.readDoubleBE=function(a,b){a>>>=0;b||v(a,8,this.length);return F.read(this,a,!1,52,8)};b.prototype.writeUIntLE=function(a,b,d,f){a=+a;b>>>=0;d>>>=0;f||w(this,a,b,d,Math.pow(2,8*d)-1,0);f=1;var e=0;for(this[b]=a&255;++e<d&&(f*=256);)this[b+e]=a/f&255;return b+d};b.prototype.writeUIntBE=function(a,b,d,f){a=+a;b>>>=0;d>>>=0;f||w(this,a,b,d,Math.pow(2,8*d)-1,0);f=d-1;var e=1;for(this[b+f]=a&255;0<=--f&&(e*=256);)this[b+f]=a/e&
255;return b+d};b.prototype.writeUInt8=function(a,b,d){a=+a;b>>>=0;d||w(this,a,b,1,255,0);this[b]=a&255;return b+1};b.prototype.writeUInt16LE=function(a,b,d){a=+a;b>>>=0;d||w(this,a,b,2,65535,0);this[b]=a&255;this[b+1]=a>>>8;return b+2};b.prototype.writeUInt16BE=function(a,b,d){a=+a;b>>>=0;d||w(this,a,b,2,65535,0);this[b]=a>>>8;this[b+1]=a&255;return b+2};b.prototype.writeUInt32LE=function(a,b,d){a=+a;b>>>=0;d||w(this,a,b,4,4294967295,0);this[b+3]=a>>>24;this[b+2]=a>>>16;this[b+1]=a>>>8;this[b]=a&
255;return b+4};b.prototype.writeUInt32BE=function(a,b,d){a=+a;b>>>=0;d||w(this,a,b,4,4294967295,0);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};b.prototype.writeIntLE=function(a,b,d,f){a=+a;b>>>=0;f||(f=Math.pow(2,8*d-1),w(this,a,b,d,f-1,-f));f=0;var e=1,h=0;for(this[b]=a&255;++f<d&&(e*=256);)0>a&&0===h&&0!==this[b+f-1]&&(h=1),this[b+f]=(a/e>>0)-h&255;return b+d};b.prototype.writeIntBE=function(a,b,d,f){a=+a;b>>>=0;f||(f=Math.pow(2,8*d-1),w(this,a,b,d,f-1,-f));f=d-
1;var e=1,h=0;for(this[b+f]=a&255;0<=--f&&(e*=256);)0>a&&0===h&&0!==this[b+f+1]&&(h=1),this[b+f]=(a/e>>0)-h&255;return b+d};b.prototype.writeInt8=function(a,b,d){a=+a;b>>>=0;d||w(this,a,b,1,127,-128);0>a&&(a=255+a+1);this[b]=a&255;return b+1};b.prototype.writeInt16LE=function(a,b,d){a=+a;b>>>=0;d||w(this,a,b,2,32767,-32768);this[b]=a&255;this[b+1]=a>>>8;return b+2};b.prototype.writeInt16BE=function(a,b,d){a=+a;b>>>=0;d||w(this,a,b,2,32767,-32768);this[b]=a>>>8;this[b+1]=a&255;return b+2};b.prototype.writeInt32LE=
function(a,b,d){a=+a;b>>>=0;d||w(this,a,b,4,2147483647,-2147483648);this[b]=a&255;this[b+1]=a>>>8;this[b+2]=a>>>16;this[b+3]=a>>>24;return b+4};b.prototype.writeInt32BE=function(a,b,d){a=+a;b>>>=0;d||w(this,a,b,4,2147483647,-2147483648);0>a&&(a=4294967295+a+1);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};b.prototype.writeFloatLE=function(a,b,d){return G(this,a,b,!0,d)};b.prototype.writeFloatBE=function(a,b,d){return G(this,a,b,!1,d)};b.prototype.writeDoubleLE=function(a,
b,d){return E(this,a,b,!0,d)};b.prototype.writeDoubleBE=function(a,b,d){return E(this,a,b,!1,d)};b.prototype.copy=function(a,d,f,e){if(!b.isBuffer(a))throw new TypeError("argument should be a Buffer");f||(f=0);e||0===e||(e=this.length);d>=a.length&&(d=a.length);d||(d=0);0<e&&e<f&&(e=f);if(e===f||0===a.length||0===this.length)return 0;if(0>d)throw new RangeError("targetStart out of bounds");if(0>f||f>=this.length)throw new RangeError("Index out of range");if(0>e)throw new RangeError("sourceEnd out of bounds");
e>this.length&&(e=this.length);a.length-d<e-f&&(e=a.length-d+f);var h=e-f;if(this===a&&"function"===typeof Uint8Array.prototype.copyWithin)this.copyWithin(d,f,e);else if(this===a&&f<d&&d<e)for(e=h-1;0<=e;--e)a[e+d]=this[e+f];else Uint8Array.prototype.set.call(a,this.subarray(f,e),d);return h};b.prototype.fill=function(a,d,f,e){if("string"===typeof a){"string"===typeof d?(e=d,d=0,f=this.length):"string"===typeof f&&(e=f,f=this.length);if(void 0!==e&&"string"!==typeof e)throw new TypeError("encoding must be a string");
if("string"===typeof e&&!b.isEncoding(e))throw new TypeError("Unknown encoding: "+e);if(1===a.length){var h=a.charCodeAt(0);if("utf8"===e&&128>h||"latin1"===e)a=h}}else"number"===typeof a&&(a&=255);if(0>d||this.length<d||this.length<f)throw new RangeError("Out of range index");if(f<=d)return this;d>>>=0;f=void 0===f?this.length:f>>>0;a||(a=0);if("number"===typeof a)for(e=d;e<f;++e)this[e]=a;else{h=b.isBuffer(a)?a:b.from(a,e);var c=h.length;if(0===c)throw new TypeError('The value "'+a+'" is invalid for argument "value"');
for(e=0;e<f-d;++e)this[e+d]=h[e%c]}return this};var L=/[^+/0-9A-Za-z-_]/g},{"base64-js":6,ieee754:12}],9:[function(a,c,g){(function(a){g.isArray=function(a){return Array.isArray?Array.isArray(a):"[object Array]"===Object.prototype.toString.call(a)};g.isBoolean=function(a){return"boolean"===typeof a};g.isNull=function(a){return null===a};g.isNullOrUndefined=function(a){return null==a};g.isNumber=function(a){return"number"===typeof a};g.isString=function(a){return"string"===typeof a};g.isSymbol=function(a){return"symbol"===
("undefined"===typeof a?"undefined":_typeof2(a))};g.isUndefined=function(a){return void 0===a};g.isRegExp=function(a){return"[object RegExp]"===Object.prototype.toString.call(a)};g.isObject=function(a){return"object"===("undefined"===typeof a?"undefined":_typeof2(a))&&null!==a};g.isDate=function(a){return"[object Date]"===Object.prototype.toString.call(a)};g.isError=function(a){return"[object Error]"===Object.prototype.toString.call(a)||a instanceof Error};g.isFunction=function(a){return"function"===
typeof a};g.isPrimitive=function(a){return null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a||"symbol"===("undefined"===typeof a?"undefined":_typeof2(a))||"undefined"===typeof a};g.isBuffer=a.isBuffer}).call(this,{isBuffer:a("../../../../../is-buffer/1.1.6/node_modules/is-buffer/index.js")})},{"../../../../../is-buffer/1.1.6/node_modules/is-buffer/index.js":15}],10:[function(a,c,g){function e(a,b){if(a.forEach)return a.forEach(b);for(var d=0;d<a.length;d++)b(a[d],d)}var b=a("stream"),
f=["write","end","destroy"],d=["resume","pause"],h=["data","close"],k=Array.prototype.slice;c.exports=function(a,c){function l(a){n.emit("error",a)}var n=new b,g=!1;e(f,function(b){n[b]=function(){return a[b].apply(a,arguments)}});e(d,function(a){n[a]=function(){n.emit(a);var b=c[a];if(b)return b.apply(c,arguments);c.emit(a)}});e(h,function(a){c.on(a,function(){var b=k.call(arguments);b.unshift(a);n.emit.apply(n,b)})});c.on("end",function(){if(!g){g=!0;var a=k.call(arguments);a.unshift("end");n.emit.apply(n,
a)}});a.on("drain",function(){n.emit("drain")});a.on("error",l);c.on("error",l);n.writable=a.writable;n.readable=c.readable;return n}},{stream:204}],11:[function(a,c,g){function e(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=m(null),this._eventsCount=0);this._maxListeners=this._maxListeners||void 0}function b(a,b,d,f){var h;if("function"!==typeof d)throw new TypeError('"listener" argument must be a function');if(h=a._events){h.newListener&&(a.emit("newListener",
b,d.listener?d.listener:d),h=a._events);var c=h[b]}else h=a._events=m(null),a._eventsCount=0;c?("function"===typeof c?c=h[b]=f?[d,c]:[c,d]:f?c.unshift(d):c.push(d),c.warned||(d=void 0===a._maxListeners?e.defaultMaxListeners:a._maxListeners)&&0<d&&c.length>d&&(c.warned=!0,d=Error("Possible EventEmitter memory leak detected. "+c.length+' "'+String(b)+'" listeners added. Use emitter.setMaxListeners() to increase limit.'),d.name="MaxListenersExceededWarning",d.emitter=a,d.type=b,d.count=c.length,"object"===
("undefined"===typeof console?"undefined":_typeof2(console))&&console.warn&&console.warn("%s: %s",d.name,d.message))):(h[b]=d,++a._eventsCount);return a}function f(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],
arguments[1],arguments[2]);default:for(var a=Array(arguments.length),b=0;b<a.length;++b)a[b]=arguments[b];this.listener.apply(this.target,a)}}function d(a,b,d){a={fired:!1,wrapFn:void 0,target:a,type:b,listener:d};b=t.call(f,a);b.listener=d;return a.wrapFn=b}function h(a,b,d){a=a._events;if(!a)return[];b=a[b];if(!b)return[];if("function"===typeof b)return d?[b.listener||b]:[b];if(d)for(d=Array(b.length),a=0;a<d.length;++a)d[a]=b[a].listener||b[a];else d=l(b,b.length);return d}function k(a){var b=
this._events;if(b){a=b[a];if("function"===typeof a)return 1;if(a)return a.length}return 0}function l(a,b){for(var d=Array(b),f=0;f<b;++f)d[f]=a[f];return d}function n(a){var b=function(){};b.prototype=a;return new b}function p(a){var b=[],d;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&b.push(d);return d}function q(a){var b=this;return function(){return b.apply(a,arguments)}}var m=Object.create||n,r=Object.keys||p,t=Function.prototype.bind||q;c.exports=e;e.EventEmitter=e;e.prototype._events=
void 0;e.prototype._maxListeners=void 0;var u=10;try{a={};Object.defineProperty&&Object.defineProperty(a,"x",{value:0});var v=0===a.x}catch(w){v=!1}v?Object.defineProperty(e,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(a){if("number"!==typeof a||0>a||a!==a)throw new TypeError('"defaultMaxListeners" must be a positive number');u=a}}):e.defaultMaxListeners=u;e.prototype.setMaxListeners=function(a){if("number"!==typeof a||0>a||isNaN(a))throw new TypeError('"n" argument must be a positive number');
this._maxListeners=a;return this};e.prototype.getMaxListeners=function(){return void 0===this._maxListeners?e.defaultMaxListeners:this._maxListeners};e.prototype.emit=function(a){var b,d,f;var e="error"===a;if(f=this._events)e=e&&null==f.error;else if(!e)return!1;if(e){1<arguments.length&&(b=arguments[1]);if(b instanceof Error)throw b;f=Error('Unhandled "error" event. ('+b+")");f.context=b;throw f;}b=f[a];if(!b)return!1;f="function"===typeof b;var h=arguments.length;switch(h){case 1:if(f)b.call(this);
else for(f=b.length,b=l(b,f),e=0;e<f;++e)b[e].call(this);break;case 2:e=arguments[1];if(f)b.call(this,e);else for(f=b.length,b=l(b,f),h=0;h<f;++h)b[h].call(this,e);break;case 3:e=arguments[1];h=arguments[2];if(f)b.call(this,e,h);else for(f=b.length,b=l(b,f),d=0;d<f;++d)b[d].call(this,e,h);break;case 4:e=arguments[1];h=arguments[2];d=arguments[3];if(f)b.call(this,e,h,d);else{f=b.length;b=l(b,f);for(var c=0;c<f;++c)b[c].call(this,e,h,d)}break;default:e=Array(h-1);for(d=1;d<h;d++)e[d-1]=arguments[d];
if(f)b.apply(this,e);else for(f=b.length,b=l(b,f),h=0;h<f;++h)b[h].apply(this,e)}return!0};e.prototype.addListener=function(a,d){return b(this,a,d,!1)};e.prototype.on=e.prototype.addListener;e.prototype.prependListener=function(a,d){return b(this,a,d,!0)};e.prototype.once=function(a,b){if("function"!==typeof b)throw new TypeError('"listener" argument must be a function');this.on(a,d(this,a,b));return this};e.prototype.prependOnceListener=function(a,b){if("function"!==typeof b)throw new TypeError('"listener" argument must be a function');
this.prependListener(a,d(this,a,b));return this};e.prototype.removeListener=function(a,b){var d;if("function"!==typeof b)throw new TypeError('"listener" argument must be a function');var f=this._events;if(!f)return this;var e=f[a];if(!e)return this;if(e===b||e.listener===b)0===--this._eventsCount?this._events=m(null):(delete f[a],f.removeListener&&this.emit("removeListener",a,e.listener||b));else if("function"!==typeof e){var h=-1;for(d=e.length-1;0<=d;d--)if(e[d]===b||e[d].listener===b){var c=e[d].listener;
h=d;break}if(0>h)return this;if(0===h)e.shift();else{d=h+1;for(var k=e.length;d<k;h+=1,d+=1)e[h]=e[d];e.pop()}1===e.length&&(f[a]=e[0]);f.removeListener&&this.emit("removeListener",a,c||b)}return this};e.prototype.removeAllListeners=function(a){var b=this._events;if(!b)return this;if(!b.removeListener)return 0===arguments.length?(this._events=m(null),this._eventsCount=0):b[a]&&(0===--this._eventsCount?this._events=m(null):delete b[a]),this;if(0===arguments.length){var d=r(b);for(b=0;b<d.length;++b){var f=
d[b];"removeListener"!==f&&this.removeAllListeners(f)}this.removeAllListeners("removeListener");this._events=m(null);this._eventsCount=0;return this}d=b[a];if("function"===typeof d)this.removeListener(a,d);else if(d)for(b=d.length-1;0<=b;b--)this.removeListener(a,d[b]);return this};e.prototype.listeners=function(a){return h(this,a,!0)};e.prototype.rawListeners=function(a){return h(this,a,!1)};e.listenerCount=function(a,b){return"function"===typeof a.listenerCount?a.listenerCount(b):k.call(a,b)};e.prototype.listenerCount=
k;e.prototype.eventNames=function(){return 0<this._eventsCount?Reflect.ownKeys(this._events):[]}},{}],12:[function(a,c,g){g.read=function(a,b,f,d,h){var e=8*h-d-1;var c=(1<<e)-1,n=c>>1,g=-7;h=f?h-1:0;var q=f?-1:1,m=a[b+h];h+=q;f=m&(1<<-g)-1;m>>=-g;for(g+=e;0<g;f=256*f+a[b+h],h+=q,g-=8);e=f&(1<<-g)-1;f>>=-g;for(g+=d;0<g;e=256*e+a[b+h],h+=q,g-=8);if(0===f)f=1-n;else{if(f===c)return e?NaN:Infinity*(m?-1:1);e+=Math.pow(2,d);f-=n}return(m?-1:1)*e*Math.pow(2,f-d)};g.write=function(a,b,f,d,h,c){var e,k=
8*c-h-1,g=(1<<k)-1,q=g>>1,m=23===h?Math.pow(2,-24)-Math.pow(2,-77):0;c=d?0:c-1;var r=d?1:-1,t=0>b||0===b&&0>1/b?1:0;b=Math.abs(b);isNaN(b)||Infinity===b?(b=isNaN(b)?1:0,d=g):(d=Math.floor(Math.log(b)/Math.LN2),1>b*(e=Math.pow(2,-d))&&(d--,e*=2),b=1<=d+q?b+m/e:b+m*Math.pow(2,1-q),2<=b*e&&(d++,e/=2),d+q>=g?(b=0,d=g):1<=d+q?(b=(b*e-1)*Math.pow(2,h),d+=q):(b=b*Math.pow(2,q-1)*Math.pow(2,h),d=0));for(;8<=h;a[f+c]=b&255,c+=r,b/=256,h-=8);d=d<<h|b;for(k+=h;0<k;a[f+c]=d&255,c+=r,d/=256,k-=8);a[f+c-r]|=128*
t}},{}],13:[function(a,c,g){c.exports="function"===typeof Object.create?function(a,b){a.super_=b;a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:function(a,b){a.super_=b;var f=function(){};f.prototype=b.prototype;a.prototype=new f;a.prototype.constructor=a}},{}],14:[function(a,c,g){arguments[4][13][0].apply(g,arguments)},{dup:13}],15:[function(a,c,g){function e(a){return!!a.constructor&&"function"===typeof a.constructor.isBuffer&&a.constructor.isBuffer(a)}
c.exports=function(a){return null!=a&&(e(a)||"function"===typeof a.readFloatLE&&"function"===typeof a.slice&&e(a.slice(0,0))||!!a._isBuffer)}},{}],16:[function(a,c,g){var e={}.toString;c.exports=Array.isArray||function(a){return"[object Array]"==e.call(a)}},{}],17:[function(a,c,g){a=a("./lib/js-yaml.js");c.exports=a},{"./lib/js-yaml.js":18}],18:[function(a,c,g){function e(a){return function(){throw Error("Function "+a+" is deprecated and cannot be used.");}}g=a("./js-yaml/loader");var b=a("./js-yaml/dumper");
c.exports.Type=a("./js-yaml/type");c.exports.Schema=a("./js-yaml/schema");c.exports.FAILSAFE_SCHEMA=a("./js-yaml/schema/failsafe");c.exports.JSON_SCHEMA=a("./js-yaml/schema/json");c.exports.CORE_SCHEMA=a("./js-yaml/schema/core");c.exports.DEFAULT_SAFE_SCHEMA=a("./js-yaml/schema/default_safe");c.exports.DEFAULT_FULL_SCHEMA=a("./js-yaml/schema/default_full");c.exports.load=g.load;c.exports.loadAll=g.loadAll;c.exports.safeLoad=g.safeLoad;c.exports.safeLoadAll=g.safeLoadAll;c.exports.dump=b.dump;c.exports.safeDump=
b.safeDump;c.exports.YAMLException=a("./js-yaml/exception");c.exports.MINIMAL_SCHEMA=a("./js-yaml/schema/failsafe");c.exports.SAFE_SCHEMA=a("./js-yaml/schema/default_safe");c.exports.DEFAULT_SCHEMA=a("./js-yaml/schema/default_full");c.exports.scan=e("scan");c.exports.parse=e("parse");c.exports.compose=e("compose");c.exports.addConstructor=e("addConstructor")},{"./js-yaml/dumper":20,"./js-yaml/exception":21,"./js-yaml/loader":22,"./js-yaml/schema":24,"./js-yaml/schema/core":25,"./js-yaml/schema/default_full":26,
"./js-yaml/schema/default_safe":27,"./js-yaml/schema/failsafe":28,"./js-yaml/schema/json":29,"./js-yaml/type":30}],19:[function(a,c,g){function e(a){return"undefined"===typeof a||null===a}c.exports.isNothing=e;c.exports.isObject=function(a){return"object"===("undefined"===typeof a?"undefined":_typeof2(a))&&null!==a};c.exports.toArray=function(a){return Array.isArray(a)?a:e(a)?[]:[a]};c.exports.repeat=function(a,f){var b="",e;for(e=0;e<f;e+=1)b+=a;return b};c.exports.isNegativeZero=function(a){return 0===
a&&Number.NEGATIVE_INFINITY===1/a};c.exports.extend=function(a,f){var b;if(f){var e=Object.keys(f);var c=0;for(b=e.length;c<b;c+=1){var l=e[c];a[l]=f[l]}}return a}},{}],20:[function(a,c,g){function e(a){var b=a.toString(16).toUpperCase();if(255>=a){a="x";var d=2}else if(65535>=a)a="u",d=4;else if(4294967295>=a)a="U",d=8;else throw new G("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+a+B.repeat("0",d-b.length)+b}function b(a){this.schema=a.schema||E;this.indent=Math.max(1,
a.indent||2);this.skipInvalid=a.skipInvalid||!1;this.flowLevel=B.isNothing(a.flowLevel)?-1:a.flowLevel;var b=this.schema;var d=a.styles||null,f,e;if(null===d)b={};else{var h={};var c=Object.keys(d);var k=0;for(f=c.length;k<f;k+=1){var l=c[k];var g=String(d[l]);"!!"===l.slice(0,2)&&(l="tag:yaml.org,2002:"+l.slice(2));(e=b.compiledTypeMap.fallback[l])&&A.call(e.styleAliases,g)&&(g=e.styleAliases[g]);h[l]=g}b=h}this.styleMap=b;this.sortKeys=a.sortKeys||!1;this.lineWidth=a.lineWidth||80;this.noRefs=a.noRefs||
!1;this.noCompatMode=a.noCompatMode||!1;this.condenseFlow=a.condenseFlow||!1;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function f(a,b){b=B.repeat(" ",b);for(var d=0,f,e="",h,c=a.length;d<c;)f=a.indexOf("\n",d),-1===f?(h=a.slice(d),d=c):(h=a.slice(d,f+1),d=f+1),h.length&&"\n"!==h&&(e+=b),e+=h;return e}function d(a){return 32<=a&&126>=a||161<=a&&55295>=a&&8232!==a&&8233!==a||
57344<=a&&65533>=a&&65279!==a||65536<=a&&1114111>=a}function h(a){return d(a)&&65279!==a&&44!==a&&91!==a&&93!==a&&123!==a&&125!==a&&58!==a&&35!==a}function k(a,b,f,e,c){var k=!1,l=!1,g=-1!==e,n=-1,m=a.charCodeAt(0);if(m=d(m)&&65279!==m&&!(32===m||9===m)&&45!==m&&63!==m&&58!==m&&44!==m&&91!==m&&93!==m&&123!==m&&125!==m&&35!==m&&38!==m&&42!==m&&33!==m&&124!==m&&62!==m&&39!==m&&34!==m&&37!==m&&64!==m&&96!==m)m=a.charCodeAt(a.length-1),m=!(32===m||9===m);if(b)for(b=0;b<a.length;b++){var r=a.charCodeAt(b);
if(!d(r))return 5;m=m&&h(r)}else{for(b=0;b<a.length;b++){r=a.charCodeAt(b);if(10===r)k=!0,g&&(l=l||b-n-1>e&&" "!==a[n+1],n=b);else if(!d(r))return 5;m=m&&h(r)}l=l||g&&b-n-1>e&&" "!==a[n+1]}return k||l?9<f&&/^\n* /.test(a)?5:l?4:3:m&&!c(a)?1:2}function l(a,b,d,e){a.dump=function(){if(0===b.length)return"''";if(!a.noCompatMode&&-1!==H.indexOf(b))return"'"+b+"'";var h=a.indent*Math.max(1,d),c=-1===a.lineWidth?-1:Math.max(Math.min(a.lineWidth,40),a.lineWidth-h);switch(k(b,e||-1<a.flowLevel&&d>=a.flowLevel,
a.indent,c,function(b){a:{var d;var f=0;for(d=a.implicitTypes.length;f<d;f+=1){var e=a.implicitTypes[f];if(e.resolve(b)){b=!0;break a}}b=!1}return b})){case 1:return b;case 2:return"'"+b.replace(/'/g,"''")+"'";case 3:return"|"+n(b,a.indent)+p(f(b,h));case 4:return">"+n(b,a.indent)+p(f(q(b,c),h));case 5:return'"'+r(b,c)+'"';default:throw new G("impossible error: invalid scalar style");}}()}function n(a,b){b=/^\n* /.test(a)?String(b):"";var d="\n"===a[a.length-1];return b+(!d||"\n"!==a[a.length-2]&&
"\n"!==a?d?"":"-":"+")+"\n"}function p(a){return"\n"===a[a.length-1]?a.slice(0,-1):a}function q(a,b){var d=/(\n+)([^\n]*)/g;var f=a.indexOf("\n");f=-1!==f?f:a.length;d.lastIndex=f;f=m(a.slice(0,f),b);for(var e="\n"===a[0]||" "===a[0],h;h=d.exec(a);){var c=h[1],k=h[2];h=" "===k[0];f+=c+(e||h||""===k?"":"\n")+m(k,b);e=h}return f}function m(a,b){if(""===a||" "===a[0])return a;var d=/ [^ ]/g,f,e=0;var h=0;for(var c="";f=d.exec(a);)f=f.index,f-e>b&&(h=h>e?h:f,c+="\n"+a.slice(e,h),e=h+1),h=f;c+="\n";c=
a.length-e>b&&h>e?c+(a.slice(e,h)+"\n"+a.slice(h+1)):c+a.slice(e);return c.slice(1)}function r(a){for(var b="",f,h,c=0;c<a.length;c++){f=a.charCodeAt(c);if(55296<=f&&56319>=f&&(h=a.charCodeAt(c+1),56320<=h&&57343>=h)){b+=e(1024*(f-55296)+h-56320+65536);c++;continue}h=D[f];b+=!h&&d(f)?a[c]:h||e(f)}return b}function t(a,b,d){var f;var e=d?a.explicitTypes:a.implicitTypes;var h=0;for(f=e.length;h<f;h+=1){var c=e[h];if((c.instanceOf||c.predicate)&&(!c.instanceOf||"object"===("undefined"===typeof b?"undefined":
_typeof2(b))&&b instanceof c.instanceOf)&&(!c.predicate||c.predicate(b))){a.tag=d?c.tag:"?";if(c.represent){d=a.styleMap[c.tag]||c.defaultStyle;if("[object Function]"===J.call(c.represent))b=c.represent(b,d);else if(A.call(c.represent,d))b=c.represent[d](b,d);else throw new G("!<"+c.tag+'> tag resolver accepts not "'+d+'" style');a.dump=b}return!0}}return!1}function u(a,b,d,f,e,h){a.tag=null;a.dump=d;t(a,d,!1)||t(a,d,!0);var c=J.call(a.dump);f&&(f=0>a.flowLevel||a.flowLevel>b);var k="[object Object]"===
c||"[object Array]"===c;if(k){var g=a.duplicates.indexOf(d);var n=-1!==g}if(null!==a.tag&&"?"!==a.tag||n||2!==a.indent&&0<b)e=!1;if(n&&a.usedDuplicates[g])a.dump="*ref_"+g;else{k&&n&&!a.usedDuplicates[g]&&(a.usedDuplicates[g]=!0);if("[object Object]"===c)if(f&&0!==Object.keys(a.dump).length){d=a.dump;f="";h=a.tag;c=Object.keys(d);var m;if(!0===a.sortKeys)c.sort();else if("function"===typeof a.sortKeys)c.sort(a.sortKeys);else if(a.sortKeys)throw new G("sortKeys must be a boolean or a function");k=
0;for(m=c.length;k<m;k+=1){var r="";e&&0===k||(r+="\n"+B.repeat(" ",a.indent*b));var q=c[k];var O=d[q];u(a,b+1,q,!0,!0,!0)&&((q=null!==a.tag&&"?"!==a.tag||a.dump&&1024<a.dump.length)&&(r=a.dump&&10===a.dump.charCodeAt(0)?r+"?":r+"? "),r+=a.dump,q&&(r+="\n"+B.repeat(" ",a.indent*b)),u(a,b+1,O,!0,q)&&(r=a.dump&&10===a.dump.charCodeAt(0)?r+":":r+": ",r+=a.dump,f+=r))}a.tag=h;a.dump=f||"{}";n&&(a.dump="&ref_"+g+a.dump)}else{d=a.dump;e="";f=a.tag;h=Object.keys(d);c=0;for(k=h.length;c<k;c+=1)r=a.condenseFlow?
'"':"",0!==c&&(r+=", "),m=h[c],O=d[m],u(a,b,m,!1,!1)&&(1024<a.dump.length&&(r+="? "),r+=a.dump+(a.condenseFlow?'"':"")+":"+(a.condenseFlow?"":" "),u(a,b,O,!1,!1)&&(r+=a.dump,e+=r));a.tag=f;a.dump="{"+e+"}";n&&(a.dump="&ref_"+g+" "+a.dump)}else if("[object Array]"===c)if(f&&0!==a.dump.length){d=a.dump;f="";h=a.tag;c=0;for(k=d.length;c<k;c+=1)u(a,b+1,d[c],!0,!0)&&(e&&0===c||(f+="\n"+B.repeat(" ",a.indent*b)),f=a.dump&&10===a.dump.charCodeAt(0)?f+"-":f+"- ",f+=a.dump);a.tag=h;a.dump=f||"[]";n&&(a.dump=
"&ref_"+g+a.dump)}else{d=a.dump;e="";f=a.tag;h=0;for(c=d.length;h<c;h+=1)u(a,b,d[h],!1,!1)&&(0!==h&&(e+=","+(a.condenseFlow?"":" ")),e+=a.dump);a.tag=f;a.dump="["+e+"]";n&&(a.dump="&ref_"+g+" "+a.dump)}else if("[object String]"===c)"?"!==a.tag&&l(a,a.dump,b,h);else{if(a.skipInvalid)return!1;throw new G("unacceptable kind of an object to dump "+c);}null!==a.tag&&"?"!==a.tag&&(a.dump="!<"+a.tag+"> "+a.dump)}return!0}function v(a,b,d){var f;if(null!==a&&"object"===("undefined"===typeof a?"undefined":
_typeof2(a))){var e=b.indexOf(a);if(-1!==e)-1===d.indexOf(e)&&d.push(e);else if(b.push(a),Array.isArray(a))for(e=0,f=a.length;e<f;e+=1)v(a[e],b,d);else{var h=Object.keys(a);e=0;for(f=h.length;e<f;e+=1)v(a[h[e]],b,d)}}}function w(a,d){d=d||{};d=new b(d);if(!d.noRefs){var f=[],e=[],h;v(a,f,e);var c=0;for(h=e.length;c<h;c+=1)d.duplicates.push(f[e[c]]);d.usedDuplicates=Array(h)}return u(d,0,a,!0,!0)?d.dump+"\n":""}var B=a("./common"),G=a("./exception"),E=a("./schema/default_full"),y=a("./schema/default_safe"),
J=Object.prototype.toString,A=Object.prototype.hasOwnProperty,D={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},H="y Y yes Yes YES on On ON n N no No NO off Off OFF".split(" ");c.exports.dump=w;c.exports.safeDump=function(a,b){return w(a,B.extend({schema:y},b))}},{"./common":19,"./exception":21,"./schema/default_full":26,"./schema/default_safe":27}],21:[function(a,c,g){function e(a,f){Error.call(this);this.name=
"YAMLException";this.reason=a;this.mark=f;this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"");Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;e.prototype.toString=function(a){var b=this.name+": ";b+=this.reason||"(unknown reason)";!a&&this.mark&&(b+=" "+this.mark.toString());return b};c.exports=e},{}],22:[function(a,c,g){function e(a){return 10===
a||13===a}function b(a){return 9===a||32===a}function f(a){return 9===a||32===a||10===a||13===a}function d(a){return 44===a||91===a||93===a||123===a||125===a}function h(a){return 48===a?"\x00":97===a?"\u0007":98===a?"\b":116===a?"\t":9===a?"\t":110===a?"\n":118===a?"\x0B":102===a?"\f":114===a?"\r":101===a?"\u001b":32===a?" ":34===a?'"':47===a?"/":92===a?"\\":78===a?"\u0085":95===a?"\u00a0":76===a?"\u2028":80===a?"\u2029":""}function k(a,b){this.input=a;this.filename=b.filename||null;this.schema=b.schema||
Q;this.onWarning=b.onWarning||null;this.legacy=b.legacy||!1;this.json=b.json||!1;this.listener=b.listener||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=a.length;this.lineIndent=this.lineStart=this.line=this.position=0;this.documents=[]}function l(a,b){return new I(b,new F(a.filename,a.input,a.position,a.line,a.position-a.lineStart))}function n(a,b){throw l(a,b);}function p(a,b){a.onWarning&&a.onWarning.call(null,l(a,b))}function q(a,b,d,
f){if(b<d){b=a.input.slice(b,d);if(f)for(f=0,d=b.length;f<d;f+=1){var e=b.charCodeAt(f);9===e||32<=e&&1114111>=e||n(a,"expected valid JSON character")}else K.test(b)&&n(a,"the stream contains non-printable characters");a.result+=b}}function m(a,b,d,f){var e;H.isObject(d)||n(a,"cannot merge mappings; the provided source object is unacceptable");a=Object.keys(d);var h=0;for(e=a.length;h<e;h+=1){var c=a[h];L.call(b,c)||(b[c]=d[c],f[c]=!0)}}function r(a,b,d,f,e,h,c,k){e=String(e);null===b&&(b={});if("tag:yaml.org,2002:merge"===
f)if(Array.isArray(h))for(f=0,e=h.length;f<e;f+=1)m(a,b,h[f],d);else m(a,b,h,d);else a.json||L.call(d,e)||!L.call(b,e)||(a.line=c||a.line,a.position=k||a.position,n(a,"duplicated mapping key")),b[e]=h,delete d[e];return b}function t(a){var b=a.input.charCodeAt(a.position);10===b?a.position++:13===b?(a.position++,10===a.input.charCodeAt(a.position)&&a.position++):n(a,"a line break is expected");a.line+=1;a.lineStart=a.position}function u(a,d,f){for(var h=0,c=a.input.charCodeAt(a.position);0!==c;){for(;b(c);)c=
a.input.charCodeAt(++a.position);if(d&&35===c){do c=a.input.charCodeAt(++a.position);while(10!==c&&13!==c&&0!==c)}if(e(c))for(t(a),c=a.input.charCodeAt(a.position),h++,a.lineIndent=0;32===c;)a.lineIndent++,c=a.input.charCodeAt(++a.position);else break}-1!==f&&0!==h&&a.lineIndent<f&&p(a,"deficient indentation");return h}function v(a){var b=a.position;var d=a.input.charCodeAt(b);return 45!==d&&46!==d||d!==a.input.charCodeAt(b+1)||d!==a.input.charCodeAt(b+2)||(d=a.input.charCodeAt(b+3),0!==d&&!f(d))?
!1:!0}function w(a,b){1===b?a.result+=" ":1<b&&(a.result+=H.repeat("\n",b-1))}function B(a,b){var d=a.tag,e=a.anchor,h=[],c=!1,k;null!==a.anchor&&(a.anchorMap[a.anchor]=h);for(k=a.input.charCodeAt(a.position);0!==k&&45===k;){var l=a.input.charCodeAt(a.position+1);if(!f(l))break;c=!0;a.position++;if(u(a,!0,-1)&&a.lineIndent<=b)h.push(null),k=a.input.charCodeAt(a.position);else if(l=a.line,y(a,b,3,!1,!0),h.push(a.result),u(a,!0,-1),k=a.input.charCodeAt(a.position),(a.line===l||a.lineIndent>b)&&0!==
k)n(a,"bad indentation of a sequence entry");else if(a.lineIndent<b)break}return c?(a.tag=d,a.anchor=e,a.kind="sequence",a.result=h,!0):!1}function G(a){var b=!1,d=!1;var e=a.input.charCodeAt(a.position);if(33!==e)return!1;null!==a.tag&&n(a,"duplication of a tag property");e=a.input.charCodeAt(++a.position);if(60===e)b=!0,e=a.input.charCodeAt(++a.position);else if(33===e){d=!0;var h="!!";e=a.input.charCodeAt(++a.position)}else h="!";var c=a.position;if(b){do e=a.input.charCodeAt(++a.position);while(0!==
e&&62!==e);if(a.position<a.length){var k=a.input.slice(c,a.position);a.input.charCodeAt(++a.position)}else n(a,"unexpected end of the stream within a verbatim tag")}else{for(;0!==e&&!f(e);)33===e&&(d?n(a,"tag suffix cannot contain exclamation marks"):(h=a.input.slice(c-1,a.position+1),N.test(h)||n(a,"named tag handle cannot contain such characters"),d=!0,c=a.position+1)),e=a.input.charCodeAt(++a.position);k=a.input.slice(c,a.position);R.test(k)&&n(a,"tag suffix cannot contain flow indicator characters")}k&&
!M.test(k)&&n(a,"tag name cannot contain such characters: "+k);b?a.tag=k:L.call(a.tagMap,h)?a.tag=a.tagMap[h]+k:"!"===h?a.tag="!"+k:"!!"===h?a.tag="tag:yaml.org,2002:"+k:n(a,'undeclared tag handle "'+h+'"');return!0}function E(a){var b;var e=a.input.charCodeAt(a.position);if(38!==e)return!1;null!==a.anchor&&n(a,"duplication of an anchor property");e=a.input.charCodeAt(++a.position);for(b=a.position;0!==e&&!f(e)&&!d(e);)e=a.input.charCodeAt(++a.position);a.position===b&&n(a,"name of an anchor node must contain at least one character");
a.anchor=a.input.slice(b,a.position);return!0}function y(a,h,c,k,l){var g,m,z=1,p=!1,R=!1;null!==a.listener&&a.listener("open",a);a.tag=null;a.anchor=null;a.kind=null;a.result=null;var A=g=m=4===c||3===c;k&&u(a,!0,-1)&&(p=!0,a.lineIndent>h?z=1:a.lineIndent===h?z=0:a.lineIndent<h&&(z=-1));if(1===z)for(;G(a)||E(a);)u(a,!0,-1)?(p=!0,m=A,a.lineIndent>h?z=1:a.lineIndent===h?z=0:a.lineIndent<h&&(z=-1)):m=!1;m&&(m=p||l);if(1===z||4===c)if(h=1===c||2===c?h:h+1,k=a.position-a.lineStart,1===z){if(m&&!(m=B(a,
k)))a:{A=a.tag;p=a.anchor;var K={},N={},D=null,P=null,M=null,x=!1,O=!1,I;null!==a.anchor&&(a.anchorMap[a.anchor]=K);for(I=a.input.charCodeAt(a.position);0!==I;){m=a.input.charCodeAt(a.position+1);z=a.line;l=a.position;if(63!==I&&58!==I||!f(m))if(y(a,h,2,!1,!0))if(a.line===z){for(I=a.input.charCodeAt(a.position);b(I);)I=a.input.charCodeAt(++a.position);if(58===I){I=a.input.charCodeAt(++a.position);f(I)||n(a,"a whitespace character is expected after the key-value separator within a block mapping");
x&&(r(a,K,N,D,P,null),M=null);O=!0;var C=x=!1;D=a.tag;P=a.result}else if(O)n(a,"can not read an implicit mapping pair; a colon is missed");else{a.tag=A;a.anchor=p;m=!0;break a}}else if(O)n(a,"can not read a block mapping entry; a multiline key may not be an implicit key");else{a.tag=A;a.anchor=p;m=!0;break a}else break;else 63===I?(x&&(r(a,K,N,D,P,null),D=P=M=null),C=x=O=!0):x?(x=!1,C=!0):n(a,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),a.position+=
1,I=m;if(a.line===z||a.lineIndent>k)y(a,k,4,!0,C)&&(x?P=a.result:M=a.result),x||(r(a,K,N,D,P,M,z,l),D=P=M=null),u(a,!0,-1),I=a.input.charCodeAt(a.position);if(a.lineIndent>k&&0!==I)n(a,"bad indentation of a mapping entry");else if(a.lineIndent<k)break}x&&r(a,K,N,D,P,null);O&&(a.tag=A,a.anchor=p,a.kind="mapping",a.result=K);m=O}if(!(C=m))a:{p=!0;C=a.tag;m=a.anchor;A={};D=a.input.charCodeAt(a.position);if(91===D)z=93,l=!1,k=[];else if(123===D)z=125,l=!0,k={};else{C=!1;break a}null!==a.anchor&&(a.anchorMap[a.anchor]=
k);for(D=a.input.charCodeAt(++a.position);0!==D;){u(a,!0,h);D=a.input.charCodeAt(a.position);if(D===z){a.position++;a.tag=C;a.anchor=m;a.kind=l?"mapping":"sequence";a.result=k;C=!0;break a}else p||n(a,"missed comma between flow collection entries");N=null;p=K=!1;63===D&&(D=a.input.charCodeAt(a.position+1),f(D)&&(p=K=!0,a.position++,u(a,!0,h)));P=a.line;y(a,h,1,!1,!0);x=a.tag;M=a.result;u(a,!0,h);D=a.input.charCodeAt(a.position);!K&&a.line!==P||58!==D||(p=!0,a.input.charCodeAt(++a.position),u(a,!0,
h),y(a,h,1,!1,!0),N=a.result);l?r(a,k,A,x,M,N):p?k.push(r(a,null,A,x,M,N)):k.push(M);u(a,!0,h);D=a.input.charCodeAt(a.position);44===D?(p=!0,D=a.input.charCodeAt(++a.position)):p=!1}n(a,"unexpected end of the stream within a flow collection");C=void 0}if(C)R=!0;else{if(g)a:{C=1;m=k=!1;z=h;l=0;A=!1;p=a.input.charCodeAt(a.position);if(124===p)g=!1;else if(62===p)g=!0;else{g=!1;break a}a.kind="scalar";for(a.result="";0!==p;)if(p=a.input.charCodeAt(++a.position),43===p||45===p)1===C?C=43===p?3:2:n(a,
"repeat of a chomping mode identifier");else if(0<=(K=48<=p&&57>=p?p-48:-1))0===K?n(a,"bad explicit indentation width of a block scalar; it cannot be less than one"):m?n(a,"repeat of an indentation width identifier"):(z=h+K-1,m=!0);else break;if(b(p)){do p=a.input.charCodeAt(++a.position);while(b(p));if(35===p){do p=a.input.charCodeAt(++a.position);while(!e(p)&&0!==p)}}for(;0!==p;){t(a);a.lineIndent=0;for(p=a.input.charCodeAt(a.position);(!m||a.lineIndent<z)&&32===p;)a.lineIndent++,p=a.input.charCodeAt(++a.position);
!m&&a.lineIndent>z&&(z=a.lineIndent);if(e(p))l++;else{if(a.lineIndent<z){3===C?a.result+=H.repeat("\n",k?1+l:l):1===C&&k&&(a.result+="\n");break}g?b(p)?(A=!0,a.result+=H.repeat("\n",k?1+l:l)):A?(A=!1,a.result+=H.repeat("\n",l+1)):0===l?k&&(a.result+=" "):a.result+=H.repeat("\n",l):a.result+=H.repeat("\n",k?1+l:l);m=k=!0;l=0;for(K=a.position;!e(p)&&0!==p;)p=a.input.charCodeAt(++a.position);q(a,K,a.position,!1)}}g=!0}if(!g)a:if(g=a.input.charCodeAt(a.position),39!==g)g=!1;else{a.kind="scalar";a.result=
"";a.position++;for(C=k=a.position;0!==(g=a.input.charCodeAt(a.position));)if(39===g)if(q(a,C,a.position,!0),g=a.input.charCodeAt(++a.position),39===g)C=a.position,a.position++,k=a.position;else{g=!0;break a}else e(g)?(q(a,C,k,!0),w(a,u(a,!1,h)),C=k=a.position):a.position===a.lineStart&&v(a)?n(a,"unexpected end of the document within a single quoted scalar"):(a.position++,k=a.position);n(a,"unexpected end of the stream within a single quoted scalar");g=void 0}if(!g)a:if(m=a.input.charCodeAt(a.position),
34!==m)g=!1;else{a.kind="scalar";a.result="";a.position++;for(g=C=a.position;0!==(m=a.input.charCodeAt(a.position));)if(34===m){q(a,g,a.position,!0);a.position++;g=!0;break a}else if(92===m){q(a,g,a.position,!0);m=a.input.charCodeAt(++a.position);if(e(m))u(a,!1,h);else if(256>m&&T[m])a.result+=S[m],a.position++;else if(0<(k=120===m?2:117===m?4:85===m?8:0)){C=k;for(g=0;0<C;C--)m=a.input.charCodeAt(++a.position),48<=m&&57>=m?m-=48:(m|=32,m=97<=m&&102>=m?m-97+10:-1),0<=(k=m)?g=(g<<4)+k:n(a,"expected hexadecimal character");
C=a.result;g=65535>=g?String.fromCharCode(g):String.fromCharCode((g-65536>>10)+55296,(g-65536&1023)+56320);a.result=C+g;a.position++}else n(a,"unknown escape sequence");g=C=a.position}else e(m)?(q(a,g,C,!0),w(a,u(a,!1,h)),g=C=a.position):a.position===a.lineStart&&v(a)?n(a,"unexpected end of the document within a double quoted scalar"):(a.position++,C=a.position);n(a,"unexpected end of the stream within a double quoted scalar");g=void 0}if(g)R=!0;else{C=a.input.charCodeAt(a.position);if(42!==C)g=!1;
else{C=a.input.charCodeAt(++a.position);for(g=a.position;0!==C&&!f(C)&&!d(C);)C=a.input.charCodeAt(++a.position);a.position===g&&n(a,"name of an alias node must contain at least one character");g=a.input.slice(g,a.position);a.anchorMap.hasOwnProperty(g)||n(a,'unidentified alias "'+g+'"');a.result=a.anchorMap[g];u(a,!0,-1);g=!0}if(g)R=!0,null===a.tag&&null===a.anchor||n(a,"alias node should not have any properties");else{a:if(c=1===c,k=a.kind,m=a.result,l=a.input.charCodeAt(a.position),f(l)||d(l)||
35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)var F=!1;else{if(63===l||45===l)if(A=a.input.charCodeAt(a.position+1),f(A)||c&&d(A)){F=!1;break a}a.kind="scalar";a.result="";g=C=a.position;for(z=!1;0!==l;){if(58===l){if(A=a.input.charCodeAt(a.position+1),f(A)||c&&d(A))break}else if(35===l){if(A=a.input.charCodeAt(a.position-1),f(A))break}else if(a.position===a.lineStart&&v(a)||c&&d(l))break;else if(e(l))if(F=a.line,z=a.lineStart,l=a.lineIndent,u(a,!1,-1),a.lineIndent>=
h){z=!0;l=a.input.charCodeAt(a.position);continue}else{a.position=C;a.line=F;a.lineStart=z;a.lineIndent=l;break}z&&(q(a,g,C,!1),w(a,a.line-F),g=C=a.position,z=!1);b(l)||(C=a.position+1);l=a.input.charCodeAt(++a.position)}q(a,g,C,!1);a.result?F=!0:(a.kind=k,a.result=m,F=!1)}F&&(R=!0,null===a.tag&&(a.tag="?"))}}null!==a.anchor&&(a.anchorMap[a.anchor]=a.result)}}else 0===z&&(R=m&&B(a,k));if(null!==a.tag&&"!"!==a.tag)if("?"===a.tag)for(F=0,h=a.implicitTypes.length;F<h;F+=1){if(c=a.implicitTypes[F],c.resolve(a.result)){a.result=
c.construct(a.result);a.tag=c.tag;null!==a.anchor&&(a.anchorMap[a.anchor]=a.result);break}}else L.call(a.typeMap[a.kind||"fallback"],a.tag)?(c=a.typeMap[a.kind||"fallback"][a.tag],null!==a.result&&c.kind!==a.kind&&n(a,"unacceptable node kind for !<"+a.tag+'> tag; it should be "'+c.kind+'", not "'+a.kind+'"'),c.resolve(a.result)?(a.result=c.construct(a.result),null!==a.anchor&&(a.anchorMap[a.anchor]=a.result)):n(a,"cannot resolve a node with !<"+a.tag+"> explicit tag")):n(a,"unknown tag !<"+a.tag+
">");null!==a.listener&&a.listener("close",a);return null!==a.tag||null!==a.anchor||R}function J(a,d){a=String(a);d=d||{};0!==a.length&&(10!==a.charCodeAt(a.length-1)&&13!==a.charCodeAt(a.length-1)&&(a+="\n"),65279===a.charCodeAt(0)&&(a=a.slice(1)));a=new k(a,d);for(a.input+="\x00";32===a.input.charCodeAt(a.position);)a.lineIndent+=1,a.position+=1;for(;a.position<a.length-1;){var h,c=a,l=c.position,g=!1;c.version=null;c.checkLineBreaks=c.legacy;c.tagMap={};for(c.anchorMap={};0!==c.input.charCodeAt(c.position);){u(c,
!0,-1);d=c.input.charCodeAt(c.position);if(0<c.lineIndent||37!==d)break;g=!0;d=c.input.charCodeAt(++c.position);for(h=c.position;0!==d&&!f(d);)d=c.input.charCodeAt(++c.position);var m=c.input.slice(h,c.position);var r=[];for(1>m.length&&n(c,"directive name must not be less than one character in length");0!==d;){for(;b(d);)d=c.input.charCodeAt(++c.position);if(35===d){do d=c.input.charCodeAt(++c.position);while(0!==d&&!e(d));break}if(e(d))break;for(h=c.position;0!==d&&!f(d);)d=c.input.charCodeAt(++c.position);
r.push(c.input.slice(h,c.position))}0!==d&&t(c);if(L.call(U,m))U[m](c,m,r);else p(c,'unknown document directive "'+m+'"')}u(c,!0,-1);0===c.lineIndent&&45===c.input.charCodeAt(c.position)&&45===c.input.charCodeAt(c.position+1)&&45===c.input.charCodeAt(c.position+2)?(c.position+=3,u(c,!0,-1)):g&&n(c,"directives end mark is expected");y(c,c.lineIndent-1,4,!1,!0);u(c,!0,-1);c.checkLineBreaks&&z.test(c.input.slice(l,c.position))&&p(c,"non-ASCII line breaks are interpreted as content");c.documents.push(c.result);
c.position===c.lineStart&&v(c)?46===c.input.charCodeAt(c.position)&&(c.position+=3,u(c,!0,-1)):c.position<c.length-1&&n(c,"end of the stream or a document separator is expected")}return a.documents}function A(a,b,d){a=J(a,d);var f;if("function"!==typeof b)return a;d=0;for(f=a.length;d<f;d+=1)b(a[d])}function D(a,b){a=J(a,b);if(0!==a.length){if(1===a.length)return a[0];throw new I("expected a single document in the stream, but found more");}}var H=a("./common"),I=a("./exception"),F=a("./mark"),x=a("./schema/default_safe"),
Q=a("./schema/default_full"),L=Object.prototype.hasOwnProperty,K=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,z=/[\x85\u2028\u2029]/,R=/[,\[\]\{\}]/,N=/^(?:!|!!|![a-z\-]+!)$/i,M=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,T=Array(256),S=Array(256);for(a=0;256>a;a++)T[a]=h(a)?1:0,S[a]=h(a);var U={YAML:function(a,b,d){null!==a.version&&n(a,"duplication of %YAML directive");
1!==d.length&&n(a,"YAML directive accepts exactly one argument");var f=/^([0-9]+)\.([0-9]+)$/.exec(d[0]);null===f&&n(a,"ill-formed argument of the YAML directive");b=parseInt(f[1],10);f=parseInt(f[2],10);1!==b&&n(a,"unacceptable YAML version of the document");a.version=d[0];a.checkLineBreaks=2>f;1!==f&&2!==f&&p(a,"unsupported YAML version of the document")},TAG:function(a,b,d){2!==d.length&&n(a,"TAG directive accepts exactly two arguments");b=d[0];d=d[1];N.test(b)||n(a,"ill-formed tag handle (first argument) of the TAG directive");
L.call(a.tagMap,b)&&n(a,'there is a previously declared suffix for "'+b+'" tag handle');M.test(d)||n(a,"ill-formed tag prefix (second argument) of the TAG directive");a.tagMap[b]=d}};c.exports.loadAll=A;c.exports.load=D;c.exports.safeLoadAll=function(a,b,d){if("function"===typeof b)A(a,b,H.extend({schema:x},d));else return A(a,H.extend({schema:x},d))};c.exports.safeLoad=function(a,b){return D(a,H.extend({schema:x},b))}},{"./common":19,"./exception":21,"./mark":23,"./schema/default_full":26,"./schema/default_safe":27}],
23:[function(a,c,g){function e(a,b,e,c,l){this.name=a;this.buffer=b;this.position=e;this.line=c;this.column=l}var b=a("./common");e.prototype.getSnippet=function(a,d){var f,e;if(!this.buffer)return null;a=a||4;d=d||75;var c="";for(f=this.position;0<f&&-1==="\x00\r\n\u0085\u2028\u2029".indexOf(this.buffer.charAt(f-1));)if(--f,this.position-f>d/2-1){c=" ... ";f+=5;break}var g="";for(e=this.position;e<this.buffer.length&&-1==="\x00\r\n\u0085\u2028\u2029".indexOf(this.buffer.charAt(e));)if(e+=1,e-this.position>
d/2-1){g=" ... ";e-=5;break}d=this.buffer.slice(f,e);return b.repeat(" ",a)+c+d+g+"\n"+b.repeat(" ",a+this.position-f+c.length)+"^"};e.prototype.toString=function(a){var b="";this.name&&(b+='in "'+this.name+'" ');b+="at line "+(this.line+1)+", column "+(this.column+1);a||(a=this.getSnippet())&&(b+=":\n"+a);return b};c.exports=e},{"./common":19}],24:[function(a,c,g){function e(a,b,d){var f=[];a.include.forEach(function(a){d=e(a,b,d)});a[b].forEach(function(a){d.forEach(function(b,d){b.tag===a.tag&&
b.kind===a.kind&&f.push(d)});d.push(a)});return d.filter(function(a,b){return-1===f.indexOf(b)})}function b(){function a(a){b[a.kind][a.tag]=b.fallback[a.tag]=a}var b={scalar:{},sequence:{},mapping:{},fallback:{}},d;var f=0;for(d=arguments.length;f<d;f+=1)arguments[f].forEach(a);return b}function f(a){this.include=a.include||[];this.implicit=a.implicit||[];this.explicit=a.explicit||[];this.implicit.forEach(function(a){if(a.loadKind&&"scalar"!==a.loadKind)throw new h("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
});this.compiledImplicit=e(this,"implicit",[]);this.compiledExplicit=e(this,"explicit",[]);this.compiledTypeMap=b(this.compiledImplicit,this.compiledExplicit)}var d=a("./common"),h=a("./exception"),k=a("./type");f.DEFAULT=null;f.create=function(){switch(arguments.length){case 1:var a=f.DEFAULT;var b=arguments[0];break;case 2:a=arguments[0];b=arguments[1];break;default:throw new h("Wrong number of arguments for Schema.create function");}a=d.toArray(a);b=d.toArray(b);if(!a.every(function(a){return a instanceof
f}))throw new h("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!b.every(function(a){return a instanceof k}))throw new h("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new f({include:a,explicit:b})};c.exports=f},{"./common":19,"./exception":21,"./type":30}],25:[function(a,c,g){g=a("../schema");c.exports=new g({include:[a("./json")]})},{"../schema":24,"./json":29}],26:[function(a,c,g){g=a("../schema");c.exports=
g.DEFAULT=new g({include:[a("./default_safe")],explicit:[a("../type/js/undefined"),a("../type/js/regexp"),a("../type/js/function")]})},{"../schema":24,"../type/js/function":35,"../type/js/regexp":36,"../type/js/undefined":37,"./default_safe":27}],27:[function(a,c,g){g=a("../schema");c.exports=new g({include:[a("./core")],implicit:[a("../type/timestamp"),a("../type/merge")],explicit:[a("../type/binary"),a("../type/omap"),a("../type/pairs"),a("../type/set")]})},{"../schema":24,"../type/binary":31,"../type/merge":39,
"../type/omap":41,"../type/pairs":42,"../type/set":44,"../type/timestamp":46,"./core":25}],28:[function(a,c,g){g=a("../schema");c.exports=new g({explicit:[a("../type/str"),a("../type/seq"),a("../type/map")]})},{"../schema":24,"../type/map":38,"../type/seq":43,"../type/str":45}],29:[function(a,c,g){g=a("../schema");c.exports=new g({include:[a("./failsafe")],implicit:[a("../type/null"),a("../type/bool"),a("../type/int"),a("../type/float")]})},{"../schema":24,"../type/bool":32,"../type/float":33,"../type/int":34,
"../type/null":40,"./failsafe":28}],30:[function(a,c,g){function e(a){var b={};null!==a&&Object.keys(a).forEach(function(d){a[d].forEach(function(a){b[String(a)]=d})});return b}var b=a("./exception"),f="kind resolve construct instanceOf predicate represent defaultStyle styleAliases".split(" "),d=["scalar","sequence","mapping"];c.exports=function(a,c){c=c||{};Object.keys(c).forEach(function(d){if(-1===f.indexOf(d))throw new b('Unknown option "'+d+'" is met in definition of "'+a+'" YAML type.');});
this.tag=a;this.kind=c.kind||null;this.resolve=c.resolve||function(){return!0};this.construct=c.construct||function(a){return a};this.instanceOf=c.instanceOf||null;this.predicate=c.predicate||null;this.represent=c.represent||null;this.defaultStyle=c.defaultStyle||null;this.styleAliases=e(c.styleAliases||null);if(-1===d.indexOf(this.kind))throw new b('Unknown kind "'+this.kind+'" is specified for "'+a+'" YAML type.');}},{"./exception":21}],31:[function(a,c,g){try{var e=a("buffer").Buffer}catch(b){}a=
a("../type");c.exports=new a("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(a){if(null===a)return!1;var b,d=0,e=a.length;for(b=0;b<e;b++){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r".indexOf(a.charAt(b));if(!(64<c)){if(0>c)return!1;d+=6}}return 0===d%8},construct:function(a){var b,d=a.replace(/[\r\n=]/g,""),c=d.length;a=0;var k=[];for(b=0;b<c;b++)0===b%4&&b&&(k.push(a>>16&255),k.push(a>>8&255),k.push(a&255)),a=a<<6|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r".indexOf(d.charAt(b));
b=c%4*6;0===b?(k.push(a>>16&255),k.push(a>>8&255),k.push(a&255)):18===b?(k.push(a>>10&255),k.push(a>>2&255)):12===b&&k.push(a>>4&255);return e?e.from?e.from(k):new e(k):k},predicate:function(a){return e&&e.isBuffer(a)},represent:function(a){var b="",d=0,e,c=a.length;for(e=0;e<c;e++)0===e%3&&e&&(b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>18&63],b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>12&63],b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>
6&63],b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d&63]),d=(d<<8)+a[e];a=c%3;0===a?(b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>18&63],b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>12&63],b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>6&63],b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d&63]):2===a?(b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>
10&63],b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>4&63],b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d<<2&63],b+="="):1===a&&(b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d>>2&63],b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"[d<<4&63],b+="==");return b}})},{"../type":30}],32:[function(a,c,g){a=a("../type");c.exports=new a("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(a){if(null===
a)return!1;var b=a.length;return 4===b&&("true"===a||"True"===a||"TRUE"===a)||5===b&&("false"===a||"False"===a||"FALSE"===a)},construct:function(a){return"true"===a||"True"===a||"TRUE"===a},predicate:function(a){return"[object Boolean]"===Object.prototype.toString.call(a)},represent:{lowercase:function(a){return a?"true":"false"},uppercase:function(a){return a?"TRUE":"FALSE"},camelcase:function(a){return a?"True":"False"}},defaultStyle:"lowercase"})},{"../type":30}],33:[function(a,c,g){var e=a("../common");
a=a("../type");var b=/^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*|[-+]?\.(?:inf|Inf|INF)|\.(?:nan|NaN|NAN))$/,f=/^[-+]?[0-9]+e/;c.exports=new a("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return null!==a&&b.test(a)&&"_"!==a[a.length-1]?!0:!1},construct:function(a){var b=a.replace(/_/g,"").toLowerCase();a="-"===b[0]?-1:1;var d=[];0<="+-".indexOf(b[0])&&(b=b.slice(1));if(".inf"===b)return 1===
a?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(".nan"===b)return NaN;if(0<=b.indexOf(":")){b.split(":").forEach(function(a){d.unshift(parseFloat(a,10))});b=0;var f=1;d.forEach(function(a){b+=a*f;f*=60});return a*b}return a*parseFloat(b,10)},predicate:function(a){return"[object Number]"===Object.prototype.toString.call(a)&&(0!==a%1||e.isNegativeZero(a))},represent:function(a,b){if(isNaN(a))switch(b){case "lowercase":return".nan";case "uppercase":return".NAN";case "camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===
a)switch(b){case "lowercase":return".inf";case "uppercase":return".INF";case "camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(b){case "lowercase":return"-.inf";case "uppercase":return"-.INF";case "camelcase":return"-.Inf"}else if(e.isNegativeZero(a))return"-0.0";a=a.toString(10);return f.test(a)?a.replace("e",".e"):a},defaultStyle:"lowercase"})},{"../common":19,"../type":30}],34:[function(a,c,g){var e=a("../common");a=a("../type");c.exports=new a("tag:yaml.org,2002:int",{kind:"scalar",
resolve:function(a){if(null===a)return!1;var b=a.length,d=0,e=!1;if(!b)return!1;var c=a[d];if("-"===c||"+"===c)c=a[++d];if("0"===c){if(d+1===b)return!0;c=a[++d];if("b"===c){for(d++;d<b;d++)if(c=a[d],"_"!==c){if("0"!==c&&"1"!==c)return!1;e=!0}return e&&"_"!==c}if("x"===c){for(d++;d<b;d++)if(c=a[d],"_"!==c){e=a.charCodeAt(d);if(!(48<=e&&57>=e||65<=e&&70>=e||97<=e&&102>=e))return!1;e=!0}return e&&"_"!==c}for(;d<b;d++)if(c=a[d],"_"!==c){e=a.charCodeAt(d);if(!(48<=e&&55>=e))return!1;e=!0}return e&&"_"!==
c}if("_"===c)return!1;for(;d<b;d++)if(c=a[d],"_"!==c){if(":"===c)break;e=a.charCodeAt(d);if(!(48<=e&&57>=e))return!1;e=!0}return e&&"_"!==c?":"!==c?!0:/^(:[0-5]?[0-9])+$/.test(a.slice(d)):!1},construct:function(a){var b=a;a=1;var d=[];-1!==b.indexOf("_")&&(b=b.replace(/_/g,""));var e=b[0];if("-"===e||"+"===e)"-"===e&&(a=-1),b=b.slice(1),e=b[0];if("0"===b)return 0;if("0"===e)return"b"===b[1]?a*parseInt(b.slice(2),2):"x"===b[1]?a*parseInt(b,16):a*parseInt(b,8);if(-1!==b.indexOf(":")){b.split(":").forEach(function(a){d.unshift(parseInt(a,
10))});b=0;var c=1;d.forEach(function(a){b+=a*c;c*=60});return a*b}return a*parseInt(b,10)},predicate:function(a){return"[object Number]"===Object.prototype.toString.call(a)&&0===a%1&&!e.isNegativeZero(a)},represent:{binary:function(a){return 0<=a?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return 0<=a?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return 0<=a?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},
defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":19,"../type":30}],35:[function(a,c,g){try{var e=a("esprima")}catch(b){"undefined"!==typeof window&&(e=window.esprima)}a=a("../../type");c.exports=new a("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(a){if(null===a)return!1;try{var b=e.parse("("+a+")",{range:!0});return"Program"!==b.type||1!==b.body.length||"ExpressionStatement"!==b.body[0].type||"ArrowFunctionExpression"!==
b.body[0].expression.type&&"FunctionExpression"!==b.body[0].expression.type?!1:!0}catch(d){return!1}},construct:function(a){a="("+a+")";var b=e.parse(a,{range:!0}),d=[];if("Program"!==b.type||1!==b.body.length||"ExpressionStatement"!==b.body[0].type||"ArrowFunctionExpression"!==b.body[0].expression.type&&"FunctionExpression"!==b.body[0].expression.type)throw Error("Failed to resolve function");b.body[0].expression.params.forEach(function(a){d.push(a.name)});var c=b.body[0].expression.body.range;return"BlockStatement"===
b.body[0].expression.body.type?new Function(d,a.slice(c[0]+1,c[1]-1)):new Function(d,"return "+a.slice(c[0],c[1]))},predicate:function(a){return"[object Function]"===Object.prototype.toString.call(a)},represent:function(a){return a.toString()}})},{"../../type":30}],36:[function(a,c,g){a=a("../../type");c.exports=new a("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(a){if(null===a||0===a.length)return!1;var b=/\/([gim]*)$/.exec(a),f="";return"/"===a[0]&&(b&&(f=b[1]),3<f.length||"/"!==
a[a.length-f.length-1])?!1:!0},construct:function(a){var b=a;a=/\/([gim]*)$/.exec(a);var f="";"/"===b[0]&&(a&&(f=a[1]),b=b.slice(1,b.length-f.length-1));return new RegExp(b,f)},predicate:function(a){return"[object RegExp]"===Object.prototype.toString.call(a)},represent:function(a){var b="/"+a.source+"/";a.global&&(b+="g");a.multiline&&(b+="m");a.ignoreCase&&(b+="i");return b}})},{"../../type":30}],37:[function(a,c,g){a=a("../../type");c.exports=new a("tag:yaml.org,2002:js/undefined",{kind:"scalar",
resolve:function(){return!0},construct:function(){},predicate:function(a){return"undefined"===typeof a},represent:function(){return""}})},{"../../type":30}],38:[function(a,c,g){a=a("../type");c.exports=new a("tag:yaml.org,2002:map",{kind:"mapping",construct:function(a){return null!==a?a:{}}})},{"../type":30}],39:[function(a,c,g){a=a("../type");c.exports=new a("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(a){return"<<"===a||null===a}})},{"../type":30}],40:[function(a,c,g){a=a("../type");
c.exports=new a("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(a){if(null===a)return!0;var b=a.length;return 1===b&&"~"===a||4===b&&("null"===a||"Null"===a||"NULL"===a)},construct:function(){return null},predicate:function(a){return null===a},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":30}],41:[function(a,c,g){a=a("../type");var e=Object.prototype.hasOwnProperty,
b=Object.prototype.toString;c.exports=new a("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(a){if(null===a)return!0;var d=[],f,c;var l=0;for(f=a.length;l<f;l+=1){var g=a[l];var p=!1;if("[object Object]"!==b.call(g))return!1;for(c in g)if(e.call(g,c)){if(p)return!1;p=!0}if(p&&-1===d.indexOf(c))d.push(c);else return!1}return!0},construct:function(a){return null!==a?a:[]}})},{"../type":30}],42:[function(a,c,g){a=a("../type");var e=Object.prototype.toString;c.exports=new a("tag:yaml.org,2002:pairs",
{kind:"sequence",resolve:function(a){if(null===a)return!0;var b;var d=Array(a.length);var c=0;for(b=a.length;c<b;c+=1){var k=a[c];if("[object Object]"!==e.call(k))return!1;var l=Object.keys(k);if(1!==l.length)return!1;d[c]=[l[0],k[l[0]]]}return!0},construct:function(a){if(null===a)return[];var b;var d=Array(a.length);var e=0;for(b=a.length;e<b;e+=1){var c=a[e];var l=Object.keys(c);d[e]=[l[0],c[l[0]]]}return d}})},{"../type":30}],43:[function(a,c,g){a=a("../type");c.exports=new a("tag:yaml.org,2002:seq",
{kind:"sequence",construct:function(a){return null!==a?a:[]}})},{"../type":30}],44:[function(a,c,g){a=a("../type");var e=Object.prototype.hasOwnProperty;c.exports=new a("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(a){if(null===a)return!0;for(var b in a)if(e.call(a,b)&&null!==a[b])return!1;return!0},construct:function(a){return null!==a?a:{}}})},{"../type":30}],45:[function(a,c,g){a=a("../type");c.exports=new a("tag:yaml.org,2002:str",{kind:"scalar",construct:function(a){return null!==
a?a:""}})},{"../type":30}],46:[function(a,c,g){a=a("../type");var e=/^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$/,b=/^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\.([0-9]*))?(?:[ \t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$/;c.exports=new a("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(a){return null===a?!1:null!==e.exec(a)||null!==b.exec(a)?!0:!1},construct:function(a){var d=0,f=null;var c=e.exec(a);null===
c&&(c=b.exec(a));if(null===c)throw Error("Date resolve error");a=+c[1];var l=+c[2]-1;var g=+c[3];if(!c[4])return new Date(Date.UTC(a,l,g));var p=+c[4];var q=+c[5];var m=+c[6];if(c[7]){for(d=c[7].slice(0,3);3>d.length;)d+="0";d=+d}if(c[9]){f=+c[10];var r=+(c[11]||0);f=6E4*(60*f+r);"-"===c[9]&&(f=-f)}c=new Date(Date.UTC(a,l,g,p,q,m,d));f&&c.setTime(c.getTime()-f);return c},instanceOf:Date,represent:function(a){return a.toISOString()}})},{"../type":30}],47:[function(a,c,g){function e(a,f){var b=[],e=
[];null==f&&(f=function(a,d){return b[0]===d?"[Circular ~]":"[Circular ~."+e.slice(0,b.indexOf(d)).join(".")+"]"});return function(d,c){if(0<b.length){var h=b.indexOf(this);~h?b.splice(h+1):b.push(this);~h?e.splice(h,Infinity,d):e.push(d);~b.indexOf(c)&&(c=f.call(this,d,c))}else b.push(c);return null==a?c:a.call(this,d,c)}}g=c.exports=function(a,f,d,c){return JSON.stringify(a,e(f,c),d)};g.getSerialize=e},{}],48:[function(a,c,g){g=a("./_getNative");a=a("./_root");a=g(a,"DataView");c.exports=a},{"./_getNative":112,
"./_root":149}],49:[function(a,c,g){function e(a){var b=-1,d=null==a?0:a.length;for(this.clear();++b<d;){var f=a[b];this.set(f[0],f[1])}}g=a("./_hashClear");var b=a("./_hashDelete"),f=a("./_hashGet"),d=a("./_hashHas");a=a("./_hashSet");e.prototype.clear=g;e.prototype["delete"]=b;e.prototype.get=f;e.prototype.has=d;e.prototype.set=a;c.exports=e},{"./_hashClear":118,"./_hashDelete":119,"./_hashGet":120,"./_hashHas":121,"./_hashSet":122}],50:[function(a,c,g){function e(a){var b=-1,d=null==a?0:a.length;
for(this.clear();++b<d;){var f=a[b];this.set(f[0],f[1])}}g=a("./_listCacheClear");var b=a("./_listCacheDelete"),f=a("./_listCacheGet"),d=a("./_listCacheHas");a=a("./_listCacheSet");e.prototype.clear=g;e.prototype["delete"]=b;e.prototype.get=f;e.prototype.has=d;e.prototype.set=a;c.exports=e},{"./_listCacheClear":130,"./_listCacheDelete":131,"./_listCacheGet":132,"./_listCacheHas":133,"./_listCacheSet":134}],51:[function(a,c,g){g=a("./_getNative");a=a("./_root");a=g(a,"Map");c.exports=a},{"./_getNative":112,
"./_root":149}],52:[function(a,c,g){function e(a){var b=-1,d=null==a?0:a.length;for(this.clear();++b<d;){var f=a[b];this.set(f[0],f[1])}}g=a("./_mapCacheClear");var b=a("./_mapCacheDelete"),f=a("./_mapCacheGet"),d=a("./_mapCacheHas");a=a("./_mapCacheSet");e.prototype.clear=g;e.prototype["delete"]=b;e.prototype.get=f;e.prototype.has=d;e.prototype.set=a;c.exports=e},{"./_mapCacheClear":135,"./_mapCacheDelete":136,"./_mapCacheGet":137,"./_mapCacheHas":138,"./_mapCacheSet":139}],53:[function(a,c,g){g=
a("./_getNative");a=a("./_root");a=g(a,"Promise");c.exports=a},{"./_getNative":112,"./_root":149}],54:[function(a,c,g){g=a("./_getNative");a=a("./_root");a=g(a,"Set");c.exports=a},{"./_getNative":112,"./_root":149}],55:[function(a,c,g){function e(a){var d=-1,f=null==a?0:a.length;for(this.__data__=new b;++d<f;)this.add(a[d])}var b=a("./_MapCache");g=a("./_setCacheAdd");a=a("./_setCacheHas");e.prototype.add=e.prototype.push=g;e.prototype.has=a;c.exports=e},{"./_MapCache":52,"./_setCacheAdd":150,"./_setCacheHas":151}],
56:[function(a,c,g){function e(a){this.size=(this.__data__=new b(a)).size}var b=a("./_ListCache");g=a("./_stackClear");var f=a("./_stackDelete"),d=a("./_stackGet"),h=a("./_stackHas");a=a("./_stackSet");e.prototype.clear=g;e.prototype["delete"]=f;e.prototype.get=d;e.prototype.has=h;e.prototype.set=a;c.exports=e},{"./_ListCache":50,"./_stackClear":155,"./_stackDelete":156,"./_stackGet":157,"./_stackHas":158,"./_stackSet":159}],57:[function(a,c,g){a=a("./_root").Symbol;c.exports=a},{"./_root":149}],
58:[function(a,c,g){a=a("./_root").Uint8Array;c.exports=a},{"./_root":149}],59:[function(a,c,g){g=a("./_getNative");a=a("./_root");a=g(a,"WeakMap");c.exports=a},{"./_getNative":112,"./_root":149}],60:[function(a,c,g){c.exports=function(a,b,f){switch(f.length){case 0:return a.call(b);case 1:return a.call(b,f[0]);case 2:return a.call(b,f[0],f[1]);case 3:return a.call(b,f[0],f[1],f[2])}return a.apply(b,f)}},{}],61:[function(a,c,g){c.exports=function(a,b){for(var f=-1,d=null==a?0:a.length;++f<d;)if(!b(a[f],
f,a))return!1;return!0}},{}],62:[function(a,c,g){c.exports=function(a,b){for(var f=-1,d=null==a?0:a.length,e=0,c=[];++f<d;){var g=a[f];b(g,f,a)&&(c[e++]=g)}return c}},{}],63:[function(a,c,g){var e=a("./_baseTimes"),b=a("./isArguments"),f=a("./isArray"),d=a("./isBuffer"),h=a("./_isIndex"),k=a("./isTypedArray"),l=Object.prototype.hasOwnProperty;c.exports=function(a,c){var g=f(a),m=!g&&b(a),n=!g&&!m&&d(a),t=!g&&!m&&!n&&k(a);m=(g=g||m||n||t)?e(a.length,String):[];var p=m.length,v;for(v in a)!c&&!l.call(a,
v)||g&&("length"==v||n&&("offset"==v||"parent"==v)||t&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||h(v,p))||m.push(v);return m}},{"./_baseTimes":94,"./_isIndex":123,"./isArguments":171,"./isArray":172,"./isBuffer":174,"./isTypedArray":181}],64:[function(a,c,g){c.exports=function(a,b){for(var f=-1,d=null==a?0:a.length,e=Array(d);++f<d;)e[f]=b(a[f],f,a);return e}},{}],65:[function(a,c,g){c.exports=function(a,b){for(var f=-1,d=b.length,e=a.length;++f<d;)a[e+f]=b[f];return a}},{}],66:[function(a,
c,g){c.exports=function(a,b){for(var f=-1,d=null==a?0:a.length;++f<d;)if(b(a[f],f,a))return!0;return!1}},{}],67:[function(a,c,g){var e=a("./_baseAssignValue"),b=a("./eq"),f=Object.prototype.hasOwnProperty;c.exports=function(a,c,k){var d=a[c];f.call(a,c)&&b(d,k)&&(void 0!==k||c in a)||e(a,c,k)}},{"./_baseAssignValue":70,"./eq":166}],68:[function(a,c,g){var e=a("./eq");c.exports=function(a,f){for(var b=a.length;b--;)if(e(a[b][0],f))return b;return-1}},{"./eq":166}],69:[function(a,c,g){var e=a("./_copyObject"),
b=a("./keys");c.exports=function(a,d){return a&&e(d,b(d),a)}},{"./_copyObject":99,"./keys":182}],70:[function(a,c,g){var e=a("./_defineProperty");c.exports=function(a,f,d){"__proto__"==f&&e?e(a,f,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[f]=d}},{"./_defineProperty":104}],71:[function(a,c,g){var e=a("./isObject"),b=Object.create;a=function(){function a(){}return function(d){if(!e(d))return{};if(b)return b(d);a.prototype=d;d=new a;a.prototype=void 0;return d}}();c.exports=a},{"./isObject":178}],
72:[function(a,c,g){g=a("./_baseForOwn");a=a("./_createBaseEach")(g);c.exports=a},{"./_baseForOwn":75,"./_createBaseEach":102}],73:[function(a,c,g){var e=a("./_baseEach");c.exports=function(a,f){var b=!0;e(a,function(a,d,e){return b=!!f(a,d,e)});return b}},{"./_baseEach":72}],74:[function(a,c,g){a=a("./_createBaseFor")();c.exports=a},{"./_createBaseFor":103}],75:[function(a,c,g){var e=a("./_baseFor"),b=a("./keys");c.exports=function(a,d){return a&&e(a,d,b)}},{"./_baseFor":74,"./keys":182}],76:[function(a,
c,g){var e=a("./_castPath"),b=a("./_toKey");c.exports=function(a,d){d=e(d,a);for(var f=0,c=d.length;null!=a&&f<c;)a=a[b(d[f++])];return f&&f==c?a:void 0}},{"./_castPath":98,"./_toKey":161}],77:[function(a,c,g){var e=a("./_arrayPush"),b=a("./isArray");c.exports=function(a,d,c){d=d(a);return b(a)?d:e(d,c(a))}},{"./_arrayPush":65,"./isArray":172}],78:[function(a,c,g){g=a("./_Symbol");var e=a("./_getRawTag"),b=a("./_objectToString"),f=g?g.toStringTag:void 0;c.exports=function(a){return null==a?void 0===
a?"[object Undefined]":"[object Null]":f&&f in Object(a)?e(a):b(a)}},{"./_Symbol":57,"./_getRawTag":113,"./_objectToString":146}],79:[function(a,c,g){c.exports=function(a,b){return null!=a&&b in Object(a)}},{}],80:[function(a,c,g){var e=a("./_baseGetTag"),b=a("./isObjectLike");c.exports=function(a){return b(a)&&"[object Arguments]"==e(a)}},{"./_baseGetTag":78,"./isObjectLike":179}],81:[function(a,c,g){function e(a,c,g,l,n){return a===c?!0:null==a||null==c||!f(a)&&!f(c)?a!==a&&c!==c:b(a,c,g,l,e,n)}
var b=a("./_baseIsEqualDeep"),f=a("./isObjectLike");c.exports=e},{"./_baseIsEqualDeep":82,"./isObjectLike":179}],82:[function(a,c,g){var e=a("./_Stack"),b=a("./_equalArrays"),f=a("./_equalByTag"),d=a("./_equalObjects"),h=a("./_getTag"),k=a("./isArray"),l=a("./isBuffer"),n=a("./isTypedArray"),p=Object.prototype.hasOwnProperty;c.exports=function(a,c,g,t,u,v){var m=k(a),r=k(c),q=m?"[object Array]":h(a),E=r?"[object Array]":h(c);q="[object Arguments]"==q?"[object Object]":q;E="[object Arguments]"==E?
"[object Object]":E;var y="[object Object]"==q;r="[object Object]"==E;if((E=q==E)&&l(a)){if(!l(c))return!1;m=!0;y=!1}if(E&&!y)return v||(v=new e),m||n(a)?b(a,c,g,t,u,v):f(a,c,q,g,t,u,v);if(!(g&1)&&(m=y&&p.call(a,"__wrapped__"),q=r&&p.call(c,"__wrapped__"),m||q))return a=m?a.value():a,c=q?c.value():c,v||(v=new e),u(a,c,g,t,v);if(!E)return!1;v||(v=new e);return d(a,c,g,t,u,v)}},{"./_Stack":56,"./_equalArrays":105,"./_equalByTag":106,"./_equalObjects":107,"./_getTag":115,"./isArray":172,"./isBuffer":174,
"./isTypedArray":181}],83:[function(a,c,g){var e=a("./_Stack"),b=a("./_baseIsEqual");c.exports=function(a,d,c,g){var f=c.length,h=f,k=!g;if(null==a)return!h;for(a=Object(a);f--;){var q=c[f];if(k&&q[2]?q[1]!==a[q[0]]:!(q[0]in a))return!1}for(;++f<h;){q=c[f];var m=q[0],r=a[m],t=q[1];if(k&&q[2]){if(void 0===r&&!(m in a))return!1}else{q=new e;if(g)var u=g(r,t,m,a,d,q);if(void 0===u?!b(t,r,3,g,q):!u)return!1}}return!0}},{"./_Stack":56,"./_baseIsEqual":81}],84:[function(a,c,g){var e=a("./isFunction"),b=
a("./_isMasked"),f=a("./isObject"),d=a("./_toSource"),h=/^\[object .+?Constructor\]$/,k=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");c.exports=function(a){return!f(a)||b(a)?!1:(e(a)?k:h).test(d(a))}},{"./_isMasked":127,"./_toSource":162,"./isFunction":176,"./isObject":178}],85:[function(a,c,g){var e=a("./_baseGetTag"),b=a("./isLength"),f=a("./isObjectLike"),
d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0;d["[object Arguments]"]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d["[object Function]"]=d["[object Map]"]=d["[object Number]"]=d["[object Object]"]=d["[object RegExp]"]=
d["[object Set]"]=d["[object String]"]=d["[object WeakMap]"]=!1;c.exports=function(a){return f(a)&&b(a.length)&&!!d[e(a)]}},{"./_baseGetTag":78,"./isLength":177,"./isObjectLike":179}],86:[function(a,c,g){var e=a("./_baseMatches"),b=a("./_baseMatchesProperty"),f=a("./identity"),d=a("./isArray"),h=a("./property");c.exports=function(a){return"function"==typeof a?a:null==a?f:"object"==("undefined"===typeof a?"undefined":_typeof2(a))?d(a)?b(a[0],a[1]):e(a):h(a)}},{"./_baseMatches":88,"./_baseMatchesProperty":89,
"./identity":170,"./isArray":172,"./property":184}],87:[function(a,c,g){var e=a("./_isPrototype"),b=a("./_nativeKeys"),f=Object.prototype.hasOwnProperty;c.exports=function(a){if(!e(a))return b(a);var d=[],c;for(c in Object(a))f.call(a,c)&&"constructor"!=c&&d.push(c);return d}},{"./_isPrototype":128,"./_nativeKeys":144}],88:[function(a,c,g){var e=a("./_baseIsMatch"),b=a("./_getMatchData"),f=a("./_matchesStrictComparable");c.exports=function(a){var d=b(a);return 1==d.length&&d[0][2]?f(d[0][0],d[0][1]):
function(b){return b===a||e(b,a,d)}}},{"./_baseIsMatch":83,"./_getMatchData":111,"./_matchesStrictComparable":141}],89:[function(a,c,g){var e=a("./_baseIsEqual"),b=a("./get"),f=a("./hasIn"),d=a("./_isKey"),h=a("./_isStrictComparable"),k=a("./_matchesStrictComparable"),l=a("./_toKey");c.exports=function(a,c){return d(a)&&h(c)?k(l(a),c):function(d){var h=b(d,a);return void 0===h&&h===c?f(d,a):e(c,h,3)}}},{"./_baseIsEqual":81,"./_isKey":125,"./_isStrictComparable":129,"./_matchesStrictComparable":141,
"./_toKey":161,"./get":168,"./hasIn":169}],90:[function(a,c,g){c.exports=function(a){return function(b){return null==b?void 0:b[a]}}},{}],91:[function(a,c,g){var e=a("./_baseGet");c.exports=function(a){return function(b){return e(b,a)}}},{"./_baseGet":76}],92:[function(a,c,g){var e=a("./identity"),b=a("./_overRest"),f=a("./_setToString");c.exports=function(a,c){return f(b(a,c,e),a+"")}},{"./_overRest":148,"./_setToString":153,"./identity":170}],93:[function(a,c,g){var e=a("./constant"),b=a("./_defineProperty");
a=a("./identity");c.exports=b?function(a,d){return b(a,"toString",{configurable:!0,enumerable:!1,value:e(d),writable:!0})}:a},{"./_defineProperty":104,"./constant":164,"./identity":170}],94:[function(a,c,g){c.exports=function(a,b){for(var f=-1,d=Array(a);++f<a;)d[f]=b(f);return d}},{}],95:[function(a,c,g){function e(a){if("string"==typeof a)return a;if(f(a))return b(a,e)+"";if(d(a))return k?k.call(a):"";var c=a+"";return"0"==c&&1/a==-h?"-0":c}g=a("./_Symbol");var b=a("./_arrayMap"),f=a("./isArray"),
d=a("./isSymbol"),h=1/0,k=(a=g?g.prototype:void 0)?a.toString:void 0;c.exports=e},{"./_Symbol":57,"./_arrayMap":64,"./isArray":172,"./isSymbol":180}],96:[function(a,c,g){c.exports=function(a){return function(b){return a(b)}}},{}],97:[function(a,c,g){c.exports=function(a,b){return a.has(b)}},{}],98:[function(a,c,g){var e=a("./isArray"),b=a("./_isKey"),f=a("./_stringToPath"),d=a("./toString");c.exports=function(a,c){return e(a)?a:b(a,c)?[a]:f(d(a))}},{"./_isKey":125,"./_stringToPath":160,"./isArray":172,
"./toString":187}],99:[function(a,c,g){var e=a("./_assignValue"),b=a("./_baseAssignValue");c.exports=function(a,d,c,g){var f=!c;c||(c={});for(var h=-1,k=d.length;++h<k;){var q=d[h],m=g?g(c[q],a[q],q,c,a):void 0;void 0===m&&(m=a[q]);f?b(c,q,m):e(c,q,m)}return c}},{"./_assignValue":67,"./_baseAssignValue":70}],100:[function(a,c,g){a=a("./_root")["__core-js_shared__"];c.exports=a},{"./_root":149}],101:[function(a,c,g){var e=a("./_baseRest"),b=a("./_isIterateeCall");c.exports=function(a){return e(function(d,
f){var c=-1,e=f.length,h=1<e?f[e-1]:void 0,g=2<e?f[2]:void 0;h=3<a.length&&"function"==typeof h?(e--,h):void 0;g&&b(f[0],f[1],g)&&(h=3>e?void 0:h,e=1);for(d=Object(d);++c<e;)(g=f[c])&&a(d,g,c,h);return d})}},{"./_baseRest":92,"./_isIterateeCall":124}],102:[function(a,c,g){var e=a("./isArrayLike");c.exports=function(a,f){return function(b,c){if(null==b)return b;if(!e(b))return a(b,c);for(var d=b.length,h=f?d:-1,g=Object(b);(f?h--:++h<d)&&!1!==c(g[h],h,g););return b}}},{"./isArrayLike":173}],103:[function(a,
c,g){c.exports=function(a){return function(b,f,d){var c=-1,e=Object(b);d=d(b);for(var g=d.length;g--;){var n=d[a?g:++c];if(!1===f(e[n],n,e))break}return b}}},{}],104:[function(a,c,g){a=a("./_getNative");a:{try{var e=a(Object,"defineProperty");e({},"",{});var b=e;break a}catch(f){}b=void 0}c.exports=b},{"./_getNative":112}],105:[function(a,c,g){var e=a("./_SetCache"),b=a("./_arraySome"),f=a("./_cacheHas");c.exports=function(a,c,g,l,n,p){var d=g&1,h=a.length,k=c.length;if(h!=k&&!(d&&k>h))return!1;if((k=
p.get(a))&&p.get(c))return k==c;k=-1;var t=!0,u=g&2?new e:void 0;p.set(a,c);for(p.set(c,a);++k<h;){var v=a[k],w=c[k];if(l)var B=d?l(w,v,k,c,a,p):l(v,w,k,a,c,p);if(void 0!==B){if(B)continue;t=!1;break}if(u){if(!b(c,function(a,b){if(!f(u,b)&&(v===a||n(v,a,g,l,p)))return u.push(b)})){t=!1;break}}else if(v!==w&&!n(v,w,g,l,p)){t=!1;break}}p["delete"](a);p["delete"](c);return t}},{"./_SetCache":55,"./_arraySome":66,"./_cacheHas":97}],106:[function(a,c,g){g=a("./_Symbol");var e=a("./_Uint8Array"),b=a("./eq"),
f=a("./_equalArrays"),d=a("./_mapToArray"),h=a("./_setToArray"),k=(a=g?g.prototype:void 0)?a.valueOf:void 0;c.exports=function(a,c,g,q,m,r,t){switch(g){case "[object DataView]":if(a.byteLength!=c.byteLength||a.byteOffset!=c.byteOffset)break;a=a.buffer;c=c.buffer;case "[object ArrayBuffer]":if(a.byteLength!=c.byteLength||!r(new e(a),new e(c)))break;return!0;case "[object Boolean]":case "[object Date]":case "[object Number]":return b(+a,+c);case "[object Error]":return a.name==c.name&&a.message==c.message;
case "[object RegExp]":case "[object String]":return a==c+"";case "[object Map]":var l=d;case "[object Set]":l||(l=h);if(a.size!=c.size&&!(q&1))break;if(g=t.get(a))return g==c;q|=2;t.set(a,c);c=f(l(a),l(c),q,m,r,t);t["delete"](a);return c;case "[object Symbol]":if(k)return k.call(a)==k.call(c)}return!1}},{"./_Symbol":57,"./_Uint8Array":58,"./_equalArrays":105,"./_mapToArray":140,"./_setToArray":152,"./eq":166}],107:[function(a,c,g){var e=a("./_getAllKeys"),b=Object.prototype.hasOwnProperty;c.exports=
function(a,d,c,g,l,n){var f=c&1,h=e(a),k=h.length,r=e(d).length;if(k!=r&&!f)return!1;for(var t=k;t--;){var u=h[t];if(!(f?u in d:b.call(d,u)))return!1}if((r=n.get(a))&&n.get(d))return r==d;r=!0;n.set(a,d);n.set(d,a);for(var v=f;++t<k;){u=h[t];var w=a[u],B=d[u];if(g)var G=f?g(B,w,u,d,a,n):g(w,B,u,a,d,n);if(void 0===G?w!==B&&!l(w,B,c,g,n):!G){r=!1;break}v||(v="constructor"==u)}r&&!v&&(c=a.constructor,g=d.constructor,c!=g&&"constructor"in a&&"constructor"in d&&!("function"==typeof c&&c instanceof c&&
"function"==typeof g&&g instanceof g)&&(r=!1));n["delete"](a);n["delete"](d);return r}},{"./_getAllKeys":109}],108:[function(a,c,g){a="undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{};a="object"==("undefined"===typeof a?"undefined":_typeof2(a))&&a&&a.Object===Object&&a;c.exports=a},{}],109:[function(a,c,g){var e=a("./_baseGetAllKeys"),b=a("./_getSymbols"),f=a("./keys");c.exports=function(a){return e(a,f,b)}},{"./_baseGetAllKeys":77,"./_getSymbols":114,
"./keys":182}],110:[function(a,c,g){var e=a("./_isKeyable");c.exports=function(a,c){a=a.__data__;return e(c)?a["string"==typeof c?"string":"hash"]:a.map}},{"./_isKeyable":126}],111:[function(a,c,g){var e=a("./_isStrictComparable"),b=a("./keys");c.exports=function(a){for(var d=b(a),c=d.length;c--;){var f=d[c],g=a[f];d[c]=[f,g,e(g)]}return d}},{"./_isStrictComparable":129,"./keys":182}],112:[function(a,c,g){var e=a("./_baseIsNative"),b=a("./_getValue");c.exports=function(a,d){a=b(a,d);return e(a)?a:
void 0}},{"./_baseIsNative":84,"./_getValue":116}],113:[function(a,c,g){a=a("./_Symbol");g=Object.prototype;var e=g.hasOwnProperty,b=g.toString,f=a?a.toStringTag:void 0;c.exports=function(a){var d=e.call(a,f),c=a[f];try{a[f]=void 0;var g=!0}catch(p){}var n=b.call(a);g&&(d?a[f]=c:delete a[f]);return n}},{"./_Symbol":57}],114:[function(a,c,g){var e=a("./_arrayFilter");a=a("./stubArray");var b=Object.prototype.propertyIsEnumerable,f=Object.getOwnPropertySymbols;c.exports=f?function(a){if(null==a)return[];
a=Object(a);return e(f(a),function(d){return b.call(a,d)})}:a},{"./_arrayFilter":62,"./stubArray":185}],115:[function(a,c,g){g=a("./_DataView");var e=a("./_Map"),b=a("./_Promise"),f=a("./_Set"),d=a("./_WeakMap"),h=a("./_baseGetTag"),k=a("./_toSource"),l=k(g),n=k(e),p=k(b),q=k(f),m=k(d);a=h;if(g&&"[object DataView]"!=a(new g(new ArrayBuffer(1)))||e&&"[object Map]"!=a(new e)||b&&"[object Promise]"!=a(b.resolve())||f&&"[object Set]"!=a(new f)||d&&"[object WeakMap]"!=a(new d))a=function(a){var b=h(a);
if(a=(a="[object Object]"==b?a.constructor:void 0)?k(a):"")switch(a){case l:return"[object DataView]";case n:return"[object Map]";case p:return"[object Promise]";case q:return"[object Set]";case m:return"[object WeakMap]"}return b};c.exports=a},{"./_DataView":48,"./_Map":51,"./_Promise":53,"./_Set":54,"./_WeakMap":59,"./_baseGetTag":78,"./_toSource":162}],116:[function(a,c,g){c.exports=function(a,b){return null==a?void 0:a[b]}},{}],117:[function(a,c,g){var e=a("./_castPath"),b=a("./isArguments"),
f=a("./isArray"),d=a("./_isIndex"),h=a("./isLength"),k=a("./_toKey");c.exports=function(a,c,g){c=e(c,a);for(var l=-1,m=c.length,n=!1;++l<m;){var t=k(c[l]);if(!(n=null!=a&&g(a,t)))break;a=a[t]}if(n||++l!=m)return n;m=null==a?0:a.length;return!!m&&h(m)&&d(t,m)&&(f(a)||b(a))}},{"./_castPath":98,"./_isIndex":123,"./_toKey":161,"./isArguments":171,"./isArray":172,"./isLength":177}],118:[function(a,c,g){var e=a("./_nativeCreate");c.exports=function(){this.__data__=e?e(null):{};this.size=0}},{"./_nativeCreate":143}],
119:[function(a,c,g){c.exports=function(a){a=this.has(a)&&delete this.__data__[a];this.size-=a?1:0;return a}},{}],120:[function(a,c,g){var e=a("./_nativeCreate"),b=Object.prototype.hasOwnProperty;c.exports=function(a){var d=this.__data__;return e?(a=d[a],"__lodash_hash_undefined__"===a?void 0:a):b.call(d,a)?d[a]:void 0}},{"./_nativeCreate":143}],121:[function(a,c,g){var e=a("./_nativeCreate"),b=Object.prototype.hasOwnProperty;c.exports=function(a){var d=this.__data__;return e?void 0!==d[a]:b.call(d,
a)}},{"./_nativeCreate":143}],122:[function(a,c,g){var e=a("./_nativeCreate");c.exports=function(a,c){var b=this.__data__;this.size+=this.has(a)?0:1;b[a]=e&&void 0===c?"__lodash_hash_undefined__":c;return this}},{"./_nativeCreate":143}],123:[function(a,c,g){var e=/^(?:0|[1-9]\d*)$/;c.exports=function(a,c){var b="undefined"===typeof a?"undefined":_typeof2(a);c=null==c?9007199254740991:c;return!!c&&("number"==b||"symbol"!=b&&e.test(a))&&-1<a&&0==a%1&&a<c}},{}],124:[function(a,c,g){var e=a("./eq"),b=
a("./isArrayLike"),f=a("./_isIndex"),d=a("./isObject");c.exports=function(a,c,g){if(!d(g))return!1;var h="undefined"===typeof c?"undefined":_typeof2(c);return("number"==h?b(g)&&f(c,g.length):"string"==h&&c in g)?e(g[c],a):!1}},{"./_isIndex":123,"./eq":166,"./isArrayLike":173,"./isObject":178}],125:[function(a,c,g){var e=a("./isArray"),b=a("./isSymbol"),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,d=/^\w*$/;c.exports=function(a,c){if(e(a))return!1;var h="undefined"===typeof a?"undefined":_typeof2(a);
return"number"==h||"symbol"==h||"boolean"==h||null==a||b(a)?!0:d.test(a)||!f.test(a)||null!=c&&a in Object(c)}},{"./isArray":172,"./isSymbol":180}],126:[function(a,c,g){c.exports=function(a){var b="undefined"===typeof a?"undefined":_typeof2(a);return"string"==b||"number"==b||"symbol"==b||"boolean"==b?"__proto__"!==a:null===a}},{}],127:[function(a,c,g){var e=a("./_coreJsData"),b=function(){var a=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();c.exports=function(a){return!!b&&
b in a}},{"./_coreJsData":100}],128:[function(a,c,g){var e=Object.prototype;c.exports=function(a){var b=a&&a.constructor;return a===("function"==typeof b&&b.prototype||e)}},{}],129:[function(a,c,g){var e=a("./isObject");c.exports=function(a){return a===a&&!e(a)}},{"./isObject":178}],130:[function(a,c,g){c.exports=function(){this.__data__=[];this.size=0}},{}],131:[function(a,c,g){var e=a("./_assocIndexOf"),b=Array.prototype.splice;c.exports=function(a){var d=this.__data__;a=e(d,a);if(0>a)return!1;
a==d.length-1?d.pop():b.call(d,a,1);--this.size;return!0}},{"./_assocIndexOf":68}],132:[function(a,c,g){var e=a("./_assocIndexOf");c.exports=function(a){var b=this.__data__;a=e(b,a);return 0>a?void 0:b[a][1]}},{"./_assocIndexOf":68}],133:[function(a,c,g){var e=a("./_assocIndexOf");c.exports=function(a){return-1<e(this.__data__,a)}},{"./_assocIndexOf":68}],134:[function(a,c,g){var e=a("./_assocIndexOf");c.exports=function(a,c){var b=this.__data__,f=e(b,a);0>f?(++this.size,b.push([a,c])):b[f][1]=c;
return this}},{"./_assocIndexOf":68}],135:[function(a,c,g){var e=a("./_Hash"),b=a("./_ListCache"),f=a("./_Map");c.exports=function(){this.size=0;this.__data__={hash:new e,map:new (f||b),string:new e}}},{"./_Hash":49,"./_ListCache":50,"./_Map":51}],136:[function(a,c,g){var e=a("./_getMapData");c.exports=function(a){a=e(this,a)["delete"](a);this.size-=a?1:0;return a}},{"./_getMapData":110}],137:[function(a,c,g){var e=a("./_getMapData");c.exports=function(a){return e(this,a).get(a)}},{"./_getMapData":110}],
138:[function(a,c,g){var e=a("./_getMapData");c.exports=function(a){return e(this,a).has(a)}},{"./_getMapData":110}],139:[function(a,c,g){var e=a("./_getMapData");c.exports=function(a,c){var b=e(this,a),f=b.size;b.set(a,c);this.size+=b.size==f?0:1;return this}},{"./_getMapData":110}],140:[function(a,c,g){c.exports=function(a){var b=-1,c=Array(a.size);a.forEach(function(a,f){c[++b]=[f,a]});return c}},{}],141:[function(a,c,g){c.exports=function(a,b){return function(c){return null==c?!1:c[a]===b&&(void 0!==
b||a in Object(c))}}},{}],142:[function(a,c,g){var e=a("./memoize");c.exports=function(a){a=e(a,function(a){500===b.size&&b.clear();return a});var b=a.cache;return a}},{"./memoize":183}],143:[function(a,c,g){a=a("./_getNative")(Object,"create");c.exports=a},{"./_getNative":112}],144:[function(a,c,g){a=a("./_overArg")(Object.keys,Object);c.exports=a},{"./_overArg":147}],145:[function(a,c,g){a=a("./_freeGlobal");var e="object"==("undefined"===typeof g?"undefined":_typeof2(g))&&g&&!g.nodeType&&g;a=(g=
e&&"object"==("undefined"===typeof c?"undefined":_typeof2(c))&&c&&!c.nodeType&&c)&&g.exports===e&&a.process;a:{try{var b=g&&g.require&&g.require("util").types;if(b){var f=b;break a}f=a&&a.binding&&a.binding("util");break a}catch(d){}f=void 0}c.exports=f},{"./_freeGlobal":108}],146:[function(a,c,g){var e=Object.prototype.toString;c.exports=function(a){return e.call(a)}},{}],147:[function(a,c,g){c.exports=function(a,b){return function(c){return a(b(c))}}},{}],148:[function(a,c,g){var e=a("./_apply"),
b=Math.max;c.exports=function(a,d,c){d=b(void 0===d?a.length-1:d,0);return function(){for(var f=arguments,h=-1,g=b(f.length-d,0),p=Array(g);++h<g;)p[h]=f[d+h];h=-1;for(g=Array(d+1);++h<d;)g[h]=f[h];g[d]=c(p);return e(a,this,g)}}},{"./_apply":60}],149:[function(a,c,g){a=a("./_freeGlobal");g="object"==("undefined"===typeof self?"undefined":_typeof2(self))&&self&&self.Object===Object&&self;a=a||g||Function("return this")();c.exports=a},{"./_freeGlobal":108}],150:[function(a,c,g){c.exports=function(a){this.__data__.set(a,
"__lodash_hash_undefined__");return this}},{}],151:[function(a,c,g){c.exports=function(a){return this.__data__.has(a)}},{}],152:[function(a,c,g){c.exports=function(a){var b=-1,c=Array(a.size);a.forEach(function(a){c[++b]=a});return c}},{}],153:[function(a,c,g){g=a("./_baseSetToString");a=a("./_shortOut")(g);c.exports=a},{"./_baseSetToString":93,"./_shortOut":154}],154:[function(a,c,g){var e=Date.now;c.exports=function(a){var b=0,d=0;return function(){var c=e(),f=16-(c-d);d=c;if(0<f){if(800<=++b)return arguments[0]}else b=
0;return a.apply(void 0,arguments)}}},{}],155:[function(a,c,g){var e=a("./_ListCache");c.exports=function(){this.__data__=new e;this.size=0}},{"./_ListCache":50}],156:[function(a,c,g){c.exports=function(a){var b=this.__data__;a=b["delete"](a);this.size=b.size;return a}},{}],157:[function(a,c,g){c.exports=function(a){return this.__data__.get(a)}},{}],158:[function(a,c,g){c.exports=function(a){return this.__data__.has(a)}},{}],159:[function(a,c,g){var e=a("./_ListCache"),b=a("./_Map"),f=a("./_MapCache");
c.exports=function(a,c){var d=this.__data__;if(d instanceof e){var h=d.__data__;if(!b||199>h.length)return h.push([a,c]),this.size=++d.size,this;d=this.__data__=new f(h)}d.set(a,c);this.size=d.size;return this}},{"./_ListCache":50,"./_Map":51,"./_MapCache":52}],160:[function(a,c,g){var e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/\\(\\)?/g;a=a("./_memoizeCapped")(function(a){var d=[];46===a.charCodeAt(0)&&d.push("");a.replace(e,function(a,
c,f,e){d.push(f?e.replace(b,"$1"):c||a)});return d});c.exports=a},{"./_memoizeCapped":142}],161:[function(a,c,g){var e=a("./isSymbol"),b=1/0;c.exports=function(a){if("string"==typeof a||e(a))return a;var d=a+"";return"0"==d&&1/a==-b?"-0":d}},{"./isSymbol":180}],162:[function(a,c,g){var e=Function.prototype.toString;c.exports=function(a){if(null!=a){try{return e.call(a)}catch(f){}return a+""}return""}},{}],163:[function(a,c,g){var e=a("./_assignValue"),b=a("./_copyObject");g=a("./_createAssigner");
var f=a("./isArrayLike"),d=a("./_isPrototype"),h=a("./keys"),k=Object.prototype.hasOwnProperty;a=g(function(a,c){if(d(c)||f(c))b(c,h(c),a);else for(var g in c)k.call(c,g)&&e(a,g,c[g])});c.exports=a},{"./_assignValue":67,"./_copyObject":99,"./_createAssigner":101,"./_isPrototype":128,"./isArrayLike":173,"./keys":182}],164:[function(a,c,g){c.exports=function(a){return function(){return a}}},{}],165:[function(a,c,g){var e=a("./_baseAssign"),b=a("./_baseCreate");c.exports=function(a,d){a=b(a);return null==
d?a:e(a,d)}},{"./_baseAssign":69,"./_baseCreate":71}],166:[function(a,c,g){c.exports=function(a,b){return a===b||a!==a&&b!==b}},{}],167:[function(a,c,g){var e=a("./_arrayEvery"),b=a("./_baseEvery"),f=a("./_baseIteratee"),d=a("./isArray"),h=a("./_isIterateeCall");c.exports=function(a,c,g){var k=d(a)?e:b;g&&h(a,c,g)&&(c=void 0);return k(a,f(c,3))}},{"./_arrayEvery":61,"./_baseEvery":73,"./_baseIteratee":86,"./_isIterateeCall":124,"./isArray":172}],168:[function(a,c,g){var e=a("./_baseGet");c.exports=
function(a,c,d){a=null==a?void 0:e(a,c);return void 0===a?d:a}},{"./_baseGet":76}],169:[function(a,c,g){var e=a("./_baseHasIn"),b=a("./_hasPath");c.exports=function(a,d){return null!=a&&b(a,d,e)}},{"./_baseHasIn":79,"./_hasPath":117}],170:[function(a,c,g){c.exports=function(a){return a}},{}],171:[function(a,c,g){g=a("./_baseIsArguments");var e=a("./isObjectLike");a=Object.prototype;var b=a.hasOwnProperty,f=a.propertyIsEnumerable;a=g(function(){return arguments}())?g:function(a){return e(a)&&b.call(a,
"callee")&&!f.call(a,"callee")};c.exports=a},{"./_baseIsArguments":80,"./isObjectLike":179}],172:[function(a,c,g){c.exports=Array.isArray},{}],173:[function(a,c,g){var e=a("./isFunction"),b=a("./isLength");c.exports=function(a){return null!=a&&b(a.length)&&!e(a)}},{"./isFunction":176,"./isLength":177}],174:[function(a,c,g){var e=a("./_root");a=a("./stubFalse");var b=(g="object"==("undefined"===typeof g?"undefined":_typeof2(g))&&g&&!g.nodeType&&g)&&"object"==("undefined"===typeof c?"undefined":_typeof2(c))&&
c&&!c.nodeType&&c;e=b&&b.exports===g?e.Buffer:void 0;c.exports=(e?e.isBuffer:void 0)||a},{"./_root":149,"./stubFalse":186}],175:[function(a,c,g){var e=a("./_baseKeys"),b=a("./_getTag"),f=a("./isArguments"),d=a("./isArray"),h=a("./isArrayLike"),k=a("./isBuffer"),l=a("./_isPrototype"),n=a("./isTypedArray"),p=Object.prototype.hasOwnProperty;c.exports=function(a){if(null==a)return!0;if(h(a)&&(d(a)||"string"==typeof a||"function"==typeof a.splice||k(a)||n(a)||f(a)))return!a.length;var c=b(a);if("[object Map]"==
c||"[object Set]"==c)return!a.size;if(l(a))return!e(a).length;for(var g in a)if(p.call(a,g))return!1;return!0}},{"./_baseKeys":87,"./_getTag":115,"./_isPrototype":128,"./isArguments":171,"./isArray":172,"./isArrayLike":173,"./isBuffer":174,"./isTypedArray":181}],176:[function(a,c,g){var e=a("./_baseGetTag"),b=a("./isObject");c.exports=function(a){if(!b(a))return!1;a=e(a);return"[object Function]"==a||"[object GeneratorFunction]"==a||"[object AsyncFunction]"==a||"[object Proxy]"==a}},{"./_baseGetTag":78,
"./isObject":178}],177:[function(a,c,g){c.exports=function(a){return"number"==typeof a&&-1<a&&0==a%1&&9007199254740991>=a}},{}],178:[function(a,c,g){c.exports=function(a){var b="undefined"===typeof a?"undefined":_typeof2(a);return null!=a&&("object"==b||"function"==b)}},{}],179:[function(a,c,g){c.exports=function(a){return null!=a&&"object"==("undefined"===typeof a?"undefined":_typeof2(a))}},{}],180:[function(a,c,g){var e=a("./_baseGetTag"),b=a("./isObjectLike");c.exports=function(a){return"symbol"==
("undefined"===typeof a?"undefined":_typeof2(a))||b(a)&&"[object Symbol]"==e(a)}},{"./_baseGetTag":78,"./isObjectLike":179}],181:[function(a,c,g){g=a("./_baseIsTypedArray");var e=a("./_baseUnary");g=(a=(a=a("./_nodeUtil"))&&a.isTypedArray)?e(a):g;c.exports=g},{"./_baseIsTypedArray":85,"./_baseUnary":96,"./_nodeUtil":145}],182:[function(a,c,g){var e=a("./_arrayLikeKeys"),b=a("./_baseKeys"),f=a("./isArrayLike");c.exports=function(a){return f(a)?e(a):b(a)}},{"./_arrayLikeKeys":63,"./_baseKeys":87,"./isArrayLike":173}],
183:[function(a,c,g){function e(a,d){if("function"!=typeof a||null!=d&&"function"!=typeof d)throw new TypeError("Expected a function");var c=function l(){var b=arguments,c=d?d.apply(this,b):b[0],f=l.cache;if(f.has(c))return f.get(c);b=a.apply(this,b);l.cache=f.set(c,b)||f;return b};c.cache=new (e.Cache||b);return c}var b=a("./_MapCache");e.Cache=b;c.exports=e},{"./_MapCache":52}],184:[function(a,c,g){var e=a("./_baseProperty"),b=a("./_basePropertyDeep"),f=a("./_isKey"),d=a("./_toKey");c.exports=function(a){return f(a)?
e(d(a)):b(a)}},{"./_baseProperty":90,"./_basePropertyDeep":91,"./_isKey":125,"./_toKey":161}],185:[function(a,c,g){c.exports=function(){return[]}},{}],186:[function(a,c,g){c.exports=function(){return!1}},{}],187:[function(a,c,g){var e=a("./_baseToString");c.exports=function(a){return null==a?"":e(a)}},{"./_baseToString":95}],188:[function(a,c,g){(function(a){function b(b,d,c,e){if("function"!==typeof b)throw new TypeError('"callback" argument must be a function');var f=arguments.length;switch(f){case 0:case 1:return a.nextTick(b);
case 2:return a.nextTick(function(){b.call(null,d)});case 3:return a.nextTick(function(){b.call(null,d,c)});case 4:return a.nextTick(function(){b.call(null,d,c,e)});default:var h=Array(f-1);for(f=0;f<h.length;)h[f++]=arguments[f];return a.nextTick(function(){b.apply(null,h)})}}!a.version||0===a.version.indexOf("v0.")||0===a.version.indexOf("v1.")&&0!==a.version.indexOf("v1.8.")?c.exports={nextTick:b}:c.exports=a}).call(this,a("_process"))},{_process:189}],189:[function(a,c,g){function e(){throw Error("setTimeout has not been defined");
}function b(){throw Error("clearTimeout has not been defined");}function f(a){if(p===setTimeout)return setTimeout(a,0);if((p===e||!p)&&setTimeout)return p=setTimeout,setTimeout(a,0);try{return p(a,0)}catch(w){try{return p.call(null,a,0)}catch(B){return p.call(this,a,0)}}}function d(a){if(q===clearTimeout)return clearTimeout(a);if((q===b||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(a);try{return q(a)}catch(w){try{return q.call(null,a)}catch(B){return q.call(this,a)}}}function h(){r&&t&&(r=
!1,t.length?m=t.concat(m):u=-1,m.length&&k())}function k(){if(!r){var a=f(h);r=!0;for(var b=m.length;b;){t=m;for(m=[];++u<b;)t&&t[u].run();u=-1;b=m.length}t=null;r=!1;d(a)}}function l(a,b){this.fun=a;this.array=b}function n(){}a=c.exports={};try{var p="function"===typeof setTimeout?setTimeout:e}catch(v){p=e}try{var q="function"===typeof clearTimeout?clearTimeout:b}catch(v){q=b}var m=[],r=!1,t,u=-1;a.nextTick=function(a){var b=Array(arguments.length-1);if(1<arguments.length)for(var d=1;d<arguments.length;d++)b[d-
1]=arguments[d];m.push(new l(a,b));1!==m.length||r||f(k)};l.prototype.run=function(){this.fun.apply(null,this.array)};a.title="browser";a.browser=!0;a.env={};a.argv=[];a.version="";a.versions={};a.on=n;a.addListener=n;a.once=n;a.off=n;a.removeListener=n;a.removeAllListeners=n;a.emit=n;a.prependListener=n;a.prependOnceListener=n;a.listeners=function(a){return[]};a.binding=function(a){throw Error("process.binding is not supported");};a.cwd=function(){return"/"};a.chdir=function(a){throw Error("process.chdir is not supported");
};a.umask=function(){return 0}},{}],190:[function(a,c,g){c.exports=a("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":191}],191:[function(a,c,g){function e(a){if(!(this instanceof e))return new e(a);h.call(this,a);k.call(this,a);a&&!1===a.readable&&(this.readable=!1);a&&!1===a.writable&&(this.writable=!1);this.allowHalfOpen=!0;a&&!1===a.allowHalfOpen&&(this.allowHalfOpen=!1);this.once("end",b)}function b(){this.allowHalfOpen||this._writableState.ended||d.nextTick(f,this)}function f(a){a.end()}
var d=a("process-nextick-args");g=Object.keys||function(a){var b=[],d;for(d in a)b.push(d);return b};c.exports=e;c=a("core-util-is");c.inherits=a("inherits");var h=a("./_stream_readable"),k=a("./_stream_writable");c.inherits(e,h);a=g(k.prototype);for(c=0;c<a.length;c++)g=a[c],e.prototype[g]||(e.prototype[g]=k.prototype[g]);Object.defineProperty(e.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(e.prototype,"destroyed",
{get:function(){return void 0===this._readableState||void 0===this._writableState?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(a){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=a,this._writableState.destroyed=a)}});e.prototype._destroy=function(a,b){this.push(null);this.end();d.nextTick(b,a)}},{"./_stream_readable":193,"./_stream_writable":195,"core-util-is":9,inherits:14,"process-nextick-args":188}],192:[function(a,c,g){function e(a){if(!(this instanceof
e))return new e(a);b.call(this,a)}c.exports=e;var b=a("./_stream_transform");c=a("core-util-is");c.inherits=a("inherits");c.inherits(e,b);e.prototype._transform=function(a,b,c){c(null,a)}},{"./_stream_transform":194,"core-util-is":9,inherits:14}],193:[function(a,c,g){(function(e,b){function f(a,b,d){if("function"===typeof a.prependListener)return a.prependListener(b,d);if(a._events&&a._events[b])J(a._events[b])?a._events[b].unshift(d):a._events[b]=[d,a._events[b]];else a.on(b,d)}function d(b,d){A=
A||a("./_stream_duplex");b=b||{};d=d instanceof A;this.objectMode=!!b.objectMode;d&&(this.objectMode=this.objectMode||!!b.readableObjectMode);var c=b.highWaterMark,f=b.readableHighWaterMark,e=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:d&&(f||0===f)?f:e;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new Q;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.reading=this.endEmitted=this.ended=!1;this.sync=!0;this.destroyed=this.resumeScheduled=this.readableListening=
this.emittedReadable=this.needReadable=!1;this.defaultEncoding=b.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=!1;this.encoding=this.decoder=null;b.encoding&&(L||(L=a("string_decoder/").StringDecoder),this.decoder=new L(b.encoding),this.encoding=b.encoding)}function h(b){A=A||a("./_stream_duplex");if(!(this instanceof h))return new h(b);this._readableState=new d(b,this);this.readable=!0;b&&("function"===typeof b.read&&(this._read=b.read),"function"===typeof b.destroy&&(this._destroy=
b.destroy));D.call(this)}function g(a,b,d,c,f){var e=a._readableState;if(null===b)e.reading=!1,e.ended||(e.decoder&&(b=e.decoder.end())&&b.length&&(e.buffer.push(b),e.length+=e.objectMode?1:b.length),e.ended=!0,p(a));else{if(!f){f=b;var h;H.isBuffer(f)||f instanceof I||"string"===typeof f||void 0===f||e.objectMode||(h=new TypeError("Invalid non-string/buffer chunk"));var g=h}g?a.emit("error",g):e.objectMode||b&&0<b.length?("string"===typeof b||e.objectMode||Object.getPrototypeOf(b)===H.prototype||
(b=H.from(b)),c?e.endEmitted?a.emit("error",Error("stream.unshift() after end event")):l(a,e,b,!0):e.ended?a.emit("error",Error("stream.push() after EOF")):(e.reading=!1,e.decoder&&!d?(b=e.decoder.write(b),e.objectMode||0!==b.length?l(a,e,b,!1):e.readingMore||(e.readingMore=!0,y.nextTick(m,a,e))):l(a,e,b,!1))):c||(e.reading=!1)}return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function l(a,b,d,c){b.flowing&&0===b.length&&!b.sync?(a.emit("data",d),a.read(0)):(b.length+=b.objectMode?
1:d.length,c?b.buffer.unshift(d):b.buffer.push(d),b.needReadable&&p(a));b.readingMore||(b.readingMore=!0,y.nextTick(m,a,b))}function n(a,b){if(0>=a||0===b.length&&b.ended)return 0;if(b.objectMode)return 1;if(a!==a)return b.flowing&&b.length?b.buffer.head.data.length:b.length;if(a>b.highWaterMark){var d=a;8388608<=d?d=8388608:(d--,d|=d>>>1,d|=d>>>2,d|=d>>>4,d|=d>>>8,d|=d>>>16,d++);b.highWaterMark=d}return a<=b.length?a:b.ended?b.length:(b.needReadable=!0,0)}function p(a){var b=a._readableState;b.needReadable=
!1;b.emittedReadable||(x("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?y.nextTick(q,a):q(a))}function q(a){x("emit readable");a.emit("readable");v(a)}function m(a,b){for(var d=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length<b.highWaterMark&&(x("maybeReadMore read 0"),a.read(0),d!==b.length);)d=b.length;b.readingMore=!1}function r(a){return function(){var b=a._readableState;x("pipeOnDrain",b.awaitDrain);b.awaitDrain&&b.awaitDrain--;0===b.awaitDrain&&a.listeners("data").length&&(b.flowing=
!0,v(a))}}function t(a){x("readable nexttick read 0");a.read(0)}function u(a,b){b.reading||(x("resume read 0"),a.read(0));b.resumeScheduled=!1;b.awaitDrain=0;a.emit("resume");v(a);b.flowing&&!b.reading&&a.read(0)}function v(a){var b=a._readableState;for(x("flow",b.flowing);b.flowing&&null!==a.read(););}function w(a,b){if(0===b.length)return null;if(b.objectMode)var d=b.buffer.shift();else if(!a||a>=b.length)d=b.decoder?b.buffer.join(""):1===b.buffer.length?b.buffer.head.data:b.buffer.concat(b.length),
b.buffer.clear();else{d=b.buffer;b=b.decoder;if(a<d.head.data.length)b=d.head.data.slice(0,a),d.head.data=d.head.data.slice(a);else{if(a===d.head.data.length)d=d.shift();else if(b){b=d.head;var c=1,f=b.data;for(a-=f.length;b=b.next;){var e=b.data,h=a>e.length?e.length:a;f=h===e.length?f+e:f+e.slice(0,a);a-=h;if(0===a){h===e.length?(++c,d.head=b.next?b.next:d.tail=null):(d.head=b,b.data=e.slice(h));break}++c}d.length-=c;d=f}else{b=H.allocUnsafe(a);c=d.head;f=1;c.data.copy(b);for(a-=c.data.length;c=
c.next;){e=c.data;h=a>e.length?e.length:a;e.copy(b,b.length-a,0,h);a-=h;if(0===a){h===e.length?(++f,d.head=c.next?c.next:d.tail=null):(d.head=c,c.data=e.slice(h));break}++f}d.length-=f;d=b}b=d}d=b}return d}function B(a){var b=a._readableState;if(0<b.length)throw Error('"endReadable()" called on non-empty stream');b.endEmitted||(b.ended=!0,y.nextTick(G,b,a))}function G(a,b){a.endEmitted||0!==a.length||(a.endEmitted=!0,b.readable=!1,b.emit("end"))}function E(a,b){for(var d=0,c=a.length;d<c;d++)if(a[d]===
b)return d;return-1}var y=a("process-nextick-args");c.exports=h;var J=a("isarray"),A;h.ReadableState=d;a("events");var D=a("./internal/streams/stream"),H=a("safe-buffer").Buffer,I=b.Uint8Array||function(){};b=a("core-util-is");b.inherits=a("inherits");var F=a("util"),x=void 0;x=F&&F.debuglog?F.debuglog("stream"):function(){};var Q=a("./internal/streams/BufferList");F=a("./internal/streams/destroy");var L;b.inherits(h,D);var K=["error","close","destroy","pause","resume"];Object.defineProperty(h.prototype,
"destroyed",{get:function(){return void 0===this._readableState?!1:this._readableState.destroyed},set:function(a){this._readableState&&(this._readableState.destroyed=a)}});h.prototype.destroy=F.destroy;h.prototype._undestroy=F.undestroy;h.prototype._destroy=function(a,b){this.push(null);b(a)};h.prototype.push=function(a,b){var d=this._readableState;if(d.objectMode)var c=!0;else"string"===typeof a&&(b=b||d.defaultEncoding,b!==d.encoding&&(a=H.from(a,b),b=""),c=!0);return g(this,a,b,!1,c)};h.prototype.unshift=
function(a){return g(this,a,null,!0,!1)};h.prototype.isPaused=function(){return!1===this._readableState.flowing};h.prototype.setEncoding=function(b){L||(L=a("string_decoder/").StringDecoder);this._readableState.decoder=new L(b);this._readableState.encoding=b;return this};h.prototype.read=function(a){x("read",a);a=parseInt(a,10);var b=this._readableState,d=a;0!==a&&(b.emittedReadable=!1);if(0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return x("read: emitReadable",b.length,b.ended),
0===b.length&&b.ended?B(this):p(this),null;a=n(a,b);if(0===a&&b.ended)return 0===b.length&&B(this),null;var c=b.needReadable;x("need readable",c);if(0===b.length||b.length-a<b.highWaterMark)c=!0,x("length less than watermark",c);b.ended||b.reading?x("reading or ended",!1):c&&(x("do read"),b.reading=!0,b.sync=!0,0===b.length&&(b.needReadable=!0),this._read(b.highWaterMark),b.sync=!1,b.reading||(a=n(d,b)));c=0<a?w(a,b):null;null===c?(b.needReadable=!0,a=0):b.length-=a;0===b.length&&(b.ended||(b.needReadable=
!0),d!==a&&b.ended&&B(this));null!==c&&this.emit("data",c);return c};h.prototype._read=function(a){this.emit("error",Error("_read() is not implemented"))};h.prototype.pipe=function(a,b){function d(b,f){x("onunpipe");b===n&&f&&!1===f.hasUnpiped&&(f.hasUnpiped=!0,x("cleanup"),a.removeListener("close",k),a.removeListener("finish",m),a.removeListener("drain",u),a.removeListener("error",g),a.removeListener("unpipe",d),n.removeListener("end",c),n.removeListener("end",l),n.removeListener("data",h),q=!0,
!t.awaitDrain||a._writableState&&!a._writableState.needDrain||u())}function c(){x("onend");a.end()}function h(b){x("ondata");p=!1;!1!==a.write(b)||p||((1===t.pipesCount&&t.pipes===a||1<t.pipesCount&&-1!==E(t.pipes,a))&&!q&&(x("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function g(b){x("onerror",b);l();a.removeListener("error",g);0===a.listeners("error").length&&a.emit("error",b)}function k(){a.removeListener("finish",m);l()}function m(){x("onfinish");
a.removeListener("close",k);l()}function l(){x("unpipe");n.unpipe(a)}var n=this,t=this._readableState;switch(t.pipesCount){case 0:t.pipes=a;break;case 1:t.pipes=[t.pipes,a];break;default:t.pipes.push(a)}t.pipesCount+=1;x("pipe count=%d opts=%j",t.pipesCount,b);b=b&&!1===b.end||a===e.stdout||a===e.stderr?l:c;if(t.endEmitted)y.nextTick(b);else n.once("end",b);a.on("unpipe",d);var u=r(n);a.on("drain",u);var q=!1,p=!1;n.on("data",h);f(a,"error",g);a.once("close",k);a.once("finish",m);a.emit("pipe",n);
t.flowing||(x("pipe resume"),n.resume());return a};h.prototype.unpipe=function(a){var b=this._readableState,d={hasUnpiped:!1};if(0===b.pipesCount)return this;if(1===b.pipesCount){if(a&&a!==b.pipes)return this;a||(a=b.pipes);b.pipes=null;b.pipesCount=0;b.flowing=!1;a&&a.emit("unpipe",this,d);return this}if(!a){a=b.pipes;var c=b.pipesCount;b.pipes=null;b.pipesCount=0;b.flowing=!1;for(b=0;b<c;b++)a[b].emit("unpipe",this,d);return this}c=E(b.pipes,a);if(-1===c)return this;b.pipes.splice(c,1);--b.pipesCount;
1===b.pipesCount&&(b.pipes=b.pipes[0]);a.emit("unpipe",this,d);return this};h.prototype.on=function(a,b){b=D.prototype.on.call(this,a,b);"data"===a?!1!==this._readableState.flowing&&this.resume():"readable"===a&&(a=this._readableState,a.endEmitted||a.readableListening||(a.readableListening=a.needReadable=!0,a.emittedReadable=!1,a.reading?a.length&&p(this):y.nextTick(t,this)));return b};h.prototype.addListener=h.prototype.on;h.prototype.resume=function(){var a=this._readableState;a.flowing||(x("resume"),
a.flowing=!0,a.resumeScheduled||(a.resumeScheduled=!0,y.nextTick(u,this,a)));return this};h.prototype.pause=function(){x("call pause flowing=%j",this._readableState.flowing);!1!==this._readableState.flowing&&(x("pause"),this._readableState.flowing=!1,this.emit("pause"));return this};h.prototype.wrap=function(a){var b=this,d=this._readableState,c=!1;a.on("end",function(){x("wrapped end");if(d.decoder&&!d.ended){var a=d.decoder.end();a&&a.length&&b.push(a)}b.push(null)});a.on("data",function(f){x("wrapped data");
d.decoder&&(f=d.decoder.write(f));d.objectMode&&(null===f||void 0===f)||!(d.objectMode||f&&f.length)||b.push(f)||(c=!0,a.pause())});for(var f in a)void 0===this[f]&&"function"===typeof a[f]&&(this[f]=function(b){return function(){return a[b].apply(a,arguments)}}(f));for(f=0;f<K.length;f++)a.on(K[f],this.emit.bind(this,K[f]));this._read=function(b){x("wrapped _read",b);c&&(c=!1,a.resume())};return this};Object.defineProperty(h.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});
h._fromList=w}).call(this,a("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./_stream_duplex":191,"./internal/streams/BufferList":196,"./internal/streams/destroy":197,"./internal/streams/stream":198,_process:189,"core-util-is":9,events:11,inherits:14,isarray:16,"process-nextick-args":188,"safe-buffer":203,"string_decoder/":205,util:7}],194:[function(a,c,g){function e(a,b){var d=this._transformState;d.transforming=!1;var c=d.writecb;
if(!c)return this.emit("error",Error("write callback called multiple times"));d.writechunk=null;d.writecb=null;null!=b&&this.push(b);c(a);a=this._readableState;a.reading=!1;(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function b(a){if(!(this instanceof b))return new b(a);h.call(this,a);this._transformState={afterTransform:e.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null};this._readableState.needReadable=!0;this._readableState.sync=
!1;a&&("function"===typeof a.transform&&(this._transform=a.transform),"function"===typeof a.flush&&(this._flush=a.flush));this.on("prefinish",f)}function f(){var a=this;"function"===typeof this._flush?this._flush(function(b,c){d(a,b,c)}):d(this,null,null)}function d(a,b,d){if(b)return a.emit("error",b);null!=d&&a.push(d);if(a._writableState.length)throw Error("Calling transform done when ws.length != 0");if(a._transformState.transforming)throw Error("Calling transform done when still transforming");
return a.push(null)}c.exports=b;var h=a("./_stream_duplex");c=a("core-util-is");c.inherits=a("inherits");c.inherits(b,h);b.prototype.push=function(a,b){this._transformState.needTransform=!1;return h.prototype.push.call(this,a,b)};b.prototype._transform=function(a,b,d){throw Error("_transform() is not implemented");};b.prototype._write=function(a,b,d){var c=this._transformState;c.writecb=d;c.writechunk=a;c.writeencoding=b;c.transforming||(a=this._readableState,(c.needTransform||a.needReadable||a.length<
a.highWaterMark)&&this._read(a.highWaterMark))};b.prototype._read=function(a){a=this._transformState;null!==a.writechunk&&a.writecb&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0};b.prototype._destroy=function(a,b){var d=this;h.prototype._destroy.call(this,a,function(a){b(a);d.emit("close")})}},{"./_stream_duplex":191,"core-util-is":9,inherits:14}],195:[function(a,c,g){(function(e,b,f){function d(a){var b=this;this.entry=this.next=
null;this.finish=function(){var d=b.entry;for(b.entry=null;d;){var c=d.callback;a.pendingcb--;c(void 0);d=d.next}a.corkedRequestsFree?a.corkedRequestsFree.next=b:a.corkedRequestsFree=b}}function h(){}function g(b,c){w=w||a("./_stream_duplex");b=b||{};var f=c instanceof w;this.objectMode=!!b.objectMode;f&&(this.objectMode=this.objectMode||!!b.writableObjectMode);var e=b.highWaterMark,h=b.writableHighWaterMark,g=this.objectMode?16:16384;this.highWaterMark=e||0===e?e:f&&(h||0===h)?h:g;this.highWaterMark=
Math.floor(this.highWaterMark);this.destroyed=this.finished=this.ended=this.ending=this.needDrain=this.finalCalled=!1;this.decodeStrings=!1!==b.decodeStrings;this.defaultEncoding=b.defaultEncoding||"utf8";this.length=0;this.writing=!1;this.corked=0;this.sync=!0;this.bufferProcessing=!1;this.onwrite=function(a){var b=c._writableState,d=b.sync,f=b.writecb;b.writing=!1;b.writecb=null;b.length-=b.writelen;b.writelen=0;a?(--b.pendingcb,d?(u.nextTick(f,a),u.nextTick(t,c,b),c._writableState.errorEmitted=
!0,c.emit("error",a)):(f(a),c._writableState.errorEmitted=!0,c.emit("error",a),t(c,b))):((a=m(b))||b.corked||b.bufferProcessing||!b.bufferedRequest||q(c,b),d?v(p,c,b,a,f):p(c,b,a,f))};this.writecb=null;this.writelen=0;this.lastBufferedRequest=this.bufferedRequest=null;this.pendingcb=0;this.errorEmitted=this.prefinished=!1;this.bufferedRequestCount=0;this.corkedRequestsFree=new d(this)}function l(b){w=w||a("./_stream_duplex");if(!(J.call(l,this)||this instanceof w))return new l(b);this._writableState=
new g(b,this);this.writable=!0;b&&("function"===typeof b.write&&(this._write=b.write),"function"===typeof b.writev&&(this._writev=b.writev),"function"===typeof b.destroy&&(this._destroy=b.destroy),"function"===typeof b.final&&(this._final=b.final));G.call(this)}function n(a,b,d,c,f,e,h){b.writelen=c;b.writecb=h;b.writing=!0;b.sync=!0;d?a._writev(f,b.onwrite):a._write(f,e,b.onwrite);b.sync=!1}function p(a,b,d,c){!d&&0===b.length&&b.needDrain&&(b.needDrain=!1,a.emit("drain"));b.pendingcb--;c();t(a,
b)}function q(a,b){b.bufferProcessing=!0;var c=b.bufferedRequest;if(a._writev&&c&&c.next){var f=Array(b.bufferedRequestCount),e=b.corkedRequestsFree;e.entry=c;for(var h=0,g=!0;c;)f[h]=c,c.isBuf||(g=!1),c=c.next,h+=1;f.allBuffers=g;n(a,b,!0,b.length,f,"",e.finish);b.pendingcb++;b.lastBufferedRequest=null;e.next?(b.corkedRequestsFree=e.next,e.next=null):b.corkedRequestsFree=new d(b);b.bufferedRequestCount=0}else{for(;c&&(f=c.chunk,n(a,b,!1,b.objectMode?1:f.length,f,c.encoding,c.callback),c=c.next,b.bufferedRequestCount--,
!b.writing););null===c&&(b.lastBufferedRequest=null)}b.bufferedRequest=c;b.bufferProcessing=!1}function m(a){return a.ending&&0===a.length&&null===a.bufferedRequest&&!a.finished&&!a.writing}function r(a,b){a._final(function(d){b.pendingcb--;d&&a.emit("error",d);b.prefinished=!0;a.emit("prefinish");t(a,b)})}function t(a,b){var d=m(b);d&&(b.prefinished||b.finalCalled||("function"===typeof a._final?(b.pendingcb++,b.finalCalled=!0,u.nextTick(r,a,b)):(b.prefinished=!0,a.emit("prefinish"))),0===b.pendingcb&&
(b.finished=!0,a.emit("finish")));return d}var u=a("process-nextick-args");c.exports=l;var v=!e.browser&&-1<["v0.10","v0.9."].indexOf(e.version.slice(0,5))?f:u.nextTick,w;l.WritableState=g;e=a("core-util-is");e.inherits=a("inherits");var B={deprecate:a("util-deprecate")},G=a("./internal/streams/stream"),E=a("safe-buffer").Buffer,y=b.Uint8Array||function(){};b=a("./internal/streams/destroy");e.inherits(l,G);g.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;
return b};(function(){try{Object.defineProperty(g.prototype,"buffer",{get:B.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(A){}})();if("function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]){var J=Function.prototype[Symbol.hasInstance];Object.defineProperty(l,Symbol.hasInstance,{value:function(a){return J.call(this,a)?!0:this!==l?!1:a&&a._writableState instanceof
g}})}else J=function(a){return a instanceof this};l.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};l.prototype.write=function(a,b,d){var c=this._writableState,f=!1,e;if(e=!c.objectMode)e=a,e=E.isBuffer(e)||e instanceof y;e&&!E.isBuffer(a)&&(a=E.from(a));"function"===typeof b&&(d=b,b=null);e?b="buffer":b||(b=c.defaultEncoding);"function"!==typeof d&&(d=h);if(c.ended)c=d,d=Error("write after end"),this.emit("error",d),u.nextTick(c,d);else{var g;if(!(g=e)){g=a;var k=
d,m=!0,l=!1;null===g?l=new TypeError("May not write null values to stream"):"string"===typeof g||void 0===g||c.objectMode||(l=new TypeError("Invalid non-string/buffer chunk"));l&&(this.emit("error",l),u.nextTick(k,l),m=!1);g=m}g&&(c.pendingcb++,f=e,f||(e=a,c.objectMode||!1===c.decodeStrings||"string"!==typeof e||(e=E.from(e,b)),a!==e&&(f=!0,b="buffer",a=e)),g=c.objectMode?1:a.length,c.length+=g,e=c.length<c.highWaterMark,e||(c.needDrain=!0),c.writing||c.corked?(g=c.lastBufferedRequest,c.lastBufferedRequest=
{chunk:a,encoding:b,isBuf:f,callback:d,next:null},g?g.next=c.lastBufferedRequest:c.bufferedRequest=c.lastBufferedRequest,c.bufferedRequestCount+=1):n(this,c,!1,g,a,b,d),f=e)}return f};l.prototype.cork=function(){this._writableState.corked++};l.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,a.writing||a.corked||a.finished||a.bufferProcessing||!a.bufferedRequest||q(this,a))};l.prototype.setDefaultEncoding=function(a){"string"===typeof a&&(a=a.toLowerCase());if(!(-1<"hex utf8 utf-8 ascii binary base64 ucs2 ucs-2 utf16le utf-16le raw".split(" ").indexOf((a+
"").toLowerCase())))throw new TypeError("Unknown encoding: "+a);this._writableState.defaultEncoding=a;return this};Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});l.prototype._write=function(a,b,d){d(Error("_write() is not implemented"))};l.prototype._writev=null;l.prototype.end=function(a,b,d){var c=this._writableState;"function"===typeof a?(d=a,b=a=null):"function"===typeof b&&(d=b,b=null);null!==a&&void 0!==a&&
this.write(a,b);c.corked&&(c.corked=1,this.uncork());if(!c.ending&&!c.finished){a=d;c.ending=!0;t(this,c);if(a)if(c.finished)u.nextTick(a);else this.once("finish",a);c.ended=!0;this.writable=!1}};Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0===this._writableState?!1:this._writableState.destroyed},set:function(a){this._writableState&&(this._writableState.destroyed=a)}});l.prototype.destroy=b.destroy;l.prototype._undestroy=b.undestroy;l.prototype._destroy=function(a,b){this.end();
b(a)}}).call(this,a("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},a("timers").setImmediate)},{"./_stream_duplex":191,"./internal/streams/destroy":197,"./internal/streams/stream":198,_process:189,"core-util-is":9,inherits:14,"process-nextick-args":188,"safe-buffer":203,timers:211,"util-deprecate":212}],196:[function(a,c,g){var e=a("safe-buffer").Buffer,b=a("util");c.exports=function(){function a(){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");
this.tail=this.head=null;this.length=0}a.prototype.push=function(a){a={data:a,next:null};0<this.length?this.tail.next=a:this.head=a;this.tail=a;++this.length};a.prototype.unshift=function(a){a={data:a,next:this.head};0===this.length&&(this.tail=a);this.head=a;++this.length};a.prototype.shift=function(){if(0!==this.length){var a=this.head.data;this.head=1===this.length?this.tail=null:this.head.next;--this.length;return a}};a.prototype.clear=function(){this.head=this.tail=null;this.length=0};a.prototype.join=
function(a){if(0===this.length)return"";for(var b=this.head,d=""+b.data;b=b.next;)d+=a+b.data;return d};a.prototype.concat=function(a){if(0===this.length)return e.alloc(0);if(1===this.length)return this.head.data;a=e.allocUnsafe(a>>>0);for(var b=this.head,d=0;b;)b.data.copy(a,d),d+=b.data.length,b=b.next;return a};return a}();b&&b.inspect&&b.inspect.custom&&(c.exports.prototype[b.inspect.custom]=function(){var a=b.inspect({length:this.length});return this.constructor.name+" "+a})},{"safe-buffer":203,
util:7}],197:[function(a,c,g){function e(a,b){a.emit("error",b)}var b=a("process-nextick-args");c.exports={destroy:function(a,d){var c=this,f=this._writableState&&this._writableState.destroyed;if(this._readableState&&this._readableState.destroyed||f)return d?d(a):!a||this._writableState&&this._writableState.errorEmitted||b.nextTick(e,this,a),this;this._readableState&&(this._readableState.destroyed=!0);this._writableState&&(this._writableState.destroyed=!0);this._destroy(a||null,function(a){!d&&a?
(b.nextTick(e,c,a),c._writableState&&(c._writableState.errorEmitted=!0)):d&&d(a)});return this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1);this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":188}],198:[function(a,c,
g){c.exports=a("events").EventEmitter},{events:11}],199:[function(a,c,g){c.exports=a("./readable").PassThrough},{"./readable":200}],200:[function(a,c,g){g=c.exports=a("./lib/_stream_readable.js");g.Stream=g;g.Readable=g;g.Writable=a("./lib/_stream_writable.js");g.Duplex=a("./lib/_stream_duplex.js");g.Transform=a("./lib/_stream_transform.js");g.PassThrough=a("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":191,"./lib/_stream_passthrough.js":192,"./lib/_stream_readable.js":193,"./lib/_stream_transform.js":194,
"./lib/_stream_writable.js":195}],201:[function(a,c,g){c.exports=a("./readable").Transform},{"./readable":200}],202:[function(a,c,g){c.exports=a("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":195}],203:[function(a,c,g){function e(a,b){for(var d in a)b[d]=a[d]}function b(a,b,c){return d(a,b,c)}var f=a("buffer"),d=f.Buffer;d.from&&d.alloc&&d.allocUnsafe&&d.allocUnsafeSlow?c.exports=f:(e(f,g),g.Buffer=b);e(d,b);b.from=function(a,b,c){if("number"===typeof a)throw new TypeError("Argument must not be a number");
return d(a,b,c)};b.alloc=function(a,b,c){if("number"!==typeof a)throw new TypeError("Argument must be a number");a=d(a);void 0!==b?"string"===typeof c?a.fill(b,c):a.fill(b):a.fill(0);return a};b.allocUnsafe=function(a){if("number"!==typeof a)throw new TypeError("Argument must be a number");return d(a)};b.allocUnsafeSlow=function(a){if("number"!==typeof a)throw new TypeError("Argument must be a number");return f.SlowBuffer(a)}},{buffer:8}],204:[function(a,c,g){function e(){b.call(this)}c.exports=e;
var b=a("events").EventEmitter;a("inherits")(e,b);e.Readable=a("readable-stream/readable.js");e.Writable=a("readable-stream/writable.js");e.Duplex=a("readable-stream/duplex.js");e.Transform=a("readable-stream/transform.js");e.PassThrough=a("readable-stream/passthrough.js");e.Stream=e;e.prototype.pipe=function(a,d){function c(b){a.writable&&!1===a.write(b)&&m.pause&&m.pause()}function e(){m.readable&&m.resume&&m.resume()}function f(){r||(r=!0,a.end())}function g(){r||(r=!0,"function"===typeof a.destroy&&
a.destroy())}function p(a){q();if(0===b.listenerCount(this,"error"))throw a;}function q(){m.removeListener("data",c);a.removeListener("drain",e);m.removeListener("end",f);m.removeListener("close",g);m.removeListener("error",p);a.removeListener("error",p);m.removeListener("end",q);m.removeListener("close",q);a.removeListener("close",q)}var m=this;m.on("data",c);a.on("drain",e);a._isStdio||d&&!1===d.end||(m.on("end",f),m.on("close",g));var r=!1;m.on("error",p);a.on("error",p);m.on("end",q);m.on("close",
q);a.on("close",q);a.emit("pipe",m);return a}},{events:11,inherits:14,"readable-stream/duplex.js":190,"readable-stream/passthrough.js":199,"readable-stream/readable.js":200,"readable-stream/transform.js":201,"readable-stream/writable.js":202}],205:[function(a,c,g){function e(a){if(!a)return"utf8";for(var b;;)switch(a){case "utf8":case "utf-8":return"utf8";case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return"utf16le";case "latin1":case "binary":return"latin1";case "base64":case "ascii":case "hex":return a;
default:if(b)return;a=(""+a).toLowerCase();b=!0}}function b(a){var b=e(a);if("string"!==typeof b&&(r.isEncoding===t||!t(a)))throw Error("Unknown encoding: "+a);this.encoding=b||a;switch(this.encoding){case "utf16le":this.text=k;this.end=l;a=4;break;case "utf8":this.fillLast=h;a=4;break;case "base64":this.text=n;this.end=p;a=3;break;default:this.write=q;this.end=m;return}this.lastTotal=this.lastNeed=0;this.lastChar=r.allocUnsafe(a)}function f(a){return 127>=a?0:6===a>>5?2:14===a>>4?3:30===a>>3?4:2===
a>>6?-1:-2}function d(a,b,d){var c=b.length-1;if(c<d)return 0;var e=f(b[c]);if(0<=e)return 0<e&&(a.lastNeed=e-1),e;if(--c<d||-2===e)return 0;e=f(b[c]);if(0<=e)return 0<e&&(a.lastNeed=e-2),e;if(--c<d||-2===e)return 0;e=f(b[c]);return 0<=e?(0<e&&(2===e?e=0:a.lastNeed=e-3),e):0}function h(a){var b=this.lastTotal-this.lastNeed;a:if(128!==(a[0]&192)){this.lastNeed=0;var d="\ufffd"}else{if(1<this.lastNeed&&1<a.length){if(128!==(a[1]&192)){this.lastNeed=1;d="\ufffd";break a}if(2<this.lastNeed&&2<a.length&&
128!==(a[2]&192)){this.lastNeed=2;d="\ufffd";break a}}d=void 0}if(void 0!==d)return d;if(this.lastNeed<=a.length)return a.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,b,0,a.length);this.lastNeed-=a.length}function k(a,b){if(0===(a.length-b)%2){if(b=a.toString("utf16le",b)){var d=b.charCodeAt(b.length-1);if(55296<=d&&56319>=d)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],b.slice(0,
-1)}return b}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=a[a.length-1];return a.toString("utf16le",b,a.length-1)}function l(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):a}function n(a,b){var d=(a.length-b)%3;if(0===d)return a.toString("base64",b);this.lastNeed=3-d;this.lastTotal=3;1===d?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]);return a.toString("base64",b,a.length-
d)}function p(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("base64",0,3-this.lastNeed):a}function q(a){return a.toString(this.encoding)}function m(a){return a&&a.length?this.write(a):""}var r=a("safe-buffer").Buffer,t=r.isEncoding||function(a){a=""+a;switch(a&&a.toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "binary":case "base64":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":case "raw":return!0;default:return!1}};g.StringDecoder=
b;b.prototype.write=function(a){if(0===a.length)return"";if(this.lastNeed){var b=this.fillLast(a);if(void 0===b)return"";var d=this.lastNeed;this.lastNeed=0}else d=0;return d<a.length?b?b+this.text(a,d):this.text(a,d):b||""};b.prototype.end=function(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+"\ufffd":a};b.prototype.text=function(a,b){var c=d(this,a,b);if(!this.lastNeed)return a.toString("utf8",b);this.lastTotal=c;c=a.length-(c-this.lastNeed);a.copy(this.lastChar,0,c);return a.toString("utf8",
b,c)};b.prototype.fillLast=function(a){if(this.lastNeed<=a.length)return a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,a.length);this.lastNeed-=a.length}},{"safe-buffer":203}],206:[function(a,c,g){(function(e,b){function f(a){a=a.trim();var b=a.match(/^time=((?:[1-9][0-9]*|0)(?:\.[0-9]+)?)(ms|s)$/i);return b?(a=+b[1],"s"===b[2]&&(a*=1E3),["time",a]):(b=a.match(/^(todo|skip)\b/i))?
[b[1].toLowerCase(),a.substr(b[1].length).trim()||!0]:!1}function d(a,b){var d=a.match(q);p(d,"invalid line to Result");b=+(d[2]||b+1);this.ok=!d[1];this.id=b;Object.defineProperty(this,"src",{value:a,writable:!0,enumerable:!1,configurable:!1});this.src=a;a=d[3]||"";a=a.replace(/([^\\]|^)((?:\\\\)*)#/g,"$1\n$2").split("\n");d=a.shift();a=a.filter(function(a){return a.trim()}).join("#");(b=f(a.trim()))?this[b[0]]=b[1]:d+=a?"#"+a:"";d&&(this.name=d.trim());return this}function h(a,b){"function"===typeof a&&
(b=a,a={});if(!(this instanceof h))return new h(a,b);a=a||{};if(b)this.on("complete",b);this.sawValidTap=!1;this.failures=[];this.indent=a.indent||"";this.level=a.level||0;g.call(this);this.buffer="";this.bailedOut=!1;this.planEnd=this.planStart=-1;this.yind=this.yamlish=this.planComment="";this.current=this.child=null;this.commentQueue=[];this.skip=this.todo=this.fail=this.pass=this.count=0;this.ok=!0;this.postPlan=this.strict=!1}var g=a("stream").Writable;if(!g)try{g=a("readable-stream").Writable}catch(m){throw Error('Please install "readable-stream" to use this module with Node.js v0.8 and before');
}var l=a("js-yaml"),n=a("util"),p=a("assert");n.inherits(h,g);c.exports=h;var q=/^(not )?ok(?: ([0-9]+))?(?:(?: - )?(.*))?\n$/;Object.defineProperty(d.prototype,"toString",{value:function(){return this.src},enumerable:!1,writable:!0,configurable:!0});h.prototype.createResult=function(a){if(!q.test(a))return null;this.emitResult();return new d(a,this.count)};h.prototype.nonTap=function(a){this.strict&&(this.failures.push({tapError:"Non-TAP data encountered in strict mode",data:a}),this.ok=!1);this.emit("extra",
a)};h.prototype.processYamlish=function(){var a=this.yamlish;this.yind=this.yamlish="";if(this.current){try{var b=l.safeLoad(a)}catch(t){this.nonTap(a);return}this.current.src+=a;this.current.diag=b;this.emitResult()}else this.nonTap(a)};h.prototype.write=function(a,d,c){"string"===typeof d&&"utf8"!==d&&(a=new b(a,d));b.isBuffer(a)&&(a+="");"function"===typeof d&&(c=d);if(this.bailedOut)return c&&e.nextTick(c),!0;this.buffer+=a;do{a=this.buffer.match(/^.*\r?\n/);if(!a||this.bailedOut)break;this.buffer=
this.buffer.substr(a[0].length);this._parse(a[0])}while(this.buffer.length);c&&e.nextTick(c);return!0};h.prototype.end=function(a,b,d){a&&("function"===typeof b&&(d=b,b=null),this.write(a,b));this.buffer&&this.write("\n");this.yamlish&&this.nonTap(this.yamlish);this.emitResult();if(0===this.planEnd&&1===this.planStart)var c=this.ok=!0;else this.count!==this.planEnd-this.planStart+1&&(this.ok=!1);this.ok&&!c&&this.first!==this.planStart&&(this.ok=!1);this.ok&&!c&&this.last!==this.planEnd&&(this.ok=
!1);a={ok:this.ok,count:this.count,pass:this.pass};this.fail&&(a.fail=this.fail);this.bailedOut&&(a.bailout=this.bailedOut);this.todo&&(a.todo=this.todo);this.skip&&(a.skip=this.skip);-1!==this.planStart&&(a.plan={start:this.planStart,end:this.planEnd},c&&(a.plan.skipAll=!0,this.planComment&&(a.plan.skipReason=this.planComment)));this.sawValidTap||(a.plan={start:1,end:0},a.ok=!0);this.failures.length&&(a.failures=this.failures);this.emit("complete",a);g.prototype.end.call(this,null,null,d)};h.prototype.bailout=
function(a){this.bailedOut=a||!0;this.ok=!1;this.emit("bailout",a)};h.prototype.clearCommentQueue=function(){for(var a=0;a<this.commentQueue.length;a++)this.emit("comment",this.commentQueue[a]);this.commentQueue.length=0};h.prototype.emitResult=function(){this.child&&(this.child.end(),this.child=null);this.yind=this.yamlish="";if(!this.current)return this.clearCommentQueue();var a=this.current;this.current=null;this.count++;a.ok?this.pass++:(this.fail++,a.todo||a.skip||(this.ok=!1,this.failures.push(a)));
a.skip&&this.skip++;a.todo&&this.todo++;this.emit("assert",a);this.clearCommentQueue()};h.prototype.startChild=function(a,b){if(b.substr(a.length).match(/^# Subtest:/)){this.emitResult();this.child=new h({indent:a,parent:this,level:this.level+1});this.emit("child",this.child);this.child.on("bailout",this.bailout.bind(this));var d=this;this.child.on("complete",function(a){this.sawValidTap&&!a.ok&&(d.ok=!1)});this.child.write(b.substr(a.length))}else this.nonTap(b)};h.prototype.emitComment=function(a){this.current||
this.commentQueue.length?this.commentQueue.push(a):this.emit("comment",a)};h.prototype._parse=function(a){a=a.replace(/\r\n$/,"\n");if("\n"===a||""===a.trim())this.child?this.child.write("\n"):this.yind&&(this.yamlish+="\n");else if(!this.bailedOut){this.emit("line",a);var b=a.match(/^pragma ([+-])strict\n$/);if(b)this.strict="+"===b[1],this.emit("pragma",{strict:this.strict});else if(b=a.match(/^bail out!(.*)\n$/i))this.sawValidTap=!0,a=b[1].trim(),this.bailout(a);else if(b=a.match(/^TAP version ([0-9]+)\n$/i))b=
parseInt(b[1],10),13<=b&&-1===this.planStart&&0===this.count?this.emit("version",b):this.nonTap(a);else{if(this.child){if(0===a.indexOf(this.child.indent)){a=a.substr(this.child.indent.length);this.child.write(a);return}if("#"===a.trim().charAt(0)){this.emitComment(a);return}if(this.child.sawValidTap&&!/^(not )?ok/.test(a)){this.nonTap(a);return}}b=a.match(/^(\s+)?#(.*)/);if(!b||b[1]&&/^ Subtest: /.test(b[2]))if(this.postPlan)this.nonTap(a);else if(b=a.match(/^[ \t]+/))b=b[0],this.current?this.yind?
0!==b.indexOf(this.yind)?(this.nonTap(this.yamlish+a),this.emitResult()):a===this.yind+"...\n"?this.processYamlish():this.yamlish+=a:a===b+"---\n"?this.yind=b:this.startChild(b,a):this.startChild(b,a);else if(this.yind&&(this.nonTap(this.yamlish),this.yind=this.yamlish=""),b=a.match(/^([0-9]+)\.\.([0-9]+)(?:\s+(?:#\s*(.*)))?\n$/))if(-1!==this.planStart)this.nonTap(a);else{this.sawValidTap=!0;this.emitResult();a=+b[1];var d=+b[2];b=b[3];this.planStart=a;this.planEnd=d;a={start:a,end:d};b&&(this.planComment=
a.comment=b);this.emit("plan",a);if(0!==this.count||0===this.planEnd)this.postPlan=!0}else if(b=this.createResult(a)){-1!==this.planStart&&(a=+b.id<this.planStart,d=+b.id>this.planEnd,a||d)&&(this.ok=!1,b.tapError=a?"id less than plan start":"id greater than plan end",this.failures.push(b));this.sawValidTap=!0;if(b.id){if(!this.first||b.id<this.first)this.first=b.id;if(!this.last||b.id>this.last)this.last=b.id}this.current=b}else this.nonTap(a);else this.emitComment(a)}}}}).call(this,a("_process"),
a("buffer").Buffer)},{_process:189,assert:5,buffer:8,"js-yaml":17,"readable-stream":200,stream:204,util:216}],207:[function(a,c,g){var e=a("tap-parser"),b=a("through2"),f=a("duplexer"),d=a("xtend"),h=a("./serialize");c.exports=function(a){function c(a){r.push({id:r.length,extra:[],asserts:[],testName:g(a)});return r[r.length-1]}function g(b){a.replaceWithUnicodeDot&&(b=b.replace(/\./g,"\uff0e"));a.package&&(b=a.package+"."+b);0===b.indexOf("#")&&(b=b.substr(1));return b.trim()}a=d(k,a);var l=b(),
m=e();m.strict=a.strict;var r=[],t,u=!1,v=0,w=!1;m.on("comment",function(b){a.dontUseCommentsAsTestNames||u||(t=c(b))});m.on("plan",function(){w=!0});m.on("assert",function(a){t||(t=c("Default"));t.asserts.push(a)});m.on("extra",function(a){t&&t.extra.push(a)});m.on("extra",function(a){});m.on("plan",function(a){u=!0});m.on("complete",function(a){t&&!r.filter(function(a){return a.id===t.id}).length&&r.push(t);a.failures&&a.failures.forEach(function(a){a.tapError&&(a=Error("TAP parse error: "+a.tapError),
v=1,l.emit("error",a))});r.forEach(function(a){a.asserts.forEach(function(a){a.skip=a.skip||a.todo;a.ok||a.skip||(v=1)})});m.sawValidTap&&w?(a=h(r),l.push(a+"\n")):v=1;B.exitCode=v;l.emit("end")});var B=f(m,l);return B};var k={dontUseCommentsAsTestNames:!1,replaceWithUnicodeDot:!1,package:"",strict:!1}},{"./serialize":209,duplexer:10,"tap-parser":206,through2:210,xtend:234}],208:[function(a,c,g){var e=/[^\x09\x0A\x0D\x20-\xFF\x85\xA0-\uD7FF\uE000-\uFDCF\uFDE0-\uFFFD]/gm;c.exports=function(a){return a.replace(e,
"")}},{}],209:[function(a,c,g){function e(a){var b="\n ---\n",d;for(d in a)if(a.hasOwnProperty(d)&&void 0!==a[d]){var c=a[d];b+=" "+d+": "+("object"===("undefined"===typeof c?"undefined":_typeof2(c))?JSON.stringify(c):c)+"\n"}return b+" ...\n "}var b=a("xmlbuilder"),f=a("./sanitize-string");c.exports=function(a){var d=b.create("testsuites");a.forEach(function(a){var b=d.ele("testsuite"),c,h;b.att("tests",a.asserts.length);(c=a.asserts.filter(function(a){return a.skip}).length)&&
b.att("skipped",c);b.att("failures",a.asserts.filter(function(a){return!a.ok&&!a.skip}).length);b.att("errors","0");b.att("name",a.testName||"");a.asserts.forEach(function(d,c){var g=b.ele("testcase",{name:"#"+d.id+" "+d.name});d.skip&&g.ele("skipped");d.ok||d.skip||(h=g.ele("failure"),d.diag&&h.txt(e(d.diag)));c===a.asserts.length-1&&a.extra.forEach(function(a){g.ele("system-out",f(a))})})});return d.end({pretty:!0,indent:" ",newline:"\n"})}},{"./sanitize-string":208,xmlbuilder:233}],210:[function(a,
c,g){(function(e){function b(a){h.call(this,a);this._destroyed=!1}function f(a,b,d){d(null,a)}function d(a){return function(b,d,c){"function"==typeof b&&(c=d,d=b,b={});"function"!=typeof d&&(d=f);"function"!=typeof c&&(c=null);return a(b,d,c)}}var h=a("readable-stream/transform"),g=a("util").inherits,l=a("xtend");g(b,h);b.prototype.destroy=function(a){if(!this._destroyed){this._destroyed=!0;var b=this;e.nextTick(function(){a&&b.emit("error",a);b.emit("close")})}};c.exports=d(function(a,d,c){a=new b(a);
a._transform=d;c&&(a._flush=c);return a});c.exports.ctor=d(function(a,d,c){function e(d){if(!(this instanceof e))return new e(d);this.options=l(a,d);b.call(this,this.options)}g(e,b);e.prototype._transform=d;c&&(e.prototype._flush=c);return e});c.exports.obj=d(function(a,d,c){a=new b(l({objectMode:!0,highWaterMark:16},a));a._transform=d;c&&(a._flush=c);return a})}).call(this,a("_process"))},{_process:189,"readable-stream/transform":201,util:216,xtend:234}],211:[function(a,c,g){(function(c,b){function e(a,
b){this._id=a;this._clearFn=b}var d=a("process/browser.js").nextTick,h=Function.prototype.apply,k=Array.prototype.slice,l={},n=0;g.setTimeout=function(){return new e(h.call(setTimeout,window,arguments),clearTimeout)};g.setInterval=function(){return new e(h.call(setInterval,window,arguments),clearInterval)};g.clearTimeout=g.clearInterval=function(a){a.close()};e.prototype.unref=e.prototype.ref=function(){};e.prototype.close=function(){this._clearFn.call(window,this._id)};g.enroll=function(a,b){clearTimeout(a._idleTimeoutId);
a._idleTimeout=b};g.unenroll=function(a){clearTimeout(a._idleTimeoutId);a._idleTimeout=-1};g._unrefActive=g.active=function(a){clearTimeout(a._idleTimeoutId);var b=a._idleTimeout;0<=b&&(a._idleTimeoutId=setTimeout(function(){a._onTimeout&&a._onTimeout()},b))};g.setImmediate="function"===typeof c?c:function(a){var b=n++,c=2>arguments.length?!1:k.call(arguments,1);l[b]=!0;d(function(){l[b]&&(c?a.apply(null,c):a.call(null),g.clearImmediate(b))});return b};g.clearImmediate="function"===typeof b?b:function(a){delete l[a]}}).call(this,
a("timers").setImmediate,a("timers").clearImmediate)},{"process/browser.js":189,timers:211}],212:[function(a,c,g){(function(a){function b(b){try{if(!a.localStorage)return!1}catch(d){return!1}b=a.localStorage[b];return null==b?!1:"true"===String(b).toLowerCase()}c.exports=function(a,d){if(b("noDeprecation"))return a;var c=!1;return function(){if(!c){if(b("throwDeprecation"))throw Error(d);b("traceDeprecation")?console.trace(d):console.warn(d);c=!0}return a.apply(this,arguments)}}}).call(this,"undefined"!==
typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],213:[function(a,c,g){c.exports=function(a){return a&&"object"===("undefined"===typeof a?"undefined":_typeof2(a))&&"function"===typeof a.copy&&"function"===typeof a.fill&&"function"===typeof a.readUInt8}},{}],214:[function(a,c,g){(function(c,b){function e(a,b){var c={seen:[],stylize:h};3<=arguments.length&&(c.depth=arguments[2]);4<=arguments.length&&(c.colors=arguments[3]);u(b)?c.showHidden=b:b&&g._extend(c,
b);B(c.showHidden)&&(c.showHidden=!1);B(c.depth)&&(c.depth=2);B(c.colors)&&(c.colors=!1);B(c.customInspect)&&(c.customInspect=!0);c.colors&&(c.stylize=d);return l(c,a,c.depth)}function d(a,b){return(b=e.styles[b])?"\u001b["+e.colors[b][0]+"m"+a+"\u001b["+e.colors[b][1]+"m":a}function h(a,b){return a}function k(a){var b={};a.forEach(function(a,d){b[a]=!0});return b}function l(a,b,d){if(a.customInspect&&b&&A(b.inspect)&&b.inspect!==g.inspect&&(!b.constructor||b.constructor.prototype!==b)){var c=b.inspect(d,
a);w(c)||(c=l(a,c,d));return c}if(c=n(a,b))return c;var e=Object.keys(b),f=k(e);a.showHidden&&(e=Object.getOwnPropertyNames(b));if(J(b)&&(0<=e.indexOf("message")||0<=e.indexOf("description")))return p(b);if(0===e.length){if(A(b))return a.stylize("[Function"+(b.name?": "+b.name:"")+"]","special");if(G(b))return a.stylize(RegExp.prototype.toString.call(b),"regexp");if(y(b))return a.stylize(Date.prototype.toString.call(b),"date");if(J(b))return p(b)}c="";var h=!1,u=["{","}"];t(b)&&(h=!0,u=["[","]"]);
A(b)&&(c=" [Function"+(b.name?": "+b.name:"")+"]");G(b)&&(c=" "+RegExp.prototype.toString.call(b));y(b)&&(c=" "+Date.prototype.toUTCString.call(b));J(b)&&(c=" "+p(b));if(0===e.length&&(!h||0==b.length))return u[0]+c+u[1];if(0>d)return G(b)?a.stylize(RegExp.prototype.toString.call(b),"regexp"):a.stylize("[Object]","special");a.seen.push(b);e=h?q(a,b,d,f,e):e.map(function(c){return m(a,b,d,f,c,h)});a.seen.pop();return r(e,c,u)}function n(a,b){if(B(b))return a.stylize("undefined","undefined");if(w(b))return b=
"'"+JSON.stringify(b).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'",a.stylize(b,"string");if(v(b))return a.stylize(""+b,"number");if(u(b))return a.stylize(""+b,"boolean");if(null===b)return a.stylize("null","null")}function p(a){return"["+Error.prototype.toString.call(a)+"]"}function q(a,b,d,c,e){for(var f=[],h=0,g=b.length;h<g;++h)Object.prototype.hasOwnProperty.call(b,String(h))?f.push(m(a,b,d,c,String(h),!0)):f.push("");e.forEach(function(e){e.match(/^\d+$/)||f.push(m(a,b,d,
c,e,!0))});return f}function m(a,b,d,c,e,f){var h,g;b=Object.getOwnPropertyDescriptor(b,e)||{value:b[e]};b.get?g=b.set?a.stylize("[Getter/Setter]","special"):a.stylize("[Getter]","special"):b.set&&(g=a.stylize("[Setter]","special"));Object.prototype.hasOwnProperty.call(c,e)||(h="["+e+"]");g||(0>a.seen.indexOf(b.value)?(g=null===d?l(a,b.value,null):l(a,b.value,d-1),-1<g.indexOf("\n")&&(g=f?g.split("\n").map(function(a){return" "+a}).join("\n").substr(2):"\n"+g.split("\n").map(function(a){return" "+
a}).join("\n"))):g=a.stylize("[Circular]","special"));if(B(h)){if(f&&e.match(/^\d+$/))return g;h=JSON.stringify(""+e);h.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(h=h.substr(1,h.length-2),h=a.stylize(h,"name")):(h=h.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),h=a.stylize(h,"string"))}return h+": "+g}function r(a,b,d){var c=0;return 60<a.reduce(function(a,b){c++;0<=b.indexOf("\n")&&c++;return a+b.replace(/\u001b\[\d\d?m/g,"").length+1},0)?d[0]+(""===b?"":b+"\n ")+" "+a.join(",\n ")+
" "+d[1]:d[0]+b+" "+a.join(", ")+" "+d[1]}function t(a){return Array.isArray(a)}function u(a){return"boolean"===typeof a}function v(a){return"number"===typeof a}function w(a){return"string"===typeof a}function B(a){return void 0===a}function G(a){return E(a)&&"[object RegExp]"===Object.prototype.toString.call(a)}function E(a){return"object"===("undefined"===typeof a?"undefined":_typeof2(a))&&null!==a}function y(a){return E(a)&&"[object Date]"===Object.prototype.toString.call(a)}function J(a){return E(a)&&
("[object Error]"===Object.prototype.toString.call(a)||a instanceof Error)}function A(a){return"function"===typeof a}function D(a){return 10>a?"0"+a.toString(10):a.toString(10)}function H(){var a=new Date,b=[D(a.getHours()),D(a.getMinutes()),D(a.getSeconds())].join(":");return[a.getDate(),Q[a.getMonth()],b].join(" ")}var I=/%[sdj%]/g;g.format=function(a){if(!w(a)){for(var b=[],d=0;d<arguments.length;d++)b.push(e(arguments[d]));return b.join(" ")}d=1;var c=arguments,f=c.length;b=String(a).replace(I,
function(a){if("%%"===a)return"%";if(d>=f)return a;switch(a){case "%s":return String(c[d++]);case "%d":return Number(c[d++]);case "%j":try{return JSON.stringify(c[d++])}catch(S){return"[Circular]"}default:return a}});for(var h=c[d];d<f;h=c[++d])b=null!==h&&E(h)?b+(" "+e(h)):b+(" "+h);return b};g.deprecate=function(a,d){if(B(b.process))return function(){return g.deprecate(a,d).apply(this,arguments)};if(!0===c.noDeprecation)return a;var e=!1;return function(){if(!e){if(c.throwDeprecation)throw Error(d);
c.traceDeprecation?console.trace(d):console.error(d);e=!0}return a.apply(this,arguments)}};var F={},x;g.debuglog=function(a){B(x)&&(x=c.env.NODE_DEBUG||"");a=a.toUpperCase();if(!F[a])if((new RegExp("\\b"+a+"\\b","i")).test(x)){var b=c.pid;F[a]=function(){var d=g.format.apply(g,arguments);console.error("%s %d: %s",a,b,d)}}else F[a]=function(){};return F[a]};g.inspect=e;e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,
39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};e.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};g.isArray=t;g.isBoolean=u;g.isNull=function(a){return null===a};g.isNullOrUndefined=function(a){return null==a};g.isNumber=v;g.isString=w;g.isSymbol=function(a){return"symbol"===("undefined"===typeof a?"undefined":_typeof2(a))};g.isUndefined=B;g.isRegExp=G;g.isObject=E;g.isDate=y;g.isError=J;g.isFunction=
A;g.isPrimitive=function(a){return null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a||"symbol"===("undefined"===typeof a?"undefined":_typeof2(a))||"undefined"===typeof a};g.isBuffer=a("./support/isBuffer");var Q="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");g.log=function(){console.log("%s - %s",H(),g.format.apply(g,arguments))};g.inherits=a("inherits");g._extend=function(a,b){if(!b||!E(b))return a;for(var d=Object.keys(b),c=d.length;c--;)a[d[c]]=b[d[c]];return a}}).call(this,
a("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./support/isBuffer":213,_process:189,inherits:13}],215:[function(a,c,g){arguments[4][213][0].apply(g,arguments)},{dup:213}],216:[function(a,c,g){arguments[4][214][0].apply(g,arguments)},{"./support/isBuffer":215,_process:189,dup:214,inherits:14}],217:[function(a,c,g){(function(){var e=a("lodash/create");c.exports=function(){function a(a,b,c){this.stringify=a.stringify;if(null==
b)throw Error("Missing attribute name of element "+a.name);if(null==c)throw Error("Missing attribute value for attribute "+b+" of element "+a.name);this.name=this.stringify.attName(b);this.value=this.stringify.attValue(c)}a.prototype.clone=function(){return e(a.prototype,this)};a.prototype.toString=function(a,b){return" "+this.name+'="'+this.value+'"'};return a}()}).call(this)},{"lodash/create":165}],218:[function(a,c,g){(function(){var e=a("./XMLStringifier");a("./XMLDeclaration");a("./XMLDocType");
var b=a("./XMLElement");c.exports=function(){function a(a,c){if(null==a)throw Error("Root element needs a name");null==c&&(c={});this.options=c;this.stringify=new e(c);a=(new b(this,"doc")).element(a);a.isRoot=!0;a.documentObject=this;this.rootObject=a;c.headless||(a.declaration(c),null==c.pubID&&null==c.sysID||a.doctype(c))}a.prototype.root=function(){return this.rootObject};a.prototype.end=function(a){return this.toString(a)};a.prototype.toString=function(a){var b;var d=(null!=a?a.pretty:void 0)||
!1;var c=null!=(b=null!=a?a.newline:void 0)?b:"\n";b="";null!=this.xmldec&&(b+=this.xmldec.toString(a));null!=this.doctype&&(b+=this.doctype.toString(a));b+=this.rootObject.toString(a);d&&b.slice(-c.length)===c&&(b=b.slice(0,-c.length));return b};return a}()}).call(this)},{"./XMLDeclaration":225,"./XMLDocType":226,"./XMLElement":227,"./XMLStringifier":231}],219:[function(a,c,g){(function(){var e=function(a,d){function c(){this.constructor=a}for(var e in d)b.call(d,e)&&(a[e]=d[e]);c.prototype=d.prototype;
a.prototype=new c;a.__super__=d.prototype;return a},b={}.hasOwnProperty;var f=a("lodash/create");var d=a("./XMLNode");c.exports=function(a){function b(a,d){b.__super__.constructor.call(this,a);if(null==d)throw Error("Missing CDATA text");this.text=this.stringify.cdata(d)}e(b,a);b.prototype.clone=function(){return f(b.prototype,this)};b.prototype.toString=function(a,b){var d,c,e;var f=(null!=a?a.pretty:void 0)||!1;var g=null!=(d=null!=a?a.indent:void 0)?d:" ";d=null!=(c=null!=a?a.offset:void 0)?c:
0;a=null!=(e=null!=a?a.newline:void 0)?e:"\n";b||(b=0);g=Array(b+d+1).join(g);b="";f&&(b+=g);b+="<![CDATA["+this.text+"]]\x3e";f&&(b+=a);return b};return b}(d)}).call(this)},{"./XMLNode":228,"lodash/create":165}],220:[function(a,c,g){(function(){var e=function(a,d){function c(){this.constructor=a}for(var e in d)b.call(d,e)&&(a[e]=d[e]);c.prototype=d.prototype;a.prototype=new c;a.__super__=d.prototype;return a},b={}.hasOwnProperty;var f=a("lodash/create");var d=a("./XMLNode");c.exports=function(a){function b(a,
d){b.__super__.constructor.call(this,a);if(null==d)throw Error("Missing comment text");this.text=this.stringify.comment(d)}e(b,a);b.prototype.clone=function(){return f(b.prototype,this)};b.prototype.toString=function(a,b){var d,c,e;var f=(null!=a?a.pretty:void 0)||!1;var g=null!=(d=null!=a?a.indent:void 0)?d:" ";d=null!=(c=null!=a?a.offset:void 0)?c:0;a=null!=(e=null!=a?a.newline:void 0)?e:"\n";b||(b=0);g=Array(b+d+1).join(g);b="";f&&(b+=g);b+="\x3c!-- "+this.text+" --\x3e";f&&(b+=a);return b};return b}(d)}).call(this)},
{"./XMLNode":228,"lodash/create":165}],221:[function(a,c,g){(function(){a("lodash/create");c.exports=function(){function a(a,c,d,e,g,l){this.stringify=a.stringify;if(null==c)throw Error("Missing DTD element name");if(null==d)throw Error("Missing DTD attribute name");if(!e)throw Error("Missing DTD attribute type");if(!g)throw Error("Missing DTD attribute default");0!==g.indexOf("#")&&(g="#"+g);if(!g.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");
if(l&&!g.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(c);this.attributeName=this.stringify.attName(d);this.attributeType=this.stringify.dtdAttType(e);this.defaultValue=this.stringify.dtdAttDefault(l);this.defaultValueType=g}a.prototype.toString=function(a,c){var b,e,f;var g=(null!=a?a.pretty:void 0)||!1;var n=null!=(b=null!=a?a.indent:void 0)?b:" ";b=null!=(e=null!=a?a.offset:void 0)?e:0;a=null!=(f=null!=a?a.newline:
void 0)?f:"\n";c||(c=0);n=Array(c+b+1).join(n);c="";g&&(c+=n);c+="<!ATTLIST "+this.elementName+" "+this.attributeName+" "+this.attributeType;"#DEFAULT"!==this.defaultValueType&&(c+=" "+this.defaultValueType);this.defaultValue&&(c+=' "'+this.defaultValue+'"');c+=">";g&&(c+=a);return c};return a}()}).call(this)},{"lodash/create":165}],222:[function(a,c,g){(function(){a("lodash/create");c.exports=function(){function a(a,c,d){this.stringify=a.stringify;if(null==c)throw Error("Missing DTD element name");
d||(d="(#PCDATA)");Array.isArray(d)&&(d="("+d.join(",")+")");this.name=this.stringify.eleName(c);this.value=this.stringify.dtdElementValue(d)}a.prototype.toString=function(a,c){var b,e,f;var g=(null!=a?a.pretty:void 0)||!1;var n=null!=(b=null!=a?a.indent:void 0)?b:" ";b=null!=(e=null!=a?a.offset:void 0)?e:0;a=null!=(f=null!=a?a.newline:void 0)?f:"\n";c||(c=0);n=Array(c+b+1).join(n);c="";g&&(c+=n);c+="<!ELEMENT "+this.name+" "+this.value+">";g&&(c+=a);return c};return a}()}).call(this)},{"lodash/create":165}],
223:[function(a,c,g){(function(){a("lodash/create");var e=a("lodash/isObject");c.exports=function(){function a(a,b,c,g){this.stringify=a.stringify;if(null==c)throw Error("Missing entity name");if(null==g)throw Error("Missing entity value");this.pe=!!b;this.name=this.stringify.eleName(c);if(e(g)){if(!g.pubID&&!g.sysID)throw Error("Public and/or system identifiers are required for an external entity");if(g.pubID&&!g.sysID)throw Error("System identifier is required for a public external entity");null!=
g.pubID&&(this.pubID=this.stringify.dtdPubID(g.pubID));null!=g.sysID&&(this.sysID=this.stringify.dtdSysID(g.sysID));null!=g.nData&&(this.nData=this.stringify.dtdNData(g.nData));if(this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity");}else this.value=this.stringify.dtdEntityValue(g)}a.prototype.toString=function(a,b){var d,c,e;var f=(null!=a?a.pretty:void 0)||!1;var g=null!=(d=null!=a?a.indent:void 0)?d:" ";d=null!=(c=null!=a?a.offset:void 0)?c:0;a=null!=(e=
null!=a?a.newline:void 0)?e:"\n";b||(b=0);g=Array(b+d+1).join(g);b="";f&&(b+=g);b+="<!ENTITY";this.pe&&(b+=" %");b+=" "+this.name;this.value?b+=' "'+this.value+'"':(this.pubID&&this.sysID?b+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.sysID&&(b+=' SYSTEM "'+this.sysID+'"'),this.nData&&(b+=" NDATA "+this.nData));b+=">";f&&(b+=a);return b};return a}()}).call(this)},{"lodash/create":165,"lodash/isObject":178}],224:[function(a,c,g){(function(){a("lodash/create");c.exports=function(){function a(a,
c,d){this.stringify=a.stringify;if(null==c)throw Error("Missing notation name");if(!d.pubID&&!d.sysID)throw Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(c);null!=d.pubID&&(this.pubID=this.stringify.dtdPubID(d.pubID));null!=d.sysID&&(this.sysID=this.stringify.dtdSysID(d.sysID))}a.prototype.toString=function(a,c){var b,e,f;var g=(null!=a?a.pretty:void 0)||!1;var n=null!=(b=null!=a?a.indent:void 0)?b:" ";b=null!=(e=null!=a?a.offset:void 0)?
e:0;a=null!=(f=null!=a?a.newline:void 0)?f:"\n";c||(c=0);n=Array(c+b+1).join(n);c="";g&&(c+=n);c+="<!NOTATION "+this.name;this.pubID&&this.sysID?c+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.pubID?c+=' PUBLIC "'+this.pubID+'"':this.sysID&&(c+=' SYSTEM "'+this.sysID+'"');c+=">";g&&(c+=a);return c};return a}()}).call(this)},{"lodash/create":165}],225:[function(a,c,g){(function(){var e=function(a,d){function c(){this.constructor=a}for(var e in d)b.call(d,e)&&(a[e]=d[e]);c.prototype=d.prototype;
a.prototype=new c;a.__super__=d.prototype;return a},b={}.hasOwnProperty;a("lodash/create");var f=a("lodash/isObject");var d=a("./XMLNode");c.exports=function(a){function b(a,d,c,e){b.__super__.constructor.call(this,a);f(d)&&(a=d,d=a.version,c=a.encoding,e=a.standalone);d||(d="1.0");this.version=this.stringify.xmlVersion(d);null!=c&&(this.encoding=this.stringify.xmlEncoding(c));null!=e&&(this.standalone=this.stringify.xmlStandalone(e))}e(b,a);b.prototype.toString=function(a,b){var d,c,e;var f=(null!=
a?a.pretty:void 0)||!1;var g=null!=(d=null!=a?a.indent:void 0)?d:" ";d=null!=(c=null!=a?a.offset:void 0)?c:0;a=null!=(e=null!=a?a.newline:void 0)?e:"\n";b||(b=0);g=Array(b+d+1).join(g);b="";f&&(b+=g);b=b+"<?xml"+(' version="'+this.version+'"');null!=this.encoding&&(b+=' encoding="'+this.encoding+'"');null!=this.standalone&&(b+=' standalone="'+this.standalone+'"');b+="?>";f&&(b+=a);return b};return b}(d)}).call(this)},{"./XMLNode":228,"lodash/create":165,"lodash/isObject":178}],226:[function(a,c,
g){(function(){a("lodash/create");var e=a("lodash/isObject");var b=a("./XMLCData");var f=a("./XMLComment");var d=a("./XMLDTDAttList");var g=a("./XMLDTDEntity");var k=a("./XMLDTDElement");var l=a("./XMLDTDNotation");var n=a("./XMLProcessingInstruction");c.exports=function(){function a(a,b,d){this.documentObject=a;this.stringify=this.documentObject.stringify;this.children=[];e(b)&&(d=b,b=d.pubID,d=d.sysID);null==d&&(b=[b,d],d=b[0],b=b[1]);null!=b&&(this.pubID=this.stringify.dtdPubID(b));null!=d&&(this.sysID=
this.stringify.dtdSysID(d))}a.prototype.element=function(a,b){a=new k(this,a,b);this.children.push(a);return this};a.prototype.attList=function(a,b,c,e,f){a=new d(this,a,b,c,e,f);this.children.push(a);return this};a.prototype.entity=function(a,b){a=new g(this,!1,a,b);this.children.push(a);return this};a.prototype.pEntity=function(a,b){a=new g(this,!0,a,b);this.children.push(a);return this};a.prototype.notation=function(a,b){a=new l(this,a,b);this.children.push(a);return this};a.prototype.cdata=function(a){a=
new b(this,a);this.children.push(a);return this};a.prototype.comment=function(a){a=new f(this,a);this.children.push(a);return this};a.prototype.instruction=function(a,b){a=new n(this,a,b);this.children.push(a);return this};a.prototype.root=function(){return this.documentObject.root()};a.prototype.document=function(){return this.documentObject};a.prototype.toString=function(a,b){var d,c,e,f;var g=(null!=a?a.pretty:void 0)||!1;var h=null!=(c=null!=a?a.indent:void 0)?c:" ";c=null!=(f=null!=a?a.offset:
void 0)?f:0;f=null!=(d=null!=a?a.newline:void 0)?d:"\n";b||(b=0);d=Array(b+c+1).join(h);h="";g&&(h+=d);h+="<!DOCTYPE "+this.root().name;this.pubID&&this.sysID?h+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.sysID&&(h+=' SYSTEM "'+this.sysID+'"');if(0<this.children.length){h+=" [";g&&(h+=f);var k=this.children;c=0;for(e=k.length;c<e;c++)d=k[c],h+=d.toString(a,b+1);h+="]"}h+=">";g&&(h+=f);return h};a.prototype.ele=function(a,b){return this.element(a,b)};a.prototype.att=function(a,b,d,c,e){return this.attList(a,
b,d,c,e)};a.prototype.ent=function(a,b){return this.entity(a,b)};a.prototype.pent=function(a,b){return this.pEntity(a,b)};a.prototype.not=function(a,b){return this.notation(a,b)};a.prototype.dat=function(a){return this.cdata(a)};a.prototype.com=function(a){return this.comment(a)};a.prototype.ins=function(a,b){return this.instruction(a,b)};a.prototype.up=function(){return this.root()};a.prototype.doc=function(){return this.document()};return a}()}).call(this)},{"./XMLCData":219,"./XMLComment":220,
"./XMLDTDAttList":221,"./XMLDTDElement":222,"./XMLDTDEntity":223,"./XMLDTDNotation":224,"./XMLProcessingInstruction":229,"lodash/create":165,"lodash/isObject":178}],227:[function(a,c,g){(function(){var e=function(a,d){function c(){this.constructor=a}for(var e in d)b.call(d,e)&&(a[e]=d[e]);c.prototype=d.prototype;a.prototype=new c;a.__super__=d.prototype;return a},b={}.hasOwnProperty;var f=a("lodash/create");var d=a("lodash/isObject");var g=a("lodash/isFunction");var k=a("lodash/every");var l=a("./XMLNode");
var n=a("./XMLAttribute");var p=a("./XMLProcessingInstruction");c.exports=function(a){function c(a,b,d){c.__super__.constructor.call(this,a);if(null==b)throw Error("Missing element name");this.name=this.stringify.eleName(b);this.children=[];this.instructions=[];this.attributes={};null!=d&&this.attribute(d)}e(c,a);c.prototype.clone=function(){var a;var d=f(c.prototype,this);d.isRoot&&(d.documentObject=null);d.attributes={};var e=this.attributes;for(a in e)if(b.call(e,a)){var g=e[a];d.attributes[a]=
g.clone()}d.instructions=[];var h=this.instructions;g=0;for(a=h.length;g<a;g++)e=h[g],d.instructions.push(e.clone());d.children=[];this.children.forEach(function(a){a=a.clone();a.parent=d;return d.children.push(a)});return d};c.prototype.attribute=function(a,c){var e;null!=a&&(a=a.valueOf());if(d(a))for(e in a)b.call(a,e)&&(c=a[e],this.attribute(e,c));else g(c)&&(c=c.apply()),this.options.skipNullAttributes&&null==c||(this.attributes[a]=new n(this,a,c));return this};c.prototype.removeAttribute=function(a){var b;
if(null==a)throw Error("Missing attribute name");a=a.valueOf();if(Array.isArray(a)){var d=0;for(b=a.length;d<b;d++){var c=a[d];delete this.attributes[c]}}else delete this.attributes[a];return this};c.prototype.instruction=function(a,c){var e;null!=a&&(a=a.valueOf());null!=c&&(c=c.valueOf());if(Array.isArray(a))for(c=0,e=a.length;c<e;c++){var f=a[c];this.instruction(f)}else if(d(a))for(f in a)b.call(a,f)&&(c=a[f],this.instruction(f,c));else g(c)&&(c=c.apply()),a=new p(this,a,c),this.instructions.push(a);
return this};c.prototype.toString=function(a,d){var c,e,f,g;var h=(null!=a?a.pretty:void 0)||!1;var l=null!=(c=null!=a?a.indent:void 0)?c:" ";c=null!=(f=null!=a?a.offset:void 0)?f:0;f=null!=(g=null!=a?a.newline:void 0)?g:"\n";d||(d=0);g=Array(d+c+1).join(l);l="";var n=this.instructions;c=0;for(e=n.length;c<e;c++){var m=n[c];l+=m.toString(a,d)}h&&(l+=g);l+="<"+this.name;m=this.attributes;for(t in m)b.call(m,t)&&(c=m[t],l+=c.toString(a));if(0===this.children.length||k(this.children,function(a){return""===
a.value}))l+="/>",h&&(l+=f);else if(h&&1===this.children.length&&null!=this.children[0].value)l=l+">"+this.children[0].value,l+="</"+this.name+">",l+=f;else{l+=">";h&&(l+=f);e=this.children;c=0;for(m=e.length;c<m;c++){var t=e[c];l+=t.toString(a,d+1)}h&&(l+=g);l+="</"+this.name+">";h&&(l+=f)}return l};c.prototype.att=function(a,b){return this.attribute(a,b)};c.prototype.ins=function(a,b){return this.instruction(a,b)};c.prototype.a=function(a,b){return this.attribute(a,b)};c.prototype.i=function(a,
b){return this.instruction(a,b)};return c}(l)}).call(this)},{"./XMLAttribute":217,"./XMLNode":228,"./XMLProcessingInstruction":229,"lodash/create":165,"lodash/every":167,"lodash/isFunction":176,"lodash/isObject":178}],228:[function(a,c,g){(function(){var e,b,f,d,g,k,l={}.hasOwnProperty;var n=a("lodash/isObject");var p=a("lodash/isFunction");var q=a("lodash/isEmpty");var m=k=d=f=b=e=g=null;c.exports=function(){function c(c){this.parent=c;this.options=this.parent.options;this.stringify=this.parent.stringify;
null===g&&(g=a("./XMLElement"),e=a("./XMLCData"),b=a("./XMLComment"),f=a("./XMLDeclaration"),d=a("./XMLDocType"),k=a("./XMLRaw"),m=a("./XMLText"))}c.prototype.element=function(a,b,d){var c=null;null==b&&(b={});b=b.valueOf();n(b)||(b=[b,d],d=b[0],b=b[1]);null!=a&&(a=a.valueOf());if(Array.isArray(a)){var e=0;for(d=a.length;e<d;e++)c=a[e],c=this.element(c)}else if(p(a))c=this.element(a.apply());else if(n(a))for(e in a){if(l.call(a,e)){var f=a[e];p(f)&&(f=f.apply());n(f)&&q(f)&&(f=null);if(!this.options.ignoreDecorators&&
this.stringify.convertAttKey&&0===e.indexOf(this.stringify.convertAttKey))c=this.attribute(e.substr(this.stringify.convertAttKey.length),f);else if(!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===e.indexOf(this.stringify.convertPIKey))c=this.instruction(e.substr(this.stringify.convertPIKey.length),f);else if(!this.options.separateArrayItems&&Array.isArray(f))for(d=0,b=f.length;d<b;d++){c=f[d];var g={};g[e]=c;c=this.element(g)}else n(f)?(c=this.element(e),c.element(f)):c=this.element(e,
f)}}else c=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===a.indexOf(this.stringify.convertTextKey)?this.text(d):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===a.indexOf(this.stringify.convertCDataKey)?this.cdata(d):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===a.indexOf(this.stringify.convertCommentKey)?this.comment(d):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===a.indexOf(this.stringify.convertRawKey)?this.raw(d):
this.node(a,b,d);if(null==c)throw Error("Could not create any elements with: "+a);return c};c.prototype.insertBefore=function(a,b,d){if(this.isRoot)throw Error("Cannot insert elements at root level");var c=this.parent.children.indexOf(this);c=this.parent.children.splice(c);a=this.parent.element(a,b,d);Array.prototype.push.apply(this.parent.children,c);return a};c.prototype.insertAfter=function(a,b,d){if(this.isRoot)throw Error("Cannot insert elements at root level");var c=this.parent.children.indexOf(this);
c=this.parent.children.splice(c+1);a=this.parent.element(a,b,d);Array.prototype.push.apply(this.parent.children,c);return a};c.prototype.remove=function(){if(this.isRoot)throw Error("Cannot remove the root element");var a=this.parent.children.indexOf(this);[].splice.apply(this.parent.children,[a,a-a+1].concat(a=[]));a;return this.parent};c.prototype.node=function(a,b,d){null!=a&&(a=a.valueOf());null==b&&(b={});b=b.valueOf();n(b)||(b=[b,d],d=b[0],b=b[1]);a=new g(this,a,b);null!=d&&a.text(d);this.children.push(a);
return a};c.prototype.text=function(a){a=new m(this,a);this.children.push(a);return this};c.prototype.cdata=function(a){a=new e(this,a);this.children.push(a);return this};c.prototype.comment=function(a){a=new b(this,a);this.children.push(a);return this};c.prototype.raw=function(a){a=new k(this,a);this.children.push(a);return this};c.prototype.declaration=function(a,b,d){var c=this.document();a=new f(c,a,b,d);c.xmldec=a;return c.root()};c.prototype.doctype=function(a,b){var c=this.document();a=new d(c,
a,b);return c.doctype=a};c.prototype.up=function(){if(this.isRoot)throw Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent};c.prototype.root=function(){var a;if(this.isRoot)return this;for(a=this.parent;!a.isRoot;)a=a.parent;return a};c.prototype.document=function(){return this.root().documentObject};c.prototype.end=function(a){return this.document().toString(a)};c.prototype.prev=function(){if(this.isRoot)throw Error("Root node has no siblings");
var a=this.parent.children.indexOf(this);if(1>a)throw Error("Already at the first node");return this.parent.children[a-1]};c.prototype.next=function(){if(this.isRoot)throw Error("Root node has no siblings");var a=this.parent.children.indexOf(this);if(-1===a||a===this.parent.children.length-1)throw Error("Already at the last node");return this.parent.children[a+1]};c.prototype.importXMLBuilder=function(a){a=a.root().clone();a.parent=this;a.isRoot=!1;this.children.push(a);return this};c.prototype.ele=
function(a,b,d){return this.element(a,b,d)};c.prototype.nod=function(a,b,d){return this.node(a,b,d)};c.prototype.txt=function(a){return this.text(a)};c.prototype.dat=function(a){return this.cdata(a)};c.prototype.com=function(a){return this.comment(a)};c.prototype.doc=function(){return this.document()};c.prototype.dec=function(a,b,d){return this.declaration(a,b,d)};c.prototype.dtd=function(a,b){return this.doctype(a,b)};c.prototype.e=function(a,b,d){return this.element(a,b,d)};c.prototype.n=function(a,
b,d){return this.node(a,b,d)};c.prototype.t=function(a){return this.text(a)};c.prototype.d=function(a){return this.cdata(a)};c.prototype.c=function(a){return this.comment(a)};c.prototype.r=function(a){return this.raw(a)};c.prototype.u=function(){return this.up()};return c}()}).call(this)},{"./XMLCData":219,"./XMLComment":220,"./XMLDeclaration":225,"./XMLDocType":226,"./XMLElement":227,"./XMLRaw":230,"./XMLText":232,"lodash/isEmpty":175,"lodash/isFunction":176,"lodash/isObject":178}],229:[function(a,
c,g){(function(){var e=a("lodash/create");c.exports=function(){function a(a,b,c){this.stringify=a.stringify;if(null==b)throw Error("Missing instruction target");this.target=this.stringify.insTarget(b);c&&(this.value=this.stringify.insValue(c))}a.prototype.clone=function(){return e(a.prototype,this)};a.prototype.toString=function(a,b){var d,c,e;var f=(null!=a?a.pretty:void 0)||!1;var g=null!=(d=null!=a?a.indent:void 0)?d:" ";d=null!=(c=null!=a?a.offset:void 0)?c:0;a=null!=(e=null!=a?a.newline:void 0)?
e:"\n";b||(b=0);g=Array(b+d+1).join(g);b="";f&&(b+=g);b=b+"<?"+this.target;this.value&&(b+=" "+this.value);b+="?>";f&&(b+=a);return b};return a}()}).call(this)},{"lodash/create":165}],230:[function(a,c,g){(function(){var e=function(a,d){function c(){this.constructor=a}for(var e in d)b.call(d,e)&&(a[e]=d[e]);c.prototype=d.prototype;a.prototype=new c;a.__super__=d.prototype;return a},b={}.hasOwnProperty;var f=a("lodash/create");var d=a("./XMLNode");c.exports=function(a){function b(a,d){b.__super__.constructor.call(this,
a);if(null==d)throw Error("Missing raw text");this.value=this.stringify.raw(d)}e(b,a);b.prototype.clone=function(){return f(b.prototype,this)};b.prototype.toString=function(a,b){var d,c,e;var f=(null!=a?a.pretty:void 0)||!1;var g=null!=(d=null!=a?a.indent:void 0)?d:" ";d=null!=(c=null!=a?a.offset:void 0)?c:0;a=null!=(e=null!=a?a.newline:void 0)?e:"\n";b||(b=0);g=Array(b+d+1).join(g);b="";f&&(b+=g);b+=this.value;f&&(b+=a);return b};return b}(d)}).call(this)},{"./XMLNode":228,"lodash/create":165}],
231:[function(a,c,g){(function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b={}.hasOwnProperty;c.exports=function(){function c(d){this.assertLegalChar=a(this.assertLegalChar,this);var c;this.allowSurrogateChars=null!=d?d.allowSurrogateChars:void 0;this.noDoubleEncoding=null!=d?d.noDoubleEncoding:void 0;d=(null!=d?d.stringify:void 0)||{};for(c in d)if(b.call(d,c)){var e=d[c];this[c]=e}}c.prototype.eleName=function(a){return this.assertLegalChar(""+a||"")};c.prototype.eleText=
function(a){return this.assertLegalChar(this.elEscape(""+a||""))};c.prototype.cdata=function(a){a=""+a||"";if(a.match(/]]\x3e/))throw Error("Invalid CDATA text: "+a);return this.assertLegalChar(a)};c.prototype.comment=function(a){a=""+a||"";if(a.match(/--/))throw Error("Comment text cannot contain double-hypen: "+a);return this.assertLegalChar(a)};c.prototype.raw=function(a){return""+a||""};c.prototype.attName=function(a){return""+a||""};c.prototype.attValue=function(a){return this.attEscape(""+a||
"")};c.prototype.insTarget=function(a){return""+a||""};c.prototype.insValue=function(a){a=""+a||"";if(a.match(/\?>/))throw Error("Invalid processing instruction value: "+a);return a};c.prototype.xmlVersion=function(a){a=""+a||"";if(!a.match(/1\.[0-9]+/))throw Error("Invalid version number: "+a);return a};c.prototype.xmlEncoding=function(a){a=""+a||"";if(!a.match(/^[A-Za-z](?:[A-Za-z0-9._-]|-)*$/))throw Error("Invalid encoding: "+a);return a};c.prototype.xmlStandalone=function(a){return a?"yes":"no"};
c.prototype.dtdPubID=function(a){return""+a||""};c.prototype.dtdSysID=function(a){return""+a||""};c.prototype.dtdElementValue=function(a){return""+a||""};c.prototype.dtdAttType=function(a){return""+a||""};c.prototype.dtdAttDefault=function(a){return null!=a?""+a||"":a};c.prototype.dtdEntityValue=function(a){return""+a||""};c.prototype.dtdNData=function(a){return""+a||""};c.prototype.convertAttKey="@";c.prototype.convertPIKey="?";c.prototype.convertTextKey="#text";c.prototype.convertCDataKey="#cdata";
c.prototype.convertCommentKey="#comment";c.prototype.convertRawKey="#raw";c.prototype.assertLegalChar=function(a){var b;if(b=a.match(this.allowSurrogateChars?/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/:/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/))throw Error("Invalid character ("+b+") in string: "+a+" at index "+b.index);return a};c.prototype.elEscape=function(a){return a.replace(this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,
"&gt;").replace(/\r/g,"&#xD;")};c.prototype.attEscape=function(a){return a.replace(this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;")};return c}()}).call(this)},{}],232:[function(a,c,g){(function(){var e=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a[e]=c[e]);d.prototype=c.prototype;a.prototype=new d;a.__super__=c.prototype;return a},b={}.hasOwnProperty;var f=a("lodash/create");var d=a("./XMLNode");c.exports=function(a){function b(a,
c){b.__super__.constructor.call(this,a);if(null==c)throw Error("Missing element text");this.value=this.stringify.eleText(c)}e(b,a);b.prototype.clone=function(){return f(b.prototype,this)};b.prototype.toString=function(a,b){var c,d,e;var f=(null!=a?a.pretty:void 0)||!1;var g=null!=(c=null!=a?a.indent:void 0)?c:" ";c=null!=(d=null!=a?a.offset:void 0)?d:0;a=null!=(e=null!=a?a.newline:void 0)?e:"\n";b||(b=0);g=Array(b+c+1).join(g);b="";f&&(b+=g);b+=this.value;f&&(b+=a);return b};return b}(d)}).call(this)},
{"./XMLNode":228,"lodash/create":165}],233:[function(a,c,g){(function(){var e=a("lodash/assign");var b=a("./XMLBuilder");c.exports.create=function(a,c,g,k){k=e({},c,g,k);return(new b(a,k)).root()}}).call(this)},{"./XMLBuilder":218,"lodash/assign":163}],234:[function(a,c,g){c.exports=function(){for(var a={},c=0;c<arguments.length;c++){var d=arguments[c],g;for(g in d)e.call(d,g)&&(a[g]=d[g])}return a};var e=Object.prototype.hasOwnProperty},{}],235:[function(a,c,g){(function(e){var b=a("./util").arrayOrPush,
f=a("./lib/caller"),d=a("./lib/emitter"),g=a("./reporters"),k=a("./lib/testrunner"),l=a("./lib/expect"),n=a("./util/symbols"),p=function(){function a(b){var c,d;_classCallCheck2(this,a);this.name=b;this.__suite__={tests:[],beforeHooks:(c={},_defineProperty2(c,n.Start,[]),_defineProperty2(c,n.End,[]),_defineProperty2(c,"*",[]),c),afterHooks:(d={},_defineProperty2(d,n.Start,[]),_defineProperty2(d,n.End,[]),_defineProperty2(d,"*",[]),d)}}_createClass(a,[{key:"test",value:function(a,b){if(this.__suite__.tests.find(function(b){return b.description===
a}))throw Error("Test '"+a+"' already exists!");this.__suite__.tests.push({description:a,type:"test",run:function(a){return f(b,a)}});return this}},{key:"before",value:function(a,c,d){b(this.__suite__.beforeHooks,a,{description:a,label:d,type:"hook",run:function(a){return f(c,a)}});return this}},{key:"after",value:function(a,c,d){b(this.__suite__.afterHooks,a,{description:a,label:d,type:"hook",run:function(a){return f(c,a)}});return this}},{key:"run",value:function(){var a=0<arguments.length&&void 0!==
arguments[0]?arguments[0]:{};if(!0===a.reporter)g.default(d,a);else if("function"===typeof a.reporter)a.reporter(d,a);else if(g[a.reporter])g[a.reporter](d,a);d.emit("start");return k(this,a).then(function(a){a.success=a.filter(function(a){return"ok"===a.status});a.successPercent=Math.floor(a.success.length/a.length*100);100!==a.successPercent&&"undefined"!==typeof e&&(e.exitCode=1);d.emit("test end",a);d.emit("end",a);return a})}}]);return a}();c.exports=p;c.exports.expect=l;c.exports.expectMany=
l.expectMany;c.exports.Start=n.Start;c.exports.End=n.End;c.exports.Gunner=c.exports}).call(this,a("_process"))},{"./lib/caller":239,"./lib/emitter":240,"./lib/expect":241,"./lib/testrunner":242,"./reporters":244,"./util":247,"./util/symbols":248,_process:189}],236:[function(a,c,g){var e=a("../util").isPromise,b=function(a){for(var b=arguments.length,c=Array(1<b?b-1:0),e=1;e<b;e++)c[e-1]=arguments[e];return Promise.reject(a?a.apply(void 0,c):"")};c.exports=function(a,c){var d=2<arguments.length&&void 0!==
arguments[2]?arguments[2]:{},f=_toArray(c),g=f[0],n=f.slice(1);g=d.skipStatement?function(){return d.skipStatement}:g;return e(a)?a.catch(function(){return b.apply(void 0,[g].concat(_toConsumableArray2(n)))}):a?Promise.resolve():b.apply(void 0,[g].concat(_toConsumableArray2(n)))}},{"../util":247}],237:[function(a,c,g){var e=a("@codefeathers/iseq"),b=a("../util"),f=b.taggedStringify;c.exports.done=[function(){return!0},function(){return null}];c.exports.fail=[function(){return!1},function(a,b){return b}];
c.exports.exists=[function(a){return"undefined"!==typeof a},function(){return"Value is undefined"}];c.exports.isArray=[function(a){return Array.isArray(a)},function(a){return f(_templateObject,a)}];c.exports.isObject=[function(a){return"object"===("undefined"===typeof a?"undefined":_typeof2(a))&&null!==a},function(a){return f(_templateObject2,a)}];c.exports.hasLength=[function(a,b){return a.length===b},function(a,b){return f(_templateObject3,a,b)}];c.exports.equals=[function(a,b){return a===b},function(a,
b){return f(_templateObject4,a,b)}];c.exports.deepEquals=[function(a,b){return e(a,b)},function(a,b){return f(_templateObject5,a,b)}];c.exports.contains=[function(a,b){return e(a,b,Object.keys(b))},function(a,b){return f(_templateObject6,a,b)}];c.exports.isTrue=[function(a){return!0===a},function(a){return f(_templateObject7,a)}];c.exports.isFalse=[function(a){return!1===a},function(a){return f(_templateObject8,a)}];c.exports.hasProp=[function(a,b){return a.hasOwnProperty(b)},function(a,b){return f(_templateObject9,
a,b)}];c.exports.hasPair=[function(a){for(var b=arguments.length,c=Array(1<b?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];return e(a[c[0]],c[1])},function(a){for(var b=arguments.length,c=Array(1<b?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];return f(_templateObject10,c,a)}];c.exports.isPromise=[function(a){return b.isPromise(a)},function(a){return f(_templateObject11,a)},{shouldCatch:!0}];c.exports.resolvesTo=[function(a,c){return b.isPromise(a)?a.then(function(a){return a===c?Promise.resolve():Promise.reject()}):
Promise.reject(a+" was not a Promise")},function(a,b){return f(_templateObject12,a,b)}];c.exports.isType=[function(a,b){return"nil"===b&&("null"===a||"undefined"===a)||("undefined"===typeof a?"undefined":_typeof2(a))===b||Array.isArray(a)&&"array"===b&&null===a&&"object"!==b},function(a,b){return f(_templateObject13,a,b)}];c.exports.greaterThan=[function(a,b){return a>b},function(a,b){return f(_templateObject14,a,b)}];c.exports.lessThan=[function(a,b){return a<b},function(a,b){return f(_templateObject15,
a,b)}];c.exports.gte=[function(a,b){return a>=b},function(a,b){return f(_templateObject16,a,b)}];c.exports.lte=[function(a,b){return a<=b},function(a,b){return f(_templateObject17,a,b)}];c.exports.success=c.exports.done;c.exports.succeed=c.exports.done;c.exports.failure=c.exports.fail;c.exports.equal=c.exports.equals;c.exports.deepEqual=c.exports.deepEquals;c.exports.match=c.exports.deepEquals;c.exports.greaterThanOrEqualTo=c.exports.gte;c.exports.lessThanOrEqualTo=c.exports.lte},{"../util":247,"@codefeathers/iseq":2}],
238:[function(a,c,g){a("../gunner");var e=a("../util/symbols"),b=function(a){return function(b){return{type:a,unit:b}}};c.exports=function(a){var c=[];Array.prototype.push.apply(c,a.__suite__.beforeHooks[e.Start].map(b("@start")));c.push.apply(a.__suite__.afterHooks[e.Start].map(b("@start")));a.__suite__.tests.forEach(function(d){return Array.prototype.push.apply(c,a.__suite__.beforeHooks["*"].map(b("@every"))),Array.prototype.push.apply(c,(a.__suite__.beforeHooks[d.description]||[]).map(b("@this"))),
c.push(b("@test")(d)),Array.prototype.push.apply(c,(a.__suite__.afterHooks[d.description]||[]).map(b("@afterTest"))),Array.prototype.push.apply(c,a.__suite__.afterHooks["*"].map(b("@afterEvery")))});Array.prototype.push.apply(c,a.__suite__.beforeHooks[e.End].map(b("@beforeend")));Array.prototype.push.apply(c,a.__suite__.afterHooks[e.End].map(b("@end")));return c}},{"../gunner":235,"../util/symbols":248}],239:[function(a,c,g){var e=a("../util").isPromise;c.exports=function(a,c){var b=void 0,f=void 0,
g=void 0;try{b=a(c)}catch(l){g=!0,f=l}return e(b)?b.then(function(a){return{status:"ok",resolve:a,promise:!0}}).catch(function(a){return{status:"notOk",rejection:a,promise:!0}}):Promise.resolve(_extends2({status:g?"notOk":"ok"},!g&&{value:b},g&&{error:f},{promise:!1}))}},{"../util":247}],240:[function(a,c,g){a=function(a){function b(){_classCallCheck2(this,b);return _possibleConstructorReturn(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}_inherits(b,a);return b}(a("events"));
c.exports=new a},{events:11}],241:[function(a,c,g){g=a("../util");var e=g.liftPromise,b=g.lowerCaseFirstLetter,f=a("./assertionsLibrary"),d=a("./assertPromise"),h=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return function(f){return function(){for(var g=arguments.length,h=Array(g),l=0;l<g;l++)h[l]=arguments[l];return e(function(c){return d(a.apply(void 0,[f].concat(h)),[b,c].concat(h))},f).catch(function(e){return c.shouldCatch?d(a.apply(void 0,[f].concat(h)),[b,
e].concat(h),{skipStatement:e}):Promise.reject(e)})}}},k=Object.keys(f).reduce(function(a,b){var c=_slicedToArray(f[b],3);a[b]=h(c[0],c[1],c[2]);return a},{});c.exports=function(a,c){return new Proxy({},{get:function(d,e){var f=c?a.apply(void 0,_toConsumableArray2(c)):a;if(k.hasOwnProperty(e))return function(){return k[e](f).apply(void 0,arguments)};if("not"===e.slice(0,3))return function(){return k[b(e.slice(3))](f).apply(void 0,arguments).then(Promise.reject,Promise.resolve)};throw Error("Unknown assertion method",
e);}})};c.exports.expectMany=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return Promise.all(b)}},{"../util":247,"./assertPromise":236,"./assertionsLibrary":237}],242:[function(a,c,g){a("../gunner");Promise.object=a("@codefeathers/promise.object");g=a("../util");var e=g.last,b=g.pipe,f=g.pick,d=g.assignToObject,h=a("./buildTestQueue"),k=function(a,b){var c=a.findIndex(function(a){return"@start"===a.type}),d=a.findIndex(function(a){return"@every"===a.type}),e=a.findIndex(function(a){return a.description===
b.description});return-1!==c&&"A start hook failed\n"+a[c].error||-1!==d&&"An every hook failed\n"+a[d].error||-1!==e&&"A before test hook failed\n"+a[e].error},l=function(a){return a.reduce(function(b,c){return Promise.resolve(b).then(function(b){return Promise.all([e(b.results),Promise.object(b.state)]).then(function(a){a=_slicedToArray(a,2)[1];return[k(b.skip,c.unit),a]}).then(function(a){var b=_slicedToArray(a,2);a=b[0];b=b[1];return a?{status:"skip",description:a}:c.unit.run(b)}).then(function(e){var f=
e.status;if("@test"===c.type){var g=_extends2({status:f,description:c.unit.description},("notOk"===f||"skip"===f)&&{reason:e.error||e.rejection||e.description});b.results.push(g)}else{g=c.unit.label||a.filter(function(a){return a.type===c.type}).filter(function(a){return a.unit.description===c.unit.description}).length;var h="ok"===f?e.promise?e.resolve:e.value:null;g&&h&&d(b.state,c.type)(g,h)}"notOk"===f&&b.skip.push({type:c.type,description:c.unit.description,error:e.promise?e.rejection:e.error});
return b})})},{results:[],state:{},skip:[]})};c.exports=function(a){return Promise.object(b(h,l,f("results"))(a))}},{"../gunner":235,"../util":247,"./buildTestQueue":238,"@codefeathers/promise.object":3}],243:[function(a,c,g){var e={ok:["ok","\u2705"],notOk:["notOk","\u274c"],skip:["skip","\u26a0\ufe0f"]};c.exports=function(a,c){a.on("start",function(){return console.log("Started tests")});a.on("test end",function(a){a.forEach(function(a){var b=e[a.status];console.log(">",b[0],b[1],a.description);
c.trace&&a.reason&&console.log("\n---\n\n",a.reason,"\n\n---\n")})});a.on("end",function(a){console.log(a.success.length,"tests of",a.length,"passed");console.log("Success ratio:",a.successPercent,"%")})}},{}],244:[function(a,c,g){c.exports={default:a("./default"),tap:a("./tap"),xunit:a("./xunit")}},{"./default":243,"./tap":245,"./xunit":246}],245:[function(a,c,g){var e={ok:"ok",notOk:"not ok",skip:"skip"},b=function(a,b){return"\nTAP version 13\n"+(a.length?"1":0)+".."+a.length+"\n"+a.map(function(a,
c){var d=b.trace&&a.reason&&(a.reason.stack?a.reason.stack:a.reason)||"";return e[a.status]+" "+(c+1)+" - "+a.description+(d&&"\n ---\n message: |\n "+d+"\n ---\n")}).join("\n")+"\n"};c.exports=function(a,c){a.on("end",function(a){return console.log(b(a,c))})};c.exports.convert=b},{}],246:[function(a,c,g){(function(e){var b=a("stream").Readable,f=a("./tap"),d=a("tap-xunit"),g=function(a){var c=new b;c._read=function(){};c.push(a);c.push(null);return c};c.exports=function(a){a.on("end",function(a){return g(f.convert(a,
{trace:!1})).pipe(d()).pipe(e.stdout)})}}).call(this,a("_process"))},{"./tap":245,_process:189,stream:204,"tap-xunit":207}],247:[function(a,c,g){var e=a("json-stringify-safe"),b=function(a){return a&&"object"===("undefined"===typeof a?"undefined":_typeof2(a))},f=function(a){return b(a)?a.stack||e(a):a},d=function(a){return a&&"function"===typeof a.then},h=function(a,b){return d(b)?b.then(a):a(b)};c.exports={isObject:b,isPromise:d,liftPromise:h,path:function(a){return function(b){return b.reduce(function(a,
b){return a&&a[b]},a)}},pick:function(a){return function(b){return b[a]}},pipe:function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return function(a){return b.reduce(function(a,b){return h(b,a)},a)}},reduce:function(a,b){return function(c){return c.reduce(a,b)}},flatten:function(a){return[].concat.apply([],a)},deepFlatten:function n(a){var b;return(b=[]).concat.apply(b,_toConsumableArray2(a.map(function(a){return Array.isArray(a)?n(a):a})))},map:function(a){return function(b){return b.map(a)}},
filter:function(a){return function(b){return b.filter(a)}},identity:function(a){return a},wrapWith:function(a){return function(b){return _defineProperty2({},a,b)}},unwrapFrom:function(a){return function(b){return b[a]}},promiseAll:function(a){return Promise.all(a)},partial:function(a){for(var b=arguments.length,c=Array(1<b?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];return function(){for(var b=arguments.length,d=Array(b),e=0;e<b;e++)d[e]=arguments[e];return a.apply(void 0,c.concat(d))}},isIn:function(a,
b){return-1!==a.indexOf(b)},containsPath:function(a,b){return a.some(function(a){return b.match(new RegExp("/"+a+"/?$"))})},stringify:f,taggedStringify:function(a){for(var b=arguments.length,c=Array(1<b?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];return a.reduce(function(a,b,d){return a+b+(f(c[d])||"")},"")},short:function(a,b){return function(c){return function(d){return a(d)?b(d):c(d)}}},hasProp:function(a){return function(b){return b in a}},last:function(a){return a[a.length-1]},upperCaseFirstLetter:function(a){return a[0].toUpperCase()+
a.slice(1)},lowerCaseFirstLetter:function(a){return a[0].toLowerCase()+a.slice(1)},arrayOrPush:function(a,b,c){return Array.isArray(a[b])?a[b].push(c):a[b]=[c]},assignToObject:function(a,c){return function(d,e){return b(a[c])?a[c][d]=e:a[c]=_defineProperty2({},d,e)}}}},{"json-stringify-safe":47}],248:[function(a,c,g){c.exports={Start:Symbol("Start"),End:Symbol("End"),expect:Symbol("expect"),pass:"pass",fail:"fail"}},{}]},{},[1])(1)});

2795
es5/index.js

File diff suppressed because one or more lines are too long

1
es6/index.js

@ -0,0 +1 @@
module.exports = require('../src/gunner');

12
package.json

@ -1,8 +1,8 @@
{
"name": "@klenty/gunner",
"version": "0.9.6",
"version": "0.10.0",
"description": "Zero magic, fast test-runner and assertion framework. No magic globals.",
"main": "index.js",
"main": "es6/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/klenty/gunner.git"
@ -14,6 +14,10 @@
"tdd",
"unit testing"
],
"scripts": {
"build": "rm -rf ./es5 && mkdir ./es5 && browserify ./es6/index.js -s Gunner > ./es5/index.js && babel --presets=env --plugins=babel-plugin-transform-object-rest-spread ./es5/index.js -o ./es5/index.js",
"build:closure": "./scripts/closure.sh"
},
"author": "Muthu Kumar <@MKRhere> (https://mkr.pw)",
"license": "MIT",
"bugs": {
@ -27,6 +31,10 @@
"tap-xunit": "^2.3.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"browserify": "^16.2.2",
"eslint": "^5.2.0"
}
}

4
sample/sample7.test.js

@ -3,7 +3,7 @@
* used during development
*/
const Gunner = require('../index.js');
const Gunner = require('../es5/dist.js');
const expect = Gunner.expect;
const expectMany = Gunner.expectMany;
const gunner = new Gunner({ name: 'sample tests' });
@ -11,7 +11,7 @@ const a = 1;
// gunner.before(Gunner.Start, () => console.log('Started tests!'));
// gunner.before(Gunner.End, () => console.log('Ended tests!'));
let runCount = 1;
// let runCount = 1;
// gunner.before('*', () => console.log(`Running test ${runCount++}`));
gunner.test('should automatically pass', () => expect().done());

4
scripts/closure.sh

@ -0,0 +1,4 @@
#!/bin/bash
java -jar $CLOSURE_COMPILER_PATH ./es5/index.js --js_output_file ./es5/dist.js --language_out ECMASCRIPT5 --warning_level QUIET
echo "Done!"

2645
shrinkwrap.yaml

File diff suppressed because it is too large
Loading…
Cancel
Save