UNPKG

laraveltranslations

Version:

Package for load Laravel translations into JS

653 lines 312 kB
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("fs"));else if("function"==typeof define&&define.amd)define(["fs"],e);else{var n="object"==typeof exports?e(require("fs")):e(t.fs);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=176)}([function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(2),i=r.extends(function(t,e){r.apply(this,[t||"statement",e])});t.exports=i},function(t,e){var n,r,i=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:s}catch(t){n=s}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var u,h=[],c=!1,f=-1;function l(){c&&u&&(c=!1,u.length?h=u.concat(h):f=-1,h.length&&p())}function p(){if(!c){var t=a(l);c=!0;for(var e=h.length;e;){for(u=h,h=[];++f<e;)u&&u[f].run();f=-1,e=h.length}u=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function _(t,e){this.fun=t,this.array=e}function d(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];h.push(new _(t,e)),1!==h.length||c||a(p)},_.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=d,i.addListener=d,i.once=d,i.off=d,i.removeListener=d,i.removeAllListeners=d,i.emit=d,i.prependListener=d,i.prependOnceListener=d,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var n=function(t,e){this.kind=t,e&&(this.loc=e)};n.extends=function(t){return t.prototype=Object.create(this.prototype),t.extends=this.extends,t.prototype.constructor=t,t},t.exports=n},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(2),i=r.extends(function(t,e){r.apply(this,[t||"expression",e])});t.exports=i},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var o=s>=0?arguments[s]:t.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,i="/"===o.charAt(0))}return(i?"/":"")+(e=n(r(e.split("/"),function(t){return!!t}),!i).join("/"))||"."},e.normalize=function(t){var s=e.isAbsolute(t),o="/"===i(t,-1);return(t=n(r(t.split("/"),function(t){return!!t}),!s).join("/"))||s||(t="."),t&&o&&(t+="/"),(s?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),s=r(n.split("/")),o=Math.min(i.length,s.length),a=o,u=0;u<o;u++)if(i[u]!==s[u]){a=u;break}var h=[];for(u=a;u<i.length;u++)h.push("..");return(h=h.concat(s.slice(a))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,s=t.length-1;s>=1;--s)if(47===(e=t.charCodeAt(s))){if(!i){r=s;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,s=0,o=t.length-1;o>=0;--o){var a=t.charCodeAt(o);if(47!==a)-1===r&&(i=!1,r=o+1),46===a?-1===e?e=o:1!==s&&(s=1):-1!==e&&(s=-1);else if(!i){n=o+1;break}}return-1===e||-1===r||0===s||1===s&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n(1))},function(e,n){e.exports=t},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(3),i=r.extends(function(t,e,n){r.apply(this,[t||"literal",n]),this.value=e});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(0),i=r.extends(function(t,e,n){r.apply(this,[t||"declaration",n]),this.name=e});i.prototype.parseFlags=function(t){this.isAbstract=1===t[2],this.isFinal=2===t[2],"class"!==this.kind&&(0===t[0]?this.visibility="public":1===t[0]?this.visibility="protected":2===t[0]&&(this.visibility="private"),this.isStatic=1===t[1])},t.exports=i},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},function(t,e,n){"use strict";var r=n(16),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=f;var s=n(13);s.inherits=n(9);var o=n(32),a=n(26);s.inherits(f,o);for(var u=i(a.prototype),h=0;h<u.length;h++){var c=u[h];f.prototype[c]||(f.prototype[c]=a.prototype[c])}function f(t){if(!(this instanceof f))return new f(t);o.call(this,t),a.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",l)}function l(){this.allowHalfOpen||this._writableState.ended||r.nextTick(p,this)}function p(t){t.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),f.prototype._destroy=function(t,e){this.push(null),this.end(),r.nextTick(e,t)}},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(3),i=r.extends(function(t,e){r.apply(this,[t||"operation",e])});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(0),i=r.extends(function(t,e,n){r.apply(this,[t||"sys",n]),this.arguments=e});t.exports=i},function(t,e,n){(function(t){function n(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===n(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===n(t)},e.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=t.isBuffer}).call(this,n(25).Buffer)},function(t,e,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,s=i&&"function"==typeof i.apply?i.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function a(){a.init.call(this)}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function h(t){return void 0===t._maxListeners?a.defaultMaxListeners:t._maxListeners}function c(t,e,n,r){var i,s,o,a;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(s=t._events)?(s=t._events=Object.create(null),t._eventsCount=0):(void 0!==s.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),s=t._events),o=s[e]),void 0===o)o=s[e]=n,++t._eventsCount;else if("function"==typeof o?o=s[e]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(i=h(t))>0&&o.length>i&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=o.length,a=u,console&&console.warn&&console.warn(a)}return t}function f(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=function(){for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,s(this.listener,this.target,t))}.bind(r);return i.listener=n,r.wrapFn=i,i}function l(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(i):_(i,i.length)}function p(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function _(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");u=t}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},a.prototype.getMaxListeners=function(){return h(this)},a.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var r="error"===t,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var u=i[t];if(void 0===u)return!1;if("function"==typeof u)s(u,this,e);else{var h=u.length,c=_(u,h);for(n=0;n<h;++n)s(c[n],this,e)}return!0},a.prototype.addListener=function(t,e){return c(this,t,e,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(t,e){return c(this,t,e,!0)},a.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e);return this.on(t,f(this,t,e)),this},a.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e);return this.prependListener(t,f(this,t,e)),this},a.prototype.removeListener=function(t,e){var n,r,i,s,o;if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e);if(void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===e||n[s].listener===e){o=n[s].listener,i=s;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,i),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,o||e)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var i,s=Object.keys(n);for(r=0;r<s.length;++r)"removeListener"!==(i=s[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},a.prototype.listeners=function(t){return l(this,t,!0)},a.prototype.rawListeners=function(t){return l(this,t,!1)},a.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):p.call(t,e)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(t,e,n){(function(t){var r=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++)n[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return n},i=/%[sdj%]/g;e.format=function(t){if(!y(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(a(arguments[n]));return e.join(" ")}n=1;for(var r=arguments,s=r.length,o=String(t).replace(i,function(t){if("%%"===t)return"%";if(n>=s)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}}),u=r[n];n<s;u=r[++n])d(u)||!g(u)?o+=" "+u:o+=" "+a(u);return o},e.deprecate=function(n,r){if(void 0!==t&&!0===t.noDeprecation)return n;if(void 0===t)return function(){return e.deprecate(n,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(r);t.traceDeprecation?console.trace(r):console.error(r),i=!0}return n.apply(this,arguments)}};var s,o={};function a(t,n){var r={seen:[],stylize:h};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),_(n)?r.showHidden=n:n&&e._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),c(r,t,r.depth)}function u(t,e){var n=a.styles[e];return n?"["+a.colors[n][0]+"m"+t+"["+a.colors[n][1]+"m":t}function h(t,e){return t}function c(t,n,r){if(t.customInspect&&n&&k(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return y(i)||(i=c(t,i,r)),i}var s=function(t,e){if(v(e))return t.stylize("undefined","undefined");if(y(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(T(e))return t.stylize(""+e,"number");if(_(e))return t.stylize(""+e,"boolean");if(d(e))return t.stylize("null","null")}(t,n);if(s)return s;var o=Object.keys(n),a=function(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(n)),x(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return f(n);if(0===o.length){if(k(n)){var u=n.name?": "+n.name:"";return t.stylize("[Function"+u+"]","special")}if(E(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(m(n))return t.stylize(Date.prototype.toString.call(n),"date");if(x(n))return f(n)}var h,g="",S=!1,b=["{","}"];(p(n)&&(S=!0,b=["[","]"]),k(n))&&(g=" [Function"+(n.name?": "+n.name:"")+"]");return E(n)&&(g=" "+RegExp.prototype.toString.call(n)),m(n)&&(g=" "+Date.prototype.toUTCString.call(n)),x(n)&&(g=" "+f(n)),0!==o.length||S&&0!=n.length?r<0?E(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),h=S?function(t,e,n,r,i){for(var s=[],o=0,a=e.length;o<a;++o)N(e,String(o))?s.push(l(t,e,n,r,String(o),!0)):s.push("");return i.forEach(function(i){i.match(/^\d+$/)||s.push(l(t,e,n,r,i,!0))}),s}(t,n,r,a,o):o.map(function(e){return l(t,n,r,a,e,S)}),t.seen.pop(),function(t,e,n){if(t.reduce(function(t,e){return 0,e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(h,g,b)):b[0]+g+b[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function l(t,e,n,r,i,s){var o,a,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(a=t.stylize("[Setter]","special")),N(r,i)||(o="["+i+"]"),a||(t.seen.indexOf(u.value)<0?(a=d(n)?c(t,u.value,null):c(t,u.value,n-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map(function(t){return"  "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return"   "+t}).join("\n")):a=t.stylize("[Circular]","special")),v(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+a}function p(t){return Array.isArray(t)}function _(t){return"boolean"==typeof t}function d(t){return null===t}function T(t){return"number"==typeof t}function y(t){return"string"==typeof t}function v(t){return void 0===t}function E(t){return g(t)&&"[object RegExp]"===S(t)}function g(t){return"object"==typeof t&&null!==t}function m(t){return g(t)&&"[object Date]"===S(t)}function x(t){return g(t)&&("[object Error]"===S(t)||t instanceof Error)}function k(t){return"function"==typeof t}function S(t){return Object.prototype.toString.call(t)}function b(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(n){if(v(s)&&(s=t.env.NODE_DEBUG||""),n=n.toUpperCase(),!o[n])if(new RegExp("\\b"+n+"\\b","i").test(s)){var r=t.pid;o[n]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",n,r,t)}}else o[n]=function(){};return o[n]},e.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=p,e.isBoolean=_,e.isNull=d,e.isNullOrUndefined=function(t){return null==t},e.isNumber=T,e.isString=y,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=v,e.isRegExp=E,e.isObject=g,e.isDate=m,e.isError=x,e.isFunction=k,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=n(47);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var t=new Date,e=[b(t.getHours()),b(t.getMinutes()),b(t.getSeconds())].join(":");return[t.getDate(),A[t.getMonth()],e].join(" ")}function N(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",O(),e.format.apply(e,arguments))},e.inherits=n(48),e._extend=function(t,e){if(!e||!g(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var w="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(w&&t[w]){var e;if("function"!=typeof(e=t[w]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,w,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,r=new Promise(function(t,r){e=t,n=r}),i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);i.push(function(t,r){t?n(t):e(r)});try{t.apply(this,i)}catch(t){n(t)}return r}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),w&&Object.defineProperty(e,w,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,r(t))},e.promisify.custom=w,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var s=this,o=function(){return i.apply(s,arguments)};e.apply(this,n).then(function(e){t.nextTick(o,null,e)},function(e){t.nextTick(R,e,o)})}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,r(e)),n}}).call(this,n(1))},function(t,e,n){"use strict";(function(e){void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var s,o,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,i)});default:for(s=new Array(a-1),o=0;o<s.length;)s[o++]=arguments[o];return e.nextTick(function(){t.apply(null,s)})}}}:t.exports=e}).call(this,n(1))},function(t,e,n){var r=n(25),i=r.Buffer;function s(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(s(r,e),e.Buffer=o),s(i,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(0),i=r.extends(function(t,e,n){r.apply(this,[t||"block",n]),this.children=e.filter(Boolean)});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(3),i=r.extends(function(t,e,n,i){r.apply(this,[t||"lookup",i]),this.what=e,this.offset=n});t.exports=i},function(t,e,n){(function(t,r){var i;
/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */(function(){var s,o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",h="__lodash_hash_undefined__",c=500,f="__lodash_placeholder__",l=1,p=2,_=4,d=1,T=2,y=1,v=2,E=4,g=8,m=16,x=32,k=64,S=128,b=256,A=512,O=30,N="...",w=800,R=16,C=1,L=2,I=1/0,P=9007199254740991,D=17976931348623157e292,U=NaN,M=4294967295,B=M-1,j=M>>>1,F=[["ary",S],["bind",y],["bindKey",v],["curry",g],["curryRight",m],["flip",A],["partial",x],["partialRight",k],["rearg",b]],G="[object Arguments]",H="[object Array]",W="[object AsyncFunction]",Y="[object Boolean]",V="[object Date]",z="[object DOMException]",Q="[object Error]",$="[object Function]",q="[object GeneratorFunction]",K="[object Map]",X="[object Number]",J="[object Null]",Z="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",rt="[object String]",it="[object Symbol]",st="[object Undefined]",ot="[object WeakMap]",at="[object WeakSet]",ut="[object ArrayBuffer]",ht="[object DataView]",ct="[object Float32Array]",ft="[object Float64Array]",lt="[object Int8Array]",pt="[object Int16Array]",_t="[object Int32Array]",dt="[object Uint8Array]",Tt="[object Uint8ClampedArray]",yt="[object Uint16Array]",vt="[object Uint32Array]",Et=/\b__p \+= '';/g,gt=/\b(__p \+=) '' \+/g,mt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xt=/&(?:amp|lt|gt|quot|#39);/g,kt=/[&<>"']/g,St=RegExp(xt.source),bt=RegExp(kt.source),At=/<%-([\s\S]+?)%>/g,Ot=/<%([\s\S]+?)%>/g,Nt=/<%=([\s\S]+?)%>/g,wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rt=/^\w*$/,Ct=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/[\\^$.*+?()[\]{}|]/g,It=RegExp(Lt.source),Pt=/^\s+|\s+$/g,Dt=/^\s+/,Ut=/\s+$/,Mt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bt=/\{\n\/\* \[wrapped with (.+)\] \*/,jt=/,? & /,Ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Gt=/\\(\\)?/g,Ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wt=/\w*$/,Yt=/^[-+]0x[0-9a-f]+$/i,Vt=/^0b[01]+$/i,zt=/^\[object .+?Constructor\]$/,Qt=/^0o[0-7]+$/i,$t=/^(?:0|[1-9]\d*)$/,qt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Kt=/($^)/,Xt=/['\n\r\u2028\u2029\\]/g,Jt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Zt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",te="[\\ud800-\\udfff]",ee="["+Zt+"]",ne="["+Jt+"]",re="\\d+",ie="[\\u2700-\\u27bf]",se="[a-z\\xdf-\\xf6\\xf8-\\xff]",oe="[^\\ud800-\\udfff"+Zt+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ae="\\ud83c[\\udffb-\\udfff]",ue="[^\\ud800-\\udfff]",he="(?:\\ud83c[\\udde6-\\uddff]){2}",ce="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",le="(?:"+se+"|"+oe+")",pe="(?:"+fe+"|"+oe+")",_e="(?:"+ne+"|"+ae+")"+"?",de="[\\ufe0e\\ufe0f]?"+_e+("(?:\\u200d(?:"+[ue,he,ce].join("|")+")[\\ufe0e\\ufe0f]?"+_e+")*"),Te="(?:"+[ie,he,ce].join("|")+")"+de,ye="(?:"+[ue+ne+"?",ne,he,ce,te].join("|")+")",ve=RegExp("['’]","g"),Ee=RegExp(ne,"g"),ge=RegExp(ae+"(?="+ae+")|"+ye+de,"g"),me=RegExp([fe+"?"+se+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+le,"$"].join("|")+")",fe+"?"+le+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,Te].join("|"),"g"),xe=RegExp("[\\u200d\\ud800-\\udfff"+Jt+"\\ufe0e\\ufe0f]"),ke=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Se=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],be=-1,Ae={};Ae[ct]=Ae[ft]=Ae[lt]=Ae[pt]=Ae[_t]=Ae[dt]=Ae[Tt]=Ae[yt]=Ae[vt]=!0,Ae[G]=Ae[H]=Ae[ut]=Ae[Y]=Ae[ht]=Ae[V]=Ae[Q]=Ae[$]=Ae[K]=Ae[X]=Ae[Z]=Ae[et]=Ae[nt]=Ae[rt]=Ae[ot]=!1;var Oe={};Oe[G]=Oe[H]=Oe[ut]=Oe[ht]=Oe[Y]=Oe[V]=Oe[ct]=Oe[ft]=Oe[lt]=Oe[pt]=Oe[_t]=Oe[K]=Oe[X]=Oe[Z]=Oe[et]=Oe[nt]=Oe[rt]=Oe[it]=Oe[dt]=Oe[Tt]=Oe[yt]=Oe[vt]=!0,Oe[Q]=Oe[$]=Oe[ot]=!1;var Ne={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},we=parseFloat,Re=parseInt,Ce="object"==typeof t&&t&&t.Object===Object&&t,Le="object"==typeof self&&self&&self.Object===Object&&self,Ie=Ce||Le||Function("return this")(),Pe=e&&!e.nodeType&&e,De=Pe&&"object"==typeof r&&r&&!r.nodeType&&r,Ue=De&&De.exports===Pe,Me=Ue&&Ce.process,Be=function(){try{var t=De&&De.require&&De.require("util").types;return t||Me&&Me.binding&&Me.binding("util")}catch(t){}}(),je=Be&&Be.isArrayBuffer,Fe=Be&&Be.isDate,Ge=Be&&Be.isMap,He=Be&&Be.isRegExp,We=Be&&Be.isSet,Ye=Be&&Be.isTypedArray;function Ve(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ze(t,e,n,r){for(var i=-1,s=null==t?0:t.length;++i<s;){var o=t[i];e(r,o,n(o),t)}return r}function Qe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function $e(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function qe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ke(t,e){for(var n=-1,r=null==t?0:t.length,i=0,s=[];++n<r;){var o=t[n];e(o,n,t)&&(s[i++]=o)}return s}function Xe(t,e){return!!(null==t?0:t.length)&&un(t,e,0)>-1}function Je(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Ze(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function tn(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function en(t,e,n,r){var i=-1,s=null==t?0:t.length;for(r&&s&&(n=t[++i]);++i<s;)n=e(n,t[i],i,t);return n}function nn(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function rn(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var sn=ln("length");function on(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function an(t,e,n,r){for(var i=t.length,s=n+(r?1:-1);r?s--:++s<i;)if(e(t[s],s,t))return s;return-1}function un(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):an(t,cn,n)}function hn(t,e,n,r){for(var i=n-1,s=t.length;++i<s;)if(r(t[i],e))return i;return-1}function cn(t){return t!=t}function fn(t,e){var n=null==t?0:t.length;return n?dn(t,e)/n:U}function ln(t){return function(e){return null==e?s:e[t]}}function pn(t){return function(e){return null==t?s:t[e]}}function _n(t,e,n,r,i){return i(t,function(t,i,s){n=r?(r=!1,t):e(n,t,i,s)}),n}function dn(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==s&&(n=n===s?o:n+o)}return n}function Tn(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function yn(t){return function(e){return t(e)}}function vn(t,e){return Ze(e,function(e){return t[e]})}function En(t,e){return t.has(e)}function gn(t,e){for(var n=-1,r=t.length;++n<r&&un(e,t[n],0)>-1;);return n}function mn(t,e){for(var n=t.length;n--&&un(e,t[n],0)>-1;);return n}var xn=pn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),kn=pn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Sn(t){return"\\"+Ne[t]}function bn(t){return xe.test(t)}function An(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function On(t,e){return function(n){return t(e(n))}}function Nn(t,e){for(var n=-1,r=t.length,i=0,s=[];++n<r;){var o=t[n];o!==e&&o!==f||(t[n]=f,s[i++]=n)}return s}function wn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function Rn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Cn(t){return bn(t)?function(t){var e=ge.lastIndex=0;for(;ge.test(t);)++e;return e}(t):sn(t)}function Ln(t){return bn(t)?function(t){return t.match(ge)||[]}(t):function(t){return t.split("")}(t)}var In=pn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Pn=function t(e){var n,r=(e=null==e?Ie:Pn.defaults(Ie.Object(),e,Pn.pick(Ie,Se))).Array,i=e.Date,Jt=e.Error,Zt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,ie=e.TypeError,se=r.prototype,oe=Zt.prototype,ae=ee.prototype,ue=e["__core-js_shared__"],he=oe.toString,ce=ae.hasOwnProperty,fe=0,le=(n=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",pe=ae.toString,_e=he.call(ee),de=Ie._,Te=ne("^"+he.call(ce).replace(Lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ye=Ue?e.Buffer:s,ge=e.Symbol,xe=e.Uint8Array,Ne=ye?ye.allocUnsafe:s,Ce=On(ee.getPrototypeOf,ee),Le=ee.create,Pe=ae.propertyIsEnumerable,De=se.splice,Me=ge?ge.isConcatSpreadable:s,Be=ge?ge.iterator:s,sn=ge?ge.toStringTag:s,pn=function(){try{var t=Bs(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),Dn=e.clearTimeout!==Ie.clearTimeout&&e.clearTimeout,Un=i&&i.now!==Ie.Date.now&&i.now,Mn=e.setTimeout!==Ie.setTimeout&&e.setTimeout,Bn=te.ceil,jn=te.floor,Fn=ee.getOwnPropertySymbols,Gn=ye?ye.isBuffer:s,Hn=e.isFinite,Wn=se.join,Yn=On(ee.keys,ee),Vn=te.max,zn=te.min,Qn=i.now,$n=e.parseInt,qn=te.random,Kn=se.reverse,Xn=Bs(e,"DataView"),Jn=Bs(e,"Map"),Zn=Bs(e,"Promise"),tr=Bs(e,"Set"),er=Bs(e,"WeakMap"),nr=Bs(ee,"create"),rr=er&&new er,ir={},sr=co(Xn),or=co(Jn),ar=co(Zn),ur=co(tr),hr=co(er),cr=ge?ge.prototype:s,fr=cr?cr.valueOf:s,lr=cr?cr.toString:s;function pr(t){if(Na(t)&&!ya(t)&&!(t instanceof yr)){if(t instanceof Tr)return t;if(ce.call(t,"__wrapped__"))return fo(t)}return new Tr(t)}var _r=function(){function t(){}return function(e){if(!Oa(e))return{};if(Le)return Le(e);t.prototype=e;var n=new t;return t.prototype=s,n}}();function dr(){}function Tr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=s}function yr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=M,this.__views__=[]}function vr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Er(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function gr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function mr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new gr;++e<n;)this.add(t[e])}function xr(t){var e=this.__data__=new Er(t);this.size=e.size}function kr(t,e){var n=ya(t),r=!n&&Ta(t),i=!n&&!r&&ma(t),s=!n&&!r&&!i&&Ua(t),o=n||r||i||s,a=o?Tn(t.length,re):[],u=a.length;for(var h in t)!e&&!ce.call(t,h)||o&&("length"==h||i&&("offset"==h||"parent"==h)||s&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||Vs(h,u))||a.push(h);return a}function Sr(t){var e=t.length;return e?t[mi(0,e-1)]:s}function br(t,e){return ao(ns(t),Pr(e,0,t.length))}function Ar(t){return ao(ns(t))}function Or(t,e,n){(n===s||pa(t[e],n))&&(n!==s||e in t)||Lr(t,e,n)}function Nr(t,e,n){var r=t[e];ce.call(t,e)&&pa(r,n)&&(n!==s||e in t)||Lr(t,e,n)}function wr(t,e){for(var n=t.length;n--;)if(pa(t[n][0],e))return n;return-1}function Rr(t,e,n,r){return jr(t,function(t,i,s){e(r,t,n(t),s)}),r}function Cr(t,e){return t&&rs(e,iu(e),t)}function Lr(t,e,n){"__proto__"==e&&pn?pn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Ir(t,e){for(var n=-1,i=e.length,o=r(i),a=null==t;++n<i;)o[n]=a?s:Za(t,e[n]);return o}function Pr(t,e,n){return t==t&&(n!==s&&(t=t<=n?t:n),e!==s&&(t=t>=e?t:e)),t}function Dr(t,e,n,r,i,o){var a,u=e&l,h=e&p,c=e&_;if(n&&(a=i?n(t,r,i,o):n(t)),a!==s)return a;if(!Oa(t))return t;var f=ya(t);if(f){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&ce.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!u)return ns(t,a)}else{var d=Gs(t),T=d==$||d==q;if(ma(t))return Ki(t,u);if(d==Z||d==G||T&&!i){if(a=h||T?{}:Ws(t),!u)return h?function(t,e){return rs(t,Fs(t),e)}(t,function(t,e){return t&&rs(e,su(e),t)}(a,t)):function(t,e){return rs(t,js(t),e)}(t,Cr(a,t))}else{if(!Oe[d])return i?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case ut:return Xi(t);case Y:case V:return new r(+t);case ht:return function(t,e){var n=e?Xi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case ct:case ft:case lt:case pt:case _t:case dt:case Tt:case yt:case vt:return Ji(t,n);case K:return new r;case X:case rt:return new r(t);case et:return function(t){var e=new t.constructor(t.source,Wt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case nt:return new r;case it:return i=t,fr?ee(fr.call(i)):{}}var i}(t,d,u)}}o||(o=new xr);var y=o.get(t);if(y)return y;o.set(t,a),Ia(t)?t.forEach(function(r){a.add(Dr(r,e,n,r,t,o))}):wa(t)&&t.forEach(function(r,i){a.set(i,Dr(r,e,n,i,t,o))});var v=f?s:(c?h?Cs:Rs:h?su:iu)(t);return Qe(v||t,function(r,i){v&&(r=t[i=r]),Nr(a,i,Dr(r,e,n,i,t,o))}),a}function Ur(t,e,n){var r=n.length;if(null==t)return!r;for(t=ee(t);r--;){var i=n[r],o=e[i],a=t[i];if(a===s&&!(i in t)||!o(a))return!1}return!0}function Mr(t,e,n){if("function"!=typeof t)throw new ie(u);return ro(function(){t.apply(s,n)},e)}function Br(t,e,n,r){var i=-1,s=Xe,a=!0,u=t.length,h=[],c=e.length;if(!u)return h;n&&(e=Ze(e,yn(n))),r?(s=Je,a=!1):e.length>=o&&(s=En,a=!1,e=new mr(e));t:for(;++i<u;){var f=t[i],l=null==n?f:n(f);if(f=r||0!==f?f:0,a&&l==l){for(var p=c;p--;)if(e[p]===l)continue t;h.push(f)}else s(e,l,r)||h.push(f)}return h}pr.templateSettings={escape:At,evaluate:Ot,interpolate:Nt,variable:"",imports:{_:pr}},pr.prototype=dr.prototype,pr.prototype.constructor=pr,Tr.prototype=_r(dr.prototype),Tr.prototype.constructor=Tr,yr.prototype=_r(dr.prototype),yr.prototype.constructor=yr,vr.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},vr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},vr.prototype.get=function(t){var e=this.__data__;if(nr){var n=e[t];return n===h?s:n}return ce.call(e,t)?e[t]:s},vr.prototype.has=function(t){var e=this.__data__;return nr?e[t]!==s:ce.call(e,t)},vr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nr&&e===s?h:e,this},Er.prototype.clear=function(){this.__data__=[],this.size=0},Er.prototype.delete=function(t){var e=this.__data__,n=wr(e,t);return!(n<0)&&(n==e.length-1?e.pop():De.call(e,n,1),--this.size,!0)},Er.prototype.get=function(t){var e=this.__data__,n=wr(e,t);return n<0?s:e[n][1]},Er.prototype.has=function(t){return wr(this.__data__,t)>-1},Er.prototype.set=function(t,e){var n=this.__data__,r=wr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},gr.prototype.clear=function(){this.size=0,this.__data__={hash:new vr,map:new(Jn||Er),string:new vr}},gr.prototype.delete=function(t){var e=Us(this,t).delete(t);return this.size-=e?1:0,e},gr.prototype.get=function(t){return Us(this,t).get(t)},gr.prototype.has=function(t){return Us(this,t).has(t)},gr.prototype.set=function(t,e){var n=Us(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},mr.prototype.add=mr.prototype.push=function(t){return this.__data__.set(t,h),this},mr.prototype.has=function(t){return this.__data__.has(t)},xr.prototype.clear=function(){this.__data__=new Er,this.size=0},xr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},xr.prototype.get=function(t){return this.__data__.get(t)},xr.prototype.has=function(t){return this.__data__.has(t)},xr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Er){var r=n.__data__;if(!Jn||r.length<o-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new gr(r)}return n.set(t,e),this.size=n.size,this};var jr=os(Qr),Fr=os($r,!0);function Gr(t,e){var n=!0;return jr(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Hr(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],a=e(o);if(null!=a&&(u===s?a==a&&!Da(a):n(a,u)))var u=a,h=o}return h}function Wr(t,e){var n=[];return jr(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Yr(t,e,n,r,i){var s=-1,o=t.length;for(n||(n=Ys),i||(i=[]);++s<o;){var a=t[s];e>0&&n(a)?e>1?Yr(a,e-1,n,r,i):tn(i,a):r||(i[i.length]=a)}return i}var Vr=as(),zr=as(!0);function Qr(t,e){return t&&Vr(t,e,iu)}function $r(t,e){return t&&zr(t,e,iu)}function qr(t,e){return Ke(e,function(e){return Sa(t[e])})}function Kr(t,e){for(var n=0,r=(e=zi(e,t)).length;null!=t&&n<r;)t=t[ho(e[n++])];return n&&n==r?t:s}function Xr(t,e,n){var r=e(t);return ya(t)?r:tn(r,n(t))}function Jr(t){return null==t?t===s?st:J:sn&&sn in ee(t)?function(t){var e=ce.call(t,sn),n=t[sn];try{t[sn]=s;var r=!0}catch(t){}var i=pe.call(t);r&&(e?t[sn]=n:delete t[sn]);return i}(t):function(t){return pe.call(t)}(t)}function Zr(t,e){return t>e}function ti(t,e){return null!=t&&ce.call(t,e)}function ei(t,e){return null!=t&&e in ee(t)}function ni(t,e,n){for(var i=n?Je:Xe,o=t[0].length,a=t.length,u=a,h=r(a),c=1/0,f=[];u--;){var l=t[u];u&&e&&(l=Ze(l,yn(e))),c=zn(l.length,c),h[u]=!n&&(e||o>=120&&l.length>=120)?new mr(u&&l):s}l=t[0];var p=-1,_=h[0];t:for(;++p<o&&f.length<c;){var d=l[p],T=e?e(d):d;if(d=n||0!==d?d:0,!(_?En(_,T):i(f,T,n))){for(u=a;--u;){var y=h[u];if(!(y?En(y,T):i(t[u],T,n)))continue t}_&&_.push(T),f.push(d)}}return f}function ri(t,e,n){var r=null==(t=to(t,e=zi(e,t)))?t:t[ho(ko(e))];return null==r?s:Ve(r,t,n)}function ii(t){return Na(t)&&Jr(t)==G}function si(t,e,n,r,i){return t===e||(null==t||null==e||!Na(t)&&!Na(e)?t!=t&&e!=e:function(t,e,n,r,i,o){var a=ya(t),u=ya(e),h=a?H:Gs(t),c=u?H:Gs(e),f=(h=h==G?Z:h)==Z,l=(c=c==G?Z:c)==Z,p=h==c;if(p&&ma(t)){if(!ma(e))return!1;a=!0,f=!1}if(p&&!f)return o||(o=new xr),a||Ua(t)?Ns(t,e,n,r,i,o):function(t,e,n,r,i,s,o){switch(n){case ht:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ut:return!(t.byteLength!=e.byteLength||!s(new xe(t),new xe(e)));case Y:case V:case X:return pa(+t,+e);case Q:return t.name==e.name&&t.message==e.message;case et:case rt:return t==e+"";case K:var a=An;case nt:var u=r&d;if(a||(a=wn),t.size!=e.size&&!u)return!1;var h=o.get(t);if(h)return h==e;r|=T,o.set(t,e);var c=Ns(a(t),a(e),r,i,s,o);return o.delete(t),c;case it:if(fr)return fr.call(t)==fr.call(e)}return!1}(t,e,h,n,r,i,o);if(!(n&d)){var _=f&&ce.call(t,"__wrapped__"),y=l&&ce.call(e,"__wrapped__");if(_||y){var v=_?t.value():t,E=y?e.value():e;return o||(o=new xr),i(v,E,n,r,o)}}if(!p)return!1;return o||(o=new xr),function(t,e,n,r,i,o){var a=n&d,u=Rs(t),h=u.length,c=Rs(e).length;if(h!=c&&!a)return!1;var f=h;for(;f--;){var l=u[f];if(!(a?l in e:ce.call(e,l)))return!1}var p=o.get(t);if(p&&o.get(e))return p==e;var _=!0;o.set(t,e),o.set(e,t);var T=a;for(;++f<h;){l=u[f];var y=t[l],v=e[l];if(r)var E=a?r(v,y,l,e,t,o):r(y,v,l,t,e,o);if(!(E===s?y===v||i(y,v,n,r,o):E)){_=!1;break}T||(T="constructor"==l)}if(_&&!T){var g=t.constructor,m=e.constructor;g!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m)&&(_=!1)}return o.delete(t),o.delete(e),_}(t,e,n,r,i,o)}(t,e,n,r,si,i))}function oi(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=ee(t);i--;){var u=n[i];if(a&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++i<o;){var h=(u=n[i])[0],c=t[h],f=u[1];if(a&&u[2]){if(c===s&&!(h in t))return!1}else{var l=new xr;if(r)var p=r(c,f,h,t,e,l);if(!(p===s?si(f,c,d|T,r,l):p))return!1}}return!0}function ai(t){return!(!Oa(t)||(e=t,le&&le in e))&&(Sa(t)?Te:zt).test(co(t));var e}function ui(t){return"function"==typeof t?t:null==t?Ru:"object"==typeof t?ya(t)?_i(t[0],t[1]):pi(t):ju(t)}function hi(t){if(!Ks(t))return Yn(t);var e=[];for(var n in ee(t))ce.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ci(t){if(!Oa(t))return function(t){var e=[];if(null!=t)for(var n in ee(t))e.push(n);return e}(t);var e=Ks(t),n=[];for(var r in t)("constructor"!=r||!e&&ce.call(t,r))&&n.push(r);return n}function fi(t,e){return t<e}function li(t,e){var n=-1,i=Ea(t)?r(t.length):[];return jr(t,function(t,r,s){i[++n]=e(t,r,s)}),i}function pi(t){var e=Ms(t);return 1==e.length&&e[0][2]?Js(e[0][0],e[0][1]):function(n){return n===t||oi(n,t,e)}}function _i(t,e){return Qs(t)&&Xs(e)?Js(ho(t),e):function(n){var r=Za(n,t);return r===s&&r===e?tu(n,t):si(e,r,d|T)}}function di(t,e,n,r,i){t!==e&&Vr(e,function(o,a){if(i||(i=new xr),Oa(o))!function(t,e,n,r,i,o,a){var u=eo(t,n),h=eo(e,n),c=a.get(h);if(c)return void Or(t,n,c);var f=o?o(u,h,n+"",t,e,a):s,l=f===s;if(l){var p=ya(h),_=!p&&ma(h),d=!p&&!_&&Ua(h);f=h,p||_||d?ya(u)?f=u:ga(u)?f=ns(u):_?(l=!1,f=Ki(h,!0)):d?(l=!1,f=Ji(h,!0)):f=[]:Ca(h)||Ta(h)?(f=u,Ta(u)?f=Ya(u):Oa(u)&&!Sa(u)||(f=Ws(h))):l=!1}l&&(a.set(h,f),i(f,h,r,o,a),a.delete(h));Or(t,n,f)}(t,e,a,n,di,r,i);else{var u=r?r(eo(t,a),o,a+"",t,e,i):s;u===s&&(u=o),Or(t,a,u)}},su)}function Ti(t,e){var n=t.length;if(n)return Vs(e+=e<0?n:0,n)?t[e]:s}function yi(t,e,n){var r=-1;return e=Ze(e.length?e:[Ru],yn(Ds())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(li(t,function(t,n,i){return{criteria:Ze(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){var r=-1,i=t.criteria,s=e.criteria,o=i.length,a=n.length;for(;++r<o;){var u=Zi(i[r],s[r]);if(u){if(r>=a)return u;var h=n[r];return u*("desc"==h?-1:1)}}return t.index-e.index}(t,e,n)})}function vi(t,e,n){for(var r=-1,i=e.length,s={};++r<i;){var o=e[r],a=Kr(t,o);n(a,o)&&Ai(s,zi(o,t),a)}return s}function Ei(t,e,n,r){var i=r?hn:un,s=-1,o=e.length,a=t;for(t===e&&(e=ns(e)),n&&(a=Ze(t,yn(n)));++s<o;)for(var u=0,h=e[s],c=n?n(h):h;(u=i(a,c,u,r))>-1;)a!==t&&De.call(a,u,1),De.call(t,u,1);return t}function gi(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==s){var s=i;Vs(i)?De.call(t,i,1):Bi(t,i)}}return t}function mi(t,e){return t+jn(qn()*(e-t+1))}function xi(t,e){var n="";if(!t||e<1||e>P)return n;do{e%2&&(n+=t),(e=jn(e/2))&&(t+=t)}while(e);return n}function ki(t,e){return io(Zs(t,e,Ru),t+"")}function Si(t){return Sr(pu(t))}function bi(t,e){var n=pu(t);return ao(n,Pr(e,0,n.length))}function Ai(t,e,n,r){if(!Oa(t))return t;for(var i=-1,o=(e=zi(e,t)).length,a=o-1,u=t;null!=u&&++i<o;){var h=ho(e[i]),c=n;if(i!=a){var f=u[h];(c=r?r(f,h,u):s)===s&&(c=Oa(f)?f:Vs(e[i+1])?[]:{})}Nr(u,h,c),u=u[h]}return t}var Oi=rr?function(t,e){return rr.set(t,e),t}:Ru,Ni=pn?function(t,e){return pn(t,"toString",{configurable:!0,enumerable:!1,value:Ou(e),writable:!0})}:Ru;function wi(t){return ao(pu(t))}function Ri(t,e,n){var i=-1,s=t.length;e<0&&(e=-e>s?0:s+e),(n=n>s?s:n)<0&&(n+=s),s=e>n?0:n-e>>>0,e>>>=0;for(var o=r(s);++i<s;)o[i]=t[i+e];return o}function Ci(t,e){var n;return jr(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function Li(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=j){for(;r<i;){var s=r+i>>>1,o=t[s];null!==o&&!Da(o)&&(n?o<=e:o<e)?r=s+1:i=s}return i}return Ii(t,e,Ru,n)}function Ii(t,e,n,r){e=n(e);for(var i=0,o=null==t?0:t.length,a=e!=e,u=null===e,h=Da(e),c=e===s;i<o;){var f=jn((i+o)/2),l=n(t[f]),p=l!==s,_=null===l,d=l==l,T=Da(l);if(a)var y=r||d;else y=c?d&&(r||p):u?d&&p&&(r||!_):h?d&&p&&!_&&(r||!T):!_&&!T&&(r?l<=e:l<e);y?i=f+1:o=f}return zn(o,B)}function Pi(t,e){for(var n=-1,r=t.length,i=0,s=[];++n<r;){var o=t[n],a=e?e(o):o;if(!n||!pa(a,u)){var u=a;s[i++]=0===o?0:o}}return s}function Di(t){return"number"==typeof t?t:Da(t)?U:+t}function Ui(t){if("string"==typeof t)return t;if(ya(t))return Ze(t,Ui)+"";if(Da(t))return lr?lr.call(t):"";var e=t+"";return"0"==e&&1/t==-I?"-0":e}function Mi(t,e,n){var r=-1,i=Xe,s=t.length,a=!0,u=[],h=u;if(n)a=!1,i=Je;else if(s>=o){var c=e?null:xs(t);if(c)return wn(c);a=!1,i=En,h=new mr}else h=e?[]:u;t:for(;++r<s;){var f=t[r],l=e?e(f):f;if(f=n||0!==f?f:0,a&&l==l){for(var p=h.length;p--;)if(h[p]===l)continue t;e&&h.push(l),u.push(f)}else i(h,l,n)||(h!==u&&h.push(l),u.push(f))}return u}function Bi(t,e){return null==(t=to(t,e=zi(e,t)))||delete t[ho(ko(e))]}function ji(t,e,n,r){return Ai(t,e,n(Kr(t,e)),r)}function Fi(t,e,n,r){for(var i=t.length,s=r?i:-1;(r?s--:++s<i)&&e(t[s],s,t););return n?Ri(t,r?0:s,r?s+1:i):Ri(t,r?s+1:0,r?i:s)}function Gi(t,e){var n=t;return n instanceof yr&&(n=n.value()),en(e,function(t,e){return e.func.apply(e.thisArg,tn([t],e.args))},n)}function Hi(t,e,n){var i=t.length;if(i<2)return i?Mi(t[0]):[];for(var s=-1,o=r(i);++s<i;)for(var a=t[s],u=-1;++u<i;)u!=s&&(o[s]=Br(o[s]||a,t[u],e,n));return Mi(Yr(o,1),e,n)}function Wi(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r<i;){var u=r<o?e[r]:s;n(a,t[r],u)}return a}function Yi(t){return ga(t)?t:[]}function Vi(t){return"function"==typeof t?t:Ru}function zi(t,e){return ya(t)?t:Qs(t,e)?[t]:uo(Va(t))}var Qi=ki;function $i(t,e,n){var r=t.length;return n=n===s?r:n,!e&&n>=r?t:Ri(t,e,n)}var qi=Dn||function(t){return Ie.clearTimeout(t)};function Ki(t,e){if(e)return t.slice();var n=t.length,r=Ne?Ne(n):new t.constructor(n);return t.copy(r),r}function Xi(t){var e=new t.constructor(t.byteLength);return new xe(e).set(new xe(t)),e}function Ji(t,e){var n=e?Xi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Zi(t,e){if(t!==e){var n=t!==s,r=null===t,i=t==t,o=Da(t),a=e!==s,u=null===e,h=e==e,c=Da(e);if(!u&&!c&&!o&&t>e||o&&a&&h&&!u&&!c||r&&a&&h||!n&&h||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||u&&n&&i||!a&&i||!h)return-1}return 0}function ts(t,e,n,i){for(var s=-1,o=t.length,a=n.length,u=-1,h=e.length,c=Vn(o-a,0),f=r(h+c),l=!i;++u<h;)f[u]=e[u];for(;++s<a;)(l||s<o)&&(f[n[s]]=t[s]);for(;c--;)f[u++]=t[s++];return f}function es(t,e,n,i){for(var s=-1,o=t.length,a=-1,u=n.length,h=-1,c=e.length,f=Vn(o-u,0),l=r(f+c),p=!i;++s<f;)l[s]=t[s];for(var _=s;++h<c;)l[_+h]=e[h];for(;++a<u;)(p||s<o)&&(l[_+n[a]]=t[s++]);return l}function ns(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function rs(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var u=e[o],h=r?r(n[u],t[u],u,n,t):s;h===s&&(h=t[u]),i?Lr(n,u,h):Nr(n,u,h)}return n}function is(t,e){return function(n,r){var i=ya(n)?ze:Rr,s=e?e():{};return i(n,t,Ds(r,2),s)}}function ss(t){return ki(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:s,a=i>2?n[2]:s;for(o=t.length>3&&"function"==typeof o?(i--,o):s,a&&zs(n[0],n[1],a)&&(o=i<3?s:o,i=1),e=ee(e);++r<i;){var u=n[r];u&&t(e,u,r,o)}return e})}function os(t,e){return function(n,r){if(null==n)return n;if(!Ea(n))return t(n,r);for(var i=n.length,s=e?i:-1,o=ee(n);(e?s--:++s<i)&&!1!==r(o[s],s,o););return n}}function as(t){return function(e,n,r){for(var i=-1,s=ee(e),o=r(e),a=o.length;a--;){var u=o[t?a:++i];if(!1===n(s[u],u,s))break}return e}}function us(t){return function(e){var n=bn(e=Va(e))?Ln(e):s,r=n?n[0]:e.charAt(0),i=n?$i(n,1).join(""):e.slice(1);return r[t]()+i}}function hs(t){return function(e){return en(Su(Tu(e).replace(ve,"")),t,"")}}function cs(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=_r(t.prototype),r=t.apply(n,e);return Oa(r)?r:n}}function fs(t){return function(e,n,r){var i=ee(e);if(!Ea(e)){var o=Ds(n,3);e=iu(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:s}}function ls(t){return ws(function(e){var n=e.length,r=n,i=Tr.prototype.thru;for(t&&e.reverse();r--;){var o=e[r];if("function"!=typeof o)throw new ie(u);if(i&&!a&&"wrapper"==Is(o))var a=new Tr([],!0)}for(r=a?r:n;++r<n;){var h=Is(o=e[r]),c="wrapper"==h?Ls(o):s;a=c&&$s(c[0])&&c[1]==(S|g|x|b)&&!c[4].length&&1==c[9]?a[Is(c[0])].apply(a,c[3]):1==o.length&&$s(o)?a[h]():a.thru(o)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&ya(r))return a.plant(r).value();for(var i=0,s=n?e[i].apply(this,t):r;++i<n;)s=e[i].call(this,s);return s}})}function ps(t,e,n,i,o,a,u,h,c,f){var l=e&S,p=e&y,_=e&v,d=e&(g|m),T=e&A,E=_?s:cs(t);return function y(){for(var v=arguments.length,g=r(v),m=v;m--;)g[m]=arguments[m];if(d)var x=Ps(y),k=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(g,x);if(i&&(g=ts(g,i,o,d)),a&&(g=es(g,a,u,d)),v-=k,d&&v<f){var S=Nn(g,x);return gs(t,e,ps,y.placeholder,n,g,S,h,c,f-v)}var b=p?n:this,A=_?b[t]:t;return v=g.length,h?g=function(t,e){for(var n=t.length,r=zn(e.length,n),i=ns(t);r--;){var o=e[r];t[r]=Vs(o,n)?i[o]:s}return t}(g,h):T&&v>1&&g.reverse(),l&&c<v&&(g.length=c),this&&this!==Ie&&this instanceof y&&(A=E||cs(A)),A.apply(b,g)}}function _s(t,e){return function(n,r){return function(t,e,n,r){return Qr(t,function(t,i,s){e(r,n(t),i,s)}),r}(n,t,e(r),{})}}function ds(t,e){return function(n,r){var i;if(n===s&&r===s)return e;if(n!==s&&(i=n),r!==s){if(i===s)return r;"string"==typeof n||"string"==typeof r?(n=Ui(n),r=Ui(r)):(n=Di(n),r=Di(r)),i=t(n,r)}return i}}function Ts(t){return ws(function(e){return e=Ze(e,yn(Ds())),ki(function(n){var r=this;return t(e,function(t){return Ve(t,r,n)})})})}function ys(t,e){var n=(e=e===s?" ":Ui(e)).length;if(n<2)return n?xi(e,t):e;var r=xi(e,Bn(t/Cn(e)));return bn(e)?$i(Ln(r),0,t).join(""):r.slice(0,t)}function vs(t){return function(e,n,i){return i&&"number"!=typeof i&&zs(e,n,i)&&(n=i=s),e=Fa(e),n===s?(n=e,e=0):n=Fa(n),function(t,e,n,i){for(var s=-1,o=Vn(Bn((e-t)/(n||1)),0),a=r(o);o--;)a[i?o:++s]=t,t+=n;return a}(e,n,i=i===s?e<n?1:-1:Fa(i),t)}}function Es(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Wa(e),n=Wa(n)),t(e,n)}}function gs(t,e,n,r,i,o,a,u,h,c){var f=e&g;e|=f?x:k,(e&=~(f?k:x))&E||(e&=~(y|v));var l=[t,e,i,f?o:s,f?a:s,f?s:o,f?s:a,u,h,c],p=n.apply(s,l);return $s(t)&&no(p,l),p.placeholder=r,so(p,t,e)}function ms(t){var e=te[t];return function(t,n){if(t=Wa(t),(n=null==n?0:zn(Ga(n),292))&&Hn(t)){var r=(Va(t)+"e").split("e");return+((r=(Va(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var xs=tr&&1/wn(new tr([,-0]))[1]==I?function(t){return new tr(t)}:Du;function ks(t){return function(e){var n=Gs(e);return n==K?An(e):n==nt?Rn(e):function(t,e){return Ze(e,function(e){return[e,t[e]]})}(e,t(e))}}function Ss(t,e,n,i,o,a,h,c){var l=e&v;if(!l&&"function"!=typeof t)throw new ie(u);var p=i?i.length:0;if(p||(e&=~(x|k),i=o=s),h=h===s?h:Vn(Ga(h),0),c=c===s?c:Ga(c),p-=o?o.length:0,e&k){var _=i,d=o;i=o=s}var T=l?s:Ls(t),A=[t,e,n,i,o,_,d,a,h,c];if(T&&function(t,e){var n=t[1],r=e[1],i=n|r,s=i<(y|v|S),o=r==S&&n==g||r==S&&n==b&&t[7].length<=e[8]||r==(S|b)&&e[7].length<=e[8]&&n==g;if(!s&&!o)return t;r&y&&(t[2]=e[2],i|=n&y?0:E);var a=e[3];if(a){var u=t[3];t[3]=u?ts(u,a,e[4]):a,t[4]=u?Nn(t[3],f):e[4]}(a=e[5])&&(u=t[5],t[5]=u?es(u,a,e[6]):a,t[6]=u?Nn(t[5],f):e[6]);(a=e[7])&&(t[7]=a);r&S&&(t[8]=null==t[8]?e[8]:zn(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=i}(A,T),t=A[0],e=A[1],n=A[2],i=A[3],o=A[4],!(c=A[9]=A[9]===s?l?0:t.length:Vn(A[9]-p,0))&&e&(g|m)&&(e&=~(g|m)),e&&e!=y)O=e==g||e==m?function(t,e,n){var i=cs(t);return function o(){for(var a=arguments.length,u=r(a),h=a,c=Ps(o);h--;)u[h]=arguments[h];var f=a<3&&u[0]!==c&&u[a-1]!==c?[]:Nn(u,c);return(a-=f.length)<n?gs(t,e,ps,o.placeholder,s,u,f,s,s,n-a):Ve(this&&this!==Ie&&this instanceof o?i:t,this,u)}}(t,e,c):e!=x&&e!=(y|x)||o.length?ps.apply(s,A):function(t,e,n,i){var s=e&y,o=cs(t);return function e(){for(var a=-1,u=arguments.length,h=-1,c=i.length,f=r(c+u),l=this&&this!==Ie&&this instanceof e?o:t;++h<c;)f[h]=i[h];for(;u--;)f[h++]=arguments[++a];return Ve(l,s?n:this,f)}}(t,e,n,i);else var O=function(t,e,n){var r=e&y,i=cs(t);return function e(){return(this&&this!==Ie&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return so((T?Oi:no)(O,A),t,e)}function bs(t,e,n,r){return t===s||pa(t,ae[n])&&!ce.call(r,n)?e:t}function As(t,e,n,r,i,o){return Oa(t)&&Oa(e)&&(o.set(e,t),di(t,e,s,As,o),o.delete(e)),t}function Os(t){return Ca(t)?s:t}function Ns(t,e,n,r,i,o){var a=n&d,u=t.length,h=e.length;if(u!=h&&!(a&&h>u))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var f=-1,l=!0,p=n&T?new mr:s;for(o.set(t,e),o.set(e,t);++f<u;){var _=t[f],y=e[f];if(r)var v=a?r(y,_,f,e,t,o):r(_,y,f,t,e,o);if(v!==s){if(v)continue;l=!1;break}if(p){if(!rn(e,function(t,e){if(!En(p,e)&&(_===t||i(_,t,n,r,o)))return p.push(e)})){l=!1;break}}else if(_!==y&&!i(_,y,n,r,o)){l=!1;break}}return o.delete(t),o.delete(e),l}function ws(t){return io(Zs(t,s,vo),t+"")}function Rs(t){return Xr(t,iu,js)}function Cs(t){return Xr(t,su,Fs)}var Ls=rr?function(t){return rr.get(t)}:Du;function Is(t){for(var e=t.name+"",n=ir[e],r=ce.call(ir,e)?n.length:0;r--;){var i=n[r],s=i.func;if(null==s||s==t)return i.name}return e}function Ps(t){return(ce.call(pr,"placeholder")?pr:t).placeholder}function Ds(){var t=pr.iteratee||Cu;return t=t===Cu?ui:t,arguments.length?t(arguments[0],arguments[1]):t}function Us(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Ms(t){for(var e=iu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Xs(i)]}return e}function Bs(t,e){var n=function(t,e){return null==t?s:t[e]}(t,e);return ai(n)?n:s}var js=Fn?function(t){return null==t?[]:(t=ee(t),Ke(Fn(t),function(e){return Pe.call(t,e)}))}:Hu,Fs=Fn?function(t){for(var e=[];t;)tn(e,js(t)),t=Ce(t);return e}:Hu,Gs=Jr;function Hs(t,e,n){for(var r=-1,i=(e=zi(e,t)).length,s=!1;++r<i;){var o=ho(e[r]);if(!(s=null!=t&&n(t,o)))break;t=t[o]}return s||++r!=i?s:!!(i=null==t?0:t.length)&&Aa(i)&&Vs(o,i)&&(ya(t)||Ta(t))}function Ws(t){return"function"!=typeof t.constructor||Ks(t)?{}:_r(Ce(t))}function Ys(t){return ya(t)||Ta(t)||!!(Me&&t&&t[Me])}function Vs(t,e){var n=typeof t;return!!(e=null==e?P:e)&&("number"==n||"symbol"!=n&&$t.test(t))&&t>-1&&t%1==0&&t<e}function zs(t,e,n){if(!Oa(n))return!1;var r=typeof e;return!!("number"==r?Ea(n)&&Vs(e,n.length):"string"==r&&e in n)&&pa(n[e],t)}function Qs(t,e){if(ya(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Da(t))||(Rt.test(t)||!wt.test(t)||null!=e&&t in ee(e))}function $s(t){var e=Is(t),n=pr[e];if("function"!=typeof n||!(e in yr.prototype))return!1;if(t===n)return!0;var r=Ls(n);return!!r&&t===r[0]}(Xn&&Gs(new Xn(new ArrayBuffer(1)))!=ht||Jn&&Gs(new Jn)!=K||Zn&&"[object Promise]"!=Gs(Zn.resolve())||tr&&Gs(new tr)!=nt||er&&Gs(new er)!=ot)&&(Gs=function(t){var e=Jr(t),n=e==Z?t.constructor:s,r=n?co(n):"";if(r)switch(r){case sr:return ht;case or:return K;case ar:return"[object Promise]";case ur:return nt;case hr:return ot}return e});var qs=ue?Sa:Wu;function Ks(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ae)}function Xs(t){return t==t&&!Oa(t)}function Js(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==s||t in ee(n)))}}function Zs(t,e,n){return e=Vn(e===s?t.length-1:e,0),function(){for(var i=arguments,s=-1,o=Vn(i.length-e,0),a=r(o);++s<o;)a[s]=i[e+s];s=-1;for(var u=r(e+1);++s<e;)u[s]=i[s];return u[e]=n(a),Ve(t,this,u)}}function to(t,e){return e.length<2?t:Kr(t,Ri(e,0,-1))}function eo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var no=oo(Oi),ro=Mn||function(t,e){return Ie.setTimeout(t,e)},io=oo(Ni);function so(t,e,n){var r=e+"";return io(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Mt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Qe(F,function(n){var r="_."+n[0];e&n[1]&&!Xe(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Bt);return e?e[1].split(jt):[]}(r),n)))}function oo(t){var e=0,n=0;return function(){var r=Qn(),i=R-(r-n);if(n=r,i>0){if(++e>=w)return arguments[0]}else e=0;return t.apply(s,arguments)}}function ao(t,e){var n=-1,r=t.length,i=r-1;for(e=e===s?r:e;++n<e;){var o=mi(n,i),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}var uo=function(t){var e=aa(t,function(t){return n.size===c&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ct,function(t,n,r,i){e.push(r?i.replace(Gt,"$1"):n||t)}),e});function ho(t){if("string"==typeof t||Da(t))return t;var e=t+"";return"0"==e&&1/t==-I?"-0":e}function co(t){if(null!=t){try{return he.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function fo(t){if(t instanceof yr)return t.clone();var e=new Tr(t.__wrapped__,t.__chain__);return e.__actions__=ns(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var lo=ki(function(t,e){return ga(t)?Br(t,Yr(e,1,ga,!0)):[]}),po=ki(function(t,e){var n=ko(e);return ga(n)&&(n=s),ga(t)?Br(t,Yr(e,1,ga,!0),Ds(n,2)):[]}),_o=ki(function(t,e){var n=ko(e);return ga(n)&&(n=s),ga(t)?Br(t,Yr(e,1,ga,!0),s,n):[]});function To(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Ga(n);return i<0&&(i=Vn(r+i,0)),an(t,Ds(e,3),i)}function yo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==s&&(i=Ga(n),i=n<0?Vn(r+i,0):zn(i,r-1)),an(t,Ds(e,3),i,!0)}function vo(t){return(null==t?0:t.length)?Yr(t,1):[]}function Eo(t){return t&&t.length?t[0]:s}var go=ki(function(t){var e=Ze(t,Yi);return e.length&&e[0]===t[0]?ni(e):[]}),mo=ki(function(t){var e=ko(t),n=Ze(t,Yi);return e===ko(n)?e=s:n.pop(),n.length&&n[0]===t[0]?ni(n,Ds(e,2)):[]}),xo=ki(function(t){var e=ko(t),n=Ze(t,Yi);return(e="function"==typeof e?e:s)&&n.pop(),n.length&&n[0]===t[0]?ni(n,s,e):[]});function ko(t){var e=null==t?0:t.length;return e?t[e-1]:s}var So=ki(bo);function bo(t,e){return t&&t.length&&e&&e.length?Ei(t,e):t}var Ao=ws(function(t,e){var n=null==t?0:t.length,r=Ir(t,e);return gi(t,Ze(e,function(t){return Vs(t,n)?+t:t}).sort(Zi)),r});function Oo(t){return null==t?t:Kn.call(t)}var No=ki(function(t){return Mi(Yr(t,1,ga,!0))}),wo=ki(function(t){var e=ko(t);return ga(e)&&(e=s),Mi(Yr(t,1,ga,!0),Ds(e,2))}),Ro=ki(function(t){var e=ko(t);return e="function"==typeof e?e:s,Mi(Yr(t,1,ga,!0),s,e)});function Co(t){if(!t||!t.length)return[];var e=0;return t=Ke(t,function(t){if(ga(t))return e=Vn(t.length,e),!0}),Tn(e,function(e){return Ze(t,ln(e))})}function Lo(t,e){if(!t||!t.length)return[];var n=Co(t);return null==e?n:Ze(n,function(t){return Ve(e,s,t)})}var Io=ki(function(t,e){return ga(t)?Br(t,e):[]}),Po=ki(function(t){return Hi(Ke(t,ga))}),Do=ki(function(t){var e=ko(t);return ga(e)&&(e=s),Hi(Ke(t,ga),Ds(e,2))}),Uo=ki(function(t){var e=ko(t);return e="function"==typeof e?e:s,Hi(Ke(t,ga),s,e)}),Mo=ki(Co);var Bo=ki(function(t){var e=t.length,n=e>1?t[e-1]:s;return n="function"==typeof n?(t.pop(),n):s,Lo(t,n)});function jo(t){var e=pr(t);return e.__chain__=!0,e}function Fo(t,e){return e(t)}var Go=ws(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Ir(e,t)};return!(e>1||this.__actions__.length)&&r instanceof yr&&Vs(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Fo,args:[i],thisArg:s}),new Tr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(s),t})):this.thru(i)});var Ho=is(function(t,e,n){ce.call(t,n)?++t[n]:Lr(t,n,1)});var Wo=fs(To),Yo=fs(yo);function Vo(t,e){return(ya(t)?Qe:jr)(t,Ds(e,3))}function zo(t,e){return(ya(t)?$e:Fr)(t,Ds(e,3))}var Qo=is(function(t,e,n){ce.call(t,n)?t[n].push(e):Lr(t,n,[e])});var $o=ki(function(t,e,n){var i=-1,s="function"==typeof e,o=Ea(t)?r(t.length):[];return jr(t,function(t){o[++i]=s?Ve(e,t,n):ri(t,e,n)}),o}),qo=is(function(t,e,n){Lr(t,n,e)});function Ko(t,e){return(ya(t)?Ze:li)(t,Ds(e,3))}var Xo=is(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Jo=ki(function(t,e){if(null==t)return[];var n=e.length;return n>1&&zs(t,e[0],e[1])?e=[]:n>2&&zs(e[0],e[1],e[2])&&(e=[e[0]]),yi(t,Yr(e,1),[])}),Zo=Un||function(){return Ie.Date.now()};function ta(t,e,n){return e=n?s:e,e=t&&null==e?t.length:e,Ss(t,S,s,s,s,s,e)}function ea(t,e){var n;if("function"!=typeof e)throw new ie(u);return t=Ga(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=s),n}}var na=ki(function(t,e,n){var r=y;if(n.length){var i=Nn(n,Ps(na));r|=x}return Ss(t,r,e,n,i)}),ra=ki(function(t,e,n){var r=y|v;if(n.length){var i=Nn(n,Ps(ra));r|=x}return Ss(e,r,t,n,i)});function ia(t,e,n){var r,i,o,a,h,c,f=0,l=!1,p=!1,_=!0;if("function"!=typeof t)throw new ie(u);function d(e){var n=r,o=i;return r=i=s,f=e,a=t.apply(o,n)}function T(t){var n=t-c;return c===s||n>=e||n<0||p&&t-f>=o}function y(){var t=Zo();if(T(t))return v(t);h=ro(y,function(t){var n=e-(t-c);return p?zn(n,o-(t-f)):n}(t))}function v(t){return h=s,_&&r?d(t):(r=i=s,a)}function E(){var t=Zo(),n=T(t);if(r=arguments,i=this,c=t,n){if(h===s)return function(t){return f=t,h=ro(y,e),l?d(t):a}(c);if(p)return qi(h),h=ro(y,e),d(c)}return h===s&&(h=ro(y,e)),a}return e=Wa(e)||0,Oa(n)&&(l=!!n.leading,o=(p="maxWait"in n)?Vn(Wa(n.maxWait)||0,e):o,_="trailing"in n?!!n.trailing:_),E.cancel=function(){h!==s&&qi(h),f=0,r=c=i=h=s},E.flush=function(){return h===s?a:v(Zo())},E}var sa=ki(function(t,e){return Mr(t,1,e)}),oa=ki(function(t,e,n){return Mr(t,Wa(e)||0,n)});function aa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ie(u);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var o=t.apply(this,r);return n.cache=s.set(i,o)||s,o};return n.cache=new(aa.Cache||gr),n}function ua(t){if("function"!=typeof t)throw new ie(u);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}aa.Cache=gr;var ha=Qi(function(t,e){var n=(e=1==e.length&&ya(e[0])?Ze(e[0],yn(Ds())):Ze(Yr(e,1),yn(Ds()))).length;return ki(function(r){for(var i=-1,s=zn(r.length,n);++i<s;)r[i]=e[i].call(this,r[i]);return Ve(t,this,r)})}),ca=ki(function(t,e){var n=Nn(e,Ps(ca));return Ss(t,x,s,e,n)}),fa=ki(function(t,e){var n=Nn(e,Ps(fa));return Ss(t,k,s,e,n)}),la=ws(function(t,e){return Ss(t,b,s,s,s,e)});function pa(t,e){return t===e||t!=t&&e!=e}var _a=Es(Zr),da=Es(function(t,e){return t>=e}),Ta=ii(function(){return arguments}())?ii:function(t){return Na(t)&&ce.call(t,"callee")&&!Pe.call(t,"callee")},ya=r.isArray,va=je?yn(je):function(t){return Na(t)&&Jr(t)==ut};function Ea(t){return null!=t&&Aa(t.length)&&!Sa(t)}function ga(t){return Na(t)&&Ea(t)}var ma=Gn||Wu,xa=Fe?yn(Fe):function(t){return Na(t)&&Jr(t)==V};function ka(t){if(!Na(t))return!1;var e=Jr(t);return e==Q||e==z||"string"==typeof t.message&&"string"==typeof t.name&&!Ca(t)}function Sa(t){if(!Oa(t))return!1;var e=Jr(t);return e==$||e==q||e==W||e==tt}function ba(t){return"number"==typeof t&&t==Ga(t)}function Aa(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=P}function Oa(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Na(t){return null!=t&&"object"==typeof t}var wa=Ge?yn(Ge):function(t){return Na(t)&&Gs(t)==K};function Ra(t){return"number"==typeof t||Na(t)&&Jr(t)==X}function Ca(t){if(!Na(t)||Jr(t)!=Z)return!1;var e=Ce(t);if(null===e)return!0;var n=ce.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&he.call(n)==_e}var La=He?yn(He):function(t){return Na(t)&&Jr(t)==et};var Ia=We?yn(We):function(t){return Na(t)&&Gs(t)==nt};function Pa(t){return"string"==typeof t||!ya(t)&&Na(t)&&Jr(t)==rt}function Da(t){return"symbol"==typeof t||Na(t)&&Jr(t)==it}var Ua=Ye?yn(Ye):function(t){return Na(t)&&Aa(t.length)&&!!Ae[Jr(t)]};var Ma=Es(fi),Ba=Es(function(t,e){return t<=e});function ja(t){if(!t)return[];if(Ea(t))return Pa(t)?Ln(t):ns(t);if(Be&&t[Be])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Be]());var e=Gs(t);return(e==K?An:e==nt?wn:pu)(t)}function Fa(t){return t?(t=Wa(t))===I||t===-I?(t<0?-1:1)*D:t==t?t:0:0===t?t:0}function Ga(t){var e=Fa(t),n=e%1;return e==e?n?e-n:e:0}function Ha(t){return t?Pr(Ga(t),0,M):0}function Wa(t){if("number"==typeof t)return t;if(Da(t))return U;if(Oa(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Oa(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Pt,"");var n=Vt.test(t);return n||Qt.test(t)?Re(t.slice(2),n?2:8):Yt.test(t)?U:+t}function Ya(t){return rs(t,su(t))}function Va(t){return null==t?"":Ui(t)}var za=ss(function(t,e){if(Ks(e)||Ea(e))rs(e,iu(e),t);else for(var n in e)ce.call(e,n)&&Nr(t,n,e[n])}),Qa=ss(function(t,e){rs(e,su(e),t)}),$a=ss(function(t,e,n,r){rs(e,su(e),t,r)}),qa=ss(function(t,e,n,r){rs(e,iu(e),t,r)}),Ka=ws(Ir);var Xa=ki(function(t,e){t=ee(t);var n=-1,r=e.length,i=r>2?e[2]:s;for(i&&zs(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],a=su(o),u=-1,h=a.length;++u<h;){var c=a[u],f=t[c];(f===s||pa(f,ae[c])&&!ce.call(t,c))&&(t[c]=o[c])}return t}),Ja=ki(function(t){return t.push(s,As),Ve(au,s,t)});function Za(t,e,n){var r=null==t?s:Kr(t,e);return r===s?n:r}function tu(t,e){return null!=t&&Hs(t,e,ei)}var eu=_s(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=n},Ou(Ru)),nu=_s(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),ce.call(t,e)?t[e].push(n):t[e]=[n]},Ds),ru=ki(ri);function iu(t){return Ea(t)?kr(t):hi(t)}function su(t){return Ea(t)?kr(t,!0):ci(t)}var ou=ss(function(t,e,n){di(t,e,n)}),au=ss(function(t,e,n,r){di(t,e,n,r)}),uu=ws(function(t,e){var n={};if(null==t)return n;var r=!1;e=Ze(e,function(e){return e=zi(e,t),r||(r=e.length>1),e}),rs(t,Cs(t),n),r&&(n=Dr(n,l|p|_,Os));for(var i=e.length;i--;)Bi(n,e[i]);return n});var hu=ws(function(t,e){return null==t?{}:function(t,e){return vi(t,e,function(e,n){return tu(t,n)})}(t,e)});function cu(t,e){if(null==t)return{};var n=Ze(Cs(t),function(t){return[t]});return e=Ds(e),vi(t,n,function(t,n){return e(t,n[0])})}var fu=ks(iu),lu=ks(su);function pu(t){return null==t?[]:vn(t,iu(t))}var _u=hs(function(t,e,n){return e=e.toLowerCase(),t+(n?du(e):e)});function du(t){return ku(Va(t).toLowerCase())}function Tu(t){return(t=Va(t))&&t.replace(qt,xn).replace(Ee,"")}var yu=hs(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),vu=hs(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Eu=us("toLowerCase");var gu=hs(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var mu=hs(function(t,e,n){return t+(n?" ":"")+ku(e)});var xu=hs(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),ku=us("toUpperCase");function Su(t,e,n){return t=Va(t),(e=n?s:e)===s?function(t){return ke.test(t)}(t)?function(t){return t.match(me)||[]}(t):function(t){return t.match(Ft)||[]}(t):t.match(e)||[]}var bu=ki(function(t,e){try{return Ve(t,s,e)}catch(t){return ka(t)?t:new Jt(t)}}),Au=ws(function(t,e){return Qe(e,function(e){e=ho(e),Lr(t,e,na(t[e],t))}),t});function Ou(t){return function(){return t}}var Nu=ls(),wu=ls(!0);function Ru(t){return t}function Cu(t){return ui("function"==typeof t?t:Dr(t,l))}var Lu=ki(function(t,e){return function(n){return ri(n,t,e)}}),Iu=ki(function(t,e){return function(n){return ri(t,n,e)}});function Pu(t,e,n){var r=iu(e),i=qr(e,r);null!=n||Oa(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=qr(e,iu(e)));var s=!(Oa(n)&&"chain"in n&&!n.chain),o=Sa(t);return Qe(i,function(n){var r=e[n];t[n]=r,o&&(t.prototype[n]=function(){var e=this.__chain__;if(s||e){var n=t(this.__wrapped__),i=n.__actions__=ns(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,tn([this.value()],arguments))})}),t}function Du(){}var Uu=Ts(Ze),Mu=Ts(qe),Bu=Ts(rn);function ju(t){return Qs(t)?ln(ho(t)):function(t){return function(e){return Kr(e,t)}}(t)}var Fu=vs(),Gu=vs(!0);function Hu(){return[]}function Wu(){return!1}var Yu=ds(function(t,e){return t+e},0),Vu=ms("ceil"),zu=ds(function(t,e){return t/e},1),Qu=ms("floor");var $u,qu=ds(function(t,e){return t*e},1),Ku=ms("round"),Xu=ds(function(t,e){return t-e},0);return pr.after=function(t,e){if("function"!=typeof e)throw new ie(u);return t=Ga(t),function(){if(--t<1)return e.apply(this,arguments)}},pr.ary=ta,pr.assign=za,pr.assignIn=Qa,pr.assignInWith=$a,pr.assignWith=qa,pr.at=Ka,pr.before=ea,pr.bind=na,pr.bindAll=Au,pr.bindKey=ra,pr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ya(t)?t:[t]},pr.chain=jo,pr.chunk=function(t,e,n){e=(n?zs(t,e,n):e===s)?1:Vn(Ga(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var o=0,a=0,u=r(Bn(i/e));o<i;)u[a++]=Ri(t,o,o+=e);return u},pr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var s=t[e];s&&(i[r++]=s)}return i},pr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return tn(ya(n)?ns(n):[n],Yr(e,1))},pr.cond=function(t){var e=null==t?0:t.length,n=Ds();return t=e?Ze(t,function(t){if("function"!=typeof t[1])throw new ie(u);return[n(t[0]),t[1]]}):[],ki(function(n){for(var r=-1;++r<e;){var i=t[r];if(Ve(i[0],this,n))return Ve(i[1],this,n)}})},pr.conforms=function(t){return function(t){var e=iu(t);return function(n){return Ur(n,t,e)}}(Dr(t,l))},pr.constant=Ou,pr.countBy=Ho,pr.create=function(t,e){var n=_r(t);return null==e?n:Cr(n,e)},pr.curry=function t(e,n,r){var i=Ss(e,g,s,s,s,s,s,n=r?s:n);return i.placeholder=t.placeholder,i},pr.curryRight=function t(e,n,r){var i=Ss(e,m,s,s,s,s,s,n=r?s:n);return i.placeholder=t.placeholder,i},pr.debounce=ia,pr.defaults=Xa,pr.defaultsDeep=Ja,pr.defer=sa,pr.delay=oa,pr.difference=lo,pr.differenceBy=po,pr.differenceWith=_o,pr.drop=function(t,e,n){var r=null==t?0:t.length;return r?Ri(t,(e=n||e===s?1:Ga(e))<0?0:e,r):[]},pr.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Ri(t,0,(e=r-(e=n||e===s?1:Ga(e)))<0?0:e):[]},pr.dropRightWhile=function(t,e){return t&&t.length?Fi(t,Ds(e,3),!0,!0):[]},pr.dropWhile=function(t,e){return t&&t.length?Fi(t,Ds(e,3),!0):[]},pr.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&zs(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=Ga(n))<0&&(n=-n>i?0:i+n),(r=r===s||r>i?i:Ga(r))<0&&(r+=i),r=n>r?0:Ha(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},pr.filter=function(t,e){return(ya(t)?Ke:Wr)(t,Ds(e,3))},pr.flatMap=function(t,e){return Yr(Ko(t,e),1)},pr.flatMapDeep=function(t,e){return Yr(Ko(t,e),I)},pr.flatMapDepth=function(t,e,n){return n=n===s?1:Ga(n),Yr(Ko(t,e),n)},pr.flatten=vo,pr.flattenDeep=function(t){return(null==t?0:t.length)?Yr(t,I):[]},pr.flattenDepth=function(t,e){return(null==t?0:t.length)?Yr(t,e=e===s?1:Ga(e)):[]},pr.flip=function(t){return Ss(t,A)},pr.flow=Nu,pr.flowRight=wu,pr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},pr.functions=function(t){return null==t?[]:qr(t,iu(t))},pr.functionsIn=function(t){return null==t?[]:qr(t,su(t))},pr.groupBy=Qo,pr.initial=function(t){return(null==t?0:t.length)?Ri(t,0,-1):[]},pr.intersection=go,pr.intersectionBy=mo,pr.intersectionWith=xo,pr.invert=eu,pr.invertBy=nu,pr.invokeMap=$o,pr.iteratee=Cu,pr.keyBy=qo,pr.keys=iu,pr.keysIn=su,pr.map=Ko,pr.mapKeys=function(t,e){var n={};return e=Ds(e,3),Qr(t,function(t,r,i){Lr(n,e(t,r,i),t)}),n},pr.mapValues=function(t,e){var n={};return e=Ds(e,3),Qr(t,function(t,r,i){Lr(n,r,e(t,r,i))}),n},pr.matches=function(t){return pi(Dr(t,l))},pr.matchesProperty=function(t,e){return _i(t,Dr(e,l))},pr.memoize=aa,pr.merge=ou,pr.mergeWith=au,pr.method=Lu,pr.methodOf=Iu,pr.mixin=Pu,pr.negate=ua,pr.nthArg=function(t){return t=Ga(t),ki(function(e){return Ti(e,t)})},pr.omit=uu,pr.omitBy=function(t,e){return cu(t,ua(Ds(e)))},pr.once=function(t){return ea(2,t)},pr.orderBy=function(t,e,n,r){return null==t?[]:(ya(e)||(e=null==e?[]:[e]),ya(n=r?s:n)||(n=null==n?[]:[n]),yi(t,e,n))},pr.over=Uu,pr.overArgs=ha,pr.overEvery=Mu,pr.overSome=Bu,pr.partial=ca,pr.partialRight=fa,pr.partition=Xo,pr.pick=hu,pr.pickBy=cu,pr.property=ju,pr.propertyOf=function(t){return function(e){return null==t?s:Kr(t,e)}},pr.pull=So,pr.pullAll=bo,pr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Ei(t,e,Ds(n,2)):t},pr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Ei(t,e,s,n):t},pr.pullAt=Ao,pr.range=Fu,pr.rangeRight=Gu,pr.rearg=la,pr.reject=function(t,e){return(ya(t)?Ke:Wr)(t,ua(Ds(e,3)))},pr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],s=t.length;for(e=Ds(e,3);++r<s;){var o=t[r];e(o,r,t)&&(n.push(o),i.push(r))}return gi(t,i),n},pr.rest=function(t,e){if("function"!=typeof t)throw new ie(u);return ki(t,e=e===s?e:Ga(e))},pr.reverse=Oo,pr.sampleSize=function(t,e,n){return e=(n?zs(t,e,n):e===s)?1:Ga(e),(ya(t)?br:bi)(t,e)},pr.set=function(t,e,n){return null==t?t:Ai(t,e,n)},pr.setWith=function(t,e,n,r){return r="function"==typeof r?r:s,null==t?t:Ai(t,e,n,r)},pr.shuffle=function(t){return(ya(t)?Ar:wi)(t)},pr.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&zs(t,e,n)?(e=0,n=r):(e=null==e?0:Ga(e),n=n===s?r:Ga(n)),Ri(t,e,n)):[]},pr.sortBy=Jo,pr.sortedUniq=function(t){return t&&t.length?Pi(t):[]},pr.sortedUniqBy=function(t,e){return t&&t.length?Pi(t,Ds(e,2)):[]},pr.split=function(t,e,n){return n&&"number"!=typeof n&&zs(t,e,n)&&(e=n=s),(n=n===s?M:n>>>0)?(t=Va(t))&&("string"==typeof e||null!=e&&!La(e))&&!(e=Ui(e))&&bn(t)?$i(Ln(t),0,n):t.split(e,n):[]},pr.spread=function(t,e){if("function"!=typeof t)throw new ie(u);return e=null==e?0:Vn(Ga(e),0),ki(function(n){var r=n[e],i=$i(n,0,e);return r&&tn(i,r),Ve(t,this,i)})},pr.tail=function(t){var e=null==t?0:t.length;return e?Ri(t,1,e):[]},pr.take=function(t,e,n){return t&&t.length?Ri(t,0,(e=n||e===s?1:Ga(e))<0?0:e):[]},pr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Ri(t,(e=r-(e=n||e===s?1:Ga(e)))<0?0:e,r):[]},pr.takeRightWhile=function(t,e){return t&&t.length?Fi(t,Ds(e,3),!1,!0):[]},pr.takeWhile=function(t,e){return t&&t.length?Fi(t,Ds(e,3)):[]},pr.tap=function(t,e){return e(t),t},pr.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ie(u);return Oa(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ia(t,e,{leading:r,maxWait:e,trailing:i})},pr.thru=Fo,pr.toArray=ja,pr.toPairs=fu,pr.toPairsIn=lu,pr.toPath=function(t){return ya(t)?Ze(t,ho):Da(t)?[t]:ns(uo(Va(t)))},pr.toPlainObject=Ya,pr.transform=function(t,e,n){var r=ya(t),i=r||ma(t)||Ua(t);if(e=Ds(e,4),null==n){var s=t&&t.constructor;n=i?r?new s:[]:Oa(t)&&Sa(s)?_r(Ce(t)):{}}return(i?Qe:Qr)(t,function(t,r,i){return e(n,t,r,i)}),n},pr.unary=function(t){return ta(t,1)},pr.union=No,pr.unionBy=wo,pr.unionWith=Ro,pr.uniq=function(t){return t&&t.length?Mi(t):[]},pr.uniqBy=function(t,e){return t&&t.length?Mi(t,Ds(e,2)):[]},pr.uniqWith=function(t,e){return e="function"==typeof e?e:s,t&&t.length?Mi(t,s,e):[]},pr.unset=function(t,e){return null==t||Bi(t,e)},pr.unzip=Co,pr.unzipWith=Lo,pr.update=function(t,e,n){return null==t?t:ji(t,e,Vi(n))},pr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:s,null==t?t:ji(t,e,Vi(n),r)},pr.values=pu,pr.valuesIn=function(t){return null==t?[]:vn(t,su(t))},pr.without=Io,pr.words=Su,pr.wrap=function(t,e){return ca(Vi(e),t)},pr.xor=Po,pr.xorBy=Do,pr.xorWith=Uo,pr.zip=Mo,pr.zipObject=function(t,e){return Wi(t||[],e||[],Nr)},pr.zipObjectDeep=function(t,e){return Wi(t||[],e||[],Ai)},pr.zipWith=Bo,pr.entries=fu,pr.entriesIn=lu,pr.extend=Qa,pr.extendWith=$a,Pu(pr,pr),pr.add=Yu,pr.attempt=bu,pr.camelCase=_u,pr.capitalize=du,pr.ceil=Vu,pr.clamp=function(t,e,n){return n===s&&(n=e,e=s),n!==s&&(n=(n=Wa(n))==n?n:0),e!==s&&(e=(e=Wa(e))==e?e:0),Pr(Wa(t),e,n)},pr.clone=function(t){return Dr(t,_)},pr.cloneDeep=function(t){return Dr(t,l|_)},pr.cloneDeepWith=function(t,e){return Dr(t,l|_,e="function"==typeof e?e:s)},pr.cloneWith=function(t,e){return Dr(t,_,e="function"==typeof e?e:s)},pr.conformsTo=function(t,e){return null==e||Ur(t,e,iu(e))},pr.deburr=Tu,pr.defaultTo=function(t,e){return null==t||t!=t?e:t},pr.divide=zu,pr.endsWith=function(t,e,n){t=Va(t),e=Ui(e);var r=t.length,i=n=n===s?r:Pr(Ga(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},pr.eq=pa,pr.escape=function(t){return(t=Va(t))&&bt.test(t)?t.replace(kt,kn):t},pr.escapeRegExp=function(t){return(t=Va(t))&&It.test(t)?t.replace(Lt,"\\$&"):t},pr.every=function(t,e,n){var r=ya(t)?qe:Gr;return n&&zs(t,e,n)&&(e=s),r(t,Ds(e,3))},pr.find=Wo,pr.findIndex=To,pr.findKey=function(t,e){return on(t,Ds(e,3),Qr)},pr.findLast=Yo,pr.findLastIndex=yo,pr.findLastKey=function(t,e){return on(t,Ds(e,3),$r)},pr.floor=Qu,pr.forEach=Vo,pr.forEachRight=zo,pr.forIn=function(t,e){return null==t?t:Vr(t,Ds(e,3),su)},pr.forInRight=function(t,e){return null==t?t:zr(t,Ds(e,3),su)},pr.forOwn=function(t,e){return t&&Qr(t,Ds(e,3))},pr.forOwnRight=function(t,e){return t&&$r(t,Ds(e,3))},pr.get=Za,pr.gt=_a,pr.gte=da,pr.has=function(t,e){return null!=t&&Hs(t,e,ti)},pr.hasIn=tu,pr.head=Eo,pr.identity=Ru,pr.includes=function(t,e,n,r){t=Ea(t)?t:pu(t),n=n&&!r?Ga(n):0;var i=t.length;return n<0&&(n=Vn(i+n,0)),Pa(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&un(t,e,n)>-1},pr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Ga(n);return i<0&&(i=Vn(r+i,0)),un(t,e,i)},pr.inRange=function(t,e,n){return e=Fa(e),n===s?(n=e,e=0):n=Fa(n),function(t,e,n){return t>=zn(e,n)&&t<Vn(e,n)}(t=Wa(t),e,n)},pr.invoke=ru,pr.isArguments=Ta,pr.isArray=ya,pr.isArrayBuffer=va,pr.isArrayLike=Ea,pr.isArrayLikeObject=ga,pr.isBoolean=function(t){return!0===t||!1===t||Na(t)&&Jr(t)==Y},pr.isBuffer=ma,pr.isDate=xa,pr.isElement=function(t){return Na(t)&&1===t.nodeType&&!Ca(t)},pr.isEmpty=function(t){if(null==t)return!0;if(Ea(t)&&(ya(t)||"string"==typeof t||"function"==typeof t.splice||ma(t)||Ua(t)||Ta(t)))return!t.length;var e=Gs(t);if(e==K||e==nt)return!t.size;if(Ks(t))return!hi(t).length;for(var n in t)if(ce.call(t,n))return!1;return!0},pr.isEqual=function(t,e){return si(t,e)},pr.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:s)?n(t,e):s;return r===s?si(t,e,s,n):!!r},pr.isError=ka,pr.isFinite=function(t){return"number"==typeof t&&Hn(t)},pr.isFunction=Sa,pr.isInteger=ba,pr.isLength=Aa,pr.isMap=wa,pr.isMatch=function(t,e){return t===e||oi(t,e,Ms(e))},pr.isMatchWith=function(t,e,n){return n="function"==typeof n?n:s,oi(t,e,Ms(e),n)},pr.isNaN=function(t){return Ra(t)&&t!=+t},pr.isNative=function(t){if(qs(t))throw new Jt(a);return ai(t)},pr.isNil=function(t){return null==t},pr.isNull=function(t){return null===t},pr.isNumber=Ra,pr.isObject=Oa,pr.isObjectLike=Na,pr.isPlainObject=Ca,pr.isRegExp=La,pr.isSafeInteger=function(t){return ba(t)&&t>=-P&&t<=P},pr.isSet=Ia,pr.isString=Pa,pr.isSymbol=Da,pr.isTypedArray=Ua,pr.isUndefined=function(t){return t===s},pr.isWeakMap=function(t){return Na(t)&&Gs(t)==ot},pr.isWeakSet=function(t){return Na(t)&&Jr(t)==at},pr.join=function(t,e){return null==t?"":Wn.call(t,e)},pr.kebabCase=yu,pr.last=ko,pr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==s&&(i=(i=Ga(n))<0?Vn(r+i,0):zn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):an(t,cn,i,!0)},pr.lowerCase=vu,pr.lowerFirst=Eu,pr.lt=Ma,pr.lte=Ba,pr.max=function(t){return t&&t.length?Hr(t,Ru,Zr):s},pr.maxBy=function(t,e){return t&&t.length?Hr(t,Ds(e,2),Zr):s},pr.mean=function(t){return fn(t,Ru)},pr.meanBy=function(t,e){return fn(t,Ds(e,2))},pr.min=function(t){return t&&t.length?Hr(t,Ru,fi):s},pr.minBy=function(t,e){return t&&t.length?Hr(t,Ds(e,2),fi):s},pr.stubArray=Hu,pr.stubFalse=Wu,pr.stubObject=function(){return{}},pr.stubString=function(){return""},pr.stubTrue=function(){return!0},pr.multiply=qu,pr.nth=function(t,e){return t&&t.length?Ti(t,Ga(e)):s},pr.noConflict=function(){return Ie._===this&&(Ie._=de),this},pr.noop=Du,pr.now=Zo,pr.pad=function(t,e,n){t=Va(t);var r=(e=Ga(e))?Cn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return ys(jn(i),n)+t+ys(Bn(i),n)},pr.padEnd=function(t,e,n){t=Va(t);var r=(e=Ga(e))?Cn(t):0;return e&&r<e?t+ys(e-r,n):t},pr.padStart=function(t,e,n){t=Va(t);var r=(e=Ga(e))?Cn(t):0;return e&&r<e?ys(e-r,n)+t:t},pr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),$n(Va(t).replace(Dt,""),e||0)},pr.random=function(t,e,n){if(n&&"boolean"!=typeof n&&zs(t,e,n)&&(e=n=s),n===s&&("boolean"==typeof e?(n=e,e=s):"boolean"==typeof t&&(n=t,t=s)),t===s&&e===s?(t=0,e=1):(t=Fa(t),e===s?(e=t,t=0):e=Fa(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=qn();return zn(t+i*(e-t+we("1e-"+((i+"").length-1))),e)}return mi(t,e)},pr.reduce=function(t,e,n){var r=ya(t)?en:_n,i=arguments.length<3;return r(t,Ds(e,4),n,i,jr)},pr.reduceRight=function(t,e,n){var r=ya(t)?nn:_n,i=arguments.length<3;return r(t,Ds(e,4),n,i,Fr)},pr.repeat=function(t,e,n){return e=(n?zs(t,e,n):e===s)?1:Ga(e),xi(Va(t),e)},pr.replace=function(){var t=arguments,e=Va(t[0]);return t.length<3?e:e.replace(t[1],t[2])},pr.result=function(t,e,n){var r=-1,i=(e=zi(e,t)).length;for(i||(i=1,t=s);++r<i;){var o=null==t?s:t[ho(e[r])];o===s&&(r=i,o=n),t=Sa(o)?o.call(t):o}return t},pr.round=Ku,pr.runInContext=t,pr.sample=function(t){return(ya(t)?Sr:Si)(t)},pr.size=function(t){if(null==t)return 0;if(Ea(t))return Pa(t)?Cn(t):t.length;var e=Gs(t);return e==K||e==nt?t.size:hi(t).length},pr.snakeCase=gu,pr.some=function(t,e,n){var r=ya(t)?rn:Ci;return n&&zs(t,e,n)&&(e=s),r(t,Ds(e,3))},pr.sortedIndex=function(t,e){return Li(t,e)},pr.sortedIndexBy=function(t,e,n){return Ii(t,e,Ds(n,2))},pr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Li(t,e);if(r<n&&pa(t[r],e))return r}return-1},pr.sortedLastIndex=function(t,e){return Li(t,e,!0)},pr.sortedLastIndexBy=function(t,e,n){return Ii(t,e,Ds(n,2),!0)},pr.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=Li(t,e,!0)-1;if(pa(t[n],e))return n}return-1},pr.startCase=mu,pr.startsWith=function(t,e,n){return t=Va(t),n=null==n?0:Pr(Ga(n),0,t.length),e=Ui(e),t.slice(n,n+e.length)==e},pr.subtract=Xu,pr.sum=function(t){return t&&t.length?dn(t,Ru):0},pr.sumBy=function(t,e){return t&&t.length?dn(t,Ds(e,2)):0},pr.template=function(t,e,n){var r=pr.templateSettings;n&&zs(t,e,n)&&(e=s),t=Va(t),e=$a({},e,r,bs);var i,o,a=$a({},e.imports,r.imports,bs),u=iu(a),h=vn(a,u),c=0,f=e.interpolate||Kt,l="__p += '",p=ne((e.escape||Kt).source+"|"+f.source+"|"+(f===Nt?Ht:Kt).source+"|"+(e.evaluate||Kt).source+"|$","g"),_="//# sourceURL="+(ce.call(e,"sourceURL")?(e.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++be+"]")+"\n";t.replace(p,function(e,n,r,s,a,u){return r||(r=s),l+=t.slice(c,u).replace(Xt,Sn),n&&(i=!0,l+="' +\n__e("+n+") +\n'"),a&&(o=!0,l+="';\n"+a+";\n__p += '"),r&&(l+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+e.length,e}),l+="';\n";var d=ce.call(e,"variable")&&e.variable;d||(l="with (obj) {\n"+l+"\n}\n"),l=(o?l.replace(Et,""):l).replace(gt,"$1").replace(mt,"$1;"),l="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var T=bu(function(){return Zt(u,_+"return "+l).apply(s,h)});if(T.source=l,ka(T))throw T;return T},pr.times=function(t,e){if((t=Ga(t))<1||t>P)return[];var n=M,r=zn(t,M);e=Ds(e),t-=M;for(var i=Tn(r,e);++n<t;)e(n);return i},pr.toFinite=Fa,pr.toInteger=Ga,pr.toLength=Ha,pr.toLower=function(t){return Va(t).toLowerCase()},pr.toNumber=Wa,pr.toSafeInteger=function(t){return t?Pr(Ga(t),-P,P):0===t?t:0},pr.toString=Va,pr.toUpper=function(t){return Va(t).toUpperCase()},pr.trim=function(t,e,n){if((t=Va(t))&&(n||e===s))return t.replace(Pt,"");if(!t||!(e=Ui(e)))return t;var r=Ln(t),i=Ln(e);return $i(r,gn(r,i),mn(r,i)+1).join("")},pr.trimEnd=function(t,e,n){if((t=Va(t))&&(n||e===s))return t.replace(Ut,"");if(!t||!(e=Ui(e)))return t;var r=Ln(t);return $i(r,0,mn(r,Ln(e))+1).join("")},pr.trimStart=function(t,e,n){if((t=Va(t))&&(n||e===s))return t.replace(Dt,"");if(!t||!(e=Ui(e)))return t;var r=Ln(t);return $i(r,gn(r,Ln(e))).join("")},pr.truncate=function(t,e){var n=O,r=N;if(Oa(e)){var i="separator"in e?e.separator:i;n="length"in e?Ga(e.length):n,r="omission"in e?Ui(e.omission):r}var o=(t=Va(t)).length;if(bn(t)){var a=Ln(t);o=a.length}if(n>=o)return t;var u=n-Cn(r);if(u<1)return r;var h=a?$i(a,0,u).join(""):t.slice(0,u);if(i===s)return h+r;if(a&&(u+=h.length-u),La(i)){if(t.slice(u).search(i)){var c,f=h;for(i.global||(i=ne(i.source,Va(Wt.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var l=c.index;h=h.slice(0,l===s?u:l)}}else if(t.indexOf(Ui(i),u)!=u){var p=h.lastIndexOf(i);p>-1&&(h=h.slice(0,p))}return h+r},pr.unescape=function(t){return(t=Va(t))&&St.test(t)?t.replace(xt,In):t},pr.uniqueId=function(t){var e=++fe;return Va(t)+e},pr.upperCase=xu,pr.upperFirst=ku,pr.each=Vo,pr.eachRight=zo,pr.first=Eo,Pu(pr,($u={},Qr(pr,function(t,e){ce.call(pr.prototype,e)||($u[e]=t)}),$u),{chain:!1}),pr.VERSION="4.17.15",Qe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){pr[t].placeholder=pr}),Qe(["drop","take"],function(t,e){yr.prototype[t]=function(n){n=n===s?1:Vn(Ga(n),0);var r=this.__filtered__&&!e?new yr(this):this.clone();return r.__filtered__?r.__takeCount__=zn(n,r.__takeCount__):r.__views__.push({size:zn(n,M),type:t+(r.__dir__<0?"Right":"")}),r},yr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Qe(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==C||3==n;yr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ds(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Qe(["head","last"],function(t,e){var n="take"+(e?"Right":"");yr.prototype[t]=function(){return this[n](1).value()[0]}}),Qe(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");yr.prototype[t]=function(){return this.__filtered__?new yr(this):this[n](1)}}),yr.prototype.compact=function(){return this.filter(Ru)},yr.prototype.find=function(t){return this.filter(t).head()},yr.prototype.findLast=function(t){return this.reverse().find(t)},yr.prototype.invokeMap=ki(function(t,e){return"function"==typeof t?new yr(this):this.map(function(n){return ri(n,t,e)})}),yr.prototype.reject=function(t){return this.filter(ua(Ds(t)))},yr.prototype.slice=function(t,e){t=Ga(t);var n=this;return n.__filtered__&&(t>0||e<0)?new yr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==s&&(n=(e=Ga(e))<0?n.dropRight(-e):n.take(e-t)),n)},yr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},yr.prototype.toArray=function(){return this.take(M)},Qr(yr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=pr[r?"take"+("last"==e?"Right":""):e],o=r||/^find/.test(e);i&&(pr.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,u=e instanceof yr,h=a[0],c=u||ya(e),f=function(t){var e=i.apply(pr,tn([t],a));return r&&l?e[0]:e};c&&n&&"function"==typeof h&&1!=h.length&&(u=c=!1);var l=this.__chain__,p=!!this.__actions__.length,_=o&&!l,d=u&&!p;if(!o&&c){e=d?e:new yr(this);var T=t.apply(e,a);return T.__actions__.push({func:Fo,args:[f],thisArg:s}),new Tr(T,l)}return _&&d?t.apply(this,a):(T=this.thru(f),_?r?T.value()[0]:T.value():T)})}),Qe(["pop","push","shift","sort","splice","unshift"],function(t){var e=se[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);pr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(ya(i)?i:[],t)}return this[n](function(n){return e.apply(ya(n)?n:[],t)})}}),Qr(yr.prototype,function(t,e){var n=pr[e];if(n){var r=n.name+"";ce.call(ir,r)||(ir[r]=[]),ir[r].push({name:e,func:n})}}),ir[ps(s,v).name]=[{name:"wrapper",func:s}],yr.prototype.clone=function(){var t=new yr(this.__wrapped__);return t.__actions__=ns(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ns(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ns(this.__views__),t},yr.prototype.reverse=function(){if(this.__filtered__){var t=new yr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},yr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=ya(t),r=e<0,i=n?t.length:0,s=function(t,e,n){var r=-1,i=n.length;for(;++r<i;){var s=n[r],o=s.size;switch(s.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=zn(e,t+o);break;case"takeRight":t=Vn(t,e-o)}}return{start:t,end:e}}(0,i,this.__views__),o=s.start,a=s.end,u=a-o,h=r?a:o-1,c=this.__iteratees__,f=c.length,l=0,p=zn(u,this.__takeCount__);if(!n||!r&&i==u&&p==u)return Gi(t,this.__actions__);var _=[];t:for(;u--&&l<p;){for(var d=-1,T=t[h+=e];++d<f;){var y=c[d],v=y.iteratee,E=y.type,g=v(T);if(E==L)T=g;else if(!g){if(E==C)continue t;break t}}_[l++]=T}return _},pr.prototype.at=Go,pr.prototype.chain=function(){return jo(this)},pr.prototype.commit=function(){return new Tr(this.value(),this.__chain__)},pr.prototype.next=function(){this.__values__===s&&(this.__values__=ja(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?s:this.__values__[this.__index__++]}},pr.prototype.plant=function(t){for(var e,n=this;n instanceof dr;){var r=fo(n);r.__index__=0,r.__values__=s,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},pr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof yr){var e=t;return this.__actions__.length&&(e=new yr(this)),(e=e.reverse()).__actions__.push({func:Fo,args:[Oo],thisArg:s}),new Tr(e,this.__chain__)}return this.thru(Oo)},pr.prototype.toJSON=pr.prototype.valueOf=pr.prototype.value=function(){return Gi(this.__wrapped__,this.__actions__)},pr.prototype.first=pr.prototype.head,Be&&(pr.prototype[Be]=function(){return this}),pr}();Ie._=Pn,(i=function(){return Pn}.call(e,n,e,r))===s||(r.exports=i)}).call(this)}).call(this,n(4),n(41)(t))},function(t,e,n){t.exports=_,_.Minimatch=d;var r={sep:"/"};try{r=n(5)}catch(t){}var i=_.GLOBSTAR=d.GLOBSTAR={},s=n(43),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",u=a+"*?",h="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",c="(?:(?!(?:\\/|^)\\.).)*?",f="().*{}+?[]^$\\!".split("").reduce(function(t,e){return t[e]=!0,t},{});var l=/\/+/;function p(t,e){t=t||{},e=e||{};var n={};return Object.keys(e).forEach(function(t){n[t]=e[t]}),Object.keys(t).forEach(function(e){n[e]=t[e]}),n}function _(t,e,n){if("string"!=typeof e)throw new TypeError("glob pattern string required");return n||(n={}),!(!n.nocomment&&"#"===e.charAt(0))&&(""===e.trim()?""===t:new d(e,n).match(t))}function d(t,e){if(!(this instanceof d))return new d(t,e);if("string"!=typeof t)throw new TypeError("glob pattern string required");e||(e={}),t=t.trim(),"/"!==r.sep&&(t=t.split(r.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function T(t,e){if(e||(e=this instanceof d?this.options:{}),void 0===(t=void 0===t?this.pattern:t))throw new TypeError("undefined pattern");return e.nobrace||!t.match(/\{.*\}/)?[t]:s(t)}_.filter=function(t,e){return e=e||{},function(n,r,i){return _(n,t,e)}},_.defaults=function(t){if(!t||!Object.keys(t).length)return _;var e=_,n=function(n,r,i){return e.minimatch(n,r,p(t,i))};return n.Minimatch=function(n,r){return new e.Minimatch(n,p(t,r))},n},d.defaults=function(t){return t&&Object.keys(t).length?_.defaults(t).Minimatch:d},d.prototype.debug=function(){},d.prototype.make=function(){if(this._made)return;var t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate();var n=this.globSet=this.braceExpand();e.debug&&(this.debug=console.error);this.debug(this.pattern,n),n=this.globParts=n.map(function(t){return t.split(l)}),this.debug(this.pattern,n),n=n.map(function(t,e,n){return t.map(this.parse,this)},this),this.debug(this.pattern,n),n=n.filter(function(t){return-1===t.indexOf(!1)}),this.debug(this.pattern,n),this.set=n},d.prototype.parseNegate=function(){var t=this.pattern,e=!1,n=this.options,r=0;if(n.nonegate)return;for(var i=0,s=t.length;i<s&&"!"===t.charAt(i);i++)e=!e,r++;r&&(this.pattern=t.substr(r));this.negate=e},_.braceExpand=function(t,e){return T(t,e)},d.prototype.braceExpand=T,d.prototype.parse=function(t,e){if(t.length>65536)throw new TypeError("pattern is too long");var n=this.options;if(!n.noglobstar&&"**"===t)return i;if(""===t)return"";var r,s="",h=!!n.nocase,c=!1,l=[],p=[],_=!1,d=-1,T=-1,v="."===t.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",E=this;function g(){if(r){switch(r){case"*":s+=u,h=!0;break;case"?":s+=a,h=!0;break;default:s+="\\"+r}E.debug("clearStateChar %j %j",r,s),r=!1}}for(var m,x=0,k=t.length;x<k&&(m=t.charAt(x));x++)if(this.debug("%s\t%s %s %j",t,x,s,m),c&&f[m])s+="\\"+m,c=!1;else switch(m){case"/":return!1;case"\\":g(),c=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",t,x,s,m),_){this.debug("  in class"),"!"===m&&x===T+1&&(m="^"),s+=m;continue}E.debug("call clearStateChar %j",r),g(),r=m,n.noext&&g();continue;case"(":if(_){s+="(";continue}if(!r){s+="\\(";continue}l.push({type:r,start:x-1,reStart:s.length,open:o[r].open,close:o[r].close}),s+="!"===r?"(?:(?!(?:":"(?:",this.debug("plType %j %j",r,s),r=!1;continue;case")":if(_||!l.length){s+="\\)";continue}g(),h=!0;var S=l.pop();s+=S.close,"!"===S.type&&p.push(S),S.reEnd=s.length;continue;case"|":if(_||!l.length||c){s+="\\|",c=!1;continue}g(),s+="|";continue;case"[":if(g(),_){s+="\\"+m;continue}_=!0,T=x,d=s.length,s+=m;continue;case"]":if(x===T+1||!_){s+="\\"+m,c=!1;continue}if(_){var b=t.substring(T+1,x);try{RegExp("["+b+"]")}catch(t){var A=this.parse(b,y);s=s.substr(0,d)+"\\["+A[0]+"\\]",h=h||A[1],_=!1;continue}}h=!0,_=!1,s+=m;continue;default:g(),c?c=!1:!f[m]||"^"===m&&_||(s+="\\"),s+=m}_&&(b=t.substr(T+1),A=this.parse(b,y),s=s.substr(0,d)+"\\["+A[0],h=h||A[1]);for(S=l.pop();S;S=l.pop()){var O=s.slice(S.reStart+S.open.length);this.debug("setting tail",s,S),O=O.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(t,e,n){return n||(n="\\"),e+e+n+"|"}),this.debug("tail=%j\n   %s",O,O,S,s);var N="*"===S.type?u:"?"===S.type?a:"\\"+S.type;h=!0,s=s.slice(0,S.reStart)+N+"\\("+O}g(),c&&(s+="\\\\");var w=!1;switch(s.charAt(0)){case".":case"[":case"(":w=!0}for(var R=p.length-1;R>-1;R--){var C=p[R],L=s.slice(0,C.reStart),I=s.slice(C.reStart,C.reEnd-8),P=s.slice(C.reEnd-8,C.reEnd),D=s.slice(C.reEnd);P+=D;var U=L.split("(").length-1,M=D;for(x=0;x<U;x++)M=M.replace(/\)[+*?]?/,"");var B="";""===(D=M)&&e!==y&&(B="$"),s=L+I+D+B+P}""!==s&&h&&(s="(?=.)"+s);w&&(s=v+s);if(e===y)return[s,h];if(!h)return function(t){return t.replace(/\\(.)/g,"$1")}(t);var j=n.nocase?"i":"";try{var F=new RegExp("^"+s+"$",j)}catch(t){return new RegExp("$.")}return F._glob=t,F._src=s,F};var y={};_.makeRe=function(t,e){return new d(t,e||{}).makeRe()},d.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,n=e.noglobstar?u:e.dot?h:c,r=e.nocase?"i":"",s=t.map(function(t){return t.map(function(t){return t===i?n:"string"==typeof t?function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(t):t._src}).join("\\/")}).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,r)}catch(t){this.regexp=!1}return this.regexp},_.match=function(t,e,n){var r=new d(e,n=n||{});return t=t.filter(function(t){return r.match(t)}),r.options.nonull&&!t.length&&t.push(e),t},d.prototype.match=function(t,e){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;var n=this.options;"/"!==r.sep&&(t=t.split(r.sep).join("/"));t=t.split(l),this.debug(this.pattern,"split",t);var i,s,o=this.set;for(this.debug(this.pattern,"set",o),s=t.length-1;s>=0&&!(i=t[s]);s--);for(s=0;s<o.length;s++){var a=o[s],u=t;if(n.matchBase&&1===a.length&&(u=[i]),this.matchOne(u,a,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate},d.prototype.matchOne=function(t,e,n){var r=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var s=0,o=0,a=t.length,u=e.length;s<a&&o<u;s++,o++){this.debug("matchOne loop");var h,c=e[o],f=t[s];if(this.debug(e,c,f),!1===c)return!1;if(c===i){this.debug("GLOBSTAR",[e,c,f]);var l=s,p=o+1;if(p===u){for(this.debug("** at the end");s<a;s++)if("."===t[s]||".."===t[s]||!r.dot&&"."===t[s].charAt(0))return!1;return!0}for(;l<a;){var _=t[l];if(this.debug("\nglobstar while",t,l,e,p,_),this.matchOne(t.slice(l),e.slice(p),n))return this.debug("globstar found match!",l,a,_),!0;if("."===_||".."===_||!r.dot&&"."===_.charAt(0)){this.debug("dot detected!",t,l,e,p);break}this.debug("globstar swallow a segment, and continue"),l++}return!(!n||(this.debug("\n>>> no match, partial?",t,l,e,p),l!==a))}if("string"==typeof c?(h=r.nocase?f.toLowerCase()===c.toLowerCase():f===c,this.debug("string match",c,f,h)):(h=f.match(c),this.debug("pattern match",c,f,h)),!h)return!1}if(s===a&&o===u)return!0;if(s===a)return n;if(o===u)return s===a-1&&""===t[s];throw new Error("wtf?")}},function(t,e,n){"use strict";(function(e){var r=n(46);
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */function i(t,e){if(t===e)return 0;for(var n=t.length,r=e.length,i=0,s=Math.min(n,r);i<s;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0}function s(t){return e.Buffer&&"function"==typeof e.Buffer.isBuffer?e.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var o=n(15),a=Object.prototype.hasOwnProperty,u=Array.prototype.slice,h="foo"===function(){}.name;function c(t){return Object.prototype.toString.call(t)}function f(t){return!s(t)&&("function"==typeof e.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer))))}var l=t.exports=v,p=/\s*function\s+([^\(\s]*)\s*/;function _(t){if(o.isFunction(t)){if(h)return t.name;var e=t.toString().match(p);return e&&e[1]}}function d(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function T(t){if(h||!o.isFunction(t))return o.inspect(t);var e=_(t);return"[Function"+(e?": "+e:"")+"]"}function y(t,e,n,r,i){throw new l.AssertionError({message:n,actual:t,expected:e,operator:r,stackStartFunction:i})}function v(t,e){t||y(t,!0,e,"==",l.ok)}function E(t,e,n,r){if(t===e)return!0;if(s(t)&&s(e))return 0===i(t,e);if(o.isDate(t)&&o.isDate(e))return t.getTime()===e.getTime();if(o.isRegExp(t)&&o.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(f(t)&&f(e)&&c(t)===c(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===i(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(s(t)!==s(e))return!1;var a=(r=r||{actual:[],expected:[]}).actual.indexOf(t);return-1!==a&&a===r.expected.indexOf(e)||(r.actual.push(t),r.expected.push(e),function(t,e,n,r){if(null==t||null==e)return!1;if(o.isPrimitive(t)||o.isPrimitive(e))return t===e;if(n&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=g(t),s=g(e);if(i&&!s||!i&&s)return!1;if(i)return t=u.call(t),e=u.call(e),E(t,e,n);var a,h,c=k(t),f=k(e);if(c.length!==f.length)return!1;for(c.sort(),f.sort(),h=c.length-1;h>=0;h--)if(c[h]!==f[h])return!1;for(h=c.length-1;h>=0;h--)if(a=c[h],!E(t[a],e[a],n,r))return!1;return!0}(t,e,n,r))}return n?t===e:t==e}function g(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function m(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function x(t,e,n,r){var i;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=function(t){var e;try{t()}catch(t){e=t}return e}(e),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),t&&!i&&y(i,n,"Missing expected exception"+r);var s="string"==typeof r,a=!t&&i&&!n;if((!t&&o.isError(i)&&s&&m(i,n)||a)&&y(i,n,"Got unwanted exception"+r),t&&i&&n&&!m(i,n)||!t&&i)throw i}l.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return d(T(t.actual),128)+" "+t.operator+" "+d(T(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var n=new Error;if(n.stack){var r=n.stack,i=_(e),s=r.indexOf("\n"+i);if(s>=0){var o=r.indexOf("\n",s+1);r=r.substring(o+1)}this.stack=r}}},o.inherits(l.AssertionError,Error),l.fail=y,l.ok=v,l.equal=function(t,e,n){t!=e&&y(t,e,n,"==",l.equal)},l.notEqual=function(t,e,n){t==e&&y(t,e,n,"!=",l.notEqual)},l.deepEqual=function(t,e,n){E(t,e,!1)||y(t,e,n,"deepEqual",l.deepEqual)},l.deepStrictEqual=function(t,e,n){E(t,e,!0)||y(t,e,n,"deepStrictEqual",l.deepStrictEqual)},l.notDeepEqual=function(t,e,n){E(t,e,!1)&&y(t,e,n,"notDeepEqual",l.notDeepEqual)},l.notDeepStrictEqual=function t(e,n,r){E(e,n,!0)&&y(e,n,r,"notDeepStrictEqual",t)},l.strictEqual=function(t,e,n){t!==e&&y(t,e,n,"===",l.strictEqual)},l.notStrictEqual=function(t,e,n){t===e&&y(t,e,n,"!==",l.notStrictEqual)},l.throws=function(t,e,n){x(!0,t,e,n)},l.doesNotThrow=function(t,e,n){x(!1,t,e,n)},l.ifError=function(t){if(t)throw t},l.strict=r(function t(e,n){e||y(e,!0,n,"==",t)},l,{equal:l.strictEqual,deepEqual:l.deepStrictEqual,notEqual:l.notStrictEqual,notDeepEqual:l.notDeepStrictEqual}),l.strict.strict=l.strict;var k=Object.keys||function(t){var e=[];for(var n in t)a.call(t,n)&&e.push(n);return e}}).call(this,n(4))},function(t,e,n){"use strict";(function(e){function n(t){return"/"===t.charAt(0)}function r(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(t),n=e[1]||"",r=Boolean(n&&":"!==n.charAt(1));return Boolean(e[2]||r)}t.exports="win32"===e.platform?r:n,t.exports.posix=n,t.exports.win32=r}).call(this,n(1))},function(t,e,n){(e=t.exports=n(32)).Stream=e,e.Readable=e,e.Writable=n(26),e.Duplex=n(10),e.Transform=n(37),e.PassThrough=n(65)},function(t,e,n){"use strict";(function(t){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */
var r=n(57),i=n(58),s=n(33);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(o()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return f(this,t)}return h(this,t,e,n)}function h(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=l(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|_(e,n),i=(t=a(t,r)).write(e,n);i!==r&&(t=t.slice(0,i));return t}(t,e,n):function(t,e){if(u.isBuffer(e)){var n=0|p(e.length);return 0===(t=a(t,n)).length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?a(t,0):l(t,e);if("Buffer"===e.type&&s(e.data))return l(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e){if(c(e),t=a(t,e<0?0:0|p(e)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function l(t,e){var n=e.length<0?0:0|p(e.length);t=a(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function p(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function _(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(t).length;default:if(r)return G(t).length;e=(""+e).toLowerCase(),r=!0}}function d(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return N(this,e,n);case"latin1":case"binary":return w(this,e,n);case"base64":return b(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function T(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:v(t,e,n,r,i);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):v(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(t,e,n,r,i){var s,o=1,a=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;o=2,a/=2,u/=2,n/=2}function h(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var c=-1;for(s=n;s<a;s++)if(h(t,s)===h(e,-1===c?0:s-c)){if(-1===c&&(c=s),s-c+1===u)return c*o}else-1!==c&&(s-=s-c),c=-1}else for(n+u>a&&(n=a-u),s=n;s>=0;s--){for(var f=!0,l=0;l<u;l++)if(h(t,s+l)!==h(e,l)){f=!1;break}if(f)return s}return-1}function E(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var s=e.length;if(s%2!=0)throw new TypeError("Invalid hex string");r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a=parseInt(e.substr(2*o,2),16);if(isNaN(a))return o;t[n+o]=a}return o}function g(t,e,n,r){return W(G(e,t.length-n),t,n,r)}function m(t,e,n,r){return W(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function x(t,e,n,r){return m(t,e,n,r)}function k(t,e,n,r){return W(H(e),t,n,r)}function S(t,e,n,r){return W(function(t,e){for(var n,r,i,s=[],o=0;o<t.length&&!((e-=2)<0);++o)n=t.charCodeAt(o),r=n>>8,i=n%256,s.push(i),s.push(r);return s}(e,t.length-n),t,n,r)}function b(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function A(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var s,o,a,u,h=t[i],c=null,f=h>239?4:h>223?3:h>191?2:1;if(i+f<=n)switch(f){case 1:h<128&&(c=h);break;case 2:128==(192&(s=t[i+1]))&&(u=(31&h)<<6|63&s)>127&&(c=u);break;case 3:s=t[i+1],o=t[i+2],128==(192&s)&&128==(192&o)&&(u=(15&h)<<12|(63&s)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:s=t[i+1],o=t[i+2],a=t[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(u=(15&h)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(t){var e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=O));return n}(r)}e.Buffer=u,e.SlowBuffer=function(t){+t!=t&&(t=0);return u.alloc(+t)},e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=o(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return h(null,t,e,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,n){return function(t,e,n,r){return c(e),e<=0?a(t,e):void 0!==n?"string"==typeof r?a(t,e).fill(n,r):a(t,e).fill(n):a(t,e)}(null,t,e,n)},u.allocUnsafe=function(t){return f(null,t)},u.allocUnsafeSlow=function(t){return f(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,s=Math.min(n,r);i<s;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(t){switch(String(t).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}},u.concat=function(t,e){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=u.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(!u.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)T(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)T(this,e,e+3),T(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)T(this,e,e+7),T(this,e+1,e+6),T(this,e+2,e+5),T(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?A(this,0,t):d.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,n,r,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var s=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(e>>>=0),a=Math.min(s,o),h=this.slice(r,i),c=t.slice(e,n),f=0;f<a;++f)if(h[f]!==c[f]){s=h[f],o=c[f];break}return s<o?-1:o<s?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return y(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return y(this,t,e,n,!1)},u.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return g(this,t,e,n);case"ascii":return m(this,t,e,n);case"latin1":case"binary":return x(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function N(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function w(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function R(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",s=e;s<n;++s)i+=F(t[s]);return i}function C(t,e,n){for(var r=t.slice(e,n),i="",s=0;s<r.length;s+=2)i+=String.fromCharCode(r[s]+256*r[s+1]);return i}function L(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,n,r,i,s){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<s)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function P(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,s=Math.min(t.length-n,2);i<s;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function D(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,s=Math.min(t.length-n,4);i<s;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function U(t,e,n,r,i,s){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(t,e,n,r,s){return s||U(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function B(t,e,n,r,s){return s||U(t,0,n,8),i.write(t,e,n,r,52,8),n+8}u.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=u.prototype;else{var i=e-t;n=new u(i,void 0);for(var s=0;s<i;++s)n[s]=this[s+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var r=this[t],i=1,s=0;++s<e&&(i*=256);)r+=this[t+s]*i;return r},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||L(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||L(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||L(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||L(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var r=this[t],i=1,s=0;++s<e&&(i*=256);)r+=this[t+s]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var r=e,i=1,s=this[t+--r];r>0&&(i*=256);)s+=this[t+--r]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*e)),s},u.prototype.readInt8=function(t,e){return e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||L(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||L(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||L(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||L(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||L(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||L(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||I(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,s=0;for(this[e]=255&t;++s<n&&(i*=256);)this[e+s]=t/i&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||I(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,s=1;for(this[e+i]=255&t;--i>=0&&(s*=256);)this[e+i]=t/s&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):P(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):P(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):D(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var s=0,o=1,a=0;for(this[e]=255&t;++s<n&&(o*=256);)t<0&&0===a&&0!==this[e+s-1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var s=n-1,o=1,a=0;for(this[e+s]=255&t;--s>=0&&(o*=256);)t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):P(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):P(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):D(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return M(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return M(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return B(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return B(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,s=r-n;if(this===t&&n<e&&e<r)for(i=s-1;i>=0;--i)t[i+e]=this[i+n];else if(s<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+s),e);return s},u.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var s;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(s=e;s<n;++s)this[s]=t;else{var o=u.isBuffer(t)?t:G(new u(t,r).toString()),a=o.length;for(s=0;s<n-e;++s)this[s+e]=o[s%a]}return this};var j=/[^+\/0-9A-Za-z-_]/g;function F(t){return t<16?"0"+t.toString(16):t.toString(16)}function G(t,e){var n;e=e||1/0;for(var r=t.length,i=null,s=[],o=0;o<r;++o){if((n=t.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(o+1===r){(e-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&s.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;s.push(n)}else if(n<2048){if((e-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function H(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(j,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function W(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(4))},function(t,e,n){"use strict";(function(e,r,i){var s=n(16);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;t.entry=null;for(;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=v;var a,u=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?r:s.nextTick;v.WritableState=y;var h=n(13);h.inherits=n(9);var c={deprecate:n(64)},f=n(34),l=n(17).Buffer,p=i.Uint8Array||function(){};var _,d=n(35);function T(){}function y(t,e){a=a||n(10),t=t||{};var r=e instanceof a;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,h=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(h||0===h)?h:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?(s.nextTick(i,r),s.nextTick(S,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(i(r),t._writableState.errorEmitted=!0,t.emit("error",r),S(t,e))}(t,n,r,e,i);else{var o=x(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||m(t,n),r?u(g,t,n,o,i):g(t,n,o,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function v(t){if(a=a||n(10),!(_.call(v,this)||this instanceof a))return new v(t);this._writableState=new y(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),f.call(this)}function E(t,e,n,r,i,s,o){e.writelen=r,e.writecb=o,e.writing=!0,e.sync=!0,n?t._writev(i,e.onwrite):t._write(i,s,e.onwrite),e.sync=!1}function g(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),S(t,e)}function m(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,i=new Array(r),s=e.corkedRequestsFree;s.entry=n;for(var a=0,u=!0;n;)i[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;i.allBuffers=u,E(t,e,!0,e.length,i,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;n;){var h=n.chunk,c=n.encoding,f=n.callback;if(E(t,e,!1,e.objectMode?1:h.length,h,c,f),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function x(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function k(t,e){t._final(function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),S(t,e)})}function S(t,e){var n=x(e);return n&&(!function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,s.nextTick(k,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}h.inherits(v,f),y.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(y.prototype,"buffer",{get:c.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(_=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(t){return!!_.call(this,t)||this===v&&(t&&t._writableState instanceof y)}})):_=function(t){return t instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(t,e,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=t,l.isBuffer(r)||r instanceof p);return a&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=T),i.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),s.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),s.nextTick(r,o),i=!1),i}(this,i,t,n))&&(i.pendingcb++,o=function(t,e,n,r,i,s){if(!n){var o=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=l.from(e,n));return e}(e,r,i);r!==o&&(n=!0,i="buffer",r=o)}var a=e.objectMode?1:r.length;e.length+=a;var u=e.length<e.highWaterMark;u||(e.needDrain=!0);if(e.writing||e.corked){var h=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:s,next:null},h?h.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else E(t,e,!1,a,r,i,s);return u}(this,i,a,t,e,n)),o},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||m(this,t))},v.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(t,e,n){e.ending=!0,S(t,e),n&&(e.finished?s.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,r,n)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),v.prototype.destroy=d.destroy,v.prototype._undestroy=d.undestroy,v.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n(1),n(62).setImmediate,n(4))},function(t,e,n){(function(e){t.exports=E;var r=n(6),i=n(28),s=n(21),o=(s.Minimatch,n(9)),a=n(14).EventEmitter,u=n(5),h=n(22),c=n(23),f=n(49),l=n(29),p=(l.alphasort,l.alphasorti,l.setopts),_=l.ownProp,d=n(50),T=(n(15),l.childrenIgnored),y=l.isIgnored,v=n(31);function E(t,e,n){if("function"==typeof e&&(n=e,e={}),e||(e={}),e.sync){if(n)throw new TypeError("callback provided to sync glob");return f(t,e)}return new m(t,e,n)}E.sync=f;var g=E.GlobSync=f.GlobSync;function m(t,n,r){if("function"==typeof n&&(r=n,n=null),n&&n.sync){if(r)throw new TypeError("callback provided to sync glob");return new g(t,n)}if(!(this instanceof m))return new m(t,n,r);p(this,t,n),this._didRealPath=!1;var i=this.minimatch.set.length;this.matches=new Array(i),"function"==typeof r&&(r=v(r),this.on("error",r),this.on("end",function(t){r(null,t)}));var s=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===i)return u();for(var o=!0,a=0;a<i;a++)this._process(this.minimatch.set[a],a,!1,u);function u(){--s._processing,s._processing<=0&&(o?e.nextTick(function(){s._finish()}):s._finish())}o=!1}E.glob=E,E.hasMagic=function(t,e){var n=function(t,e){if(null===e||"object"!=typeof e)return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}({},e);n.noprocess=!0;var r=new m(t,n).minimatch.set;if(!t)return!1;if(r.length>1)return!0;for(var i=0;i<r[0].length;i++)if("string"!=typeof r[0][i])return!0;return!1},E.Glob=m,o(m,a),m.prototype._finish=function(){if(h(this instanceof m),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();l.finish(this),this.emit("end",this.found)}},m.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var t=this.matches.length;if(0===t)return this._finish();for(var e=this,n=0;n<this.matches.length;n++)this._realpathSet(n,r)}function r(){0==--t&&e._finish()}},m.prototype._realpathSet=function(t,e){var n=this.matches[t];if(!n)return e();var r=Object.keys(n),s=this,o=r.length;if(0===o)return e();var a=this.matches[t]=Object.create(null);r.forEach(function(n,r){n=s._makeAbs(n),i.realpath(n,s.realpathCache,function(r,i){r?"stat"===r.syscall?a[n]=!0:s.emit("error",r):a[i]=!0,0==--o&&(s.matches[t]=a,e())})})},m.prototype._mark=function(t){return l.mark(this,t)},m.prototype._makeAbs=function(t){return l.makeAbs(this,t)},m.prototype.abort=function(){this.aborted=!0,this.emit("abort")},m.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},m.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var n=t[e];this._emitMatch(n[0],n[1])}}if(this._processQueue.length){var r=this._processQueue.slice(0);this._processQueue.length=0;for(e=0;e<r.length;e++){var i=r[e];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}},m.prototype._process=function(t,e,n,r){if(h(this instanceof m),h("function"==typeof r),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([t,e,n,r]);else{for(var i,o=0;"string"==typeof t[o];)o++;switch(o){case t.length:return void this._processSimple(t.join("/"),e,r);case 0:i=null;break;default:i=t.slice(0,o).join("/")}var a,u=t.slice(o);null===i?a=".":c(i)||c(t.join("/"))?(i&&c(i)||(i="/"+i),a=i):a=i;var f=this._makeAbs(a);if(T(this,a))return r();u[0]===s.GLOBSTAR?this._processGlobStar(i,a,f,u,e,n,r):this._processReaddir(i,a,f,u,e,n,r)}},m.prototype._processReaddir=function(t,e,n,r,i,s,o){var a=this;this._readdir(n,s,function(u,h){return a._processReaddir2(t,e,n,r,i,s,h,o)})},m.prototype._processReaddir2=function(t,e,n,r,i,s,o,a){if(!o)return a();for(var h=r[0],c=!!this.minimatch.negate,f=h._glob,l=this.dot||"."===f.charAt(0),p=[],_=0;_<o.length;_++){if("."!==(T=o[_]).charAt(0)||l)(c&&!t?!T.match(h):T.match(h))&&p.push(T)}var d=p.length;if(0===d)return a();if(1===r.length&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(_=0;_<d;_++){var T=p[_];t&&(T="/"!==t?t+"/"+T:t+T),"/"!==T.charAt(0)||this.nomount||(T=u.join(this.root,T)),this._emitMatch(i,T)}return a()}r.shift();for(_=0;_<d;_++){T=p[_];t&&(T="/"!==t?t+"/"+T:t+T),this._process([T].concat(r),i,s,a)}a()},m.prototype._emitMatch=function(t,e){if(!this.aborted&&!y(this,e))if(this.paused)this._emitQueue.push([t,e]);else{var n=c(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=n),!this.matches[t][e]){if(this.nodir){var r=this.cache[n];if("DIR"===r||Array.isArray(r))return}this.matches[t][e]=!0;var i=this.statCache[n];i&&this.emit("stat",e,i),this.emit("match",e)}}},m.prototype._readdirInGlobStar=function(t,e){if(!this.aborted){if(this.follow)return this._readdir(t,!1,e);var n=this,i=d("lstat\0"+t,function(r,i){if(r&&"ENOENT"===r.code)return e();var s=i&&i.isSymbolicLink();n.symlinks[t]=s,s||!i||i.isDirectory()?n._readdir(t,!1,e):(n.cache[t]="FILE",e())});i&&r.lstat(t,i)}},m.prototype._readdir=function(t,e,n){if(!this.aborted&&(n=d("readdir\0"+t+"\0"+e,n))){if(e&&!_(this.symlinks,t))return this._readdirInGlobStar(t,n);if(_(this.cache,t)){var i=this.cache[t];if(!i||"FILE"===i)return n();if(Array.isArray(i))return n(null,i)}r.readdir(t,function(t,e,n){return function(r,i){r?t._readdirError(e,r,n):t._readdirEntries(e,i,n)}}(this,t,n))}},m.prototype._readdirEntries=function(t,e,n){if(!this.aborted){if(!this.mark&&!this.stat)for(var r=0;r<e.length;r++){var i=e[r];i="/"===t?t+i:t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,n(null,e)}},m.prototype._readdirError=function(t,e,n){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);if(this.cache[r]="FILE",r===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=e.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e)}return n()}},m.prototype._processGlobStar=function(t,e,n,r,i,s,o){var a=this;this._readdir(n,s,function(u,h){a._processGlobStar2(t,e,n,r,i,s,h,o)})},m.prototype._processGlobStar2=function(t,e,n,r,i,s,o,a){if(!o)return a();var u=r.slice(1),h=t?[t]:[],c=h.concat(u);this._process(c,i,!1,a);var f=this.symlinks[n],l=o.length;if(f&&s)return a();for(var p=0;p<l;p++){if("."!==o[p].charAt(0)||this.dot){var _=h.concat(o[p],u);this._process(_,i,!0,a);var d=h.concat(o[p],r);this._process(d,i,!0,a)}}a()},m.prototype._processSimple=function(t,e,n){var r=this;this._stat(t,function(i,s){r._processSimple2(t,e,i,s,n)})},m.prototype._processSimple2=function(t,n,r,i,s){if(this.matches[n]||(this.matches[n]=Object.create(null)),!i)return s();if(t&&c(t)&&!this.nomount){var o=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=u.join(this.root,t):(t=u.resolve(this.root,t),o&&(t+="/"))}"win32"===e.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(n,t),s()},m.prototype._stat=function(t,e){var n=this._makeAbs(t),i="/"===t.slice(-1);if(t.length>this.maxLength)return e();if(!this.stat&&_(this.cache,n)){var s=this.cache[n];if(Array.isArray(s)&&(s="DIR"),!i||"DIR"===s)return e(null,s);if(i&&"FILE"===s)return e()}var o=this.statCache[n];if(void 0!==o){if(!1===o)return e(null,o);var a=o.isDirectory()?"DIR":"FILE";return i&&"FILE"===a?e():e(null,a,o)}var u=this,h=d("stat\0"+n,function(i,s){if(s&&s.isSymbolicLink())return r.stat(n,function(r,i){r?u._stat2(t,n,null,s,e):u._stat2(t,n,r,i,e)});u._stat2(t,n,i,s,e)});h&&r.lstat(n,h)},m.prototype._stat2=function(t,e,n,r,i){if(n&&("ENOENT"===n.code||"ENOTDIR"===n.code))return this.statCache[e]=!1,i();var s="/"===t.slice(-1);if(this.statCache[e]=r,"/"===e.slice(-1)&&r&&!r.isDirectory())return i(null,!1,r);var o=!0;return r&&(o=r.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,s&&"FILE"===o?i():i(null,o,r)}}).call(this,n(1))},function(t,e,n){(function(e){t.exports=c,c.realpath=c,c.sync=f,c.realpathSync=f,c.monkeypatch=function(){r.realpath=c,r.realpathSync=f},c.unmonkeypatch=function(){r.realpath=i,r.realpathSync=s};var r=n(6),i=r.realpath,s=r.realpathSync,o=e.version,a=/^v[0-5]\./.test(o),u=n(42);function h(t){return t&&"realpath"===t.syscall&&("ELOOP"===t.code||"ENOMEM"===t.code||"ENAMETOOLONG"===t.code)}function c(t,e,n){if(a)return i(t,e,n);"function"==typeof e&&(n=e,e=null),i(t,e,function(r,i){h(r)?u.realpath(t,e,n):n(r,i)})}function f(t,e){if(a)return s(t,e);try{return s(t,e)}catch(n){if(h(n))return u.realpathSync(t,e);throw n}}}).call(this,n(1))},function(t,e,n){(function(t){function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.alphasort=h,e.alphasorti=u,e.setopts=function(e,n,s){s||(s={});if(s.matchBase&&-1===n.indexOf("/")){if(s.noglobstar)throw new Error("base matching requires globstar");n="**/"+n}e.silent=!!s.silent,e.pattern=n,e.strict=!1!==s.strict,e.realpath=!!s.realpath,e.realpathCache=s.realpathCache||Object.create(null),e.follow=!!s.follow,e.dot=!!s.dot,e.mark=!!s.mark,e.nodir=!!s.nodir,e.nodir&&(e.mark=!0);e.sync=!!s.sync,e.nounique=!!s.nounique,e.nonull=!!s.nonull,e.nosort=!!s.nosort,e.nocase=!!s.nocase,e.stat=!!s.stat,e.noprocess=!!s.noprocess,e.absolute=!!s.absolute,e.maxLength=s.maxLength||1/0,e.cache=s.cache||Object.create(null),e.statCache=s.statCache||Object.create(null),e.symlinks=s.symlinks||Object.create(null),function(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]);t.ignore.length&&(t.ignore=t.ignore.map(c))}(e,s),e.changedCwd=!1;var u=t.cwd();r(s,"cwd")?(e.cwd=i.resolve(s.cwd),e.changedCwd=e.cwd!==u):e.cwd=u;e.root=s.root||i.resolve(e.cwd,"/"),e.root=i.resolve(e.root),"win32"===t.platform&&(e.root=e.root.replace(/\\/g,"/"));e.cwdAbs=o(e.cwd)?e.cwd:f(e,e.cwd),"win32"===t.platform&&(e.cwdAbs=e.cwdAbs.replace(/\\/g,"/"));e.nomount=!!s.nomount,s.nonegate=!0,s.nocomment=!0,e.minimatch=new a(n,s),e.options=e.minimatch.options},e.ownProp=r,e.makeAbs=f,e.finish=function(t){for(var e=t.nounique,n=e?[]:Object.create(null),r=0,i=t.matches.length;r<i;r++){var s=t.matches[r];if(s&&0!==Object.keys(s).length){var o=Object.keys(s);e?n.push.apply(n,o):o.forEach(function(t){n[t]=!0})}else if(t.nonull){var a=t.minimatch.globSet[r];e?n.push(a):n[a]=!0}}e||(n=Object.keys(n));t.nosort||(n=n.sort(t.nocase?u:h));if(t.mark){for(r=0;r<n.length;r++)n[r]=t._mark(n[r]);t.nodir&&(n=n.filter(function(e){var n=!/\/$/.test(e),r=t.cache[e]||t.cache[f(t,e)];return n&&r&&(n="DIR"!==r&&!Array.isArray(r)),n}))}t.ignore.length&&(n=n.filter(function(e){return!l(t,e)}));t.found=n},e.mark=function(t,e){var n=f(t,e),r=t.cache[n],i=e;if(r){var s="DIR"===r||Array.isArray(r),o="/"===e.slice(-1);if(s&&!o?i+="/":!s&&o&&(i=i.slice(0,-1)),i!==e){var a=f(t,i);t.statCache[a]=t.statCache[n],t.cache[a]=t.cache[n]}}return i},e.isIgnored=l,e.childrenIgnored=function(t,e){return!!t.ignore.length&&t.ignore.some(function(t){return!(!t.gmatcher||!t.gmatcher.match(e))})};var i=n(5),s=n(21),o=n(23),a=s.Minimatch;function u(t,e){return t.toLowerCase().localeCompare(e.toLowerCase())}function h(t,e){return t.localeCompare(e)}function c(t){var e=null;if("/**"===t.slice(-3)){var n=t.replace(/(\/\*\*)+$/,"");e=new a(n,{dot:!0})}return{matcher:new a(t,{dot:!0}),gmatcher:e}}function f(e,n){var r=n;return r="/"===n.charAt(0)?i.join(e.root,n):o(n)||""===n?n:e.changedCwd?i.resolve(e.cwd,n):i.resolve(n),"win32"===t.platform&&(r=r.replace(/\\/g,"/")),r}function l(t,e){return!!t.ignore.length&&t.ignore.some(function(t){return t.matcher.match(e)||!(!t.gmatcher||!t.gmatcher.match(e))})}}).call(this,n(1))},function(t,e){t.exports=function t(e,n){if(e&&n)return t(e)(n);if("function"!=typeof e)throw new TypeError("need wrapper function");Object.keys(e).forEach(function(t){r[t]=e[t]});return r;function r(){for(var t=new Array(arguments.length),n=0;n<t.length;n++)t[n]=arguments[n];var r=e.apply(this,t),i=t[t.length-1];return"function"==typeof r&&r!==i&&Object.keys(i).forEach(function(t){r[t]=i[t]}),r}}},function(t,e,n){var r=n(30);function i(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function s(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},n=t.name||"Function wrapped with `once`";return e.onceError=n+" shouldn't be called more than once",e.called=!1,e}t.exports=r(i),t.exports.strict=r(s),i.proto=i(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return s(this)},configurable:!0})})},function(t,e,n){"use strict";(function(e,r){var i=n(16);t.exports=E;var s,o=n(33);E.ReadableState=v;n(14).EventEmitter;var a=function(t,e){return t.listeners(e).length},u=n(34),h=n(17).Buffer,c=e.Uint8Array||function(){};var f=n(13);f.inherits=n(9);var l=n(59),p=void 0;p=l&&l.debuglog?l.debuglog("stream"):function(){};var _,d=n(60),T=n(35);f.inherits(E,u);var y=["error","close","destroy","pause","resume"];function v(t,e){t=t||{};var r=e instanceof(s=s||n(10));this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,o=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(_||(_=n(36).StringDecoder),this.decoder=new _(t.encoding),this.encoding=t.encoding)}function E(t){if(s=s||n(10),!(this instanceof E))return new E(t);this._readableState=new v(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),u.call(this)}function g(t,e,n,r,i){var s,o=t._readableState;null===e?(o.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,S(t)}(t,o)):(i||(s=function(t,e){var n;r=e,h.isBuffer(r)||r instanceof c||"string"==typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(o,e)),s?t.emit("error",s):o.objectMode||e&&e.length>0?("string"==typeof e||o.objectMode||Object.getPrototypeOf(e)===h.prototype||(e=function(t){return h.from(t)}(e)),r?o.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):m(t,o,e,!0):o.ended?t.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(e=o.decoder.write(e),o.objectMode||0!==e.length?m(t,o,e,!1):A(t,o)):m(t,o,e,!1))):r||(o.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(o)}function m(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&S(t)),A(t,e)}Object.defineProperty(E.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),E.prototype.destroy=T.destroy,E.prototype._undestroy=T.undestroy,E.prototype._destroy=function(t,e){this.push(null),e(t)},E.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=h.from(t,e),e=""),n=!0),g(this,t,e,!1,n)},E.prototype.unshift=function(t){return g(this,t,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(t){return _||(_=n(36).StringDecoder),this._readableState.decoder=new _(t),this._readableState.encoding=t,this};var x=8388608;function k(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=x?t=x:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function S(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(p("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(b,t):b(t))}function b(t){p("emit readable"),t.emit("readable"),R(t)}function A(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(O,t,e))}function O(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(p("maybeReadMore read 0"),t.read(0),n!==e.length);)n=e.length;e.readingMore=!1}function N(t){p("readable nexttick read 0"),t.read(0)}function w(t,e){e.reading||(p("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),R(t),e.flowing&&!e.reading&&t.read(0)}function R(t){var e=t._readableState;for(p("flow",e.flowing);e.flowing&&null!==t.read(););}function C(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var r;t<e.head.data.length?(r=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):r=t===e.head.data.length?e.shift():n?function(t,e){var n=e.head,r=1,i=n.data;t-=i.length;for(;n=n.next;){var s=n.data,o=t>s.length?s.length:t;if(o===s.length?i+=s:i+=s.slice(0,t),0===(t-=o)){o===s.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=s.slice(o));break}++r}return e.length-=r,i}(t,e):function(t,e){var n=h.allocUnsafe(t),r=e.head,i=1;r.data.copy(n),t-=r.data.length;for(;r=r.next;){var s=r.data,o=t>s.length?s.length:t;if(s.copy(n,n.length-t,0,o),0===(t-=o)){o===s.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=s.slice(o));break}++i}return e.length-=i,n}(t,e);return r}(t,e.buffer,e.decoder),n);var n}function L(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(I,e,t))}function I(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function P(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}E.prototype.read=function(t){p("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return p("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?L(this):S(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&L(this),null;var r,i=e.needReadable;return p("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&p("length less than watermark",i=!0),e.ended||e.reading?p("reading or ended",i=!1):i&&(p("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=k(n,e))),null===(r=t>0?C(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&L(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},E.prototype.pipe=function(t,e){var n=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=t;break;case 1:s.pipes=[s.pipes,t];break;default:s.pipes.push(t)}s.pipesCount+=1,p("pipe count=%d opts=%j",s.pipesCount,e);var u=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?c:E;function h(e,r){p("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("cleanup"),t.removeListener("close",y),t.removeListener("finish",v),t.removeListener("drain",f),t.removeListener("error",T),t.removeListener("unpipe",h),n.removeListener("end",c),n.removeListener("end",E),n.removeListener("data",d),l=!0,!s.awaitDrain||t._writableState&&!t._writableState.needDrain||f())}function c(){p("onend"),t.end()}s.endEmitted?i.nextTick(u):n.once("end",u),t.on("unpipe",h);var f=function(t){return function(){var e=t._readableState;p("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,R(t))}}(n);t.on("drain",f);var l=!1;var _=!1;function d(e){p("ondata"),_=!1,!1!==t.write(e)||_||((1===s.pipesCount&&s.pipes===t||s.pipesCount>1&&-1!==P(s.pipes,t))&&!l&&(p("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,_=!0),n.pause())}function T(e){p("onerror",e),E(),t.removeListener("error",T),0===a(t,"error")&&t.emit("error",e)}function y(){t.removeListener("finish",v),E()}function v(){p("onfinish"),t.removeListener("close",y),E()}function E(){p("unpipe"),n.unpipe(t)}return n.on("data",d),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?o(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",T),t.once("close",y),t.once("finish",v),t.emit("pipe",n),s.flowing||(p("pipe resume"),n.resume()),t},E.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s<i;s++)r[s].emit("unpipe",this,n);return this}var o=P(e.pipes,t);return-1===o?this:(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n),this)},E.prototype.on=function(t,e){var n=u.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&S(this):i.nextTick(N,this))}return n},E.prototype.addListener=E.prototype.on,E.prototype.resume=function(){var t=this._readableState;return t.flowing||(p("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(w,t,e))}(this,t)),this},E.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},E.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var i in t.on("end",function(){if(p("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(i){(p("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(e.push(i)||(r=!0,t.pause()))}),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var s=0;s<y.length;s++)t.on(y[s],this.emit.bind(this,y[s]));return this._read=function(e){p("wrapped _read",e),r&&(r=!1,t.resume())},this},Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),E._fromList=C}).call(this,n(4),n(1))},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){t.exports=n(14).EventEmitter},function(t,e,n){"use strict";var r=n(16);function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var n=this,s=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return s||o?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?(r.nextTick(i,n,t),n._writableState&&(n._writableState.errorEmitted=!0)):e&&e(t)}),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)}}},function(t,e,n){"use strict";var r=n(17).Buffer,i=r.isEncoding||function(t){switch((t=""+t)&&t.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}};function s(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){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 t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(r.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=h,e=4;break;case"utf8":this.fillLast=a,e=4;break;case"base64":this.text=c,this.end=f,e=3;break;default:return this.write=l,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function o(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function a(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function h(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function c(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function l(t){return t.toString(this.encoding)}function p(t){return t&&t.length?this.write(t):""}e.StringDecoder=s,s.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},s.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},s.prototype.text=function(t,e){var n=function(t,e,n){var r=e.length-1;if(r<n)return 0;var i=o(e[r]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=o(e[r]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=o(e[r]))>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},s.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,n){"use strict";t.exports=o;var r=n(10),i=n(13);function s(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(t){if(!(this instanceof o))return new o(t);r.call(this,t),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",a)}function a(){var t=this;"function"==typeof this._flush?this._flush(function(e,n){u(t,e,n)}):u(this,null,null)}function u(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=n(9),i.inherits(o,r),o.prototype.push=function(t,e){return this._transformState.needTransform=!1,r.prototype.push.call(this,t,e)},o.prototype._transform=function(t,e,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},o.prototype._destroy=function(t,e){var n=this;r.prototype._destroy.call(this,t,function(t){e(t),n.emit("close")})}},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(8),i=r.extends(function(t,e,n){r.apply(this,["constant",t,n]),this.value=e});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(8),i=r.extends(function(t,e,n,i,s,o){r.apply(this,["function",t,o]),this.arguments=e,this.byref=n,this.type=i,this.nullable=s,this.body=null});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(2),i=r.extends(function t(e,n,i){r.apply(this,["identifier",i]),n?this.resolution=t.RELATIVE_NAME:1===e.length?this.resolution=t.UNQUALIFIED_NAME:""===e[0]?this.resolution=t.FULL_QUALIFIED_NAME:this.resolution=t.QUALIFIED_NAME,this.name=e.join("\\")});i.UNQUALIFIED_NAME="uqn",i.QUALIFIED_NAME="qn",i.FULL_QUALIFIED_NAME="fqn",i.RELATIVE_NAME="rn",t.exports=i},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){(function(t){var r=n(5),i="win32"===t.platform,s=n(6),o=t.env.NODE_DEBUG&&/fs/.test(t.env.NODE_DEBUG);function a(e){return"function"==typeof e?e:function(){var e;if(o){var n=new Error;e=function(t){t&&(n.message=t.message,r(t=n))}}else e=r;return e;function r(e){if(e){if(t.throwDeprecation)throw e;if(!t.noDeprecation){var n="fs: missing callback "+(e.stack||e.message);t.traceDeprecation?console.trace(n):console.error(n)}}}}()}r.normalize;if(i)var u=/(.*?)(?:[\/\\]+|$)/g;else u=/(.*?)(?:[\/]+|$)/g;if(i)var h=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else h=/^[\/]*/;e.realpathSync=function(t,e){if(t=r.resolve(t),e&&Object.prototype.hasOwnProperty.call(e,t))return e[t];var n,o,a,c,f=t,l={},p={};function _(){var e=h.exec(t);n=e[0].length,o=e[0],a=e[0],c="",i&&!p[a]&&(s.lstatSync(a),p[a]=!0)}for(_();n<t.length;){u.lastIndex=n;var d=u.exec(t);if(c=o,o+=d[0],a=c+d[1],n=u.lastIndex,!(p[a]||e&&e[a]===a)){var T;if(e&&Object.prototype.hasOwnProperty.call(e,a))T=e[a];else{var y=s.lstatSync(a);if(!y.isSymbolicLink()){p[a]=!0,e&&(e[a]=a);continue}var v=null;if(!i){var E=y.dev.toString(32)+":"+y.ino.toString(32);l.hasOwnProperty(E)&&(v=l[E])}null===v&&(s.statSync(a),v=s.readlinkSync(a)),T=r.resolve(c,v),e&&(e[a]=T),i||(l[E]=v)}t=r.resolve(T,t.slice(n)),_()}}return e&&(e[f]=t),t},e.realpath=function(e,n,o){if("function"!=typeof o&&(o=a(n),n=null),e=r.resolve(e),n&&Object.prototype.hasOwnProperty.call(n,e))return t.nextTick(o.bind(null,null,n[e]));var c,f,l,p,_=e,d={},T={};function y(){var n=h.exec(e);c=n[0].length,f=n[0],l=n[0],p="",i&&!T[l]?s.lstat(l,function(t){if(t)return o(t);T[l]=!0,v()}):t.nextTick(v)}function v(){if(c>=e.length)return n&&(n[_]=e),o(null,e);u.lastIndex=c;var r=u.exec(e);return p=f,f+=r[0],l=p+r[1],c=u.lastIndex,T[l]||n&&n[l]===l?t.nextTick(v):n&&Object.prototype.hasOwnProperty.call(n,l)?m(n[l]):s.lstat(l,E)}function E(e,r){if(e)return o(e);if(!r.isSymbolicLink())return T[l]=!0,n&&(n[l]=l),t.nextTick(v);if(!i){var a=r.dev.toString(32)+":"+r.ino.toString(32);if(d.hasOwnProperty(a))return g(null,d[a],l)}s.stat(l,function(t){if(t)return o(t);s.readlink(l,function(t,e){i||(d[a]=e),g(t,e)})})}function g(t,e,i){if(t)return o(t);var s=r.resolve(p,e);n&&(n[i]=s),m(s)}function m(t){e=r.resolve(t,e.slice(c)),y()}y()}}).call(this,n(1))},function(t,e,n){var r=n(44),i=n(45);t.exports=function(t){if(!t)return[];"{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2));return function t(e,n){var s=[];var o=i("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body);var h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body);var f=u||h;var T=o.body.indexOf(",")>=0;if(!f&&!T)return o.post.match(/,.*\}/)?(e=o.pre+"{"+o.body+a+o.post,t(e)):[e];var y;if(f)y=o.body.split(/\.\./);else if(1===(y=function t(e){if(!e)return[""];var n=[];var r=i("{","}",e);if(!r)return e.split(",");var s=r.pre;var o=r.body;var a=r.post;var u=s.split(",");u[u.length-1]+="{"+o+"}";var h=t(a);a.length&&(u[u.length-1]+=h.shift(),u.push.apply(u,h));n.push.apply(n,u);return n}(o.body)).length&&1===(y=t(y[0],!1).map(l)).length){var v=o.post.length?t(o.post,!1):[""];return v.map(function(t){return o.pre+y[0]+t})}var E=o.pre;var v=o.post.length?t(o.post,!1):[""];var g;if(f){var m=c(y[0]),x=c(y[1]),k=Math.max(y[0].length,y[1].length),S=3==y.length?Math.abs(c(y[2])):1,b=_,A=x<m;A&&(S*=-1,b=d);var O=y.some(p);g=[];for(var N=m;b(N,x);N+=S){var w;if(h)"\\"===(w=String.fromCharCode(N))&&(w="");else if(w=String(N),O){var R=k-w.length;if(R>0){var C=new Array(R+1).join("0");w=N<0?"-"+C+w.slice(1):C+w}}g.push(w)}}else g=r(y,function(e){return t(e,!1)});for(var L=0;L<g.length;L++)for(var I=0;I<v.length;I++){var P=E+g[L]+v[I];(!n||f||P)&&s.push(P)}return s}(function(t){return t.split("\\\\").join(s).split("\\{").join(o).split("\\}").join(a).split("\\,").join(u).split("\\.").join(h)}(t),!0).map(f)};var s="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",u="\0COMMA"+Math.random()+"\0",h="\0PERIOD"+Math.random()+"\0";function c(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function f(t){return t.split(s).join("\\").split(o).join("{").split(a).join("}").split(u).join(",").split(h).join(".")}function l(t){return"{"+t+"}"}function p(t){return/^-?0\d/.test(t)}function _(t,e){return t<=e}function d(t,e){return t>=e}},function(t,e){t.exports=function(t,e){for(var r=[],i=0;i<t.length;i++){var s=e(t[i],i);n(s)?r.push.apply(r,s):r.push(s)}return r};var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";function r(t,e,n){t instanceof RegExp&&(t=i(t,n)),e instanceof RegExp&&(e=i(e,n));var r=s(t,e,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+t.length,r[1]),post:n.slice(r[1]+e.length)}}function i(t,e){var n=e.match(t);return n?n[0]:null}function s(t,e,n){var r,i,s,o,a,u=n.indexOf(t),h=n.indexOf(e,u+1),c=u;if(u>=0&&h>0){for(r=[],s=n.length;c>=0&&!a;)c==u?(r.push(c),u=n.indexOf(t,c+1)):1==r.length?a=[r.pop(),h]:((i=r.pop())<s&&(s=i,o=h),h=n.indexOf(e,c+1)),c=u<h&&u>=0?u:h;r.length&&(a=[s,o])}return a}t.exports=r,r.range=s},function(t,e,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,u=o(t),h=1;h<arguments.length;h++){for(var c in n=Object(arguments[h]))i.call(n,c)&&(u[c]=n[c]);if(r){a=r(n);for(var f=0;f<a.length;f++)s.call(n,a[f])&&(u[a[f]]=n[a[f]])}}return u}},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){(function(e){t.exports=_,_.GlobSync=d;var r=n(6),i=n(28),s=n(21),o=(s.Minimatch,n(27).Glob,n(15),n(5)),a=n(22),u=n(23),h=n(29),c=(h.alphasort,h.alphasorti,h.setopts),f=h.ownProp,l=h.childrenIgnored,p=h.isIgnored;function _(t,e){if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new d(t,e).found}function d(t,e){if(!t)throw new Error("must provide pattern");if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof d))return new d(t,e);if(c(this,t,e),this.noprocess)return this;var n=this.minimatch.set.length;this.matches=new Array(n);for(var r=0;r<n;r++)this._process(this.minimatch.set[r],r,!1);this._finish()}d.prototype._finish=function(){if(a(this instanceof d),this.realpath){var t=this;this.matches.forEach(function(e,n){var r=t.matches[n]=Object.create(null);for(var s in e)try{s=t._makeAbs(s),r[i.realpathSync(s,t.realpathCache)]=!0}catch(e){if("stat"!==e.syscall)throw e;r[t._makeAbs(s)]=!0}})}h.finish(this)},d.prototype._process=function(t,e,n){a(this instanceof d);for(var r,i=0;"string"==typeof t[i];)i++;switch(i){case t.length:return void this._processSimple(t.join("/"),e);case 0:r=null;break;default:r=t.slice(0,i).join("/")}var o,h=t.slice(i);null===r?o=".":u(r)||u(t.join("/"))?(r&&u(r)||(r="/"+r),o=r):o=r;var c=this._makeAbs(o);l(this,o)||(h[0]===s.GLOBSTAR?this._processGlobStar(r,o,c,h,e,n):this._processReaddir(r,o,c,h,e,n))},d.prototype._processReaddir=function(t,e,n,r,i,s){var a=this._readdir(n,s);if(a){for(var u=r[0],h=!!this.minimatch.negate,c=u._glob,f=this.dot||"."===c.charAt(0),l=[],p=0;p<a.length;p++){if("."!==(T=a[p]).charAt(0)||f)(h&&!t?!T.match(u):T.match(u))&&l.push(T)}var _=l.length;if(0!==_)if(1!==r.length||this.mark||this.stat){r.shift();for(p=0;p<_;p++){var d;T=l[p];d=t?[t,T]:[T],this._process(d.concat(r),i,s)}}else{this.matches[i]||(this.matches[i]=Object.create(null));for(var p=0;p<_;p++){var T=l[p];t&&(T="/"!==t.slice(-1)?t+"/"+T:t+T),"/"!==T.charAt(0)||this.nomount||(T=o.join(this.root,T)),this._emitMatch(i,T)}}}},d.prototype._emitMatch=function(t,e){if(!p(this,e)){var n=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=n),!this.matches[t][e]){if(this.nodir){var r=this.cache[n];if("DIR"===r||Array.isArray(r))return}this.matches[t][e]=!0,this.stat&&this._stat(e)}}},d.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var e,n;try{n=r.lstatSync(t)}catch(t){if("ENOENT"===t.code)return null}var i=n&&n.isSymbolicLink();return this.symlinks[t]=i,i||!n||n.isDirectory()?e=this._readdir(t,!1):this.cache[t]="FILE",e},d.prototype._readdir=function(t,e){if(e&&!f(this.symlinks,t))return this._readdirInGlobStar(t);if(f(this.cache,t)){var n=this.cache[t];if(!n||"FILE"===n)return null;if(Array.isArray(n))return n}try{return this._readdirEntries(t,r.readdirSync(t))}catch(e){return this._readdirError(t,e),null}},d.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat)for(var n=0;n<e.length;n++){var r=e[n];r="/"===t?t+r:t+"/"+r,this.cache[r]=!0}return this.cache[t]=e,e},d.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(t);if(this.cache[n]="FILE",n===this.cwdAbs){var r=new Error(e.code+" invalid cwd "+this.cwd);throw r.path=this.cwd,r.code=e.code,r}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw e;this.silent||console.error("glob error",e)}},d.prototype._processGlobStar=function(t,e,n,r,i,s){var o=this._readdir(n,s);if(o){var a=r.slice(1),u=t?[t]:[],h=u.concat(a);this._process(h,i,!1);var c=o.length;if(!this.symlinks[n]||!s)for(var f=0;f<c;f++){if("."!==o[f].charAt(0)||this.dot){var l=u.concat(o[f],a);this._process(l,i,!0);var p=u.concat(o[f],r);this._process(p,i,!0)}}}},d.prototype._processSimple=function(t,n){var r=this._stat(t);if(this.matches[n]||(this.matches[n]=Object.create(null)),r){if(t&&u(t)&&!this.nomount){var i=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=o.join(this.root,t):(t=o.resolve(this.root,t),i&&(t+="/"))}"win32"===e.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(n,t)}},d.prototype._stat=function(t){var e=this._makeAbs(t),n="/"===t.slice(-1);if(t.length>this.maxLength)return!1;if(!this.stat&&f(this.cache,e)){var i=this.cache[e];if(Array.isArray(i)&&(i="DIR"),!n||"DIR"===i)return i;if(n&&"FILE"===i)return!1}var s=this.statCache[e];if(!s){var o;try{o=r.lstatSync(e)}catch(t){if(t&&("ENOENT"===t.code||"ENOTDIR"===t.code))return this.statCache[e]=!1,!1}if(o&&o.isSymbolicLink())try{s=r.statSync(e)}catch(t){s=o}else s=o}this.statCache[e]=s;i=!0;return s&&(i=s.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||i,(!n||"FILE"!==i)&&i},d.prototype._mark=function(t){return h.mark(this,t)},d.prototype._makeAbs=function(t){return h.makeAbs(this,t)}}).call(this,n(1))},function(t,e,n){(function(e){var r=n(30),i=Object.create(null),s=n(31);function o(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r]=t[r];return n}t.exports=r(function(t,n){return i[t]?(i[t].push(n),null):(i[t]=[n],function(t){return s(function n(){var r=i[t],s=r.length,a=o(arguments);try{for(var u=0;u<s;u++)r[u].apply(null,a)}finally{r.length>s?(r.splice(0,s),e.nextTick(function(){n.apply(null,a)})):delete i[t]}})}(t))})}).call(this,n(1))},function(t,e,n){"use strict";const r=n(52),i=n(5);t.exports=function t(e,n,s){s||(s=[],e=i.resolve(e),(n=n||{}).fs=n.fs||r,n.depthLimit>-1&&(n.rootDepth=e.split(i.sep).length+1));const o=n.fs.readdirSync(e).map(t=>e+i.sep+t);for(var a=0;a<o.length;a+=1){const e=o[a],r=n.fs.statSync(e),u={path:e,stats:r},h=!n.rootDepth||e.split(i.sep).length-n.rootDepth<n.depthLimit,c=!n.filter||n.filter(u),f=r.isDirectory(),l=c&&(f?!n.nodir:!n.nofile),p=f&&h&&(n.traverseAll||c);l&&s.push(u),p&&(s=t(e,n,s))}return s}},function(t,e,n){(function(e){var r=n(6),i=n(53),s=n(55),o=n(70),a=[],u=n(15);var h,c,f=function(){};function l(t){i(t),t.gracefulify=l,t.FileReadStream=d,t.FileWriteStream=T,t.createReadStream=function(t,e){return new d(t,e)},t.createWriteStream=function(t,e){return new T(t,e)};var n=t.readFile;t.readFile=function(t,e,r){"function"==typeof e&&(r=e,e=null);return function t(e,r,i){return n(e,r,function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?("function"==typeof i&&i.apply(this,arguments),_()):p([t,[e,r,i]])})}(t,e,r)};var r=t.writeFile;t.writeFile=function(t,e,n,i){"function"==typeof n&&(i=n,n=null);return function t(e,n,i,s){return r(e,n,i,function(r){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?("function"==typeof s&&s.apply(this,arguments),_()):p([t,[e,n,i,s]])})}(t,e,n,i)};var o=t.appendFile;o&&(t.appendFile=function(t,e,n,r){"function"==typeof n&&(r=n,n=null);return function t(e,n,r,i){return o(e,n,r,function(s){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?("function"==typeof i&&i.apply(this,arguments),_()):p([t,[e,n,r,i]])})}(t,e,n,r)});var a=t.readdir;function u(e){return a.apply(t,e)}if(t.readdir=function(t,e,n){var r=[t];"function"!=typeof e?r.push(e):n=e;return r.push(function(t,e){e&&e.sort&&e.sort();!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?("function"==typeof n&&n.apply(this,arguments),_()):p([u,[r]])}),u(r)},"v0.8"===e.version.substr(0,4)){var h=s(t);d=h.ReadStream,T=h.WriteStream}var c=t.ReadStream;c&&(d.prototype=Object.create(c.prototype),d.prototype.open=function(){var t=this;v(t.path,t.flags,t.mode,function(e,n){e?(t.autoClose&&t.destroy(),t.emit("error",e)):(t.fd=n,t.emit("open",n),t.read())})});var f=t.WriteStream;function d(t,e){return this instanceof d?(c.apply(this,arguments),this):d.apply(Object.create(d.prototype),arguments)}function T(t,e){return this instanceof T?(f.apply(this,arguments),this):T.apply(Object.create(T.prototype),arguments)}f&&(T.prototype=Object.create(f.prototype),T.prototype.open=function(){var t=this;v(t.path,t.flags,t.mode,function(e,n){e?(t.destroy(),t.emit("error",e)):(t.fd=n,t.emit("open",n))})}),t.ReadStream=d,t.WriteStream=T;var y=t.open;function v(t,e,n,r){return"function"==typeof n&&(r=n,n=null),function t(e,n,r,i){return y(e,n,r,function(s,o){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?("function"==typeof i&&i.apply(this,arguments),_()):p([t,[e,n,r,i]])})}(t,e,n,r)}return t.open=v,t}function p(t){f("ENQUEUE",t[0].name,t[1]),a.push(t)}function _(){var t=a.shift();t&&(f("RETRY",t[0].name,t[1]),t[0].apply(null,t[1]))}u.debuglog?f=u.debuglog("gfs4"):/\bgfs4\b/i.test(e.env.NODE_DEBUG||"")&&(f=function(){var t=u.format.apply(u,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: "),console.error(t)}),/\bgfs4\b/i.test(e.env.NODE_DEBUG||"")&&e.on("exit",function(){f(a),n(22).equal(a.length,0)}),t.exports=l(o(r)),e.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched&&(t.exports=l(r),r.__patched=!0),t.exports.close=(h=r.close,function(t,e){return h.call(r,t,function(t){t||_(),"function"==typeof e&&e.apply(this,arguments)})}),t.exports.closeSync=(c=r.closeSync,function(t){var e=c.apply(r,arguments);return _(),e}),/\bgraceful-fs\b/.test(r.closeSync.toString())||(r.closeSync=t.exports.closeSync,r.close=t.exports.close)}).call(this,n(1))},function(t,e,n){(function(e){var r=n(54),i=e.cwd,s=null,o=e.env.GRACEFUL_FS_PLATFORM||e.platform;e.cwd=function(){return s||(s=i.call(e)),s};try{e.cwd()}catch(t){}var a=e.chdir;e.chdir=function(t){s=null,a.call(e,t)},t.exports=function(t){r.hasOwnProperty("O_SYMLINK")&&e.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(t){t.lchmod=function(e,n,i){t.open(e,r.O_WRONLY|r.O_SYMLINK,n,function(e,r){e?i&&i(e):t.fchmod(r,n,function(e){t.close(r,function(t){i&&i(e||t)})})})},t.lchmodSync=function(e,n){var i,s=t.openSync(e,r.O_WRONLY|r.O_SYMLINK,n),o=!0;try{i=t.fchmodSync(s,n),o=!1}finally{if(o)try{t.closeSync(s)}catch(t){}else t.closeSync(s)}return i}}(t);t.lutimes||function(t){r.hasOwnProperty("O_SYMLINK")?(t.lutimes=function(e,n,i,s){t.open(e,r.O_SYMLINK,function(e,r){e?s&&s(e):t.futimes(r,n,i,function(e){t.close(r,function(t){s&&s(e||t)})})})},t.lutimesSync=function(e,n,i){var s,o=t.openSync(e,r.O_SYMLINK),a=!0;try{s=t.futimesSync(o,n,i),a=!1}finally{if(a)try{t.closeSync(o)}catch(t){}else t.closeSync(o)}return s}):(t.lutimes=function(t,n,r,i){i&&e.nextTick(i)},t.lutimesSync=function(){})}(t);t.chown=a(t.chown),t.fchown=a(t.fchown),t.lchown=a(t.lchown),t.chmod=i(t.chmod),t.fchmod=i(t.fchmod),t.lchmod=i(t.lchmod),t.chownSync=u(t.chownSync),t.fchownSync=u(t.fchownSync),t.lchownSync=u(t.lchownSync),t.chmodSync=s(t.chmodSync),t.fchmodSync=s(t.fchmodSync),t.lchmodSync=s(t.lchmodSync),t.stat=h(t.stat),t.fstat=h(t.fstat),t.lstat=h(t.lstat),t.statSync=c(t.statSync),t.fstatSync=c(t.fstatSync),t.lstatSync=c(t.lstatSync),t.lchmod||(t.lchmod=function(t,n,r){r&&e.nextTick(r)},t.lchmodSync=function(){});t.lchown||(t.lchown=function(t,n,r,i){i&&e.nextTick(i)},t.lchownSync=function(){});"win32"===o&&(t.rename=(n=t.rename,function(e,r,i){var s=Date.now(),o=0;n(e,r,function a(u){if(u&&("EACCES"===u.code||"EPERM"===u.code)&&Date.now()-s<6e4)return setTimeout(function(){t.stat(r,function(t,s){t&&"ENOENT"===t.code?n(e,r,a):i(u)})},o),void(o<100&&(o+=10));i&&i(u)})}));var n;function i(e){return e?function(n,r,i){return e.call(t,n,r,function(t){f(t)&&(t=null),i&&i.apply(this,arguments)})}:e}function s(e){return e?function(n,r){try{return e.call(t,n,r)}catch(t){if(!f(t))throw t}}:e}function a(e){return e?function(n,r,i,s){return e.call(t,n,r,i,function(t){f(t)&&(t=null),s&&s.apply(this,arguments)})}:e}function u(e){return e?function(n,r,i){try{return e.call(t,n,r,i)}catch(t){if(!f(t))throw t}}:e}function h(e){return e?function(n,r,i){function s(t,e){e&&(e.uid<0&&(e.uid+=4294967296),e.gid<0&&(e.gid+=4294967296)),i&&i.apply(this,arguments)}return"function"==typeof r&&(i=r,r=null),r?e.call(t,n,r,s):e.call(t,n,s)}:e}function c(e){return e?function(n,r){var i=r?e.call(t,n,r):e.call(t,n);return i.uid<0&&(i.uid+=4294967296),i.gid<0&&(i.gid+=4294967296),i}:e}function f(t){return!t||("ENOSYS"===t.code||!(e.getuid&&0===e.getuid()||"EINVAL"!==t.code&&"EPERM"!==t.code))}t.read=function(e){function n(n,r,i,s,o,a){var u;if(a&&"function"==typeof a){var h=0;u=function(c,f,l){if(c&&"EAGAIN"===c.code&&h<10)return h++,e.call(t,n,r,i,s,o,u);a.apply(this,arguments)}}return e.call(t,n,r,i,s,o,u)}return n.__proto__=e,n}(t.read),t.readSync=(l=t.readSync,function(e,n,r,i,s){for(var o=0;;)try{return l.call(t,e,n,r,i,s)}catch(t){if("EAGAIN"===t.code&&o<10){o++;continue}throw t}});var l}}).call(this,n(1))},function(t){t.exports=JSON.parse('{"O_RDONLY":0,"O_WRONLY":1,"O_RDWR":2,"S_IFMT":61440,"S_IFREG":32768,"S_IFDIR":16384,"S_IFCHR":8192,"S_IFBLK":24576,"S_IFIFO":4096,"S_IFLNK":40960,"S_IFSOCK":49152,"O_CREAT":512,"O_EXCL":2048,"O_NOCTTY":131072,"O_TRUNC":1024,"O_APPEND":8,"O_DIRECTORY":1048576,"O_NOFOLLOW":256,"O_SYNC":128,"O_SYMLINK":2097152,"O_NONBLOCK":4,"S_IRWXU":448,"S_IRUSR":256,"S_IWUSR":128,"S_IXUSR":64,"S_IRWXG":56,"S_IRGRP":32,"S_IWGRP":16,"S_IXGRP":8,"S_IRWXO":7,"S_IROTH":4,"S_IWOTH":2,"S_IXOTH":1,"E2BIG":7,"EACCES":13,"EADDRINUSE":48,"EADDRNOTAVAIL":49,"EAFNOSUPPORT":47,"EAGAIN":35,"EALREADY":37,"EBADF":9,"EBADMSG":94,"EBUSY":16,"ECANCELED":89,"ECHILD":10,"ECONNABORTED":53,"ECONNREFUSED":61,"ECONNRESET":54,"EDEADLK":11,"EDESTADDRREQ":39,"EDOM":33,"EDQUOT":69,"EEXIST":17,"EFAULT":14,"EFBIG":27,"EHOSTUNREACH":65,"EIDRM":90,"EILSEQ":92,"EINPROGRESS":36,"EINTR":4,"EINVAL":22,"EIO":5,"EISCONN":56,"EISDIR":21,"ELOOP":62,"EMFILE":24,"EMLINK":31,"EMSGSIZE":40,"EMULTIHOP":95,"ENAMETOOLONG":63,"ENETDOWN":50,"ENETRESET":52,"ENETUNREACH":51,"ENFILE":23,"ENOBUFS":55,"ENODATA":96,"ENODEV":19,"ENOENT":2,"ENOEXEC":8,"ENOLCK":77,"ENOLINK":97,"ENOMEM":12,"ENOMSG":91,"ENOPROTOOPT":42,"ENOSPC":28,"ENOSR":98,"ENOSTR":99,"ENOSYS":78,"ENOTCONN":57,"ENOTDIR":20,"ENOTEMPTY":66,"ENOTSOCK":38,"ENOTSUP":45,"ENOTTY":25,"ENXIO":6,"EOPNOTSUPP":102,"EOVERFLOW":84,"EPERM":1,"EPIPE":32,"EPROTO":100,"EPROTONOSUPPORT":43,"EPROTOTYPE":41,"ERANGE":34,"EROFS":30,"ESPIPE":29,"ESRCH":3,"ESTALE":70,"ETIME":101,"ETIMEDOUT":60,"ETXTBSY":26,"EWOULDBLOCK":35,"EXDEV":18,"SIGHUP":1,"SIGINT":2,"SIGQUIT":3,"SIGILL":4,"SIGTRAP":5,"SIGABRT":6,"SIGIOT":6,"SIGBUS":10,"SIGFPE":8,"SIGKILL":9,"SIGUSR1":30,"SIGSEGV":11,"SIGUSR2":31,"SIGPIPE":13,"SIGALRM":14,"SIGTERM":15,"SIGCHLD":20,"SIGCONT":19,"SIGSTOP":17,"SIGTSTP":18,"SIGTTIN":21,"SIGTTOU":22,"SIGURG":16,"SIGXCPU":24,"SIGXFSZ":25,"SIGVTALRM":26,"SIGPROF":27,"SIGWINCH":28,"SIGIO":23,"SIGSYS":12,"SSL_OP_ALL":2147486719,"SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION":262144,"SSL_OP_CIPHER_SERVER_PREFERENCE":4194304,"SSL_OP_CISCO_ANYCONNECT":32768,"SSL_OP_COOKIE_EXCHANGE":8192,"SSL_OP_CRYPTOPRO_TLSEXT_BUG":2147483648,"SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS":2048,"SSL_OP_EPHEMERAL_RSA":0,"SSL_OP_LEGACY_SERVER_CONNECT":4,"SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER":32,"SSL_OP_MICROSOFT_SESS_ID_BUG":1,"SSL_OP_MSIE_SSLV2_RSA_PADDING":0,"SSL_OP_NETSCAPE_CA_DN_BUG":536870912,"SSL_OP_NETSCAPE_CHALLENGE_BUG":2,"SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG":1073741824,"SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG":8,"SSL_OP_NO_COMPRESSION":131072,"SSL_OP_NO_QUERY_MTU":4096,"SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION":65536,"SSL_OP_NO_SSLv2":16777216,"SSL_OP_NO_SSLv3":33554432,"SSL_OP_NO_TICKET":16384,"SSL_OP_NO_TLSv1":67108864,"SSL_OP_NO_TLSv1_1":268435456,"SSL_OP_NO_TLSv1_2":134217728,"SSL_OP_PKCS1_CHECK_1":0,"SSL_OP_PKCS1_CHECK_2":0,"SSL_OP_SINGLE_DH_USE":1048576,"SSL_OP_SINGLE_ECDH_USE":524288,"SSL_OP_SSLEAY_080_CLIENT_DH_BUG":128,"SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG":0,"SSL_OP_TLS_BLOCK_PADDING_BUG":512,"SSL_OP_TLS_D5_BUG":256,"SSL_OP_TLS_ROLLBACK_BUG":8388608,"ENGINE_METHOD_DSA":2,"ENGINE_METHOD_DH":4,"ENGINE_METHOD_RAND":8,"ENGINE_METHOD_ECDH":16,"ENGINE_METHOD_ECDSA":32,"ENGINE_METHOD_CIPHERS":64,"ENGINE_METHOD_DIGESTS":128,"ENGINE_METHOD_STORE":256,"ENGINE_METHOD_PKEY_METHS":512,"ENGINE_METHOD_PKEY_ASN1_METHS":1024,"ENGINE_METHOD_ALL":65535,"ENGINE_METHOD_NONE":0,"DH_CHECK_P_NOT_SAFE_PRIME":2,"DH_CHECK_P_NOT_PRIME":1,"DH_UNABLE_TO_CHECK_GENERATOR":4,"DH_NOT_SUITABLE_GENERATOR":8,"NPN_ENABLED":1,"RSA_PKCS1_PADDING":1,"RSA_SSLV23_PADDING":2,"RSA_NO_PADDING":3,"RSA_PKCS1_OAEP_PADDING":4,"RSA_X931_PADDING":5,"RSA_PKCS1_PSS_PADDING":6,"POINT_CONVERSION_COMPRESSED":2,"POINT_CONVERSION_UNCOMPRESSED":4,"POINT_CONVERSION_HYBRID":6,"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1,"UV_UDP_REUSEADDR":4}')},function(t,e,n){(function(e){var r=n(56).Stream;t.exports=function(t){return{ReadStream:function n(i,s){if(!(this instanceof n))return new n(i,s);r.call(this);var o=this;this.path=i;this.fd=null;this.readable=!0;this.paused=!1;this.flags="r";this.mode=438;this.bufferSize=65536;s=s||{};var a=Object.keys(s);for(var u=0,h=a.length;u<h;u++){var c=a[u];this[c]=s[c]}this.encoding&&this.setEncoding(this.encoding);if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(void 0===this.end)this.end=1/0;else if("number"!=typeof this.end)throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void e.nextTick(function(){o._read()});t.open(this.path,this.flags,this.mode,function(t,e){if(t)return o.emit("error",t),void(o.readable=!1);o.fd=e,o.emit("open",e),o._read()})},WriteStream:function e(n,i){if(!(this instanceof e))return new e(n,i);r.call(this);this.path=n;this.fd=null;this.writable=!0;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;i=i||{};var s=Object.keys(i);for(var o=0,a=s.length;o<a;o++){var u=s[o];this[u]=i[u]}if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1;this._queue=[];null===this.fd&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}}).call(this,n(1))},function(t,e,n){t.exports=i;var r=n(14).EventEmitter;function i(){r.call(this)}n(9)(i,r),i.Readable=n(24),i.Writable=n(66),i.Duplex=n(67),i.Transform=n(68),i.PassThrough=n(69),i.Stream=i,i.prototype.pipe=function(t,e){var n=this;function i(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function s(){n.readable&&n.resume&&n.resume()}n.on("data",i),t.on("drain",s),t._isStdio||e&&!1===e.end||(n.on("end",a),n.on("close",u));var o=!1;function a(){o||(o=!0,t.end())}function u(){o||(o=!0,"function"==typeof t.destroy&&t.destroy())}function h(t){if(c(),0===r.listenerCount(this,"error"))throw t}function c(){n.removeListener("data",i),t.removeListener("drain",s),n.removeListener("end",a),n.removeListener("close",u),n.removeListener("error",h),t.removeListener("error",h),n.removeListener("end",c),n.removeListener("close",c),t.removeListener("close",c)}return n.on("error",h),t.on("error",h),n.on("end",c),n.on("close",c),t.on("close",c),t.emit("pipe",n),t}},function(t,e,n){"use strict";e.byteLength=function(t){var e=h(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=h(t),o=r[0],a=r[1],u=new s(function(t,e,n){return 3*(e+n)/4-n}(0,o,a)),c=0,f=a>0?o-4:o;for(n=0;n<f;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],u[c++]=e>>16&255,u[c++]=e>>8&255,u[c++]=255&e;2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,u[c++]=255&e);1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e);return u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,s=[],o=0,a=n-i;o<a;o+=16383)s.push(c(t,o,o+16383>a?a:o+16383));1===i?(e=t[n-1],s.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],s.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return s.join("")};for(var r=[],i=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=o.length;a<u;++a)r[a]=o[a],i[o.charCodeAt(a)]=a;function h(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,n){for(var i,s,o=[],a=e;a<n;a+=3)i=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[(s=i)>>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,n,r,i){var s,o,a=8*i-r-1,u=(1<<a)-1,h=u>>1,c=-7,f=n?i-1:0,l=n?-1:1,p=t[e+f];for(f+=l,s=p&(1<<-c)-1,p>>=-c,c+=a;c>0;s=256*s+t[e+f],f+=l,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=r;c>0;o=256*o+t[e+f],f+=l,c-=8);if(0===s)s=1-h;else{if(s===u)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),s-=h}return(p?-1:1)*o*Math.pow(2,s-r)},e.write=function(t,e,n,r,i,s){var o,a,u,h=8*s-i-1,c=(1<<h)-1,f=c>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:s-1,_=r?1:-1,d=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+f>=1?l/u:l*Math.pow(2,1-f))*u>=2&&(o++,u/=2),o+f>=c?(a=0,o=c):o+f>=1?(a=(e*u-1)*Math.pow(2,i),o+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;t[n+p]=255&a,p+=_,a/=256,i-=8);for(o=o<<i|a,h+=i;h>0;t[n+p]=255&o,p+=_,o/=256,h-=8);t[n+p-_]|=128*d}},function(t,e){},function(t,e,n){"use strict";var r=n(17).Buffer,i=n(61);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var e,n,i,s=r.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=o.data,n=s,i=a,e.copy(n,i),a+=o.data.length,o=o.next;return s},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},function(t,e){},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function s(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new s(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new s(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(63),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(4))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i,s,o,a,u=1,h={},c=!1,f=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick(function(){_(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((s=new MessageChannel).port1.onmessage=function(t){_(t.data)},r=function(t){s.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){_(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):r=function(t){setTimeout(_,0,t)}:(o="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&_(+e.data.slice(o.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),r=function(e){t.postMessage(o+e,"*")}),l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var i={callback:t,args:e};return h[u]=i,r(u),u++},l.clearImmediate=p}function p(t){delete h[t]}function _(t){if(c)setTimeout(_,0,t);else{var e=h[t];if(e){c=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{p(t),c=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(4),n(1))},function(t,e,n){(function(e){function n(t){try{if(!e.localStorage)return!1}catch(t){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(t,e){if(n("noDeprecation"))return t;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}}}).call(this,n(4))},function(t,e,n){"use strict";t.exports=s;var r=n(37),i=n(13);function s(t){if(!(this instanceof s))return new s(t);r.call(this,t)}i.inherits=n(9),i.inherits(s,r),s.prototype._transform=function(t,e,n){n(null,t)}},function(t,e,n){t.exports=n(26)},function(t,e,n){t.exports=n(10)},function(t,e,n){t.exports=n(24).Transform},function(t,e,n){t.exports=n(24).PassThrough},function(t,e,n){"use strict";t.exports=function(t){if(null===t||"object"!=typeof t)return t;if(t instanceof Object)var e={__proto__:t.__proto__};else e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}},function(t,e,n){var r=new(n(72))({parser:{extractDoc:!0},ast:{withPositions:!0}});function i(t){switch(t.kind){case"array":if(0===t.items.length)return[];var e=t.items.every(t=>null!==t.key),n=t.items.map(i);return e&&(n=n.reduce((t,e)=>Object.assign({},t,e),{})),n;case"entry":return t.key?{[s(t.key)]:i(t.value)}:i(t.value);case"string":return t.value;case"number":return parseInt(t.value,10);case"boolean":return t.value;default:throw new Error(`Unexpected PHP value: "${t.kind}", details: ${JSON.stringify(t)}`)}}function s(t){switch(t.kind){case"string":return t.value;case"number":return parseInt(t.value,10);case"boolean":return t.value?1:0;default:throw new Error(`Unexpected PHP key: "${t.kind}", details: ${JSON.stringify(t)}`)}}t.exports={parse:function(t){return i(r.parseEval(t).children.find(t=>"array"===t.kind))}}},function(t,e,n){(function(e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(73),i=n(82),s=n(98),o=n(99);var a=function(t){if("function"==typeof this)return new this(t);this.tokens=s,this.lexer=new r(this),this.ast=new o,this.parser=new i(this.lexer,this.ast),t&&"object"==typeof t&&(t.parser&&!1===t.parser.php7&&(t.lexer||(t.lexer={}),t.lexer.php7=!1),function t(e,n){for(var r=Object.keys(e),i=r.length;i--;){var s=r[i],o=e[s];null===o?delete n[s]:"function"==typeof o?n[s]=o.bind(n):Array.isArray(o)?n[s]=Array.isArray(n[s])?n[s].concat(o):o:n[s]="object"==typeof o&&"object"==typeof n[s]?t(o,n[s]):o}return n}(t,this))},u=function(t){return e.isBuffer(t)?t.toString():t};a.create=function(t){return new a(t)},a.parseEval=function(t,e){return new a(e).parseEval(t)},a.prototype.parseEval=function(t){return this.lexer.mode_eval=!0,this.lexer.all_tokens=!1,t=u(t),this.parser.parse(t,"eval")},a.parseCode=function(t,e,n){return"object"==typeof e&&(n=e,e="unknown"),new a(n).parseCode(t,e)},a.prototype.parseCode=function(t,e){return this.lexer.mode_eval=!1,this.lexer.all_tokens=!1,t=u(t),this.parser.parse(t,e)},a.tokenGetAll=function(t,e){return new a(e).tokenGetAll(t)},a.prototype.tokenGetAll=function(t){this.lexer.mode_eval=!1,this.lexer.all_tokens=!0,t=u(t);var e=this.lexer.EOF,n=this.tokens.values;this.lexer.setInput(t);for(var r=this.lexer.lex()||e,i=[];r!=e;){var s=this.lexer.yytext;n.hasOwnProperty(r)&&(s=[n[r],s,this.lexer.yylloc.first_line]),i.push(s),r=this.lexer.lex()||e}return i},t.exports=a}).call(this,n(25).Buffer)},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=function(t){this.engine=t,this.tok=this.engine.tokens.names,this.EOF=1,this.debug=!1,this.all_tokens=!0,this.comment_tokens=!1,this.mode_eval=!1,this.asp_tags=!1,this.short_tags=!0,this.php7=!0,this.yyprevcol=0,this.keywords={__class__:this.tok.T_CLASS_C,__trait__:this.tok.T_TRAIT_C,__function__:this.tok.T_FUNC_C,__method__:this.tok.T_METHOD_C,__line__:this.tok.T_LINE,__file__:this.tok.T_FILE,__dir__:this.tok.T_DIR,__namespace__:this.tok.T_NS_C,exit:this.tok.T_EXIT,die:this.tok.T_EXIT,function:this.tok.T_FUNCTION,const:this.tok.T_CONST,return:this.tok.T_RETURN,try:this.tok.T_TRY,catch:this.tok.T_CATCH,finally:this.tok.T_FINALLY,throw:this.tok.T_THROW,if:this.tok.T_IF,elseif:this.tok.T_ELSEIF,endif:this.tok.T_ENDIF,else:this.tok.T_ELSE,while:this.tok.T_WHILE,endwhile:this.tok.T_ENDWHILE,do:this.tok.T_DO,for:this.tok.T_FOR,endfor:this.tok.T_ENDFOR,foreach:this.tok.T_FOREACH,endforeach:this.tok.T_ENDFOREACH,declare:this.tok.T_DECLARE,enddeclare:this.tok.T_ENDDECLARE,instanceof:this.tok.T_INSTANCEOF,as:this.tok.T_AS,switch:this.tok.T_SWITCH,endswitch:this.tok.T_ENDSWITCH,case:this.tok.T_CASE,default:this.tok.T_DEFAULT,break:this.tok.T_BREAK,continue:this.tok.T_CONTINUE,goto:this.tok.T_GOTO,echo:this.tok.T_ECHO,print:this.tok.T_PRINT,class:this.tok.T_CLASS,interface:this.tok.T_INTERFACE,trait:this.tok.T_TRAIT,extends:this.tok.T_EXTENDS,implements:this.tok.T_IMPLEMENTS,new:this.tok.T_NEW,clone:this.tok.T_CLONE,var:this.tok.T_VAR,eval:this.tok.T_EVAL,include:this.tok.T_INCLUDE,include_once:this.tok.T_INCLUDE_ONCE,require:this.tok.T_REQUIRE,require_once:this.tok.T_REQUIRE_ONCE,namespace:this.tok.T_NAMESPACE,use:this.tok.T_USE,insteadof:this.tok.T_INSTEADOF,global:this.tok.T_GLOBAL,isset:this.tok.T_ISSET,empty:this.tok.T_EMPTY,__halt_compiler:this.tok.T_HALT_COMPILER,static:this.tok.T_STATIC,abstract:this.tok.T_ABSTRACT,final:this.tok.T_FINAL,private:this.tok.T_PRIVATE,protected:this.tok.T_PROTECTED,public:this.tok.T_PUBLIC,unset:this.tok.T_UNSET,list:this.tok.T_LIST,array:this.tok.T_ARRAY,callable:this.tok.T_CALLABLE,or:this.tok.T_LOGICAL_OR,and:this.tok.T_LOGICAL_AND,xor:this.tok.T_LOGICAL_XOR},this.castKeywords={int:this.tok.T_INT_CAST,integer:this.tok.T_INT_CAST,real:this.tok.T_DOUBLE_CAST,double:this.tok.T_DOUBLE_CAST,float:this.tok.T_DOUBLE_CAST,string:this.tok.T_STRING_CAST,binary:this.tok.T_STRING_CAST,array:this.tok.T_ARRAY_CAST,object:this.tok.T_OBJECT_CAST,bool:this.tok.T_BOOL_CAST,boolean:this.tok.T_BOOL_CAST,unset:this.tok.T_UNSET_CAST}};r.prototype.setInput=function(t){return this._input=t,this.size=t.length,this.yylineno=1,this.offset=0,this.yyprevcol=0,this.yytext="",this.yylloc={first_offset:0,first_line:1,first_column:0,prev_offset:0,prev_line:1,prev_column:0,last_line:1,last_column:0},this.tokens=[],this.conditionStack=[],this.done=this.offset>=this.size,!this.all_tokens&&this.mode_eval?this.begin("ST_IN_SCRIPTING"):this.begin("INITIAL"),this},r.prototype.input=function(t){var e=this._input[this.offset];return e?(this.yytext+=e,this.offset++,"\r"===e&&"\n"===this._input[this.offset]&&(this.yytext+="\n",this.offset++),"\n"===e||"\r"===e?(this.yylloc.last_line=++this.yylineno,this.yyprevcol=this.yylloc.last_column,this.yylloc.last_column=0):this.yylloc.last_column++,e):""},r.prototype.unput=function(t){if(1===t)this.offset--,"\n"===this._input[this.offset]&&"\r"===this._input[this.offset-1]&&(this.offset--,t++),"\r"===this._input[this.offset]||"\n"===this._input[this.offset]?(this.yylloc.last_line--,this.yylineno--,this.yylloc.last_column=this.yyprevcol):this.yylloc.last_column--,this.yytext=this.yytext.substring(0,this.yytext.length-t);else if(t>0)if(this.offset-=t,t<this.yytext.length){this.yytext=this.yytext.substring(0,this.yytext.length-t),this.yylloc.last_line=this.yylloc.first_line,this.yylloc.last_column=this.yyprevcol=this.yylloc.first_column;for(var e=0;e<this.yytext.length;e++){var n=this.yytext[e];"\r"===n?(n=this.yytext[++e],this.yyprevcol=this.yylloc.last_column,this.yylloc.last_line++,this.yylloc.last_column=0,"\n"!==n&&("\r"===n?this.yylloc.last_line++:this.yylloc.last_column++)):"\n"===n?(this.yyprevcol=this.yylloc.last_column,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++}this.yylineno=this.yylloc.last_line}else this.yytext="",this.yylloc.last_line=this.yylineno=this.yylloc.first_line,this.yylloc.last_column=this.yylloc.first_column;return this},r.prototype.tryMatch=function(t){return t===this.ahead(t.length)},r.prototype.tryMatchCaseless=function(t){return t===this.ahead(t.length).toLowerCase()},r.prototype.ahead=function(t){var e=this._input.substring(this.offset,this.offset+t);return"\r"===e[e.length-1]&&"\n"===this._input[this.offset+t+1]&&(e+="\n"),e},r.prototype.consume=function(t){for(var e=0;e<t;e++){var n=this._input[this.offset];if(!n)break;this.yytext+=n,this.offset++,"\r"===n&&"\n"===this._input[this.offset]&&(this.yytext+="\n",this.offset++,e++),"\n"===n||"\r"===n?(this.yylloc.last_line=++this.yylineno,this.yyprevcol=this.yylloc.last_column,this.yylloc.last_column=0):this.yylloc.last_column++}return this},r.prototype.getState=function(){return{yytext:this.yytext,offset:this.offset,yylineno:this.yylineno,yyprevcol:this.yyprevcol,yylloc:{first_offset:this.yylloc.first_offset,first_line:this.yylloc.first_line,first_column:this.yylloc.first_column,last_line:this.yylloc.last_line,last_column:this.yylloc.last_column}}},r.prototype.setState=function(t){return this.yytext=t.yytext,this.offset=t.offset,this.yylineno=t.yylineno,this.yyprevcol=t.yyprevcol,this.yylloc=t.yylloc,this},r.prototype.appendToken=function(t,e){return this.tokens.push([t,e]),this},r.prototype.lex=function(){this.yylloc.prev_offset=this.offset,this.yylloc.prev_line=this.yylloc.last_line,this.yylloc.prev_column=this.yylloc.last_column;var t=this.next()||this.lex();if(!this.all_tokens){for(;t===this.tok.T_WHITESPACE||!this.comment_tokens&&(t===this.tok.T_COMMENT||t===this.tok.T_DOC_COMMENT)||t===this.tok.T_OPEN_TAG;)t=this.next()||this.lex();if(!this.mode_eval&&t==this.tok.T_OPEN_TAG_WITH_ECHO)return this.tok.T_ECHO}return this.yylloc.prev_offset||(this.yylloc.prev_offset=this.yylloc.first_offset,this.yylloc.prev_line=this.yylloc.first_line,this.yylloc.prev_column=this.yylloc.first_column),t},r.prototype.begin=function(t){if(this.conditionStack.push(t),this.curCondition=t,this.stateCb=this["match"+t],"function"!=typeof this.stateCb)throw new Error('Undefined condition state "'+t+'"');return this},r.prototype.popState=function(){var t=this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0];if(this.curCondition=this.conditionStack[this.conditionStack.length-1],this.stateCb=this["match"+this.curCondition],"function"!=typeof this.stateCb)throw new Error('Undefined condition state "'+this.curCondition+'"');return t},r.prototype.next=function(){var t;if(this._input||(this.done=!0),this.yylloc.first_offset=this.offset,this.yylloc.first_line=this.yylloc.last_line,this.yylloc.first_column=this.yylloc.last_column,this.yytext="",this.done)return this.yylloc.prev_offset=this.yylloc.first_offset,this.yylloc.prev_line=this.yylloc.first_line,this.yylloc.prev_column=this.yylloc.first_column,this.EOF;if(this.tokens.length>0?("object"==typeof(t=this.tokens.shift())[1]?this.setState(t[1]):this.consume(t[1]),t=t[0]):t=this.stateCb.apply(this,[]),this.offset>=this.size&&0===this.tokens.length&&(this.done=!0),this.debug){var e=t;e="number"==typeof e?this.engine.tokens.values[e]:'"'+e+'"';var n=new Error(e+"\tfrom "+this.yylloc.first_line+","+this.yylloc.first_column+"\t - to "+this.yylloc.last_line+","+this.yylloc.last_column+'\t"'+this.yytext+'"');console.log(n.stack)}return t},[n(74),n(75),n(76),n(77),n(78),n(79),n(80),n(81)].forEach(function(t){for(var e in t)r.prototype[e]=t[e]}),t.exports=r},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */t.exports={T_COMMENT:function(){for(;this.offset<this.size;){var t=this.input();if("\n"===t||"\r"===t)return this.tok.T_COMMENT;if("?"===t&&!this.aspTagMode&&">"===this._input[this.offset])return this.unput(1),this.tok.T_COMMENT;if("%"===t&&this.aspTagMode&&">"===this._input[this.offset])return this.unput(1),this.tok.T_COMMENT}return this.tok.T_COMMENT},T_DOC_COMMENT:function(){var t=this.input(),e=this.tok.T_COMMENT;if("*"===t){if(t=this.input(),this.is_WHITESPACE()&&(e=this.tok.T_DOC_COMMENT),"/"===t)return e;this.unput(1)}for(;this.offset<this.size;)if("*"===(t=this.input())&&"/"===this._input[this.offset]){this.input();break}return e}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={nextINITIAL:function(){return this.conditionStack.length>1&&"INITIAL"===this.conditionStack[this.conditionStack.length-1]?this.popState():this.begin("ST_IN_SCRIPTING"),this},matchINITIAL:function(){for(;this.offset<this.size;){var t=this.input();if("<"==t)if("?"==(t=this.ahead(1))){if(this.tryMatch("?=")){this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO,3).nextINITIAL();break}if(this.tryMatchCaseless("?php")&&(" "===(t=this._input[this.offset+4])||"\t"===t||"\n"===t||"\r"===t)){this.unput(1).appendToken(this.tok.T_OPEN_TAG,6).nextINITIAL();break}if(this.short_tags){this.unput(1).appendToken(this.tok.T_OPEN_TAG,2).nextINITIAL();break}}else if(this.asp_tags&&"%"==t){if(this.tryMatch("%=")){this.aspTagMode=!0,this.unput(1).appendToken(this.tok.T_OPEN_TAG_WITH_ECHO,3).nextINITIAL();break}this.aspTagMode=!0,this.unput(1).appendToken(this.tok.T_OPEN_TAG,2).nextINITIAL();break}}return this.yytext.length>0&&this.tok.T_INLINE_HTML}}},function(t,e,n){"use strict";(function(e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
if("x64"==e.arch)var n=19,r="9223372036854775808";else n=10,r="2147483648";t.exports={consume_NUM:function(){var t=this.yytext[0],e="."===this.yytext[0];if("0"===t)if("x"===(t=this.input())||"X"===t){if(t=this.input(),this.is_HEX())return this.consume_HNUM();this.unput(t?2:1)}else if("b"===t||"B"===t){if("0"===(t=this.input())||"1"===t)return this.consume_BNUM();this.unput(t?2:1)}else this.is_NUM()||t&&this.unput(1);for(;this.offset<this.size;)if(t=this.input(),!this.is_NUM()){if("."!==t||e){if("e"===t||"E"===t){if("+"===(t=this.input())||"-"===t){if(t=this.input(),this.is_NUM())return this.consume_LNUM(),this.tok.T_DNUMBER;this.unput(t?3:2);break}if(this.is_NUM())return this.consume_LNUM(),this.tok.T_DNUMBER;this.unput(t?2:1);break}t&&this.unput(1);break}e=!0}return e?this.tok.T_DNUMBER:this.yytext.length<n-1?this.tok.T_LNUMBER:this.yytext.length<n||this.yytext.length==n&&this.yytext<r?this.tok.T_LNUMBER:this.tok.T_DNUMBER},consume_HNUM:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_HEX()){t&&this.unput(1);break}}return this.tok.T_LNUMBER},consume_LNUM:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_NUM()){t&&this.unput(1);break}}return this.tok.T_LNUMBER},consume_BNUM:function(){for(var t;this.offset<this.size;)if("0"!==(t=this.input())&&"1"!==t){t&&this.unput(1);break}return this.tok.T_LNUMBER}}}).call(this,n(1))},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={matchST_LOOKING_FOR_PROPERTY:function(){var t=this.input();if("-"===t){if(">"===(t=this.input()))return this.tok.T_OBJECT_OPERATOR;t&&this.unput(1)}else if(this.is_LABEL_START())return this.consume_LABEL(),this.popState(),this.tok.T_STRING;return this.popState(),t&&this.unput(1),!1},matchST_LOOKING_FOR_VARNAME:function(){var t=this.input();if(this.popState(),this.begin("ST_IN_SCRIPTING"),this.is_LABEL_START()){if(this.consume_LABEL(),"["===(t=this.input())||"}"===t)return this.unput(1),this.tok.T_STRING_VARNAME;this.unput(this.yytext.length)}else t&&this.unput(1);return!1},matchST_VAR_OFFSET:function(){var t=this.input();if(this.is_NUM())return this.consume_NUM(),this.tok.T_NUM_STRING;if("]"===t)return this.popState(),"]";if("$"===t){if(this.input(),this.is_LABEL_START())return this.consume_LABEL(),this.tok.T_VARIABLE;throw new Error("Unexpected terminal")}if(this.is_LABEL_START())return this.consume_LABEL(),this.tok.T_STRING;if(this.is_WHITESPACE()||"\\"===t||"'"===t||"#"===t)return this.tok.T_ENCAPSED_AND_WHITESPACE;if("["===t||"{"===t||"}"===t||'"'===t||"`"===t||this.is_TOKEN())return t;throw new Error("Unexpected terminal")}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={matchST_IN_SCRIPTING:function(){var t=this.input();switch(t){case" ":case"\t":case"\n":case"\r":case"\r\n":return this.T_WHITESPACE();case"#":return this.T_COMMENT();case"/":return"/"===this._input[this.offset]?this.T_COMMENT():"*"===this._input[this.offset]?(this.input(),this.T_DOC_COMMENT()):this.consume_TOKEN();case"'":return this.T_CONSTANT_ENCAPSED_STRING();case'"':return this.ST_DOUBLE_QUOTES();case"`":return this.begin("ST_BACKQUOTE"),"`";case"?":if(!this.aspTagMode&&this.tryMatch(">")){this.input();var e=this._input[this.offset];return"\n"!==e&&"\r"!==e||this.input(),this.conditionStack.length>1&&this.begin("INITIAL"),this.tok.T_CLOSE_TAG}return this.consume_TOKEN();case"%":return this.aspTagMode&&">"===this._input[this.offset]?(this.input(),"\n"!==(t=this._input[this.offset])&&"\r"!==t||this.input(),this.aspTagMode=!1,this.conditionStack.length>1&&this.begin("INITIAL"),this.tok.T_CLOSE_TAG):this.consume_TOKEN();case"{":return this.begin("ST_IN_SCRIPTING"),"{";case"}":return this.conditionStack.length>2&&this.popState(),"}";default:if("."===t){if(t=this.input(),this.is_NUM())return this.consume_NUM();t&&this.unput(1)}if(this.is_NUM())return this.consume_NUM();if(this.is_LABEL_START())return this.consume_LABEL().T_STRING();if(this.is_TOKEN())return this.consume_TOKEN()}throw new Error('Bad terminal sequence "'+t+'" at line '+this.yylineno+" (offset "+this.offset+")")},T_WHITESPACE:function(){for(;this.offset<this.size;){var t=this.input();if(" "!==t&&"\t"!==t&&"\n"!==t&&"\r"!==t){t&&this.unput(1);break}}return this.tok.T_WHITESPACE}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={T_CONSTANT_ENCAPSED_STRING:function(){for(var t;this.offset<this.size;)if("\\"==(t=this.input()))this.input();else if("'"==t)break;return this.tok.T_CONSTANT_ENCAPSED_STRING},is_HEREDOC:function(){var t=this.offset;if("<"===this._input[this.offset-1]&&"<"===this._input[this.offset]&&"<"===this._input[this.offset+1]){if(this.offset+=3,this.is_TABSPACE())for(;this.offset<this.size&&(this.offset++,this.is_TABSPACE()););var e=this._input[this.offset-1];if("'"===e||'"'===e?this.offset++:e=null,this.is_LABEL_START()){for(var n=this.offset-1;this.offset<this.size&&(this.offset++,this.is_LABEL()););var r=this._input.substring(n,this.offset-1);if((!e||e===this._input[this.offset-1])&&(e&&this.offset++,"\r"===this._input[this.offset-1]||"\n"===this._input[this.offset-1]))return this.heredoc_label=r,n=this.offset-t,this.offset=t,this.consume(n),"'"===e?this.begin("ST_NOWDOC"):this.begin("ST_HEREDOC"),this.tok.T_START_HEREDOC}}return this.offset=t,!1},ST_DOUBLE_QUOTES:function(){for(var t;this.offset<this.size;)if("\\"==(t=this.input()))this.input();else{if('"'==t)break;if("$"==t){if("{"==(t=this.input())||this.is_LABEL_START()){this.unput(2);break}t&&this.unput(1)}else if("{"==t){if("$"==(t=this.input())){this.unput(2);break}t&&this.unput(1)}}if('"'==t)return this.tok.T_CONSTANT_ENCAPSED_STRING;var e=1;return"b"!==this.yytext[0]&&"B"!==this.yytext[0]||(e=2),this.yytext.length>2&&this.appendToken(this.tok.T_ENCAPSED_AND_WHITESPACE,this.yytext.length-e),this.unput(this.yytext.length-e),this.begin("ST_DOUBLE_QUOTES"),this.yytext},isDOC_MATCH:function(){if(this._input.substring(this.offset-1,this.offset-1+this.heredoc_label.length)===this.heredoc_label){var t=this._input[this.offset-1+this.heredoc_label.length];if("\n"===t||"\r"===t||";"===t)return!0}return!1},matchST_NOWDOC:function(){if(this.isDOC_MATCH())return this.consume(this.heredoc_label.length),this.popState(),this.tok.T_END_HEREDOC;for(var t=this._input[this.offset-1];this.offset<this.size;)if("\n"===t||"\r"===t){if(t=this.input(),this.isDOC_MATCH())return this.unput(1).popState(),this.appendToken(this.tok.T_END_HEREDOC,this.heredoc_label.length),this.tok.T_ENCAPSED_AND_WHITESPACE}else t=this.input();return this.tok.T_ENCAPSED_AND_WHITESPACE},matchST_HEREDOC:function(){var t=this.input();if(this.isDOC_MATCH())return this.consume(this.heredoc_label.length-1),this.popState(),this.tok.T_END_HEREDOC;for(;this.offset<this.size;)if("\\"===t&&"\n"!==(t=this.input())&&"\r"!==t&&(t=this.input()),"\n"===t||"\r"===t){if(t=this.input(),this.isDOC_MATCH())return this.unput(1).popState(),this.appendToken(this.tok.T_END_HEREDOC,this.heredoc_label.length),this.tok.T_ENCAPSED_AND_WHITESPACE}else if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.yytext.length>2?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){var e=this.offset,n=this.consume_VARIABLE();return this.yytext.length>this.offset-e+2?(this.appendToken(n,this.offset-e+2),this.unput(this.offset-e+2),this.tok.T_ENCAPSED_AND_WHITESPACE):n}}else if("{"===t){if("$"===(t=this.input()))return this.begin("ST_IN_SCRIPTING"),this.yytext.length>2?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN)}else t=this.input();return this.tok.T_ENCAPSED_AND_WHITESPACE},consume_VARIABLE:function(){if(this.consume_LABEL(),ch=this.input(),"["==ch)return this.unput(1),this.begin("ST_VAR_OFFSET"),this.tok.T_VARIABLE;if("-"===ch){if(">"===this.input())return this.input(),this.is_LABEL_START()&&this.begin("ST_LOOKING_FOR_PROPERTY"),this.unput(3),this.tok.T_VARIABLE;this.unput(2)}else ch&&this.unput(1);return this.tok.T_VARIABLE},matchST_BACKQUOTE:function(){var t=this.input();if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return this.consume_VARIABLE()}else if("{"===t){if("$"===this._input[this.offset])return this.begin("ST_IN_SCRIPTING"),this.tok.T_CURLY_OPEN}else if("`"===t)return this.popState(),"`";for(;this.offset<this.size;){if("\\"===t)this.input();else{if("`"===t){this.unput(1),this.popState(),this.appendToken("`",1);break}if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.yytext.length>2?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){var e=this.offset,n=this.consume_VARIABLE();return this.yytext.length>this.offset-e+2?(this.appendToken(n,this.offset-e+2),this.unput(this.offset-e+2),this.tok.T_ENCAPSED_AND_WHITESPACE):n}continue}if("{"===t){if("$"===(t=this.input()))return this.begin("ST_IN_SCRIPTING"),this.yytext.length>2?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN);continue}}t=this.input()}return this.tok.T_ENCAPSED_AND_WHITESPACE},matchST_DOUBLE_QUOTES:function(){var t=this.input();if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START())return this.consume_VARIABLE()}else if("{"===t){if("$"===this._input[this.offset])return this.begin("ST_IN_SCRIPTING"),this.tok.T_CURLY_OPEN}else if('"'===t)return this.popState(),'"';for(;this.offset<this.size;){if("\\"===t)this.input();else{if('"'===t){this.unput(1),this.popState(),this.appendToken('"',1);break}if("$"===t){if("{"===(t=this.input()))return this.begin("ST_LOOKING_FOR_VARNAME"),this.yytext.length>2?(this.appendToken(this.tok.T_DOLLAR_OPEN_CURLY_BRACES,2),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):this.tok.T_DOLLAR_OPEN_CURLY_BRACES;if(this.is_LABEL_START()){var e=this.offset,n=this.consume_VARIABLE();return this.yytext.length>this.offset-e+2?(this.appendToken(n,this.offset-e+2),this.unput(this.offset-e+2),this.tok.T_ENCAPSED_AND_WHITESPACE):n}t&&this.unput(1)}else if("{"===t){if("$"===(t=this.input()))return this.begin("ST_IN_SCRIPTING"),this.yytext.length>2?(this.appendToken(this.tok.T_CURLY_OPEN,1),this.unput(2),this.tok.T_ENCAPSED_AND_WHITESPACE):(this.unput(1),this.tok.T_CURLY_OPEN);t&&this.unput(1)}}t=this.input()}return this.tok.T_ENCAPSED_AND_WHITESPACE}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={T_STRING:function(){var t=this.yytext.toLowerCase(),e=this.keywords[t];if("number"!=typeof e)if("yield"===t)this.php7&&this.tryMatch(" from")?(this.consume(5),e=this.tok.T_YIELD_FROM):e=this.tok.T_YIELD;else if(e=this.tok.T_STRING,"b"===t||"B"===t){var n=this.input(1);if('"'===n)return this.ST_DOUBLE_QUOTES();if("'"===n)return this.T_CONSTANT_ENCAPSED_STRING();n&&this.unput(1)}return e},consume_TOKEN:function(){var t=this._input[this.offset-1],e=this.tokenTerminals[t];return e?e.apply(this,[]):this.yytext},tokenTerminals:{$:function(){return this.offset++,this.is_LABEL_START()?(this.offset--,this.consume_LABEL(),this.tok.T_VARIABLE):(this.offset--,"$")},"-":function(){var t=this._input[this.offset];return">"===t?(this.begin("ST_LOOKING_FOR_PROPERTY").input(),this.tok.T_OBJECT_OPERATOR):"-"===t?(this.input(),this.tok.T_DEC):"="===t?(this.input(),this.tok.T_MINUS_EQUAL):"-"},"\\":function(){return this.tok.T_NS_SEPARATOR},"/":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_DIV_EQUAL):"/"},":":function(){return":"===this._input[this.offset]?(this.input(),this.tok.T_DOUBLE_COLON):":"},"(":function(){var t=this.offset;if(this.input(),this.is_TABSPACE()&&this.consume_TABSPACE().input(),this.is_LABEL_START()){var e=this.yytext.length;this.consume_LABEL();var n=this.yytext.substring(e-1).toLowerCase(),r=this.castKeywords[n];if("number"==typeof r&&(this.input(),this.is_TABSPACE()&&this.consume_TABSPACE().input(),")"===this._input[this.offset-1]))return r}return this.unput(this.offset-t),"("},"=":function(){var t=this._input[this.offset];return">"===t?(this.input(),this.tok.T_DOUBLE_ARROW):"="===t?"="===this._input[this.offset+1]?(this.consume(2),this.tok.T_IS_IDENTICAL):(this.input(),this.tok.T_IS_EQUAL):"="},"+":function(){var t=this._input[this.offset];return"+"===t?(this.input(),this.tok.T_INC):"="===t?(this.input(),this.tok.T_PLUS_EQUAL):"+"},"!":function(){return"="===this._input[this.offset]?"="===this._input[this.offset+1]?(this.consume(2),this.tok.T_IS_NOT_IDENTICAL):(this.input(),this.tok.T_IS_NOT_EQUAL):"!"},"?":function(){return this.php7&&"?"===this._input[this.offset]?(this.input(),this.tok.T_COALESCE):"?"},"<":function(){var t=this._input[this.offset];return"<"===t?"="===(t=this._input[this.offset+1])?(this.consume(2),this.tok.T_SL_EQUAL):"<"===t&&this.is_HEREDOC()?this.tok.T_START_HEREDOC:(this.input(),this.tok.T_SL):"="===t?(this.input(),this.php7&&">"===this._input[this.offset]?(this.input(),this.tok.T_SPACESHIP):this.tok.T_IS_SMALLER_OR_EQUAL):">"===t?(this.input(),this.tok.T_IS_NOT_EQUAL):"<"},">":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_IS_GREATER_OR_EQUAL):">"===t?"="===(t=this._input[this.offset+1])?(this.consume(2),this.tok.T_SR_EQUAL):(this.input(),this.tok.T_SR):">"},"*":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_MUL_EQUAL):"*"===t?(this.input(),"="===this._input[this.offset]?(this.input(),this.tok.T_POW_EQUAL):this.tok.T_POW):"*"},".":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_CONCAT_EQUAL):"."===t&&"."===this._input[this.offset+1]?(this.consume(2),this.tok.T_ELLIPSIS):"."},"%":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_MOD_EQUAL):"%"},"&":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_AND_EQUAL):"&"===t?(this.input(),this.tok.T_BOOLEAN_AND):"&"},"|":function(){var t=this._input[this.offset];return"="===t?(this.input(),this.tok.T_OR_EQUAL):"|"===t?(this.input(),this.tok.T_BOOLEAN_OR):"|"},"^":function(){return"="===this._input[this.offset]?(this.input(),this.tok.T_XOR_EQUAL):"^"}}}},function(t,e){t.exports={is_NUM:function(){var t=this._input.charCodeAt(this.offset-1);return t>47&&t<58},is_LABEL:function(){var t=this._input.charCodeAt(this.offset-1);return t>96&&t<123||t>64&&t<91||95===t||t>47&&t<58||t>126},is_LABEL_START:function(){var t=this._input.charCodeAt(this.offset-1);return t>96&&t<123||t>64&&t<91||95===t||t>126},consume_LABEL:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_LABEL()){t&&this.unput(1);break}}return this},is_TOKEN:function(){var t=this._input[this.offset-1];return-1!==";:,.\\[]()|^&+-/*=%!~$<>?@".indexOf(t)},is_WHITESPACE:function(){var t=this._input[this.offset-1];return" "===t||"\t"===t||"\n"===t||"\r"===t},is_TABSPACE:function(){var t=this._input[this.offset-1];return" "===t||"\t"===t},consume_TABSPACE:function(){for(;this.offset<this.size;){var t=this.input();if(!this.is_TABSPACE()){t&&this.unput(1);break}}return this},is_HEX:function(){var t=this._input.charCodeAt(this.offset-1);return t>47&&t<58||t>64&&t<71||t>96&&t<103}}},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
function r(t){return"."!=t&&","!=t&&!isNaN(parseFloat(t))&&isFinite(t)}var i=function(t,e){this.lexer=t,this.ast=e,this.tok=t.tok,this.EOF=t.EOF,this.token=null,this.prev=null,this.debug=!1,this.php7=!0,this.extractDoc=!1,this.suppressErrors=!1;var n=function(t){return[t,null]};this.entries={IDENTIFIER:new Map([this.tok.T_ABSTRACT,this.tok.T_ARRAY,this.tok.T_AS,this.tok.T_BREAK,this.tok.T_CALLABLE,this.tok.T_CASE,this.tok.T_CATCH,this.tok.T_CLASS,this.tok.T_CLASS_C,this.tok.T_CLONE,this.tok.T_CONST,this.tok.T_CONTINUE,this.tok.T_DECLARE,this.tok.T_DEFAULT,this.tok.T_DIR,this.tok.T_DO,this.tok.T_ECHO,this.tok.T_ELSE,this.tok.T_ELSEIF,this.tok.T_EMPTY,this.tok.T_ENDDECLARE,this.tok.T_ENDFOR,this.tok.T_ENDFOREACH,this.tok.T_ENDIF,this.tok.T_ENDSWITCH,this.tok.T_ENDWHILE,this.tok.T_EVAL,this.tok.T_EXIT,this.tok.T_EXTENDS,this.tok.T_FILE,this.tok.T_FINAL,this.tok.T_FINALLY,this.tok.T_FUNC_C,this.tok.T_FOR,this.tok.T_FOREACH,this.tok.T_FUNCTION,this.tok.T_GLOBAL,this.tok.T_GOTO,this.tok.T_IF,this.tok.T_IMPLEMENTS,this.tok.T_INCLUDE,this.tok.T_INCLUDE_ONCE,this.tok.T_INSTANCEOF,this.tok.T_INSTEADOF,this.tok.T_INTERFACE,this.tok.T_ISSET,this.tok.T_LINE,this.tok.T_LIST,this.tok.T_LOGICAL_AND,this.tok.T_LOGICAL_OR,this.tok.T_LOGICAL_XOR,this.tok.T_METHOD_C,this.tok.T_NAMESPACE,this.tok.T_NEW,this.tok.T_NS_C,this.tok.T_PRINT,this.tok.T_PRIVATE,this.tok.T_PROTECTED,this.tok.T_PUBLIC,this.tok.T_REQUIRE,this.tok.T_REQUIRE_ONCE,this.tok.T_RETURN,this.tok.T_STATIC,this.tok.T_SWITCH,this.tok.T_THROW,this.tok.T_TRAIT,this.tok.T_TRY,this.tok.T_UNSET,this.tok.T_USE,this.tok.T_VAR,this.tok.T_WHILE,this.tok.T_YIELD].map(n)),VARIABLE:new Map([this.tok.T_VARIABLE,"$","&",this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_NAMESPACE,this.tok.T_STATIC].map(n)),SCALAR:new Map([this.tok.T_CONSTANT_ENCAPSED_STRING,this.tok.T_START_HEREDOC,this.tok.T_LNUMBER,this.tok.T_DNUMBER,this.tok.T_ARRAY,"[",this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C,'"','b"','B"',"-",this.tok.T_NS_SEPARATOR].map(n)),T_MAGIC_CONST:new Map([this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C].map(n)),T_MEMBER_FLAGS:new Map([this.tok.T_PUBLIC,this.tok.T_PRIVATE,this.tok.T_PROTECTED,this.tok.T_STATIC,this.tok.T_ABSTRACT,this.tok.T_FINAL].map(n)),EOS:new Map([";",this.tok.T_CLOSE_TAG,this.EOF,this.tok.T_INLINE_HTML].map(n)),EXPR:new Map(["@","-","+","!","~","(","`",this.tok.T_LIST,this.tok.T_CLONE,this.tok.T_INC,this.tok.T_DEC,this.tok.T_NEW,this.tok.T_ISSET,this.tok.T_EMPTY,this.tok.T_INCLUDE,this.tok.T_INCLUDE_ONCE,this.tok.T_REQUIRE,this.tok.T_REQUIRE_ONCE,this.tok.T_EVAL,this.tok.T_INT_CAST,this.tok.T_DOUBLE_CAST,this.tok.T_STRING_CAST,this.tok.T_ARRAY_CAST,this.tok.T_OBJECT_CAST,this.tok.T_BOOL_CAST,this.tok.T_UNSET_CAST,this.tok.T_EXIT,this.tok.T_PRINT,this.tok.T_YIELD,this.tok.T_STATIC,this.tok.T_FUNCTION,this.tok.T_VARIABLE,"$",this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_STRING,this.tok.T_CONSTANT_ENCAPSED_STRING,this.tok.T_START_HEREDOC,this.tok.T_LNUMBER,this.tok.T_DNUMBER,this.tok.T_ARRAY,"[",this.tok.T_CLASS_C,this.tok.T_TRAIT_C,this.tok.T_FUNC_C,this.tok.T_METHOD_C,this.tok.T_LINE,this.tok.T_FILE,this.tok.T_DIR,this.tok.T_NS_C].map(n))}};i.prototype.getTokenName=function(t){return r(t)?t==this.EOF?"the end of file (EOF)":this.lexer.engine.tokens.values[t]:"'"+t+"'"},i.prototype.parse=function(t,e){this._errors=[],this.filename=e||"eval",this.currentNamespace=[""],this.lexer.setInput(t),this.lexer.comment_tokens=this.extractDoc,this.length=this.lexer._input.length,this.innerList=!1;var n=this.ast.prepare("program",this),r=[];for(this.nextWithComments();this.token!=this.EOF;){var i=this.read_start();null!=i&&(Array.isArray(i)?r=r.concat(i):r.push(i))}return n(r,this._errors)},i.prototype.raiseError=function(t,e,n,r){if(t+=" on line "+this.lexer.yylloc.first_line,!this.suppressErrors){var i=new SyntaxError(t,this.filename,this.lexer.yylloc.first_line);throw i.lineNumber=this.lexer.yylloc.first_line,i.fileName=this.filename,i.columnNumber=this.lexer.yylloc.first_column,i}var s=this.ast.prepare("error",this)(t,r,this.lexer.yylloc.first_line,n);return this._errors.push(s),s},i.prototype.error=function(t){var e="Parse Error : syntax error";if(token=this.getTokenName(this.token),this.token!==this.EOF){if(r(this.token)){var n=this.text();n.length>10&&(n=n.substring(0,7)+"..."),token="'"+n+"' ("+token+")"}e+=", unexpected "+token}var i="";return t&&!Array.isArray(t)&&((r(t)||1===t.length)&&(i=", expecting "+this.getTokenName(t)),e+=i),this.token,this.EOF,this.raiseError(e,i,t,token)},i.prototype.node=function(t){return this.ast.prepare(t,this)},i.prototype.expectEndOfStatement=function(){if(";"===this.token)this.nextWithComments(),this.token===this.tok.T_CLOSE_TAG&&this.nextWithComments();else if(this.token===this.tok.T_CLOSE_TAG)this.nextWithComments();else if(this.token!==this.tok.T_INLINE_HTML&&this.token!==this.EOF)return this.error(";"),!1;return!0};var s=["parser.next","parser.ignoreComments","parser.nextWithComments"];i.prototype.showlog=function(){for(var t,e=(new Error).stack.split("\n"),n=2;n<e.length;n++){t=e[n].trim();for(var r=!1,i=0;i<s.length;i++)if(t.substring(3,3+s[i].length)===s[i]){r=!0;break}if(!r)break}return console.log("Line "+this.lexer.yylloc.first_line+" : "+this.getTokenName(this.token)+">"+this.lexer.yytext+"< @--\x3e"+t),this},i.prototype.expect=function(t){if(Array.isArray(t)){if(-1===t.indexOf(this.token))return this.error(t),!1}else if(this.token!=t)return this.error(t),!1;return!0},i.prototype.text=function(){return this.lexer.yytext},i.prototype.next=function(){return this.debug?(this.showlog(),this.debug=!1,this.nextWithComments().ignoreComments(),this.debug=!0):this.nextWithComments().ignoreComments(),this},i.prototype.ignoreComments=function(){for(this.debug&&this.showlog();this.token===this.tok.T_COMMENT||this.token===this.tok.T_DOC_COMMENT;)this.nextWithComments();return this},i.prototype.nextWithComments=function(){return this.prev=[this.lexer.yylloc.first_line,this.lexer.yylloc.first_column,this.lexer.offset],this.token=this.lexer.lex()||this.EOF,this.debug&&this.showlog(),this},i.prototype.is=function(t){return Array.isArray(t)?-1!==t.indexOf(this.token):this.entries[t].has(this.token)},[n(83),n(84),n(85),n(86),n(87),n(88),n(89),n(90),n(91),n(92),n(93),n(94),n(95),n(96),n(97)].forEach(function(t){for(var e in t)i.prototype[e]=t[e]}),t.exports=i},function(t,e){t.exports={read_array:function(){var t=null,e=!1,n=[],r=this.node("array");if(this.token===this.tok.T_ARRAY?(this.next().expect("("),t=")"):(e=!0,t="]"),this.next().token!=t)for(;this.token!=this.EOF&&(n.push(this.read_array_pair_list()),","==this.token)&&(this.next(),this.token!==t););return this.expect(t),this.next(),r(e,n)},read_array_pair_list:function(){var t=this.node("entry"),e=null,n=null;if("&"===this.token)n=this.next().read_variable(!0,!1,!0);else{var r=this.read_expr();this.token===this.tok.T_DOUBLE_ARROW?(e=r,n="&"===this.next().token?this.next().read_variable(!0,!1,!0):this.read_expr()):n=r}return t(e,n)},read_dim_offset:function(){return"]"!=this.token&&this.read_expr()}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={read_class:function(t){var e=this.node("class");this.expect(this.tok.T_CLASS),this.next().expect(this.tok.T_STRING);var n=this.text(),r=null,i=null;return this.next().token==this.tok.T_EXTENDS&&(r=this.next().read_namespace_name()),this.token==this.tok.T_IMPLEMENTS&&(i=this.next().read_name_list()),this.expect("{"),e(n,r,i,this.nextWithComments().read_class_body(),t)},read_class_scope:function(){var t=this.token;return t==this.tok.T_FINAL?(this.next(),[0,0,2]):t==this.tok.T_ABSTRACT?(this.next(),[0,0,1]):[0,0,0]},read_class_body:function(){for(var t=[];this.token!==this.EOF&&"}"!==this.token;)if(this.token!==this.tok.T_COMMENT)if(this.token!==this.tok.T_DOC_COMMENT)if(this.token!==this.tok.T_USE){var e=this.read_member_flags(!1);if(this.token!==this.tok.T_CONST)if(this.token===this.tok.T_VAR&&(this.next().expect(this.tok.T_VARIABLE),e[0]=e[1]=0),this.token===this.tok.T_VARIABLE){var n=this.read_variable_list(e);this.expect(";"),this.nextWithComments(),t=t.concat(n)}else this.token===this.tok.T_FUNCTION?t.push(this.read_function(!1,e)):(this.error([this.tok.T_CONST,this.tok.T_VARIABLE,this.tok.T_FUNCTION]),this.next());else{var r=this.read_constant_list(e);this.expect(";"),this.nextWithComments(),t=t.concat(r)}}else t=t.concat(this.next().read_trait_use_statement());else t.push(this.read_doc_comment());else t.push(this.read_comment());return this.expect("}"),this.nextWithComments(),t},read_variable_list:function(t){return this.read_list(function(){var e=this.node("property");this.expect(this.tok.T_VARIABLE);var n=this.text().substring(1);return this.next(),";"===this.token||","===this.token?e(n,null,t):"="===this.token?e(n,this.next().read_expr(),t):(this.expect([",",";","="]),e(n,null,t))},",")},read_constant_list:function(t){return this.expect(this.tok.T_CONST)&&this.next(),this.read_list(function(){var e=this.node("classconstant"),n=null,r=null;return this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(n=this.text(),this.next()):this.expect("IDENTIFIER"),this.expect("=")&&(r=this.next().read_expr()),e(n,r,t)},",")},read_member_flags:function(t){var e=[-1,-1,-1];if(this.is("T_MEMBER_FLAGS")){var n=0,r=0;do{switch(this.token){case this.tok.T_PUBLIC:n=0,r=0;break;case this.tok.T_PROTECTED:n=0,r=1;break;case this.tok.T_PRIVATE:n=0,r=2;break;case this.tok.T_STATIC:n=1,r=1;break;case this.tok.T_ABSTRACT:n=2,r=1;break;case this.tok.T_FINAL:n=2,r=2}t&&(0==n&&2==r?(this.expect([this.tok.T_PUBLIC,this.tok.T_PROTECTED]),r=-1):2==n&&1==r&&(this.error(),r=-1)),-1!==e[n]?this.error():-1!==r&&(e[n]=r)}while(this.next().is("T_MEMBER_FLAGS"))}return-1==e[0]&&(e[0]=0),-1==e[1]&&(e[1]=0),-1==e[2]&&(e[2]=0),e},read_interface:function(){var t=this.node("interface"),e=null,n=null,r=null;return this.expect(this.tok.T_INTERFACE)&&this.next(),this.expect(this.tok.T_STRING)&&(e=this.text(),this.next()),this.token===this.tok.T_EXTENDS&&(r=this.next().read_name_list()),this.expect("{")&&(n=this.next().read_interface_body()),t(e,r,n)},read_interface_body:function(){for(var t=[];this.token!==this.EOF&&"}"!==this.token;)if(this.token!==this.tok.T_COMMENT)if(this.token!==this.tok.T_DOC_COMMENT){var e=this.read_member_flags(!0);if(this.token==this.tok.T_CONST){var n=this.read_constant_list(e);this.expect(";")&&this.nextWithComments(),t=t.concat(n)}else if(this.token===this.tok.T_FUNCTION){var r=this.read_function_declaration(2,e);r.parseFlags(e),t.push(r),this.expect(";")&&this.nextWithComments()}else this.error([this.tok.T_CONST,this.tok.T_FUNCTION]),this.next()}else t.push(this.read_doc_comment());else t.push(this.read_comment());return this.expect("}")&&this.next(),t},read_trait:function(t){var e=this.node("trait"),n=null,r=null,i=null,s=null;return this.expect(this.tok.T_TRAIT)&&this.next(),this.expect(this.tok.T_STRING)&&(n=this.text()),this.next().token==this.tok.T_EXTENDS&&(r=this.next().read_namespace_name()),this.token==this.tok.T_IMPLEMENTS&&(i=this.next().read_name_list()),this.expect("{")&&(s=this.next().read_class_body()),e(n,r,i,s)},read_trait_use_statement:function(){for(var t=this.node("traituse"),e=[this.read_namespace_name()],n=null;","===this.token;)e.push(this.next().read_namespace_name());if("{"===this.token){for(n=[];this.next().token!==this.EOF&&"}"!==this.token;)n.push(this.read_trait_use_alias()),this.expect(";");this.expect("}")&&this.nextWithComments()}else this.expect(";")&&this.nextWithComments();return t(e,n)},read_trait_use_alias:function(){var t,e=this.node(),n=null;if(this.is("IDENTIFIER")?(t=this.text(),this.next()):(t=this.read_namespace_name(),this.token===this.tok.T_DOUBLE_COLON?(this.next(),this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(n=t,t=this.text(),this.next()):this.expect(this.tok.T_STRING)):t=t.name),this.token===this.tok.T_INSTEADOF)return e("traitprecedence",n,t,this.next().read_name_list());if(this.token===this.tok.T_AS){var r=!1,i=null;return this.next().is("T_MEMBER_FLAGS")&&(r=this.read_member_flags()),this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(i=this.text(),this.next()):!1===r&&this.expect(this.tok.T_STRING),e("traitalias",n,t,i,r)}return this.expect([this.tok.T_AS,this.tok.T_INSTEADOF]),e("traitalias",n,t,null,null)}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var n=/^(\s*\*[ \t]*|[ \t]*)(.*)$/gm;t.exports={read_comment:function(){var t=this.node("doc"),e=[];do{var n=this.text();"#"===n[0]?n=n.substring(1):"*/"===(n=n.substring(2)).substring(n.length-2)&&(n=n.substring(0,n.length-2)),e.push(n.trim())}while(this.nextWithComments().token===this.tok.T_COMMENT);return t(!1,e)},read_doc_comment:function(){var t=this.node("doc"),e=this.text(),r=[];e=(e=e.substring(2,e.length-2)).split(n);for(var i=2;i<e.length;i+=3)r.push(e[i].trim());return this.nextWithComments(),t(!0,r)}}},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */t.exports={read_expr:function(){var t=this.node(),e=this.read_expr_item();if("|"===this.token)return t("bin","|",e,this.next().read_expr());if("&"===this.token)return t("bin","&",e,this.next().read_expr());if("^"===this.token)return t("bin","^",e,this.next().read_expr());if("."===this.token)return t("bin",".",e,this.next().read_expr());if("+"===this.token)return t("bin","+",e,this.next().read_expr());if("-"===this.token)return t("bin","-",e,this.next().read_expr());if("*"===this.token)return t("bin","*",e,this.next().read_expr());if("/"===this.token)return t("bin","/",e,this.next().read_expr());if("%"===this.token)return t("bin","%",e,this.next().read_expr());if(this.token===this.tok.T_POW)return t("bin","**",e,this.next().read_expr());if(this.token===this.tok.T_SL)return t("bin","<<",e,this.next().read_expr());if(this.token===this.tok.T_SR)return t("bin",">>",e,this.next().read_expr());if(this.token===this.tok.T_BOOLEAN_OR)return t("bin","||",e,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_OR)return t("bin","or",e,this.next().read_expr());if(this.token===this.tok.T_BOOLEAN_AND)return t("bin","&&",e,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_AND)return t("bin","and",e,this.next().read_expr());if(this.token===this.tok.T_LOGICAL_XOR)return t("bin","xor",e,this.next().read_expr());if(this.token===this.tok.T_IS_IDENTICAL)return t("bin","===",e,this.next().read_expr());if(this.token===this.tok.T_IS_NOT_IDENTICAL)return t("bin","!==",e,this.next().read_expr());if(this.token===this.tok.T_IS_EQUAL)return t("bin","==",e,this.next().read_expr());if(this.token===this.tok.T_IS_NOT_EQUAL)return t("bin","!=",e,this.next().read_expr());if("<"===this.token)return t("bin","<",e,this.next().read_expr());if(">"===this.token)return t("bin",">",e,this.next().read_expr());if(this.token===this.tok.T_IS_SMALLER_OR_EQUAL)return t("bin","<=",e,this.next().read_expr());if(this.token===this.tok.T_IS_GREATER_OR_EQUAL)return t("bin",">=",e,this.next().read_expr());if(this.token===this.tok.T_SPACESHIP)return t("bin","<=>",e,this.next().read_expr());if(this.token===this.tok.T_INSTANCEOF)return t("bin","instanceof",e,this.next().read_expr());if(this.token===this.tok.T_COALESCE)return t("bin","??",e,this.next().read_expr());if("?"===this.token){var n=null;return":"!==this.next().token&&(n=this.read_expr()),this.expect(":")&&this.next(),t("retif",e,n,this.read_expr())}return e},read_expr_item:function(){if("@"===this.token)return this.node("silent")(this.next().read_expr());if("+"===this.token)return this.node("unary")("+",this.next().read_expr());if("!"===this.token)return this.node("unary")("!",this.next().read_expr());if("~"===this.token)return this.node("unary")("~",this.next().read_expr());if("-"===this.token){var t=this.node();return this.next(),this.token===this.tok.T_LNUMBER||this.token===this.tok.T_DNUMBER?(t=t("number","-"+this.text()),this.next(),t):t("unary","-",this.read_expr())}if("("===this.token){var e=this.node("parenthesis"),n=this.next().read_expr();return this.expect(")")&&this.next(),n=e(n),this.token===this.tok.T_OBJECT_OPERATOR?this.recursive_variable_chain_scan(n,!1):this.token===this.tok.T_CURLY_OPEN||"["===this.token?this.read_dereferencable(n):"("===this.token?this.node("call")(n,this.read_function_argument_list()):n}if("`"===this.token)return this.next().read_encapsed_string("`");if(this.token===this.tok.T_LIST){t=this.node("list");var r=null,i=this.innerList;i||(r=this.node("assign")),this.next().expect("(")&&this.next(),this.innerList||(this.innerList=!0);for(var s=this.read_assignment_list(),o=!1,a=0;a<s.length;a++)if(null!==s[a]){o=!0;break}return o||this.raiseError("Fatal Error :  Cannot use empty list on line "+this.lexer.yylloc.first_line),this.expect(")")&&this.next(),i?t(s):(this.innerList=!1,this.expect("=")?r(t(s),this.next().read_expr(),"="):t(s))}if(this.token===this.tok.T_CLONE)return this.node("clone")(this.next().read_expr());switch(this.token){case this.tok.T_INC:return this.node("pre")("+",this.next().read_variable(!1,!1,!1));case this.tok.T_DEC:return this.node("pre")("-",this.next().read_variable(!1,!1,!1));case this.tok.T_NEW:return this.next().read_new_expr();case this.tok.T_ISSET:t=this.node("isset");this.next().expect("(")&&this.next();var u=this.read_list(this.read_expr,",");return this.expect(")")&&this.next(),t(u);case this.tok.T_EMPTY:t=this.node("empty");this.next().expect("(")&&this.next();var h=this.read_expr();return this.expect(")")&&this.next(),t([h]);case this.tok.T_INCLUDE:return this.node("include")(!1,!1,this.next().read_expr());case this.tok.T_INCLUDE_ONCE:return this.node("include")(!0,!1,this.next().read_expr());case this.tok.T_REQUIRE:return this.node("include")(!1,!0,this.next().read_expr());case this.tok.T_REQUIRE_ONCE:return this.node("include")(!0,!0,this.next().read_expr());case this.tok.T_EVAL:t=this.node("eval");this.next().expect("(")&&this.next();n=this.read_expr();return this.expect(")")&&this.next(),t(n);case this.tok.T_INT_CAST:return this.node("cast")("int",this.next().read_expr());case this.tok.T_DOUBLE_CAST:return this.node("cast")("float",this.next().read_expr());case this.tok.T_STRING_CAST:return this.node("cast")("string",this.next().read_expr());case this.tok.T_ARRAY_CAST:return this.node("cast")("array",this.next().read_expr());case this.tok.T_OBJECT_CAST:return this.node("cast")("object",this.next().read_expr());case this.tok.T_BOOL_CAST:return this.node("cast")("bool",this.next().read_expr());case this.tok.T_UNSET_CAST:return this.node("cast")("unset",this.next().read_expr());case this.tok.T_EXIT:t=this.node("exit");var c=null;return"("===this.next().token&&(")"!==this.next().token?(c=this.read_expr(),this.expect(")")&&this.next()):this.next()),t(c);case this.tok.T_PRINT:return this.node("print")(this.next().read_expr());case this.tok.T_YIELD:t=this.node("yield");var f=null,l=null;return this.next().is("EXPR")&&(f=this.read_expr(),this.token===this.tok.T_DOUBLE_ARROW&&(l=f,f=this.next().read_expr())),t(f,l);case this.tok.T_YIELD_FROM:return(t=this.node("yieldfrom"))(n=this.next().read_expr());case this.tok.T_FUNCTION:return this.read_function(!0);case this.tok.T_STATIC:var p=[this.token,this.lexer.getState()];if(this.next().token===this.tok.T_FUNCTION)return this.read_function(!0,[0,1,0]);this.lexer.tokens.push(p),this.next()}if(this.is("VARIABLE")){t=this.node();var _="constref"===(n=this.read_variable(!1,!1,!1)).kind||"staticlookup"===n.kind&&"constref"===n.offset.kind;switch(this.token){case"=":return _&&this.error("VARIABLE"),t("assign",n,"&"==this.next().token?this.next().token===this.tok.T_NEW?this.next().read_new_expr():this.read_variable(!1,!1,!0):this.read_expr(),"=");case this.tok.T_PLUS_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),"+=");case this.tok.T_MINUS_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),"-=");case this.tok.T_MUL_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),"*=");case this.tok.T_POW_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),"**=");case this.tok.T_DIV_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),"/=");case this.tok.T_CONCAT_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),".=");case this.tok.T_MOD_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),"%=");case this.tok.T_AND_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),"&=");case this.tok.T_OR_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),"|=");case this.tok.T_XOR_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),"^=");case this.tok.T_SL_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),"<<=");case this.tok.T_SR_EQUAL:return _&&this.error("VARIABLE"),t("assign",n,this.next().read_expr(),">>=");case this.tok.T_INC:return _&&this.error("VARIABLE"),this.next(),t("post","+",n);case this.tok.T_DEC:return _&&this.error("VARIABLE"),this.next(),t("post","-",n)}}else if(this.is("SCALAR"))for(n=this.read_scalar();this.token!==this.EOF;)if(this.token===this.tok.T_OBJECT_OPERATOR)n=this.recursive_variable_chain_scan(n,!1);else if(this.token===this.tok.T_CURLY_OPEN||"["===this.token)n=this.read_dereferencable(n);else{if("("!==this.token)return n;n=this.node("call")(n,this.read_function_argument_list())}else this.error("EXPR"),this.next();return n},read_new_expr:function(){var t=this.node("new");if(this.token===this.tok.T_CLASS){var e=this.node("class"),n=null,r=null,i=null,s=[];return"("===this.next().token&&(s=this.read_function_argument_list()),this.token==this.tok.T_EXTENDS&&(n=this.next().read_namespace_name()),this.token==this.tok.T_IMPLEMENTS&&(r=this.next().read_name_list()),this.expect("{")&&(i=this.next().read_class_body()),t(e(null,n,r,i,[0,0,0]),s)}var o=this.read_class_name_reference();s=[];return"("===this.token&&(s=this.read_function_argument_list()),t(o,s)},read_class_name_reference:function(){if(this.token===this.tok.T_NS_SEPARATOR||this.token===this.tok.T_STRING||this.token===this.tok.T_NAMESPACE){var t=this.read_namespace_name();return this.token===this.tok.T_DOUBLE_COLON&&(t=this.read_static_getter(t)),t}if(this.is("VARIABLE"))return this.read_variable(!0,!1,!1);this.expect([this.tok.T_STRING,"VARIABLE"])},read_assignment_list:function(){return this.read_list(this.read_assignment_list_element,",")},read_assignment_list_element:function(){if(","===this.token||")"===this.token)return null;var t=this.read_expr_item();return this.token===this.tok.T_DOUBLE_ARROW&&(t=["key",t,this.next().read_expr_item()]),t}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={is_reference:function(){return"&"==this.token&&(this.next().ignoreComments(),!0)},is_variadic:function(){return this.token===this.tok.T_ELLIPSIS&&(this.next().ignoreComments(),!0)},read_function:function(t,e){var n=this.read_function_declaration(t?1:e?2:0,e&&1===e[1]);return e&&1==e[2]?(n.parseFlags(e),this.expect(";")&&this.nextWithComments()):(this.expect("{")&&(n.body=this.read_code_block(!1),n.loc&&n.body.loc&&(n.loc.end=n.body.loc.end)),!t&&e&&n.parseFlags(e)),n},read_function_declaration:function(t,e){var n="function";1===t?n="closure":2===t&&(n="method");var r=this.node(n);this.expect(this.tok.T_FUNCTION)&&this.next().ignoreComments();var i=this.is_reference(),s=!1,o=[],a=null,u=!1;1!==t&&(2===t?this.token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")?(s=this.text(),this.next()):this.error("IDENTIFIER"):(this.expect(this.tok.T_STRING)&&(s=this.text()),this.next())),this.expect("(")&&this.next();var h=this.read_parameter_list();return this.expect(")")&&this.next(),1===t&&this.token===this.tok.T_USE&&(this.next().expect("(")&&this.next(),o=this.read_list(this.read_lexical_var,","),this.expect(")")&&this.next()),":"===this.token&&("?"===this.next().token&&(u=!0,this.next()),a=this.read_type()),1===t?r(h,i,o,a,u,e):r(s,h,i,a,u)},read_lexical_var:function(){var t=this.node("variable"),e=!1;"&"===this.token&&(e=!0,this.next()),this.expect(this.tok.T_VARIABLE);var n=this.text().substring(1);return this.next(),t(n,e,!1)},read_parameter_list:function(){var t=[];if(")"!=this.token)for(;this.token!=this.EOF;){if(t.push(this.read_parameter()),","!=this.token){if(")"==this.token)break;this.error([",",")"]);break}this.next()}return t},read_parameter:function(){var t,e=this.node("parameter"),n=null,r=null,i=!1;"?"===this.token&&(this.next(),i=!0),t=this.read_type(),i&&!t&&this.raiseError("Expecting a type definition combined with nullable operator");var s=this.is_reference(),o=this.is_variadic();return this.expect(this.tok.T_VARIABLE)&&(n=this.text().substring(1),this.next()),"="==this.token&&(r=this.next().read_expr()),e(n,t,r,s,o,i)},read_function_argument_list:function(){var t=[],e=!1;if(this.expect("(")&&this.next(),")"!==this.token)for(;this.token!=this.EOF;){var n=this.read_argument_list();if(n&&(t.push(n),"variadic"===n.kind?e=!0:e&&this.raiseError("Unexpected argument after a variadic argument")),","!==this.token)break;this.next()}return this.expect(")")&&this.next(),t},read_argument_list:function(){return this.token===this.tok.T_ELLIPSIS?this.node("variadic")(this.next().read_expr()):this.read_expr()},read_type:function(){var t=this.node("identifier");switch(this.token){case this.tok.T_ARRAY:return this.next(),t(["","array"],!1);case this.tok.T_NAMESPACE:case this.tok.T_NS_SEPARATOR:case this.tok.T_STRING:return this.read_namespace_name();case this.tok.T_CALLABLE:return this.next(),t(["","callable"],!1);default:return null}}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={read_if:function(){var t,e=this.node("if"),n=null,r=null,i=!1;if(t=this.read_if_expr(),":"===this.token){i=!0,this.next(),n=this.node("block");for(var s=[];this.token!==this.EOF&&this.token!==this.tok.T_ENDIF;){if(this.token===this.tok.T_ELSEIF){r=this.next().read_elseif_short();break}if(this.token===this.tok.T_ELSE){r=this.next().read_else_short();break}s.push(this.read_inner_statement())}n=n(null,s),this.expect(this.tok.T_ENDIF)&&this.next(),this.expectEndOfStatement()}else n=this.read_statement(),this.ignoreComments(),this.token===this.tok.T_ELSEIF?r=this.next().read_if():this.token===this.tok.T_ELSE&&(r=this.next().read_statement());return e(t,n,r,i)},read_if_expr:function(){this.expect("(")&&this.next();var t=this.read_expr();return this.expect(")")&&this.next(),t},read_elseif_short:function(){var t,e=this.node("if"),n=null,r=null,i=[];for(t=this.read_if_expr(),this.expect(":")&&this.next(),r=this.node("block");this.token!=this.EOF&&this.token!==this.tok.T_ENDIF;){if(this.token===this.tok.T_ELSEIF){n=this.next().read_elseif_short();break}if(this.token===this.tok.T_ELSE){n=this.next().read_else_short();break}i.push(this.read_inner_statement())}return e(t,r=r(null,i),n,!0)},read_else_short:function(){this.expect(":")&&this.next();for(var t=this.node("block"),e=[];this.token!=this.EOF&&this.token!==this.tok.T_ENDIF;)e.push(this.read_inner_statement());return t(null,e)}}},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */t.exports={read_while:function(){var t,e=this.node("while"),n=null,r=!1;return this.expect("(")&&this.next(),t=this.read_expr(),this.expect(")")&&this.next(),":"===this.token?(r=!0,n=this.read_short_form(this.tok.T_ENDWHILE)):n=this.read_statement(),e(t,n,r)},read_do:function(){var t,e=this.node("do"),n=null;return t=this.read_statement(),this.ignoreComments().expect(this.tok.T_WHILE)&&(this.next().expect("(")&&this.next(),n=this.read_expr(),this.expect(")")&&this.next(),this.expect(";")&&this.next()),e(n,t)},read_for:function(){var t=this.node("for"),e=[],n=[],r=[],i=null,s=!1;return this.expect("(")&&this.next(),";"!==this.token?(e=this.read_list(this.read_expr,","),this.expect(";")&&this.next()):this.next(),";"!==this.token?(n=this.read_list(this.read_expr,","),this.expect(";")&&this.next()):this.next(),")"!==this.token?(r=this.read_list(this.read_expr,","),this.expect(")")&&this.next()):this.next(),":"===this.token?(s=!0,i=this.read_short_form(this.tok.T_ENDFOR)):i=this.read_statement(),t(e,n,r,i,s)},read_foreach:function(){var t,e=this.node("foreach"),n=null,r=null,i=null,s=!1;return this.expect("(")&&this.next(),t=this.read_expr(),this.ignoreComments().expect(this.tok.T_AS)&&(this.next(),r=this.read_foreach_variable(),this.token===this.tok.T_DOUBLE_ARROW&&(n=r,r=this.next().read_foreach_variable())),this.expect(")")&&this.next(),":"===this.token?(s=!0,i=this.read_short_form(this.tok.T_ENDFOREACH)):i=this.read_statement(),e(t,n,r,i,s)},read_foreach_variable:function(){if(this.token===this.tok.T_LIST){var t=this.node("list");this.next().expect("(")&&this.next();var e=this.read_assignment_list();return this.expect(")")&&this.next(),t(e)}return"["===this.token||this.token===this.tok.T_ARRAY?this.read_array():this.read_variable(!1,!1,!1)}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={read_start:function(){return this.token==this.tok.T_NAMESPACE?this.read_namespace():this.read_top_statement()}}},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */t.exports={read_namespace:function(){var t=this.node("namespace");if(this.expect(this.tok.T_NAMESPACE)&&this.next(),"{"==this.token){this.currentNamespace=[""];var e=this.nextWithComments().read_top_statements();return this.expect("}")&&this.nextWithComments(),t([""],e,!0)}var n=this.read_namespace_name();if(";"==this.token){this.currentNamespace=n;e=this.nextWithComments().read_top_statements();return this.expect(this.EOF),t(n.name,e,!1)}if("{"==this.token){this.currentNamespace=n;e=this.nextWithComments().read_top_statements();return this.expect("}")&&this.nextWithComments(),t(n.name,e,!0)}if("("===this.token)return n.resolution=this.ast.identifier.RELATIVE_NAME,n.name=n.name.substring(1),this.node("call")(n,this.read_function_argument_list());this.error(["{",";"]),this.currentNamespace=n;e=this.read_top_statements();return this.expect(this.EOF),t(n,e,!1)},read_namespace_name:function(){var t=this.node("identifier"),e=!1;return this.token===this.tok.T_NAMESPACE&&(this.next().expect(this.tok.T_NS_SEPARATOR)&&this.next(),e=!0),t(this.read_list(this.tok.T_STRING,this.tok.T_NS_SEPARATOR,!0),e)},read_use_statement:function(){var t,e=this.node("usegroup"),n=[],r=null;return this.expect(this.tok.T_USE)&&this.next(),t=this.read_use_type(),n.push(this.read_use_declaration(!1)),","===this.token?n=n.concat(this.next().read_use_declarations(!1)):"{"===this.token&&(r=n[0].name,n=this.next().read_use_declarations(null===t),this.expect("}")&&this.next()),this.expect(";")&&this.nextWithComments(),e(r,t,n)},read_use_declaration:function(t){var e=this.node("useitem"),n=null;t&&(n=this.read_use_type());var r=this.read_namespace_name(),i=this.read_use_alias();return e(r.name,i,n)},read_use_declarations:function(t){for(var e=[this.read_use_declaration(t)];","===this.token;)e.push(this.next().read_use_declaration(t));return e},read_use_alias:function(){var t=null;return this.token===this.tok.T_AS&&this.next().expect(this.tok.T_STRING)&&(t=this.text(),this.next()),t},read_use_type:function(){return this.token===this.tok.T_FUNCTION?(this.next(),this.ast.useitem.TYPE_FUNCTION):this.token===this.tok.T_CONST?(this.next(),this.ast.useitem.TYPE_CONST):null}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var n={"\\r":"\r","\\n":"\n","\\t":"\t","\\v":String.fromCharCode(11),"\\e":String.fromCharCode(27),"\\f":String.fromCharCode(12),"\\\\":"\\","\\$":"$",'\\"':'"',"\\'":"'"};t.exports={resolve_special_chars:function(t){return t.replace(/\\[rntvef"'\\\$]/g,function(t){return n[t]})},read_scalar:function(){if(this.is("T_MAGIC_CONST"))return this.get_magic_constant();switch(this.token){case this.tok.T_CONSTANT_ENCAPSED_STRING:var t=this.node("string"),e=this.text(),n='"'===e[0];return e=e.substring(1,e.length-1),this.next(),t=t(n,this.resolve_special_chars(e)),this.token===this.tok.T_DOUBLE_COLON?this.read_static_getter(t):t;case this.tok.T_START_HEREDOC:if("ST_NOWDOC"===this.lexer.curCondition){var r=this.node("nowdoc"),i=(t=this.next().text())[t.length-1];return"\n"===i?t="\r"===t[t.length-2]?t.substring(0,t.length-2):t.substring(0,t.length-1):"\r"===i&&(t=t.substring(0,t.length-1)),this.expect(this.tok.T_ENCAPSED_AND_WHITESPACE)&&this.next(),r=r(t,this.lexer.heredoc_label),this.expect(this.tok.T_END_HEREDOC)&&this.next(),r}return this.next().read_encapsed_string(this.tok.T_END_HEREDOC);case'"':return this.next().read_encapsed_string('"');case'b"':case'B"':return(r=this.node("cast"))("binary",this.next().read_encapsed_string('"'));case this.tok.T_LNUMBER:case this.tok.T_DNUMBER:var s=this.node("number");t=this.text();return this.next(),s=s(t);case this.tok.T_ARRAY:case"[":return this.read_array();default:var o=this.error("SCALAR");return this.next(),o}},read_dereferencable:function(t){var e,n=this.node("offsetlookup");if("["===this.token){var r=this.next().read_expr();this.expect("]")&&this.next(),e=n(t,r)}else if(this.token===this.tok.T_DOLLAR_OPEN_CURLY_BRACES){e=n(t,r=this.read_encapsed_string_item())}return e},read_encapsed_string_item:function(){var t=this.node();if(this.token===this.tok.T_ENCAPSED_AND_WHITESPACE){var e=this.text();this.next(),t=t("string",!1,this.resolve_special_chars(e))}else if(this.token===this.tok.T_DOLLAR_OPEN_CURLY_BRACES){var n=null;if(this.next().token===this.tok.T_STRING_VARNAME){var r=this.text();if(n=this.node("variable"),this.next(),"["===this.token){n=n(r,!1);var i=this.node("offsetlookup"),s=this.next().read_expr();this.expect("]")&&this.next(),n=i(n,s)}else n=r}else n=this.read_expr();this.expect("}")&&this.next(),t=t("variable",n,!1,!0)}else if(this.token===this.tok.T_CURLY_OPEN)t=this.next().read_variable(!1,!1,!1),this.expect("}")&&this.next();else if(this.token===this.tok.T_VARIABLE){if(t=this.read_simple_variable(!1),"["===this.token){i=this.node("offsetlookup"),s=this.next().read_encaps_var_offset();this.expect("]")&&this.next(),t=i(t,s)}if(this.token===this.tok.T_OBJECT_OPERATOR){i=this.node("propertylookup");var o=this.node("constref");this.next().expect(this.tok.T_STRING);n=this.text();this.next(),t=i(t,o(n))}}else{this.expect(this.tok.T_ENCAPSED_AND_WHITESPACE);var a=this.text();this.next(),t=t("string",!1,a)}return t},read_encapsed_string:function(t){var e=this.node("encapsed"),n=[],r=null;for(r="`"===t?this.ast.encapsed.TYPE_SHELL:'"'===t?this.ast.encapsed.TYPE_STRING:this.ast.encapsed.TYPE_HEREDOC;this.token!==t&&this.token!==this.EOF;)n.push(this.read_encapsed_string_item());return this.expect(t)&&this.next(),e=e(n,r),t===this.tok.T_END_HEREDOC&&(e.label=this.lexer.heredoc_label),e},get_magic_constant:function(){var t=this.node("magic"),e=this.text();return this.next(),t(e)}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={read_top_statements:function(){for(var t=[];this.token!==this.EOF&&"}"!==this.token;){var e=this.read_top_statement();e&&(Array.isArray(e)?t=t.concat(e):t.push(e))}return t},read_top_statement:function(){switch(this.token){case this.tok.T_FUNCTION:return this.read_function(!1,!1);case this.tok.T_ABSTRACT:case this.tok.T_FINAL:var t=this.read_class_scope();return this.token===this.tok.T_CLASS?this.read_class(t):(this.error(this.tok.T_CLASS),this.next(),null);case this.tok.T_CLASS:return this.read_class([0,0,0]);case this.tok.T_INTERFACE:return this.read_interface();case this.tok.T_TRAIT:return this.read_trait();case this.tok.T_USE:return this.read_use_statement();case this.tok.T_CONST:return this.next().read_const_list();case this.tok.T_NAMESPACE:return this.read_namespace();case this.tok.T_HALT_COMPILER:var e=this.node("halt");return this.next().expect("(")&&this.next(),this.expect(")")&&this.next(),this.expect(";"),this.lexer.done=!0,e(this.lexer._input.substring(this.lexer.offset));default:return this.read_statement()}},read_inner_statements:function(){for(var t=[];this.token!=this.EOF&&"}"!==this.token;){var e=this.read_inner_statement();e&&(Array.isArray(e)?t=t.concat(e):t.push(e))}return t},read_const_list:function(){var t=this.read_list(function(){this.expect(this.tok.T_STRING);var t=this.node("constant"),e=this.text();return this.next().expect("=")?t(e,this.next().read_expr()):t(e,null)},",",!1);return this.expectEndOfStatement(),t},read_declare_list:function(){for(var t={};this.token!=this.EOF&&")"!==this.token;){this.expect(this.tok.T_STRING);var e=this.text().toLowerCase();if(this.next().expect("=")?t[e]=this.next().read_expr():t[e]=null,","!==this.token)break;this.next()}return t},read_inner_statement:function(){switch(this.token){case this.tok.T_FUNCTION:return this.read_function(!1,!1);case this.tok.T_ABSTRACT:case this.tok.T_FINAL:var t=this.read_class_scope();return this.token===this.tok.T_CLASS?this.read_class(t):(this.error(this.tok.T_CLASS),this.next(),null);case this.tok.T_CLASS:return this.read_class([0,0,0]);case this.tok.T_INTERFACE:return this.read_interface();case this.tok.T_TRAIT:return this.read_trait();case this.tok.T_HALT_COMPILER:this.raiseError("__HALT_COMPILER() can only be used from the outermost scope");var e=this.node("halt");return this.next().expect("(")&&this.next(),this.expect(")")&&this.next(),e=e(this.lexer._input.substring(this.lexer.offset)),this.expect(";")&&this.next(),e;default:return this.read_statement()}},read_statement:function(){switch(this.token){case"{":return this.read_code_block(!1);case this.tok.T_IF:return this.next().read_if();case this.tok.T_SWITCH:return this.read_switch();case this.tok.T_FOR:return this.next().read_for();case this.tok.T_FOREACH:return this.next().read_foreach();case this.tok.T_WHILE:return this.next().read_while();case this.tok.T_DO:return this.next().read_do();case this.tok.T_COMMENT:return this.read_comment();case this.tok.T_DOC_COMMENT:return this.read_doc_comment();case this.tok.T_RETURN:var t=this.node("return"),e=null;return this.next().is("EOS")||(e=this.read_expr()),this.expectEndOfStatement(),t(e);case this.tok.T_BREAK:case this.tok.T_CONTINUE:t=this.node(this.token===this.tok.T_CONTINUE?"continue":"break");var n=null;return this.next(),";"!==this.token&&this.token!==this.tok.T_CLOSE_TAG&&(n=this.read_expr()),this.expectEndOfStatement(),t(n);case this.tok.T_GLOBAL:t=this.node("global");var r=this.next().read_list(this.read_simple_variable,",");return this.expectEndOfStatement(),t(r);case this.tok.T_STATIC:var i=[this.token,this.lexer.getState()];t=this.node("static");if(this.next().token===this.tok.T_DOUBLE_COLON){this.lexer.tokens.push(i);e=this.next().read_expr();return this.expect(";")&&this.nextWithComments(),e}if(this.token===this.tok.T_FUNCTION)return this.read_function(!0,[0,1,0]);r=this.read_variable_declarations();return this.expectEndOfStatement(),t(r);case this.tok.T_ECHO:t=this.node("echo");var s=this.next().read_list(this.read_expr,",");return this.expectEndOfStatement(),t(s);case this.tok.T_INLINE_HTML:t=this.node("inline");var o=this.text();return this.next(),t(o);case this.tok.T_UNSET:t=this.node("unset");this.next().expect("(")&&this.next();r=this.read_list(this.read_variable,",");return this.expect(")")&&this.next(),this.expect(";")&&this.nextWithComments(),t(r);case this.tok.T_DECLARE:t=this.node("declare");var a,u,h=[];if(this.next().expect("(")&&this.next(),a=this.read_declare_list(),this.expect(")")&&this.next(),":"===this.token){for(this.nextWithComments();this.token!=this.EOF&&this.token!==this.tok.T_ENDDECLARE;)h.push(this.read_top_statement());this.expect(this.tok.T_ENDDECLARE)&&this.next(),this.expectEndOfStatement(),u=this.ast.declare.MODE_SHORT}else if("{"===this.token){for(this.nextWithComments();this.token!=this.EOF&&"}"!==this.token;)h.push(this.read_top_statement());this.expect("}")&&this.next(),u=this.ast.declare.MODE_BLOCK}else{for(this.expect(";")&&this.nextWithComments();this.token!=this.EOF&&this.token!==this.tok.T_DECLARE;)h.push(this.read_top_statement());u=this.ast.declare.MODE_NONE}return t(a,h,u);case this.tok.T_TRY:return this.read_try();case this.tok.T_THROW:t=this.node("throw"),e=this.next().read_expr();return this.expectEndOfStatement(),t(e);case";":case this.tok.T_CLOSE_TAG:return this.next(),null;case this.tok.T_STRING:i=[this.token,this.lexer.getState()];var c=this.text();if(":"===this.next().token){t=this.node("label");return this.next(),t(c)}this.lexer.tokens.push(i);e=this.next().read_expr();return this.expectEndOfStatement(),e;case this.tok.T_GOTO:t=this.node("goto"),c=null;return this.next().expect(this.tok.T_STRING)&&(c=this.text(),this.next().expectEndOfStatement()),t(c);default:e=this.read_expr();return this.expectEndOfStatement(),e}},read_code_block:function(t){var e=this.node("block");this.expect("{")&&this.nextWithComments();var n=t?this.read_top_statements():this.read_inner_statements();return this.expect("}")&&this.nextWithComments(),e(null,n)}}},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */t.exports={read_switch:function(){this.expect(this.tok.T_SWITCH)&&this.next();var t,e,n=this.node("switch");return this.expect("(")&&this.next(),t=this.read_expr(),this.expect(")")&&this.next(),e=":"===this.token,n(t,this.read_switch_case_list(),e)},read_switch_case_list:function(){var t=null,e=this.node("block"),n=[];for("{"===this.token?t="}":":"===this.token?t=this.tok.T_ENDSWITCH:this.expect(["{",":"]),";"===this.next().token&&this.next(),this.token===this.tok.T_CLOSE_TAG&&this.next();this.token!==this.EOF&&this.token!==t;)n.push(this.read_case_list(t));return this.expect(t)&&this.next(),t===this.tok.T_ENDSWITCH&&this.expectEndOfStatement(),e(null,n)},read_case_list:function(t){var e=this.node("case"),n=null,r=null,i=[];for(this.token===this.tok.T_CASE?n=this.next().read_expr():this.token===this.tok.T_DEFAULT?this.next():this.expect([this.tok.T_CASE,this.tok.T_DEFAULT]),this.expect([":",";"])&&this.next(),r=this.node("block");this.token!=this.EOF&&this.token!==t&&this.token!==this.tok.T_CASE&&this.token!==this.tok.T_DEFAULT;)i.push(this.read_inner_statement());return e(n,i.length>0?r(null,i):null)}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={read_try:function(){this.expect(this.tok.T_TRY);var t,e=this.node("try"),n=null,r=[];for(t=this.next().read_statement();this.ignoreComments().token===this.tok.T_CATCH;){var i,s,o=this.node("catch");this.next().expect("(")&&this.next(),i=this.read_list(this.read_namespace_name,"|",!1),s=this.read_variable(!0,!1,!1),this.expect(")"),r.push(o(this.next().read_statement(),i,s))}return this.token===this.tok.T_FINALLY&&(n=this.next().read_statement()),e(t,r,n)}}},function(t,e,n){"use strict";
/*!
 * Defines a list of helper functions for parsing
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */t.exports={read_short_form:function(t){var e=this.node("block"),n=[];for(this.expect(":")&&this.next();this.token!=this.EOF&&this.token!==t;)n.push(this.read_inner_statement());return this.expect(t)&&this.next(),this.expectEndOfStatement(),e(null,n)},read_list:function(t,e,n){var r=[];if(this.token==e&&(n&&r.push(""),this.next()),"function"==typeof t){do{if(r.push(t.apply(this,[])),this.token!=e)break}while(this.next().token!=this.EOF)}else{if(!this.expect(t))return[];for(r.push(this.text());this.next().token!=this.EOF&&this.token==e&&this.next().token==t;)r.push(this.text())}return r},read_name_list:function(){return this.read_list(this.read_namespace_name,",",!1)},read_variable_declarations:function(){return this.read_list(function(){var t=this.node("assign"),e=this.node("variable");if(this.expect(this.tok.T_VARIABLE)){var n=this.text().substring(1);this.next(),e=e(n,!1,!1)}else e=e("#ERR",!1,!1);return"="===this.token?t(e,this.next().read_expr()):e},",")}}},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */t.exports={read_variable:function(t,e,n){var r;if(n||"&"!==this.token||(n=!0,this.next()),this.is([this.tok.T_VARIABLE,"$"]))r=this.read_reference_variable(e,n);else if(this.is([this.tok.T_NS_SEPARATOR,this.tok.T_STRING,this.tok.T_NAMESPACE])){r=this.node();var i=this.read_namespace_name();if(this.token!=this.tok.T_DOUBLE_COLON&&"("!=this.token){var s=i.name.toLowerCase();r="true"===s?r("boolean",!0):"false"===s?r("boolean",!1):r("constref",i)}else r=i}else this.token===this.tok.T_STATIC?(r=this.node("constref"),this.next(),r=r("static")):this.expect("VARIABLE");return this.token===this.tok.T_DOUBLE_COLON&&(r=this.read_static_getter(r,e)),this.recursive_variable_chain_scan(r,t,e)},read_static_getter:function(t,e){var n=this.node("staticlookup"),r=null;if(this.next().is([this.tok.T_VARIABLE,"$"]))r=this.read_reference_variable(e,!1);else if(this.token===this.tok.T_STRING||this.token===this.tok.T_CLASS||this.php7&&this.is("IDENTIFIER")){r=this.node("constref");var i=this.text();this.next(),r=r(i)}else{this.error([this.tok.T_VARIABLE,this.tok.T_STRING]),r=this.node("constref");i=this.text();this.next(),r=r(i)}return n(t,r)},recursive_variable_chain_scan:function(t,e,n){t:for(;this.token!=this.EOF;)switch(this.token){case"(":if(e)return t;t=this.node("call")(t,this.read_function_argument_list());break;case"[":var r=this.node("offsetlookup");this.next();var i=!1;n?(i=this.read_encaps_var_offset(),this.expect("]")&&this.next()):"]"!==this.token?(i=this.read_expr(),this.expect("]")&&this.next()):this.next(),t=r(t,i);break;case this.tok.T_DOUBLE_COLON:"staticlookup"===t.kind&&this.error();r=this.node("staticlookup");if(this.next().token===this.tok.T_STRING||this.php7&&this.is("IDENTIFIER")){i=this.node("constref");var s=this.text();this.next(),i=i(s),this.token===this.tok.T_OBJECT_OPERATOR&&this.error()}else{this.error(this.tok.T_STRING);i=this.node("constref")(this.text());this.next()}t=r(t,i);break;case this.tok.T_OBJECT_OPERATOR:r=this.node("propertylookup");var o=null;switch(this.next().token){case this.tok.T_STRING:o=this.node("constref");s=this.text();if(this.next(),o=o(s),this.token===this.tok.T_VARIABLE){var a=this.node("variable");s=this.text().substring(1),this.next(),(o=this.node("encapsed")([o,a(s,!1,!1)],"offset")).loc&&o.value[0].loc&&(o.loc.start=o.value[0].loc.start)}else if("{"===this.token){var u=this.next().read_expr();this.expect("}")&&this.next(),(o=this.node("encapsed")([o,u],"offset")).loc&&o.value[0].loc&&(o.loc.start=o.value[0].loc.start)}break;case this.tok.T_VARIABLE:o=this.node("variable");s=this.text().substring(1);this.next(),o=o(s,!1,!1);break;case"$":this.next().expect(["{",this.tok.T_VARIABLE]),"{"===this.token?(o=this.next().read_expr(),this.expect("}")&&this.next()):o=this.read_expr();break;case"{":o=this.next().read_expr(),this.expect("}")&&this.next();break;default:this.error([this.tok.T_STRING,this.tok.T_VARIABLE]),o=this.node("constref");s=this.text();this.next(),o=o(s)}t=r(t,o);break;default:break t}return t},read_encaps_var_offset:function(){var t=this.node();if(this.token===this.tok.T_STRING){var e='"'===(i=this.text())[0];i=i.substring(1,i.length-1),this.next(),t=t("string",e,this.resolve_special_chars(i))}else if(this.token===this.tok.T_NUM_STRING){var n=this.text();this.next(),t=t("number",n)}else if(this.token===this.tok.T_VARIABLE){var r=this.text().substring(1);this.next(),t=t("variable",r,!1,!1)}else{this.expect([this.tok.T_STRING,this.tok.T_NUM_STRING,this.tok.T_VARIABLE]);var i=this.text();this.next(),t=t("string",!1,i)}return t},read_reference_variable:function(t,e){for(var n=this.read_simple_variable(e);this.token!=this.EOF;){var r=this.node();if("["==this.token){var i=null;i=t?this.next().read_encaps_var_offset():"]"===this.next().token?null:this.read_dim_offset(),this.expect("]")&&this.next(),n=r("offsetlookup",n,i)}else{if("{"!=this.token||t)break;i=this.next().read_expr();this.expect("}")&&this.next(),n=r("offsetlookup",n,i)}}return n},read_simple_variable:function(t){var e=this.node("variable");if(this.expect([this.tok.T_VARIABLE,"$"])&&this.token===this.tok.T_VARIABLE){var n=this.text().substring(1);this.next(),e=e(n,t,!1)}else switch("$"===this.token&&this.next(),this.token){case"{":var r=this.next().read_expr();this.expect("}")&&this.next(),e=e(r,t,!0);break;case"$":e=e(this.read_simple_variable(!1),t);break;case this.tok.T_VARIABLE:n=this.text().substring(1);var i=this.node("variable");this.next(),e=e(i(n,!1,!1),t,!1);break;default:this.error(["{","$",this.tok.T_VARIABLE]);n=this.text();this.next(),e=e(n,t,!1)}return e}}},function(t,e){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
t.exports={values:{101:"T_HALT_COMPILER",102:"T_USE",103:"T_ENCAPSED_AND_WHITESPACE",104:"T_OBJECT_OPERATOR",105:"T_STRING",106:"T_DOLLAR_OPEN_CURLY_BRACES",107:"T_STRING_VARNAME",108:"T_CURLY_OPEN",109:"T_NUM_STRING",110:"T_ISSET",111:"T_EMPTY",112:"T_INCLUDE",113:"T_INCLUDE_ONCE",114:"T_EVAL",115:"T_REQUIRE",116:"T_REQUIRE_ONCE",117:"T_NAMESPACE",118:"T_NS_SEPARATOR",119:"T_AS",120:"T_IF",121:"T_ENDIF",122:"T_WHILE",123:"T_DO",124:"T_FOR",125:"T_SWITCH",126:"T_BREAK",127:"T_CONTINUE",128:"T_RETURN",129:"T_GLOBAL",130:"T_STATIC",131:"T_ECHO",132:"T_INLINE_HTML",133:"T_UNSET",134:"T_FOREACH",135:"T_DECLARE",136:"T_TRY",137:"T_THROW",138:"T_GOTO",139:"T_FINALLY",140:"T_CATCH",141:"T_ENDDECLARE",142:"T_LIST",143:"T_CLONE",144:"T_PLUS_EQUAL",145:"T_MINUS_EQUAL",146:"T_MUL_EQUAL",147:"T_DIV_EQUAL",148:"T_CONCAT_EQUAL",149:"T_MOD_EQUAL",150:"T_AND_EQUAL",151:"T_OR_EQUAL",152:"T_XOR_EQUAL",153:"T_SL_EQUAL",154:"T_SR_EQUAL",155:"T_INC",156:"T_DEC",157:"T_BOOLEAN_OR",158:"T_BOOLEAN_AND",159:"T_LOGICAL_OR",160:"T_LOGICAL_AND",161:"T_LOGICAL_XOR",162:"T_SL",163:"T_SR",164:"T_IS_IDENTICAL",165:"T_IS_NOT_IDENTICAL",166:"T_IS_EQUAL",167:"T_IS_NOT_EQUAL",168:"T_IS_SMALLER_OR_EQUAL",169:"T_IS_GREATER_OR_EQUAL",170:"T_INSTANCEOF",171:"T_INT_CAST",172:"T_DOUBLE_CAST",173:"T_STRING_CAST",174:"T_ARRAY_CAST",175:"T_OBJECT_CAST",176:"T_BOOL_CAST",177:"T_UNSET_CAST",178:"T_EXIT",179:"T_PRINT",180:"T_YIELD",181:"T_YIELD_FROM",182:"T_FUNCTION",183:"T_DOUBLE_ARROW",184:"T_DOUBLE_COLON",185:"T_ARRAY",186:"T_CALLABLE",187:"T_CLASS",188:"T_ABSTRACT",189:"T_TRAIT",190:"T_FINAL",191:"T_EXTENDS",192:"T_INTERFACE",193:"T_IMPLEMENTS",194:"T_VAR",195:"T_PUBLIC",196:"T_PROTECTED",197:"T_PRIVATE",198:"T_CONST",199:"T_NEW",200:"T_INSTEADOF",201:"T_ELSEIF",202:"T_ELSE",203:"T_ENDSWITCH",204:"T_CASE",205:"T_DEFAULT",206:"T_ENDFOR",207:"T_ENDFOREACH",208:"T_ENDWHILE",209:"T_CONSTANT_ENCAPSED_STRING",210:"T_LNUMBER",211:"T_DNUMBER",212:"T_LINE",213:"T_FILE",214:"T_DIR",215:"T_TRAIT_C",216:"T_METHOD_C",217:"T_FUNC_C",218:"T_NS_C",219:"T_START_HEREDOC",220:"T_END_HEREDOC",221:"T_CLASS_C",222:"T_VARIABLE",223:"T_OPEN_TAG",224:"T_OPEN_TAG_WITH_ECHO",225:"T_CLOSE_TAG",226:"T_WHITESPACE",227:"T_COMMENT",228:"T_DOC_COMMENT",229:"T_ELLIPSIS",230:"T_COALESCE",231:"T_POW",232:"T_POW_EQUAL",233:"T_SPACESHIP"},names:{T_HALT_COMPILER:101,T_USE:102,T_ENCAPSED_AND_WHITESPACE:103,T_OBJECT_OPERATOR:104,T_STRING:105,T_DOLLAR_OPEN_CURLY_BRACES:106,T_STRING_VARNAME:107,T_CURLY_OPEN:108,T_NUM_STRING:109,T_ISSET:110,T_EMPTY:111,T_INCLUDE:112,T_INCLUDE_ONCE:113,T_EVAL:114,T_REQUIRE:115,T_REQUIRE_ONCE:116,T_NAMESPACE:117,T_NS_SEPARATOR:118,T_AS:119,T_IF:120,T_ENDIF:121,T_WHILE:122,T_DO:123,T_FOR:124,T_SWITCH:125,T_BREAK:126,T_CONTINUE:127,T_RETURN:128,T_GLOBAL:129,T_STATIC:130,T_ECHO:131,T_INLINE_HTML:132,T_UNSET:133,T_FOREACH:134,T_DECLARE:135,T_TRY:136,T_THROW:137,T_GOTO:138,T_FINALLY:139,T_CATCH:140,T_ENDDECLARE:141,T_LIST:142,T_CLONE:143,T_PLUS_EQUAL:144,T_MINUS_EQUAL:145,T_MUL_EQUAL:146,T_DIV_EQUAL:147,T_CONCAT_EQUAL:148,T_MOD_EQUAL:149,T_AND_EQUAL:150,T_OR_EQUAL:151,T_XOR_EQUAL:152,T_SL_EQUAL:153,T_SR_EQUAL:154,T_INC:155,T_DEC:156,T_BOOLEAN_OR:157,T_BOOLEAN_AND:158,T_LOGICAL_OR:159,T_LOGICAL_AND:160,T_LOGICAL_XOR:161,T_SL:162,T_SR:163,T_IS_IDENTICAL:164,T_IS_NOT_IDENTICAL:165,T_IS_EQUAL:166,T_IS_NOT_EQUAL:167,T_IS_SMALLER_OR_EQUAL:168,T_IS_GREATER_OR_EQUAL:169,T_INSTANCEOF:170,T_INT_CAST:171,T_DOUBLE_CAST:172,T_STRING_CAST:173,T_ARRAY_CAST:174,T_OBJECT_CAST:175,T_BOOL_CAST:176,T_UNSET_CAST:177,T_EXIT:178,T_PRINT:179,T_YIELD:180,T_YIELD_FROM:181,T_FUNCTION:182,T_DOUBLE_ARROW:183,T_DOUBLE_COLON:184,T_ARRAY:185,T_CALLABLE:186,T_CLASS:187,T_ABSTRACT:188,T_TRAIT:189,T_FINAL:190,T_EXTENDS:191,T_INTERFACE:192,T_IMPLEMENTS:193,T_VAR:194,T_PUBLIC:195,T_PROTECTED:196,T_PRIVATE:197,T_CONST:198,T_NEW:199,T_INSTEADOF:200,T_ELSEIF:201,T_ELSE:202,T_ENDSWITCH:203,T_CASE:204,T_DEFAULT:205,T_ENDFOR:206,T_ENDFOREACH:207,T_ENDWHILE:208,T_CONSTANT_ENCAPSED_STRING:209,T_LNUMBER:210,T_DNUMBER:211,T_LINE:212,T_FILE:213,T_DIR:214,T_TRAIT_C:215,T_METHOD_C:216,T_FUNC_C:217,T_NS_C:218,T_START_HEREDOC:219,T_END_HEREDOC:220,T_CLASS_C:221,T_VARIABLE:222,T_OPEN_TAG:223,T_OPEN_TAG_WITH_ECHO:224,T_CLOSE_TAG:225,T_WHITESPACE:226,T_COMMENT:227,T_DOC_COMMENT:228,T_ELLIPSIS:229,T_COALESCE:230,T_POW:231,T_POW_EQUAL:232,T_SPACESHIP:233}}},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://gla*yzzle.com
 */
var r=n(100),i=n(101),s=function(t,e){this.withPositions=t,this.withSource=e};s.prototype.position=function(t){return new i(t.lexer.yylloc.first_line,t.lexer.yylloc.first_column,t.lexer.yylloc.first_offset)},s.precedence={};[["or"],["xor"],["and"],["="],["?"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","!=","===","!==","<=>"],["<","<=",">",">="],["<<",">>"],["+","-","."],["*","/","%"],["!"],["instanceof"]].forEach(function(t,e){t.forEach(function(t){s.precedence[t]=e+1})});s.prototype.resolvePrecedence=function(t){var e;if("bin"===t.kind){if(t.right)if("bin"===t.right.kind){var n=s.precedence[t.type],r=s.precedence[t.right.type];n&&r&&r<=n&&(e=t.right,t.right=t.right.left,e.left=this.resolvePrecedence(t),t=e)}else if("retif"===t.right.kind){n=s.precedence[t.type],r=s.precedence["?"];n&&r&&r<=n&&(e=t.right,t.right=t.right.test,e.test=this.resolvePrecedence(t),t=e)}}else if("unary"===t.kind)t.what&&("bin"===t.what.kind?(e=t.what,t.what=t.what.left,e.left=this.resolvePrecedence(t),t=e):"retif"===t.what.kind&&(e=t.what,t.what=t.what.test,e.test=this.resolvePrecedence(t),t=e));else if("retif"===t.kind)t.falseExpr&&"retif"===t.falseExpr.kind&&(e=t.falseExpr,t.falseExpr=e.test,e.test=this.resolvePrecedence(t),t=e);else if("assign"===t.kind&&t.right&&"bin"===t.right.kind){n=s.precedence["="],r=s.precedence[t.right.type];n&&r&&r<n&&(e=t.right,t.right=t.right.left,e.left=t,t=e)}return t},s.prototype.prepare=function(t,e){var n=null;(this.withPositions||this.withSource)&&(n=this.position(e));var s=this;return function(){var o=null,a=Array.prototype.slice.call(arguments);if(s.withPositions||s.withSource){var u=null;s.withSource&&(u=e.lexer._input.substring(n.offset,e.lexer.yylloc.prev_offset)),o=s.withPositions?new r(u,n,new i(e.lexer.yylloc.prev_line,e.lexer.yylloc.prev_column,e.lexer.yylloc.prev_offset)):new r(u,null,null),a.push(o)}t||(t=a.shift());var h=s[t];if("function"!=typeof h)throw new Error('Undefined node "'+t+'"');var c=Object.create(h.prototype);return h.apply(c,a),s.resolvePrecedence(c)}},[n(102),n(103),n(104),n(18),n(105),n(106),n(107),n(108),n(109),n(110),n(111),n(112),n(113),n(114),n(38),n(115),n(116),n(8),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(125),n(126),n(3),n(127),n(128),n(39),n(129),n(130),n(131),n(40),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(7),n(19),n(139),n(140),n(141),n(142),n(2),n(143),n(144),n(145),n(11),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(155),n(156),n(0),n(157),n(158),n(159),n(160),n(12),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175)].forEach(function(t){var e=t.prototype.constructor.name.toLowerCase();"_"===e[0]&&(e=e.substring(1)),s.prototype[e]=t}),t.exports=s},function(t,e){t.exports=function(t,e,n){this.source=t,this.start=e,this.end=n}},function(t,e){t.exports=function(t,e,n){this.line=t,this.column=e,this.offset=n}},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(3),i=r.extends(function(t,e,n){r.apply(this,["array",n]),this.items=e,this.shortForm=t});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(0),i=r.extends(function(t,e,n,i){r.apply(this,["assign",i]),this.operator=n,this.left=t,this.right=e});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(11),i=r.extends(function(t,e,n,i){r.apply(this,["bin",i]),this.type=t,this.left=e,this.right=n});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(7),i=r.extends(function(t,e){r.apply(this,["boolean",t,e])});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(2),i=r.extends(function(t,e){r.apply(this,["break",e]),this.level=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n){r.apply(this,["call",n]),this.what=t,this.arguments=e});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(2),i=r.extends(function(t,e,n){r.apply(this,["case",n]),this.test=t,this.body=e});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(11),i=r.extends(function(t,e,n){r.apply(this,["cast",n]),this.type=t,this.what=e});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i){r.apply(this,["catch",i]),this.body=t,this.what=e,this.variable=n});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(8),i=r.extends(function(t,e,n,i,s,o){r.apply(this,["class",t,o]),this.isAnonymous=!t,this.extends=e,this.implements=n,this.body=i,this.parseFlags(s)});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(38),i=r.extends(function(t,e,n,i){r.apply(this,[t,e,i]),this.kind="classconstant",this.parseFlags(n)});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(0),i=r.extends(function(t,e){r.apply(this,["clone",e]),this.what=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i,s,o,a){r.apply(this,["closure",a]),this.uses=n,this.arguments=t,this.byref=e,this.type=i,this.nullable=s,this.isStatic=o||!1,this.body=null});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(3),i=r.extends(function(t,e){r.apply(this,["constref",e]),this.name=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(2),i=r.extends(function(t,e){r.apply(this,["continue",e]),this.level=t});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(18),i=r.extends(function(t,e,n,i){r.apply(this,["declare",e,i]),this.what=t,this.mode=n});i.MODE_SHORT="short",i.MODE_BLOCK="block",i.MODE_NONE="none",t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n){r.apply(this,["do",n]),this.test=t,this.body=e});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(2),i=r.extends(function(t,e,n){r.apply(this,["doc",n]),this.isDoc=t,this.lines=e});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(12),i=r.extends(function(t,e){r.apply(this,["echo",t,e])});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(12),i=r.extends(function(t,e){r.apply(this,["empty",t,e])});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(7),i=r.extends(function(t,e,n){r.apply(this,["encapsed",t,n]),this.type=e});i.TYPE_STRING="string",i.TYPE_SHELL="shell",i.TYPE_HEREDOC="heredoc",i.TYPE_OFFSET="offset",t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(2),i=r.extends(function(t,e,n){r.apply(this,["entry",n]),this.key=t,this.value=e});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(2),i=r.extends(function(t,e,n,i,s){r.apply(this,["error",s]),this.message=t,this.token=e,this.line=n,this.expected=i});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(0),i=r.extends(function(t,e){r.apply(this,["eval",e]),this.source=t});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(0),i=r.extends(function(t,e){r.apply(this,["exit",e]),this.status=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i,s,o){r.apply(this,["for",o]),this.init=t,this.test=e,this.increment=n,this.shortForm=s,this.body=i});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i,s,o){r.apply(this,["foreach",o]),this.source=t,this.key=e,this.value=n,this.shortForm=s,this.body=i});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e){r.apply(this,["global",e]),this.items=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e){r.apply(this,["goto",e]),this.label=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e){r.apply(this,["halt",e]),this.after=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i,s){r.apply(this,["if",s]),this.test=t,this.body=e,this.alternate=n,this.shortForm=i});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(0),i=r.extends(function(t,e,n,i){r.apply(this,["include",i]),this.once=t,this.require=e,this.target=n});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(7),i=r.extends(function(t,e){r.apply(this,["inline",t,e])});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(8),i=r.extends(function(t,e,n,i){r.apply(this,["interface",t,i]),this.extends=e,this.body=n});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(12),i=r.extends(function(t,e){r.apply(this,["isset",t,e])});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(2),i=r.extends(function(t,e){r.apply(this,["label",e]),this.name=t});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(12),i=r.extends(function(t,e){r.apply(this,["list",t,e])});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(7),i=r.extends(function(t,e){r.apply(this,["magic",t,e])});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(39),i=r.extends(function(){r.apply(this,arguments),this.kind="method"});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(18),i=(n(40),r.extends(function(t,e,n,i){r.apply(this,["namespace",e,i]),this.name=t,this.withBrackets=n||!1}));t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n){r.apply(this,["new",n]),this.what=t,this.arguments=e});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(7),i=r.extends(function(t,e,n){r.apply(this,["nowdoc",t,n]),this.label=e});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(7),i=r.extends(function(t,e){r.apply(this,["number",t,e])});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(19),i=r.extends(function(t,e,n){r.apply(this,["offsetlookup",t,e,n])});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(8),i=r.extends(function(t,e,n,i,s,o,a){r.apply(this,["parameter",t,a]),this.value=n,this.type=e,this.byref=i,this.variadic=s,this.nullable=o});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(11),i=r.extends(function(t,e){r.apply(this,["parenthesis",e]),this.inner=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(11),i=r.extends(function(t,e,n){r.apply(this,["post",n]),this.type=t,this.what=e});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(11),i=r.extends(function(t,e,n){r.apply(this,["pre",n]),this.type=t,this.what=e});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(12),i=r.extends(function(t,e){r.apply(this,["print",t,e])});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(18),i=r.extends(function(t,e,n){r.apply(this,["program",t,n]),this.errors=e});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(8),i=r.extends(function(t,e,n,i){r.apply(this,["property",t,i]),this.value=e,this.parseFlags(n)});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(19),i=r.extends(function(t,e,n){r.apply(this,["propertylookup",t,e,n])});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i){r.apply(this,["retif",i]),this.test=t,this.trueExpr=e,this.falseExpr=n});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(2),i=r.extends(function(t,e){r.apply(this,["return",e]),this.expr=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e){r.apply(this,["silent",e]),this.expr=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e){r.apply(this,["static",e]),this.items=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(19),i=r.extends(function(t,e,n){r.apply(this,["staticlookup",t,e,n])});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(7),i=r.extends(function(t,e,n){r.apply(this,["string",e,n]),this.isDoubleQuote=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i){r.apply(this,["switch",i]),this.test=t,this.body=e,this.shortForm=n});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e){r.apply(this,["throw",e]),this.what=t});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(8),i=r.extends(function(t,e,n,i,s){r.apply(this,["trait",t,s]),this.extends=e,this.implements=n,this.body=i});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(2),i=r.extends(function(t,e,n,i,s){r.apply(this,["traitalias",s]),this.trait=t,this.method=e,this.as=n,i?0===i[0]?this.visibility="public":1===i[0]?this.visibility="protected":this.visibility="private":this.visibility=null});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(2),i=r.extends(function(t,e,n,i){r.apply(this,["traitprecedence",i]),this.trait=t,this.method=e,this.instead=n});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(2),i=r.extends(function(t,e,n){r.apply(this,["traituse",n]),this.traits=t,this.adaptations=e});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i){r.apply(this,["try",i]),this.body=t,this.catches=e,this.always=n});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(11),i=r.extends(function(t,e,n){r.apply(this,["unary",n]),this.type=t,this.what=e});t.exports=i},function(t,e,n){
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */
var r=n(12),i=r.extends(function(t,e){r.apply(this,["unset",t,e])});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i){r.apply(this,["usegroup",i]),this.name=t,this.type=e,this.items=n});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i){r.apply(this,["useitem",i]),this.name=t,this.alias=e,this.type=n});i.TYPE_CONST="const",i.TYPE_FUNCTION="function",t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(3),i=r.extends(function(t,e,n,i){r.apply(this,["variable",i]),this.name=t,this.byref=e||!1,this.curly=n||!1});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(3),i=r.extends(function(t,e){r.apply(this,["variadic",e]),this.what=t});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(0),i=r.extends(function(t,e,n,i){r.apply(this,["while",i]),this.test=t,this.body=e,this.shortForm=n});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(3),i=r.extends(function(t,e,n){r.apply(this,["yield",n]),this.value=t,this.key=e});t.exports=i},function(t,e,n){"use strict";
/*!
 * Copyright (C) 2017 Glayzzle (BSD3 License)
 * @authors https://github.com/glayzzle/php-parser/graphs/contributors
 * @url http://glayzzle.com
 */var r=n(3),i=r.extends(function(t,e){r.apply(this,["yieldfrom",e]),this.value=t});t.exports=i},function(t,e,n){"use strict";n.r(e);var r,i=function(){function t(t){this.langContent={},this.dirs=[],this.dirs=t}return t.prototype.initNamespace=function(t,e){null==this.langContent[t][e]&&(this.langContent[t][e]={})},t}(),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=n(20),a=n(5),u=n(6),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.execute=function(){var t=this;return this.dirs.forEach(function(e){var n=e.path,r=u.readdirSync(n).filter(function(t){return".json"===a.extname(t)});r.length&&r.forEach(function(r){var i=a.basename(r,".json"),s=JSON.parse(u.readFileSync(a.join(n,r)));void 0===t.langContent[i]&&(t.langContent[i]={}),s&&Object.keys(s).length&&(e.namespace?(t.initNamespace(i,e.namespace),o.assign(t.langContent[i][e.namespace],s)):o.assign(t.langContent[i],s))})}),this.langContent},e}(i),c=function(){function t(){}return t.LogError=function(t){console.log("LaravelTranslationsError: "+t)},t}(),f=n(6),l=n(27),p=function(){function t(t){this.dirs=[],this.dirs=t}return t.prototype.parse=function(){var t=this,e=[];return this.dirs.forEach(function(n){var r=t.getMatchedDirs(n);r.length&&(e=e.concat(t.makeParseDirObjects(r,t.isObject(n)?n:null)))}),e},t.prototype.hasSubDirs=function(t){for(var e=0,n=f.readdirSync(t);e<n.length;e++){var r=n[e];if(f.statSync(t+"/"+r).isDirectory())return!0}return!1},t.prototype.getMatchedDirs=function(t){return this.isObject(t)?l.sync(t.path):l.sync(t)},t.prototype.isObject=function(t){return"object"==typeof t},t.prototype.makeParseDirObjects=function(e,n){var r=this,i=[];return e.forEach(function(e){if(f.lstatSync(e).isDirectory()&&r.hasSubDirs(e)){var s={path:e};null!==n&&(s=t.setNamespace(s,n)),i.push(s)}}),i},t.setNamespace=function(e,n){return n.namespace?e.namespace=n.namespace:n.namespaceFromPath&&(t.checkHasTwoStarsInPath(e.path)?c.LogError("Namespace form path can't be generated for path with ** ("+e.path+")"):e.namespace=t.findNamespaceFromPath(e.path,n.namespaceFromPath)),e},t.checkHasTwoStarsInPath=function(t){return-1!==t.search(/(\*{2})/g)},t.findNamespaceFromPath=function(t,e){var n=t.split("/"),r=e.split("/").indexOf("[:namespace]");return-1===r?(c.LogError("Can't find [:namespace] in pattern "+e),null):n[r]},t}(),_=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=n(20),T=n(51),y=n(5),v=n(71),E=n(6),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return _(e,t),e.prototype.execute=function(){var t=this;return this.dirs.forEach(function(e){var n=e.path;E.readdirSync(n).filter(function(t){return E.statSync(y.join(n,t)).isDirectory()}).forEach(function(r){void 0===t.langContent[r]&&(t.langContent[r]={});var i=y.join(n,r),s=t.walkDir(i);s&&Object.keys(s).length&&(e.namespace?(t.initNamespace(r,e.namespace),d.assign(t.langContent[r][e.namespace],s)):d.assign(t.langContent[r],s))})}),this.langContent},e.prototype.walkDir=function(t){var n={};return T(t,{nodir:!0}).filter(function(t){return".php"===y.extname(t.path)}).forEach(function(r){n[y.basename(r.path,".php")]=e.proceedContent(E.readFileSync(y.join(t,y.basename(r.path)),"utf8"))}),n},e.proceedContent=function(t){return t=e.getArrayOnly(t),v.parse(t)},e.getArrayOnly=function(t){return t=(t=(t=t.substr(t.indexOf("return")+6)).replace(/(\/\*[^*]*\*\/)|(\/\/[^*]*)/g,"")).replace(/\?>\s*$/,"")},e}(i),m=function(){return(m=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},x=n(20),k=function(){function t(t){this.translationsPaths=[],this.options={dir:[],json:!1,php:!0},this.output={},this.options=m({},this.options,t)}return t.prototype.build=function(){return this.parseDirs(),this.options.php&&this.parsePHP(),this.options.json&&this.parseJSON(),this.options.parameters&&this.replaceParameters(),this.output},t.prototype.parseDirs=function(){var t=new p(this.options.dir);this.options.dir&&this.options.dir.length&&(this.translationsPaths=this.translationsPaths.concat(t.parse()))},t.prototype.parseJSON=function(){var t=new h(this.translationsPaths);x.assign(this.output,t.execute())},t.prototype.parsePHP=function(){var t=new g(this.translationsPaths);x.assign(this.output,t.execute())},t.prototype.replaceParameters=function(){this.output=JSON.parse(JSON.stringify(this.output).replace(/\:(\w+)/g,this.options.parameters))},t}();e.default=k}]).default});