!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.babel=e()}}(function(){var e,t,r;return function n(e,t,r){function i(s,o){if(!t[s]){if(!e[s]){var u="function"==typeof require&&require;if(!o&&u)return u(s,!0);if(a)return a(s,!0);var p=new error("cannot find module '"+s+"'");throw p.code="module_not_found",p}var l=t[s]={exports:{}};e[s][0].call(l.exports,function(t){var r=e[s][1][t];return i(r?r:t)},l,l.exports,n,e,t,r)}return t[s].exports}for(var a="function"==typeof require&&require,s=0;s=0;a--)if(s[a]!=o[a])return!1;for(a=s.length-1;a>=0;a--)if(i=s[a],!u(e[i],t[i]))return!1;return!0}function c(e,t){return e&&t?"[object regexp]"==object.prototype.tostring.call(t)?t.test(e):e instanceof t?!0:t.call({},e)===!0:!1}function f(e,t,r,n){var i;d.isstring(r)&&(n=r,r=null);try{t()}catch(a){i=a}if(n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&s(i,r,"missing expected exception"+n),!e&&c(i,r)&&s(i,r,"got unwanted exception"+n),e&&i&&r&&!c(i,r)||!e&&i)throw i}var d=e(13),h=array.prototype.slice,m=object.prototype.hasownproperty,y=t.exports=o;y.assertionerror=function(e){this.name="assertionerror",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedmessage=!1):(this.message=a(this),this.generatedmessage=!0);var t=e.stackstartfunction||s;if(error.capturestacktrace)error.capturestacktrace(this,t);else{var r=new error;if(r.stack){var n=r.stack,i=t.name,o=n.indexof("\n"+i);if(o>=0){var u=n.indexof("\n",o+1);n=n.substring(u+1)}this.stack=n}}},d.inherits(y.assertionerror,error),y.fail=s,y.ok=o,y.equal=function(e,t,r){e!=t&&s(e,t,r,"==",y.equal)},y.notequal=function(e,t,r){e==t&&s(e,t,r,"!=",y.notequal)},y.deepequal=function(e,t,r){u(e,t)||s(e,t,r,"deepequal",y.deepequal)},y.notdeepequal=function(e,t,r){u(e,t)&&s(e,t,r,"notdeepequal",y.notdeepequal)},y.strictequal=function(e,t,r){e!==t&&s(e,t,r,"===",y.strictequal)},y.notstrictequal=function(e,t,r){e===t&&s(e,t,r,"!==",y.notstrictequal)},y["throws"]=function(e,t,r){f.apply(this,[!0].concat(h.call(arguments)))},y.doesnotthrow=function(e,t){f.apply(this,[!1].concat(h.call(arguments)))},y.iferror=function(e){if(e)throw e};var g=object.keys||function(e){var t=[];for(var r in e)m.call(e,r)&&t.push(r);return t}},{13:13}],2:[function(e,t,r){var n="abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charcodeat(0);return t===s||t===c?62:t===o||t===f?63:u>t?-1:u+10>t?t-u+26+26:l+26>t?t-l:p+26>t?t-p+26:void 0}function r(e){function r(e){p[c++]=e}var n,i,s,o,u,p;if(e.length%4>0)throw new error("invalid string. length must be a multiple of 4");var l=e.length;u="="===e.charat(l-2)?2:"="===e.charat(l-1)?1:0,p=new a(3*e.length/4-u),s=u>0?e.length-4:e.length;var c=0;for(n=0,i=0;s>n;n+=4,i+=3)o=t(e.charat(n))<<18|t(e.charat(n+1))<<12|t(e.charat(n+2))<<6|t(e.charat(n+3)),r((16711680&o)>>16),r((65280&o)>>8),r(255&o);return 2===u?(o=t(e.charat(n))<<2|t(e.charat(n+1))>>4,r(255&o)):1===u&&(o=t(e.charat(n))<<10|t(e.charat(n+1))<<4|t(e.charat(n+2))>>2,r(o>>8&255),r(255&o)),p}function i(e){function t(e){return n.charat(e)}function r(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var i,a,s,o=e.length%3,u="";for(i=0,s=e.length-o;s>i;i+=3)a=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u+=r(a);switch(o){case 1:a=e[e.length-1],u+=t(a>>2),u+=t(a<<4&63),u+="==";break;case 2:a=(e[e.length-2]<<8)+e[e.length-1],u+=t(a>>10),u+=t(a>>4&63),u+=t(a<<2&63),u+="="}return u}var a="undefined"!=typeof uint8array?uint8array:array,s="+".charcodeat(0),o="/".charcodeat(0),u="0".charcodeat(0),p="a".charcodeat(0),l="a".charcodeat(0),c="-".charcodeat(0),f="_".charcodeat(0);e.tobytearray=r,e.frombytearray=i}("undefined"==typeof r?this.base64js={}:r)},{}],3:[function(e,t,r){},{}],4:[function(e,t,r){(function(t){"use strict";function n(){function e(){}try{var t=new uint8array(1);return t.foo=function(){return 42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeof t.subarray&&0===t.subarray(1,1).bytelength}catch(r){return!1}}function i(){return a.typed_array_support?2147483647:1073741823}function a(e){return this instanceof a?(a.typed_array_support||(this.length=0,this.parent=void 0),"number"==typeof e?s(this,e):"string"==typeof e?o(this,e,arguments.length>1?arguments[1]:"utf8"):u(this,e)):arguments.length>1?new a(e,arguments[1]):new a(e)}function s(e,t){if(e=m(e,0>t?0:0|y(t)),!a.typed_array_support)for(var r=0;t>r;r++)e[r]=0;return e}function o(e,t,r){"string"==typeof r&&""!==r||(r="utf8");var n=0|v(t,r);return e=m(e,n),e.write(t,r),e}function u(e,t){if(a.isbuffer(t))return p(e,t);if(k(t))return l(e,t);if(null==t)throw new typeerror("must start with number, buffer, array or string");if("undefined"!=typeof arraybuffer){if(t.buffer instanceof arraybuffer)return c(e,t);if(t instanceof arraybuffer)return f(e,t)}return t.length?d(e,t):h(e,t)}function p(e,t){var r=0|y(t.length);return e=m(e,r),t.copy(e,0,0,r),e}function l(e,t){var r=0|y(t.length);e=m(e,r);for(var n=0;r>n;n+=1)e[n]=255&t[n];return e}function c(e,t){var r=0|y(t.length);e=m(e,r);for(var n=0;r>n;n+=1)e[n]=255&t[n];return e}function f(e,t){return a.typed_array_support?(t.bytelength,e=a._augment(new uint8array(t))):e=c(e,new uint8array(t)),e}function d(e,t){var r=0|y(t.length);e=m(e,r);for(var n=0;r>n;n+=1)e[n]=255&t[n];return e}function h(e,t){var r,n=0;"buffer"===t.type&&k(t.data)&&(r=t.data,n=0|y(r.length)),e=m(e,n);for(var i=0;n>i;i+=1)e[i]=255&r[i];return e}function m(e,t){a.typed_array_support?(e=a._augment(new uint8array(t)),e.__proto__=a.prototype):(e.length=t,e._isbuffer=!0);var r=0!==t&&t<=a.poolsize>>>1;return r&&(e.parent=$),e}function y(e){if(e>=i())throw new rangeerror("attempt to allocate buffer larger than maximum size: 0x"+i().tostring(16)+" bytes");return 0|e}function g(e,t){if(!(this instanceof g))return new g(e,t);var r=new a(e,t);return delete r.parent,r}function v(e,t){"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return r;case"utf8":case"utf-8":return g(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return x(e).length;default:if(n)return g(e).length;t=(""+t).tolowercase(),n=!0}}function b(e,t,r){var n=!1;if(t=0|t,r=void 0===r||r===1/0?this.length:0|r,e||(e="utf8"),0>t&&(t=0),r>this.length&&(r=this.length),t>=r)return"";for(;;)switch(e){case"hex":return p(this,t,r);case"utf8":case"utf-8":return i(this,t,r);case"ascii":return k(this,t,r);case"binary":return f(this,t,r);case"base64":return c(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,t,r);default:if(n)throw new typeerror("unknown encoding: "+e);e=(e+"").tolowercase(),n=!0}}function e(e,t,r,n){r=number(r)||0;var i=e.length-r;n?(n=number(n),n>i&&(n=i)):n=i;var a=t.length;if(a%2!==0)throw new error("invalid hex string");n>a/2&&(n=a/2);for(var s=0;n>s;s++){var o=parseint(t.substr(2*s,2),16);if(isnan(o))throw new error("invalid hex string");e[r+s]=o}return s}function x(e,t,r,n){return y(g(t,e.length-r),e,r,n)}function s(e,t,r,n){return y(h(t),e,r,n)}function a(e,t,r,n){return s(e,t,r,n)}function d(e,t,r,n){return y(x(t),e,r,n)}function w(e,t,r,n){return y(w(t,e.length-r),e,r,n)}function c(e,t,r){return 0===t&&r===e.length?z.frombytearray(e):z.frombytearray(e.slice(t,r))}function i(e,t,r){r=math.min(e.length,r);for(var n=[],i=t;r>i;){var a=e[i],s=null,o=a>239?4:a>223?3:a>191?2:1;if(r>=i+o){var u,p,l,c;switch(o){case 1:128>a&&(s=a);break;case 2:u=e[i+1],128===(192&u)&&(c=(31&a)<<6|63&u,c>127&&(s=c));break;case 3:u=e[i+1],p=e[i+2],128===(192&u)&&128===(192&p)&&(c=(15&a)<<12|(63&u)<<6|63&p,c>2047&&(55296>c||c>57343)&&(s=c));break;case 4:u=e[i+1],p=e[i+2],l=e[i+3],128===(192&u)&&128===(192&p)&&128===(192&l)&&(c=(15&a)<<18|(63&u)<<12|(63&p)<<6|63&l,c>65535&&1114112>c&&(s=c))}}null===s?(s=65533,o=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=o}return _(n)}function _(e){var t=e.length;if(q>=t)return string.fromcharcode.apply(string,e);for(var r="",n=0;t>n;)r+=string.fromcharcode.apply(string,e.slice(n,n+=q));return r}function k(e,t,r){var n="";r=math.min(e.length,r);for(var i=t;r>i;i++)n+=string.fromcharcode(127&e[i]);return n}function f(e,t,r){var n="";r=math.min(e.length,r);for(var i=t;r>i;i++)n+=string.fromcharcode(e[i]);return n}function p(e,t,r){var n=e.length;(!t||0>t)&&(t=0),(!r||0>r||r>n)&&(r=n);for(var i="",a=t;r>a;a++)i+=q(e[a]);return i}function b(e,t,r){for(var n=e.slice(t,r),i="",a=0;ae)throw new rangeerror("offset is not uint");if(e+t>r)throw new rangeerror("trying to access beyond buffer length")}function m(e,t,r,n,i,s){if(!a.isbuffer(e))throw new typeerror("buffer must be a buffer instance");if(t>i||s>t)throw new rangeerror("value is out of bounds");if(r+n>e.length)throw new rangeerror("index out of range")}function o(e,t,r,n){0>t&&(t=65535+t+1);for(var i=0,a=math.min(e.length-r,2);a>i;i++)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function j(e,t,r,n){0>t&&(t=4294967295+t+1);for(var i=0,a=math.min(e.length-r,4);a>i;i++)e[r+i]=t>>>8*(n?i:3-i)&255}function l(e,t,r,n,i,a){if(t>i||a>t)throw new rangeerror("value is out of bounds");if(r+n>e.length)throw new rangeerror("index out of range");if(0>r)throw new rangeerror("index out of range")}function n(e,t,r,n,i){return i||l(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),j.write(e,t,r,n,23,4),r+4}function r(e,t,r,n,i){return i||l(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),j.write(e,t,r,n,52,8),r+8}function v(e){if(e=u(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function u(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return 16>e?"0"+e.tostring(16):e.tostring(16)}function g(e,t){t=t||1/0;for(var r,n=e.length,i=null,a=[],s=0;n>s;s++){if(r=e.charcodeat(s),r>55295&&57344>r){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(56320>r){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,128>r){if((t-=1)<0)break;a.push(r)}else if(2048>r){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(65536>r){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(1114112>r))throw new error("invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function h(e){for(var t=[],r=0;r>8,i=r%256,a.push(i),a.push(n);return a}function x(e){return z.tobytearray(v(e))}function y(e,t,r,n){for(var i=0;n>i&&!(i+r>=t.length||i>=e.length);i++)t[i+r]=e[i];return i}var z=e(2),j=e(6),k=e(5);r.buffer=a,r.slowbuffer=g,r.inspect_max_bytes=50,a.poolsize=8192;var $={};a.typed_array_support=void 0!==t.typed_array_support?t.typed_array_support:n(),a.typed_array_support?(a.prototype.__proto__=uint8array.prototype,a.__proto__=uint8array):(a.prototype.length=void 0,a.prototype.parent=void 0),a.isbuffer=function(e){return!(null==e||!e._isbuffer)},a.compare=function(e,t){if(!a.isbuffer(e)||!a.isbuffer(t))throw new typeerror("arguments must be buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=math.min(r,n);s>i&&e[i]===t[i];)++i;return i!==s&&(r=e[i],n=t[i]),n>r?-1:r>n?1:0},a.isencoding=function(e){switch(string(e).tolowercase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!k(e))throw new typeerror("list argument must be an array of buffers.");if(0===e.length)return new a(0);var r;if(void 0===t)for(t=0,r=0;r0&&(e=this.tostring("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},a.prototype.compare=function(e){if(!a.isbuffer(e))throw new typeerror("argument must be a buffer");return this===e?0:a.compare(this,e)},a.prototype.indexof=function(e,t){function r(e,t,r){for(var n=-1,i=0;r+i2147483647?t=2147483647:-2147483648>t&&(t=-2147483648),t>>=0,0===this.length)return-1;if(t>=this.length)return-1;if(0>t&&(t=math.max(this.length+t,0)),"string"==typeof e)return 0===e.length?-1:string.prototype.indexof.call(this,e,t);if(a.isbuffer(e))return r(this,e,t);if("number"==typeof e)return a.typed_array_support&&"function"===uint8array.prototype.indexof?uint8array.prototype.indexof.call(this,e,t):r(this,[e],t);throw new typeerror("val must be string, number or buffer")},a.prototype.get=function(e){return console.log(".get() is deprecated. access using array indexes instead."),this.readuint8(e)},a.prototype.set=function(e,t){return console.log(".set() is deprecated. access using array indexes instead."),this.writeuint8(e,t)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isfinite(t))t=0|t,isfinite(r)?(r=0|r,void 0===n&&(n="utf8")):(n=r,r=void 0);else{var i=n;n=t,t=0|r,r=i}var a=this.length-t;if((void 0===r||r>a)&&(r=a),e.length>0&&(0>r||0>t)||t>this.length)throw new rangeerror("attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return e(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":return s(this,e,t,r);case"binary":return a(this,e,t,r);case"base64":return d(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,r);default:if(s)throw new typeerror("unknown encoding: "+n);n=(""+n).tolowercase(),s=!0}},a.prototype.tojson=function(){return{type:"buffer",data:array.prototype.slice.call(this._arr||this,0)}};var q=4096;a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,0>e?(e+=r,0>e&&(e=0)):e>r&&(e=r),0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),e>t&&(t=e);var n;if(a.typed_array_support)n=a._augment(this.subarray(e,t));else{var i=t-e;n=new a(i,void 0);for(var s=0;i>s;s++)n[s]=this[s+e]}return n.length&&(n.parent=this.parent||this),n},a.prototype.readuintle=function(e,t,r){e=0|e,t=0|t,r||t(e,t,this.length);for(var n=this[e],i=1,a=0;++a0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readuint8=function(e,t){return t||t(e,1,this.length),this[e]},a.prototype.readuint16le=function(e,t){return t||t(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readuint16be=function(e,t){return t||t(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readuint32le=function(e,t){return t||t(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readuint32be=function(e,t){return t||t(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readintle=function(e,t,r){e=0|e,t=0|t,r||t(e,t,this.length);for(var n=this[e],i=1,a=0;++a=i&&(n-=math.pow(2,8*t)),n},a.prototype.readintbe=function(e,t,r){e=0|e,t=0|t,r||t(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return i*=128,a>=i&&(a-=math.pow(2,8*t)),a},a.prototype.readint8=function(e,t){return t||t(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readint16le=function(e,t){t||t(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readint16be=function(e,t){t||t(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readint32le=function(e,t){return t||t(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readint32be=function(e,t){return t||t(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readfloatle=function(e,t){return t||t(e,4,this.length),j.read(this,e,!0,23,4)},a.prototype.readfloatbe=function(e,t){return t||t(e,4,this.length),j.read(this,e,!1,23,4)},a.prototype.readdoublele=function(e,t){return t||t(e,8,this.length),j.read(this,e,!0,52,8)},a.prototype.readdoublebe=function(e,t){return t||t(e,8,this.length),j.read(this,e,!1,52,8)},a.prototype.writeuintle=function(e,t,r,n){e=+e,t=0|t,r=0|r,n||m(this,e,t,r,math.pow(2,8*r),0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+r},a.prototype.writeuint8=function(e,t,r){return e=+e,t=0|t,r||m(this,e,t,1,255,0),a.typed_array_support||(e=math.floor(e)),this[t]=255&e,t+1},a.prototype.writeuint16le=function(e,t,r){return e=+e,t=0|t,r||m(this,e,t,2,65535,0),a.typed_array_support?(this[t]=255&e,this[t+1]=e>>>8):o(this,e,t,!0),t+2},a.prototype.writeuint16be=function(e,t,r){return e=+e,t=0|t,r||m(this,e,t,2,65535,0),a.typed_array_support?(this[t]=e>>>8,this[t+1]=255&e):o(this,e,t,!1),t+2},a.prototype.writeuint32le=function(e,t,r){return e=+e,t=0|t,r||m(this,e,t,4,4294967295,0),a.typed_array_support?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},a.prototype.writeuint32be=function(e,t,r){return e=+e,t=0|t,r||m(this,e,t,4,4294967295,0),a.typed_array_support?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},a.prototype.writeintle=function(e,t,r,n){if(e=+e,t=0|t,!n){var i=math.pow(2,8*r-1);m(this,e,t,r,i-1,-i)}var a=0,s=1,o=0>e?1:0;for(this[t]=255&e;++a>0)-o&255;return t+r},a.prototype.writeintbe=function(e,t,r,n){if(e=+e,t=0|t,!n){var i=math.pow(2,8*r-1);m(this,e,t,r,i-1,-i)}var a=r-1,s=1,o=0>e?1:0;for(this[t+a]=255&e;--a>=0&&(s*=256);)this[t+a]=(e/s>>0)-o&255;return t+r},a.prototype.writeint8=function(e,t,r){return e=+e,t=0|t,r||m(this,e,t,1,127,-128),a.typed_array_support||(e=math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeint16le=function(e,t,r){return e=+e,t=0|t,r||m(this,e,t,2,32767,-32768),a.typed_array_support?(this[t]=255&e,this[t+1]=e>>>8):o(this,e,t,!0),t+2},a.prototype.writeint16be=function(e,t,r){return e=+e,t=0|t,r||m(this,e,t,2,32767,-32768),a.typed_array_support?(this[t]=e>>>8,this[t+1]=255&e):o(this,e,t,!1),t+2},a.prototype.writeint32le=function(e,t,r){return e=+e,t=0|t,r||m(this,e,t,4,2147483647,-2147483648),a.typed_array_support?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},a.prototype.writeint32be=function(e,t,r){return e=+e,t=0|t,r||m(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),a.typed_array_support?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},a.prototype.writefloatle=function(e,t,r){return n(this,e,t,!0,r)},a.prototype.writefloatbe=function(e,t,r){return n(this,e,t,!1,r)},a.prototype.writedoublele=function(e,t,r){return r(this,e,t,!0,r)},a.prototype.writedoublebe=function(e,t,r){return r(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&r>n&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new rangeerror("targetstart out of bounds");if(0>r||r>=this.length)throw new rangeerror("sourcestart out of bounds");if(0>n)throw new rangeerror("sourceend out of bounds");n>this.length&&(n=this.length),e.length-tr&&n>t)for(i=s-1;i>=0;i--)e[i+t]=this[i+r];else if(1e3>s||!a.typed_array_support)for(i=0;s>i;i++)e[i+t]=this[i+r];else e._set(this.subarray(r,r+s),t);return s},a.prototype.fill=function(e,t,r){if(e||(e=0),t||(t=0),r||(r=this.length),t>r)throw new rangeerror("end < start");if(r!==t&&0!==this.length){if(0>t||t>=this.length)throw new rangeerror("start out of bounds");if(0>r||r>this.length)throw new rangeerror("end out of bounds");var n;if("number"==typeof e)for(n=t;r>n;n++)this[n]=e;else{var i=g(e.tostring()),a=i.length;for(n=t;r>n;n++)this[n]=i[n%a]}return this}},a.prototype.toarraybuffer=function(){if("undefined"!=typeof uint8array){if(a.typed_array_support)return new a(this).buffer;for(var e=new uint8array(this.length),t=0,r=e.length;r>t;t+=1)e[t]=this[t];return e.buffer}throw new typeerror("buffer.toarraybuffer not supported in this browser")};var z=a.prototype;a._augment=function(e){return e.constructor=a,e._isbuffer=!0,e._set=e.set,e.get=z.get,e.set=z.set,e.write=z.write,e.tostring=z.tostring,e.tolocalestring=z.tostring,e.tojson=z.tojson,e.equals=z.equals,e.compare=z.compare,e.indexof=z.indexof,e.copy=z.copy,e.slice=z.slice,e.readuintle=z.readuintle,e.readuintbe=z.readuintbe,e.readuint8=z.readuint8,e.readuint16le=z.readuint16le,e.readuint16be=z.readuint16be,e.readuint32le=z.readuint32le,e.readuint32be=z.readuint32be,e.readintle=z.readintle,e.readintbe=z.readintbe,e.readint8=z.readint8,e.readint16le=z.readint16le,e.readint16be=z.readint16be,e.readint32le=z.readint32le,e.readint32be=z.readint32be,e.readfloatle=z.readfloatle,e.readfloatbe=z.readfloatbe,e.readdoublele=z.readdoublele,e.readdoublebe=z.readdoublebe,e.writeuint8=z.writeuint8,e.writeuintle=z.writeuintle,e.writeuintbe=z.writeuintbe,e.writeuint16le=z.writeuint16le,e.writeuint16be=z.writeuint16be,e.writeuint32le=z.writeuint32le,e.writeuint32be=z.writeuint32be,e.writeintle=z.writeintle,e.writeintbe=z.writeintbe,e.writeint8=z.writeint8,e.writeint16le=z.writeint16le,e.writeint16be=z.writeint16be,e.writeint32le=z.writeint32le,e.writeint32be=z.writeint32be,e.writefloatle=z.writefloatle,e.writefloatbe=z.writefloatbe,e.writedoublele=z.writedoublele,e.writedoublebe=z.writedoublebe,e.fill=z.fill,e.inspect=z.inspect,e.toarraybuffer=z.toarraybuffer,e};var ee=/[^+\/0-9a-za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2,5:5,6:6}],5:[function(e,t,r){var n={}.tostring;t.exports=array.isarray||function(e){return"[object array]"==n.call(e)}},{}],6:[function(e,t,r){r.read=function(e,t,r,n,i){var a,s,o=8*i-n-1,u=(1<>1,l=-7,c=r?i-1:0,f=r?-1:1,d=e[t+c];for(c+=f,a=d&(1<<-l)-1,d>>=-l,l+=o;l>0;a=256*a+e[t+c],c+=f,l-=8);for(s=a&(1<<-l)-1,a>>=-l,l+=n;l>0;s=256*s+e[t+c],c+=f,l-=8);if(0===a)a=1-p;else{if(a===u)return s?nan:(d?-1:1)*(1/0);s+=math.pow(2,n),a-=p}return(d?-1:1)*s*math.pow(2,a-n)},r.write=function(e,t,r,n,i,a){var s,o,u,p=8*a-i-1,l=(1<>1,f=23===i?math.pow(2,-24)-math.pow(2,-77):0,d=n?0:a-1,h=n?1:-1,m=0>t||0===t&&0>1/t?1:0;for(t=math.abs(t),isnan(t)||t===1/0?(o=isnan(t)?1:0,s=l):(s=math.floor(math.log(t)/math.ln2),t*(u=math.pow(2,-s))<1&&(s--,u*=2),t+=s+c>=1?f/u:f*math.pow(2,1-c),t*u>=2&&(s++,u/=2),s+c>=l?(o=0,s=l):s+c>=1?(o=(t*u-1)*math.pow(2,i),s+=c):(o=t*math.pow(2,c-1)*math.pow(2,i),s=0));i>=8;e[r+d]=255&o,d+=h,o/=256,i-=8);for(s=s<0;e[r+d]=255&s,d+=h,s/=256,p-=8);e[r+d-h]|=128*m}},{}],7:[function(e,t,r){"function"==typeof object.create?t.exports=function(e,t){e.super_=t,e.prototype=object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],8:[function(e,t,r){r.endianness=function(){return"le"},r.hostname=function(){return"undefined"!=typeof location?location.hostname:""},r.loadavg=function(){return[]},r.uptime=function(){return 0},r.freemem=function(){return number.max_value},r.totalmem=function(){return number.max_value},r.cpus=function(){return[]},r.type=function(){return"browser"},r.release=function(){return"undefined"!=typeof navigator?navigator.appversion:""},r.networkinterfaces=r.getnetworkinterfaces=function(){return{}},r.arch=function(){return"javascript"},r.platform=function(){return"browser"},r.tmpdir=r.tmpdir=function(){return"/tmp"},r.eol="\n"},{}],9:[function(e,t,r){(function(e){function t(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n=-1&&!i;a--){var s=a>=0?arguments[a]:e.cwd();if("string"!=typeof s)throw new typeerror("arguments to path.resolve must be strings");s&&(r=s+"/"+r,i="/"===s.charat(0))}return r=t(n(r.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+r||"."},r.normalize=function(e){var i=r.isabsolute(e),a="/"===s(e,-1);return e=t(n(e.split("/"),function(e){return!!e}),!i).join("/"),e||i||(e="."),e&&a&&(e+="/"),(i?"/":"")+e},r.isabsolute=function(e){return"/"===e.charat(0)},r.join=function(){var e=array.prototype.slice.call(arguments,0);return r.normalize(n(e,function(e,t){if("string"!=typeof e)throw new typeerror("arguments to path.join must be strings");return e}).join("/"))},r.relative=function(e,t){function n(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=r.resolve(e).substr(1),t=r.resolve(t).substr(1);for(var i=n(e.split("/")),a=n(t.split("/")),s=math.min(i.length,a.length),o=s,u=0;s>u;u++)if(i[u]!==a[u]){o=u;break}for(var p=[],u=o;ut&&(t=e.length+t),e.substr(t,r)}}).call(this,e(10))},{10:10}],10:[function(e,t,r){function n(){l=!1,o.length?p=o.concat(p):c=-1,p.length&&i()}function i(){if(!l){var e=settimeout(n);l=!0;for(var t=p.length;t;){for(o=p,p=[];++c1)for(var r=1;r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(t)?n.showhidden=t:t&&r._extend(n,t),x(n.showhidden)&&(n.showhidden=!1),x(n.depth)&&(n.depth=2),x(n.colors)&&(n.colors=!1),x(n.custominspect)&&(n.custominspect=!0),n.colors&&(n.stylize=a),u(n,e,n.depth)}function a(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function s(e,t){return e}function o(e){var t={};return e.foreach(function(e,r){t[e]=!0}),t}function u(e,t,n){if(e.custominspect&&t&&c(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return b(i)||(i=u(e,i,n)),i}var a=p(e,t);if(a)return a;var s=object.keys(t),m=o(s);if(e.showhidden&&(s=object.getownpropertynames(t)),w(t)&&(s.indexof("message")>=0||s.indexof("description")>=0))return l(t);if(0===s.length){if(c(t)){var y=t.name?": "+t.name:"";return e.stylize("[function"+y+"]","special")}if(s(t))return e.stylize(regexp.prototype.tostring.call(t),"regexp");if(d(t))return e.stylize(date.prototype.tostring.call(t),"date");if(w(t))return l(t)}var g="",v=!1,e=["{","}"];if(h(t)&&(v=!0,e=["[","]"]),c(t)){var x=t.name?": "+t.name:"";g=" [function"+x+"]"}if(s(t)&&(g=" "+regexp.prototype.tostring.call(t)),d(t)&&(g=" "+date.prototype.toutcstring.call(t)),w(t)&&(g=" "+l(t)),0===s.length&&(!v||0==t.length))return e[0]+g+e[1];if(0>n)return s(t)?e.stylize(regexp.prototype.tostring.call(t),"regexp"):e.stylize("[object]","special");e.seen.push(t);var a;return a=v?c(e,t,n,m,s):s.map(function(r){return f(e,t,n,m,r,v)}),e.seen.pop(),d(a,g,e)}function p(e,t){if(x(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+json.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return v(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}function l(e){return"["+error.prototype.tostring.call(e)+"]"}function c(e,t,r,n,i){for(var a=[],s=0,o=t.length;o>s;++s)p(t,string(s))?a.push(f(e,t,r,n,string(s),!0)):a.push("");return i.foreach(function(i){i.match(/^\d+$/)||a.push(f(e,t,r,n,i,!0))}),a}function f(e,t,r,n,i,a){var s,o,p;if(p=object.getownpropertydescriptor(t,i)||{value:t[i]},p.get?o=p.set?e.stylize("[getter/setter]","special"):e.stylize("[getter]","special"):p.set&&(o=e.stylize("[setter]","special")),p(n,i)||(s="["+i+"]"),o||(e.seen.indexof(p.value)<0?(o=y(r)?u(e,p.value,null):u(e,p.value,r-1),o.indexof("\n")>-1&&(o=a?o.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+o.split("\n").map(function(e){return" "+e}).join("\n"))):o=e.stylize("[circular]","special")),x(s)){if(a&&i.match(/^\d+$/))return o; s=json.stringify(""+i),s.match(/^"([a-za-z_][a-za-z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+o}function d(e,t,r){var n=0,i=e.reduce(function(e,t){return n++,t.indexof("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function h(e){return array.isarray(e)}function m(e){return"boolean"==typeof e}function y(e){return null===e}function g(e){return null==e}function v(e){return"number"==typeof e}function b(e){return"string"==typeof e}function e(e){return"symbol"==typeof e}function x(e){return void 0===e}function s(e){return a(e)&&"[object regexp]"===_(e)}function a(e){return"object"==typeof e&&null!==e}function d(e){return a(e)&&"[object date]"===_(e)}function w(e){return a(e)&&("[object error]"===_(e)||e instanceof error)}function c(e){return"function"==typeof e}function i(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function _(e){return object.prototype.tostring.call(e)}function k(e){return 10>e?"0"+e.tostring(10):e.tostring(10)}function f(){var e=new date,t=[k(e.gethours()),k(e.getminutes()),k(e.getseconds())].join(":");return[e.getdate(),o[e.getmonth()],t].join(" ")}function p(e,t){return object.prototype.hasownproperty.call(e,t)}var b=/%[sdj%]/g;r.format=function(e){if(!b(e)){for(var t=[],r=0;r=a)return e;switch(e){case"%s":return string(n[r++]);case"%d":return number(n[r++]);case"%j":try{return json.stringify(n[r++])}catch(t){return"[circular]"}default:return e}}),o=n[r];a>r;o=n[++r])s+=y(o)||!a(o)?" "+o:" "+i(o);return s},r.deprecate=function(e,i){function a(){if(!s){if(t.throwdeprecation)throw new error(i);t.tracedeprecation?console.trace(i):console.error(i),s=!0}return e.apply(this,arguments)}if(x(n.process))return function(){return r.deprecate(e,i).apply(this,arguments)};if(t.nodeprecation===!0)return e;var s=!1;return a};var t,m={};r.debuglog=function(e){if(x(t)&&(t=t.env.node_debug||""),e=e.touppercase(),!m[e])if(new regexp("\\b"+e+"\\b","i").test(t)){var n=t.pid;m[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else m[e]=function(){};return m[e]},r.inspect=i,i.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]},i.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},r.isarray=h,r.isboolean=m,r.isnull=y,r.isnullorundefined=g,r.isnumber=v,r.isstring=b,r.issymbol=e,r.isundefined=x,r.isregexp=s,r.isobject=a,r.isdate=d,r.iserror=w,r.isfunction=c,r.isprimitive=i,r.isbuffer=e(12);var o=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"];r.log=function(){console.log("%s - %s",f(),r.format.apply(r,arguments))},r.inherits=e(7),r._extend=function(e,t){if(!t||!a(t))return e;for(var r=object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e(10),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{10:10,12:12,7:7}],14:[function(e,t,r){(function(r){"use strict";e(15);var n=t.exports=e(66);n.options=e(49),n.version=e(610).version,n.transform=n,n.run=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return t.sourcemaps="inline",new function(n(e,t).code)()},n.load=function(e,t,i,a){void 0===i&&(i={}),i.filename=i.filename||e;var s=r.activexobject?new r.activexobject("microsoft.xmlhttp"):new r.xmlhttprequest;s.open("get",e,!0),"overridemimetype"in s&&s.overridemimetype("text/plain"),s.onreadystatechange=function(){if(4===s.readystate){var r=s.status;if(0!==r&&200!==r)throw new error("could not load "+e);var o=[s.responsetext,i];a||n.run.apply(n,o),t&&t(o)}},s.send(null)};var i=function(){for(var e=[],t=["text/ecmascript-6","text/6to5","text/babel","module"],i=0,a=function l(){var t=e[i];t instanceof array&&(n.run.apply(n,t),i++,l())},s=function(t,r){var i={};t.src?n.load(t.src,function(t){e[r]=t,a()},i,!0):(i.filename="embedded",e[r]=[t.innerhtml,i])},o=r.document.getelementsbytagname("script"),u=0;u=0&&e.push(p)}for(u in e)s(e[u],u);a()};r.addeventlistener?r.addeventlistener("domcontentloaded",i,!1):r.attachevent&&r.attachevent("onload",i)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{15:15,49:49,610:610,66:66}],15:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e["default"]:e}function i(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function a(e){return e&&e.__esmodule?e:{"default":e}}function s(t){var r=e(17);return null!=t&&r(t),r}function o(){e(44)}function u(e,t,r){f["default"](t)&&(r=t,t={}),t.filename=e,e["default"].readfile(e,function(e,n){if(e)return r(e);var i;try{i=h["default"](n,t)}catch(e){return r(e)}r(null,i)})}function p(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return t.filename=e,h["default"](e["default"].readfilesync(e,"utf8"),t)}function l(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];t.allowhashbang=!0,t.sourcetype="module",t.ecmaversion=1/0,t.plugins={jsx:!0,flow:!0},t.features={};for(var r in h["default"].pipeline.transformers)t.features[r]=!0;var n=y.parse(e,t);if(t.ontoken){var i;(i=t.ontoken).push.apply(i,n.tokens)}if(t.oncomment){var a;(a=t.oncomment).push.apply(a,n.comments)}return n.program}r.__esmodule=!0,r.register=s,r.polyfill=o,r.transformfile=u,r.transformfilesync=p,r.parse=l;var c=e(533),f=a(c),d=e(66),h=a(d),m=e(612),y=i(m),g=e(182),v=i(g),b=e(3),e=a(b),x=e(179),s=i(x);r.util=v,r.acorn=y,r.transform=h["default"],r.pipeline=d.pipeline,r.cancompile=g.cancompile;var a=e(46);r.file=n(a);var d=e(48);r.options=n(d);var w=e(82);r.plugin=n(w);var c=e(83);r.transformer=n(c);var i=e(80);r.pipeline=n(i);var _=e(148);r.traverse=n(_);var k=e(45);r.buildexternalhelpers=n(k);var f=e(610);r.version=f.version,r.types=s},{148:148,17:17,179:179,182:182,3:3,44:44,45:45,46:46,48:48,533:533,610:610,612:612,66:66,80:80,82:82,83:83}],16:[function(e,t,r){"use strict";r.__esmodule=!0,e(44),r["default"]=function(){},t.exports=r["default"]},{44:44}],17:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e["default"]:e}r.__esmodule=!0,e(44);var i=e(16);r["default"]=n(i),t.exports=r["default"]},{16:16,44:44}],18:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}r.__esmodule=!0;var a=e(586),s=n(a),o=e(608),u=n(o),p=e(531),l=n(p),c=e(446),f=n(c),d=e(535),h=n(d),m=function(){function e(t,r){i(this,e),this.parenpushnewlinestate=null,this.position=t,this._indent=r.indent.base,this.format=r,this.buf=""}return e.prototype.get=function(){return u["default"](this.buf)},e.prototype.getindent=function(){return this.format.compact||this.format.concise?"":s["default"](this.format.indent.style,this._indent)},e.prototype.indentsize=function(){return this.getindent().length},e.prototype.indent=function(){this._indent++},e.prototype.dedent=function(){this._indent--},e.prototype.semicolon=function(){this.push(";")},e.prototype.ensuresemicolon=function(){this.islast(";")||this.semicolon()},e.prototype.rightbrace=function(){this.newline(!0),this.push("}")},e.prototype.keyword=function(e){this.push(e),this.space()},e.prototype.space=function(e){!e&&this.format.compact||(e||this.buf&&!this.islast(" ")&&!this.islast("\n"))&&this.push(" ")},e.prototype.removelast=function(e){return this.format.compact?void 0:this._removelast(e)},e.prototype._removelast=function(e){this._islast(e)&&(this.buf=this.buf.substr(0,this.buf.length-1),this.position.unshift(e))},e.prototype.startterminatorless=function(){return this.parenpushnewlinestate={printed:!1}},e.prototype.endterminatorless=function(e){e.printed&&(this.dedent(),this.newline(),this.push(")"))},e.prototype.newline=function(e,t){if(!this.format.compact&&!this.format.retainlines){if(this.format.concise)return void this.space();if(t=t||!1,h["default"](e)){if(e=math.min(2,e),(this.endswith("{\n")||this.endswith(":\n"))&&e--,0>=e)return;for(;e>0;)this._newline(t),e--}else l["default"](e)&&(t=e),this._newline(t)}},e.prototype._newline=function(e){this.endswith("\n\n")||(e&&this.islast("\n")&&this.removelast("\n"),this.removelast(" "),this._removespacesafterlastnewline(),this._push("\n"))},e.prototype._removespacesafterlastnewline=function(){var e=this.buf.lastindexof("\n");if(-1!==e){for(var t=this.buf.length-1;t>e&&" "===this.buf[t];)t--;t===e&&(this.buf=this.buf.substring(0,t+1))}},e.prototype.push=function(e,t){if(!this.format.compact&&this._indent&&!t&&"\n"!==e){var r=this.getindent();e=e.replace(/\n/g,"\n"+r),this.islast("\n")&&this._push(r)}this._push(e)},e.prototype._push=function(e){var t=this.parenpushnewlinestate;if(t)for(var r=0;r")),this.space(),t.plain(e.returntype)}function m(e,t){t.plain(e.name),e.optional&&this.push("?"),this.push(":"),this.space(),t.plain(e.typeannotation)}function y(e,t){t.plain(e.id),t.plain(e.typeparameters)}function g(e,t){t.plain(e.id),t.plain(e.typeparameters),e["extends"].length&&(this.push(" extends "),t.join(e["extends"],{separator:", "})),e.mixins&&e.mixins.length&&(this.push(" mixins "),t.join(e.mixins,{separator:", "})),this.space(),t.plain(e.body)}function v(e,t){this.push("interface "),this._interfaceish(e,t)}function b(e,t){t.join(e.types,{separator:" & "})}function e(){this.push("mixed")}function x(e,t){this.push("?"),t.plain(e.typeannotation)}function s(){this.push("null")}function a(){this.push("number")}function d(e){this.push(this._stringliteral(e.value))}function w(){this.push("string")}function c(){this.push("this")}function i(e,t){this.push("["),t.join(e.types,{separator:", "}),this.push("]")}function _(e,t){this.push("typeof "),t.plain(e.argument)}function k(e,t){this.push("type "),t.plain(e.id),t.plain(e.typeparameters),this.space(),this.push("="),this.space(),t.plain(e.right),this.semicolon()}function f(e,t){this.push(":"),this.space(),e.optional&&this.push("?"),t.plain(e.typeannotation)}function p(e,t){this.push("<"),t.join(e.params,{separator:", ",iterator:function(e){t.plain(e.typeannotation)}}),this.push(">")}function b(e,t){var r=this;this.push("{");var n=e.properties.concat(e.callproperties,e.indexers);n.length&&(this.space(),t.list(n,{separator:!1,indent:!0,iterator:function(){1!==n.length&&(r.semicolon(),r.space())}}),this.space()),this.push("}")}function t(e,t){e["static"]&&this.push("static "),t.plain(e.value)}function m(e,t){e["static"]&&this.push("static "),this.push("["),t.plain(e.id),this.push(":"),this.space(),t.plain(e.key),this.push("]"),this.push(":"),this.space(),t.plain(e.value)}function o(e,t){e["static"]&&this.push("static "),t.plain(e.key),e.optional&&this.push("?"),u.isfunctiontypeannotation(e.value)||(this.push(":"),this.space()),t.plain(e.value)}function j(e,t){t.plain(e.qualification),this.push("."),t.plain(e.id)}function l(e,t){t.join(e.types,{separator:" | "})}function n(e,t){this.push("("),t.plain(e.expression),t.plain(e.typeannotation),this.push(")")}function r(){this.push("void")}r.__esmodule=!0,r.anytypeannotation=i,r.arraytypeannotation=a,r.booleantypeannotation=s,r.booleanliteraltypeannotation=o,r.declareclass=u,r.declarefunction=p,r.declareinterface=l,r.declaremodule=c,r.declaretypealias=f,r.declarevariable=d,r.functiontypeannotation=h,r.functiontypeparam=m,r.interfaceextends=y,r._interfaceish=g,r.interfacedeclaration=v,r.intersectiontypeannotation=b,r.mixedtypeannotation=e,r.nullabletypeannotation=x,r.nullliteraltypeannotation=s,r.numbertypeannotation=a,r.stringliteraltypeannotation=d,r.stringtypeannotation=w,r.thistypeannotation=c,r.tupletypeannotation=i,r.typeoftypeannotation=_,r.typealias=k,r.typeannotation=f,r.typeparameterinstantiation=p,r.objecttypeannotation=b,r.objecttypecallproperty=t,r.objecttypeindexer=m,r.objecttypeproperty=o,r.qualifiedtypeidentifier=j,r.uniontypeannotation=l,r.typecastexpression=n,r.voidtypeannotation=r;var v=e(179),u=n(v);r.classimplements=y,r.generictypeannotation=y;var q=e(29);r.numberliteraltypeannotation=q.literal,r.typeparameterdeclaration=p},{179:179,29:29}],24:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e,t){t.plain(e.name),e.value&&(this.push("="),t.plain(e.value))}function a(e){this.push(e.name)}function s(e,t){t.plain(e.namespace),this.push(":"),t.plain(e.name)}function o(e,t){t.plain(e.object),this.push("."),t.plain(e.property)}function u(e,t){this.push("{..."),t.plain(e.argument),this.push("}")}function p(e,t){this.push("{"),t.plain(e.expression),this.push("}")}function l(e,t){var r=e.openingelement;if(t.plain(r),!r.selfclosing){this.indent();for(var n=e.children,i=0;i0&&(this.push(" "),t.join(e.attributes,{separator:" "})),this.push(e.selfclosing?" />":">")}function f(e,t){this.push("")}function d(){}r.__esmodule=!0,r.jsxattribute=i,r.jsxidentifier=a,r.jsxnamespacedname=s,r.jsxmemberexpression=o,r.jsxspreadattribute=u,r.jsxexpressioncontainer=p,r.jsxelement=l,r.jsxopeningelement=c,r.jsxclosingelement=f,r.jsxemptyexpression=d;var h=e(179),m=n(h)},{179:179}],25:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e,t){var r=this;t.plain(e.typeparameters),this.push("("),t.list(e.params,{iterator:function(e){e.optional&&r.push("?"),t.plain(e.typeannotation)}}),this.push(")"),e.returntype&&t.plain(e.returntype)}function a(e,t){var r=e.value,n=e.kind,i=e.key;"method"!==n&&"init"!==n||r.generator&&this.push("*"),"get"!==n&&"set"!==n||this.push(n+" "),r.async&&this.push("async "),e.computed?(this.push("["),t.plain(i),this.push("]")):t.plain(i),this._params(r,t),this.space(),t.plain(r.body)}function s(e,t){e.async&&this.push("async "),this.push("function"),e.generator&&this.push("*"),e.id?(this.push(" "),t.plain(e.id)):this.space(),this._params(e,t),this.space(),t.plain(e.body)}function o(e,t){e.async&&this.push("async "),1===e.params.length&&p.isidentifier(e.params[0])?t.plain(e.params[0]):this._params(e,t),this.push(" => ");var r=p.isobjectexpression(e.body);r&&this.push("("),t.plain(e.body),r&&this.push(")")}r.__esmodule=!0,r._params=i,r._method=a,r.functionexpression=s,r.arrowfunctionexpression=o;var u=e(179),p=n(u);r.functiondeclaration=s},{179:179}],26:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e,t){t.plain(e.imported),e.local&&e.local.name!==e.imported.name&&(this.push(" as "),t.plain(e.local))}function a(e,t){t.plain(e.local)}function s(e,t){t.plain(e.exported)}function o(e,t){t.plain(e.local),e.exported&&e.local.name!==e.exported.name&&(this.push(" as "),t.plain(e.exported))}function u(e,t){this.push("* as "),t.plain(e.exported)}function p(e,t){this.push("export *"),e.exported&&(this.push(" as "),t.plain(e.exported)),this.push(" from "),t.plain(e.source),this.semicolon()}function l(e,t){this.push("export "),f.call(this,e,t)}function c(e,t){this.push("export default "),f.call(this,e,t)}function f(e,t){var r=e.specifiers;if(e.declaration){var n=e.declaration;if(t.plain(n),y.isstatement(n)||y.isfunction(n)||y.isclass(n))return}else{"type"===e.exportkind&&this.push("type ");var i=r[0],a=!1;(y.isexportdefaultspecifier(i)||y.isexportnamespacespecifier(i))&&(a=!0,t.plain(r.shift()),r.length&&this.push(", ")),(r.length||!r.length&&!a)&&(this.push("{"),r.length&&(this.space(),t.join(r,{separator:", "}),this.space()),this.push("}")),e.source&&(this.push(" from "),t.plain(e.source))}this.ensuresemicolon()}function d(e,t){this.push("import "),"type"!==e.importkind&&"typeof"!==e.importkind||this.push(e.importkind+" ");var r=e.specifiers;if(r&&r.length){var n=e.specifiers[0];(y.isimportdefaultspecifier(n)||y.isimportnamespacespecifier(n))&&(t.plain(e.specifiers.shift()),e.specifiers.length&&this.push(", ")),e.specifiers.length&&(this.push("{"),this.space(),t.join(e.specifiers,{separator:", "}),this.space(),this.push("}")),this.push(" from ")}t.plain(e.source),this.semicolon()}function h(e,t){this.push("* as "),t.plain(e.local)}r.__esmodule=!0,r.importspecifier=i,r.importdefaultspecifier=a,r.exportdefaultspecifier=s,r.exportspecifier=o,r.exportnamespacespecifier=u,r.exportalldeclaration=p,r.exportnameddeclaration=l,r.exportdefaultdeclaration=c,r.importdeclaration=d,r.importnamespacespecifier=h;var m=e(179),y=n(m)},{179:179}],27:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esmodule?e:{"default":e}}function a(e,t){this.keyword("with"),this.push("("),t.plain(e.object),this.push(")"),t.block(e.body)}function s(e,t){this.keyword("if"),this.push("("),t.plain(e.test),this.push(")"),this.space(),t.indentoncomments(e.consequent),e.alternate&&(this.islast("}")&&this.space(),this.push("else "),t.indentoncomments(e.alternate))}function o(e,t){this.keyword("for"),this.push("("),this._inforstatementinit=!0,t.plain(e.init),this._inforstatementinit=!1,this.push(";"),e.test&&(this.space(),t.plain(e.test)),this.push(";"),e.update&&(this.space(),t.plain(e.update)),this.push(")"),t.block(e.body)}function u(e,t){this.keyword("while"),this.push("("),t.plain(e.test),this.push(")"),t.block(e.body)}function p(e,t){this.push("do "),t.plain(e.body),this.space(),this.keyword("while"),this.push("("),t.plain(e.test),this.push(");")}function l(e,t){t.plain(e.label),this.push(": "),t.plain(e.body)}function c(e,t){this.keyword("try"),t.plain(e.block),this.space(),e.handlers?t.plain(e.handlers[0]):t.plain(e.handler),e.finalizer&&(this.space(),this.push("finally "),t.plain(e.finalizer))}function f(e,t){this.keyword("catch"),this.push("("),t.plain(e.param),this.push(") "),t.plain(e.body)}function d(e,t){this.keyword("switch"),this.push("("),t.plain(e.discriminant),this.push(")"),this.space(),this.push("{"),t.sequence(e.cases,{indent:!0,addnewlines:function(t,r){return t||e.cases[e.cases.length-1]!==r?void 0:-1}}),this.push("}")}function h(e,t){e.test?(this.push("case "),t.plain(e.test),this.push(":")):this.push("default:"),e.consequent.length&&(this.newline(),t.sequence(e.consequent,{indent:!0}))}function m(){this.push("debugger;")}function y(e,t,r){this.push(e.kind+" ");var n=!1;if(!x.isfor(r))for(var i=e.declarations,a=0;ai;i++)t.plain(r[i]),n>i+1&&(this.push("${ "),t.plain(e.expressions[i]),this.push(" }"));this._push("`")}r.__esmodule=!0,r.taggedtemplateexpression=n,r.templateelement=i,r.templateliteral=a},{}],29:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){this.push(e.name)}function a(e,t){this.push("..."),t.plain(e.argument)}function s(e,t){var r=e.properties;this.push("{"),t.printinnercomments(),r.length&&(this.space(),t.list(r,{indent:!0}),this.space()),this.push("}")}function o(e,t){if(t.list(e.decorators,{separator:""}),e.method||"get"===e.kind||"set"===e.kind)this._method(e,t);else{if(e.computed)this.push("["),t.plain(e.key),this.push("]");else{if(d.isassignmentpattern(e.value)&&d.isidentifier(e.key)&&e.key.name===e.value.left.name)return void t.plain(e.value);if(t.plain(e.key),e.shorthand&&d.isidentifier(e.key)&&d.isidentifier(e.value)&&e.key.name===e.value.name)return}this.push(":"),this.space(),t.plain(e.value)}}function u(e,t){var r=e.elements,n=r.length;this.push("["),t.printinnercomments();for(var i=0;i0&&this.space(),t.plain(a),n-1>i&&this.push(",")):this.push(",")}this.push("]")}function p(e){this.push(""),this._push(this._literal(e))}function l(e){var t=e.value;if(e.regex)return"/"+e.regex.pattern+"/"+e.regex.flags;if(null!=e.raw&&null!=e.rawvalue&&t===e.rawvalue)return e.raw;switch(typeof t){case"string":return this._stringliteral(t);case"number":return t+"";case"boolean":return t?"true":"false";default:if(null===t)return"null";throw new error("invalid literal type")}}function c(e){return e=json.stringify(e),e=e.replace(/[\u000a\u000d\u2028\u2029]/g,function(e){return"\\u"+("0000"+e.charcodeat(0).tostring(16)).slice(-4)}),"single"===this.format.quotes&&(e=e.slice(1,-1),e=e.replace(/\\"/g,'"'),e=e.replace(/'/g,"\\'"),e="'"+e+"'"),e}r.__esmodule=!0,r.identifier=i,r.restelement=a,r.objectexpression=s,r.property=o,r.arrayexpression=u,r.literal=p,r._literal=l,r._stringliteral=c;var f=e(179),d=n(f);r.spreadelement=a,r.spreadproperty=a,r.objectpattern=s,r.arraypattern=u},{179:179}],30:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esmodule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}var s=function(){function e(e,t){for(var r=0;r1e5,s.compact&&console.error("[babel] "+e.get("codegeneratordeopt",r.filename,"100kb"))),s.compact&&(s.indent.adjustmultilinecomment=!1),s},t.findcommonstringdelimiter=function(e,t){for(var r={single:0,"double":0},n=0,i=0;i=3)break}}return r.single>r["double"]?"single":"double"},t.prototype.generate=function(){ var e=this.ast;if(this.print(e),e.comments){for(var t=[],r=e.comments,n=0;ns&&r.push(n.separator)}},s=0;s=0||e.value.indexof("@preserve")>=0?!0:this.format.comments},t.prototype._printcomments=function(e){if(e&&e.length)for(var t=e,r=0;ra)return!0;if(n===a&&t.right===e&&!e.islogicalexpression(t))return!0}}function p(e,t){if("in"===e.operator){if(e.isvariabledeclarator(t))return!0;if(e.isfor(t))return!0}}function l(e,t){return e.isforstatement(t)?!1:e.isexpressionstatement(t)&&t.expression===e?!1:!e.isreturnstatement(t)}function c(e,t){return e.isbinary(t)||e.isunarylike(t)||e.iscallexpression(t)||e.ismemberexpression(t)||e.isnewexpression(t)||e.isconditionalexpression(t)||e.isyieldexpression(t)}function f(e,t){return e.isexpressionstatement(t)}function d(e,t){return e.ismemberexpression(t)&&t.object===e}function h(e,t){return e.isexpressionstatement(t)?!0:e.ismemberexpression(t)&&t.object===e?!0:e.iscallexpression(t)&&t.callee===e?!0:void 0}function m(e,t){return e.isunarylike(t)?!0:e.isbinary(t)?!0:(e.iscallexpression(t)||e.isnewexpression(t))&&t.callee===e?!0:e.isconditionalexpression(t)&&t.test===e?!0:!(!e.ismemberexpression(t)||t.object!==e)}function y(e){return e.isobjectpattern(e.left)?!0:m.apply(void 0,arguments)}r.__esmodule=!0,r.nullabletypeannotation=a,r.updateexpression=s,r.objectexpression=o,r.binary=u,r.binaryexpression=p,r.sequenceexpression=l,r.yieldexpression=c,r.classexpression=f,r.unarylike=d,r.functionexpression=h,r.conditionalexpression=m,r.assignmentexpression=y;var g=e(444),v=i(g),b=e(179),e=n(b),x={};v["default"]([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],function(e,t){v["default"](e,function(e){x[e]=t})}),r.functiontypeannotation=a},{179:179,444:444}],33:[function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}r.__esmodule=!0;var i=function(){function e(t,r){n(this,e),this.generator=t,this.parent=r}return e.prototype.printinnercomments=function(){if(this.parent.innercomments){var e=this.generator;e.indent(),e._printcomments(this.parent.innercomments),e.dedent()}},e.prototype.plain=function(e,t){return this.generator.print(e,this.parent,t)},e.prototype.sequence=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return t.statement=!0,this.generator.printjoin(this,e,t)},e.prototype.join=function(e,t){return this.generator.printjoin(this,e,t)},e.prototype.list=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return null==t.separator&&(t.separator=",",this.generator.format.compact||(t.separator+=" ")),this.join(e,t)},e.prototype.block=function(e){return this.generator.printblock(this,e)},e.prototype.indentoncomments=function(e){return this.generator.printandindentoncomments(this,e)},e}();r["default"]=i,t.exports=r["default"]},{}],34:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esmodule?e:{"default":e}}function a(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return m.ismemberexpression(e)?(a(e.object,t),e.computed&&a(e.property,t)):m.isbinary(e)||m.isassignmentexpression(e)?(a(e.left,t),a(e.right,t)):m.iscallexpression(e)?(t.hascall=!0,a(e.callee,t)):m.isfunction(e)?t.hasfunction=!0:m.isidentifier(e)&&(t.hashelper=t.hashelper||s(e.callee)),t}function s(e){return m.ismemberexpression(e)?s(e.object)||s(e.property):m.isidentifier(e)?"require"===e.name||"_"===e.name[0]:m.iscallexpression(e)?s(e.callee):m.isbinary(e)||m.isassignmentexpression(e)?m.isidentifier(e.left)&&s(e.left)||s(e.right):!1}function o(e){return m.isliteral(e)||m.isobjectexpression(e)||m.isarrayexpression(e)||m.isidentifier(e)||m.ismemberexpression(e)}var u=e(531),p=i(u),l=e(444),c=i(l),f=e(447),d=i(f),h=e(179),m=n(h);r.nodes={assignmentexpression:function(e){var t=a(e.right);return t.hascall&&t.hashelper||t.hasfunction?{before:t.hasfunction,after:!0}:void 0},switchcase:function(e,t){return{before:e.consequent.length||t.cases[0]===e}},logicalexpression:function(e){return m.isfunction(e.left)||m.isfunction(e.right)?{after:!0}:void 0},literal:function(e){return"use strict"===e.value?{after:!0}:void 0},callexpression:function(e){return m.isfunction(e.callee)||s(e)?{before:!0,after:!0}:void 0},variabledeclaration:function(e){for(var t=0;t=r&&(e-=r),e}r.__esmodule=!0;var a=function(){function e(t){n(this,e),this.tokens=t,this.used={},this._lastfoundindex=0}return e.prototype.getnewlinesbefore=function(e){for(var t,r,n=this.tokens,a=0;aa;a++)"undefined"==typeof this.used[a]&&(this.used[a]=!0,i++);return i},e}();r["default"]=a,t.exports=r["default"]},{}],38:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e:{"default":e}}function i(e){return e}function a(e){var t=l["default"].matchtotoken(e);if("name"===t.type&&f["default"].keyword.isreservedwordes6(t.value))return"keyword";if("punctuator"===t.type)switch(t.value){case"{":case"}":return"curly";case"(":case")":return"parens";case"[":case"]":return"square"}return t.type}function s(e){return e.replace(l["default"],function(){for(var e=arguments.length,t=array(e),r=0;e>r;r++)t[r]=arguments[r];var n=a(t),i=m[n];return i?t[0].split(y).map(function(e){return i(e)}).join("\n"):t[0]})}r.__esmodule=!0;var o=e(586),u=n(o),p=e(435),l=n(p),c=e(429),f=n(c),d=e(222),h=n(d),m={string:h["default"].red,punctuator:h["default"].bold,curly:h["default"].green,parens:h["default"].blue.bold,square:h["default"].yellow,keyword:h["default"].cyan,number:h["default"].magenta,regex:h["default"].magenta,comment:h["default"].grey,invalid:h["default"].inverse},y=/\r\n|[\n\r\u2028\u2029]/;r["default"]=function(e,t,r){var n=arguments.length<=3||void 0===arguments[3]?{}:arguments[3];r=math.max(r,0);var a=n.highlightcode&&h["default"].supportscolor;a&&(e=s(e)),e=e.split(y);var o=math.max(t-3,0),p=math.min(e.length,t+3);t||r||(o=0,p=e.length);var l=i(e.slice(o,p),{start:o+1,before:" ",after:" | ",transform:function(e){e.number===t&&(r&&(e.line+="\n"+e.before+u["default"](" ",e.width)+e.after+u["default"](" ",r-1)+"^"),e.before=e.before.replace(/^./,">"))}}).join("\n");return a?h["default"].reset(l):l},t.exports=r["default"]},{222:222,429:429,435:435,586:586}],39:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e:{"default":e}}r.__esmodule=!0;var i=e(548),a=n(i);r["default"]=function(e,t){return e&&t?a["default"](e,t,function(e,t){if(t&&array.isarray(e)){for(var r=e.slice(0),n=t,i=array.isarray(n),a=0,n=i?n:n[symbol.iterator]();;){var s;if(i){if(a>=n.length)break;s=n[a++]}else{if(a=n.next(),a.done)break;s=a.value}var o=s;e.indexof(o)<0&&r.push(o)}return r}}):void 0},t.exports=r["default"]},{548:548}],40:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(179),a=n(i);r["default"]=function(e,t,r){if(e&&"program"===e.type)return a.file(e,t||[],r||[]);throw new error("not a valid ast?")},t.exports=r["default"]},{179:179}],41:[function(e,t,r){"use strict";r.__esmodule=!0,r["default"]=function(){return object.create(null)},t.exports=r["default"]},{}],42:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(612),a=n(i);r["default"]=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r={allowimportexporteverywhere:t.loosemodules,allowreturnoutsidefunction:t.loosemodules,allowhashbang:!0,ecmaversion:6,strictmode:t.strictmode,sourcetype:t.sourcetype,locations:!0,features:t.features||{},plugins:t.plugins||{}};return t.nonstandard&&(r.plugins.jsx=!0,r.plugins.flow=!0),a.parse(e,r)},t.exports=r["default"]},{612:612}],43:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){for(var t=arguments.length,r=array(t>1?t-1:0),n=1;t>n;n++)r[n-1]=arguments[n];var i=u[e];if(!i)throw new referenceerror("unknown message "+json.stringify(e));return r=a(r),i.replace(/\$(\d+)/g,function(e,t){return r[--t]})}function a(e){return e.map(function(e){if(null!=e&&e.inspect)return e.inspect();try{return json.stringify(e)||e+""}catch(t){return o.inspect(e)}})}r.__esmodule=!0,r.get=i,r.parseargs=a;var s=e(13),o=n(s),u={tailcallreassignmentdeopt:"function reference has been reassigned, so it will probably be dereferenced, therefore we can't optimise this with confidence",jsxnamespacedtags:"namespace tags are not supported. reactjsx is not xml.",classesillegalbaresuper:"illegal use of bare super",classesillegalsupercall:"direct super call is illegal in non-constructor, use super.$1() instead",scopeduplicatedeclaration:"duplicate declaration $1",settersnorest:"setters aren't allowed to have a rest",noassignmentsinforhead:"no assignments allowed in for-in/of head",expectedmemberexpressionoridentifier:"expected type memberexpression or identifier",invalidparentforthisnode:"we don't know how to handle this node within the current parent - please open an issue",readonly:"$1 is read-only",unknownforhead:"unknown node type $1 in forstatement",didyoumean:"did you mean $1?",codegeneratordeopt:"note: the code generator has deoptimised the styling of $1 as it exceeds the max of $2.",missingtemplatesdirectory:"no templates directory - this is most likely the result of a broken `npm publish`. please report to https://github.com/babel/babel/issues",unsupportedoutputtype:"unsupported output type $1",illegalmethodname:"illegal method name $1",losttracknodepath:"we lost track of this node's position, likely because the ast was directly manipulated",modulesillegalexportname:"illegal export $1",modulesduplicatedeclarations:"duplicate module declarations with the same source but in different scopes",undeclaredvariable:"reference to undeclared variable $1",undeclaredvariabletype:"referencing a type alias outside of a type annotation",undeclaredvariablesuggestion:"reference to undeclared variable $1 - did you mean $2?",traverseneedsparent:"you must pass a scope and parentpath unless traversing a program/file got a $1 node",traverseverifyrootfunction:"you passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: function }`?",traverseverifyvisitorproperty:"you passed `traverse()` a visitor object with the property $1 that has the invalid property $2",traverseverifynodetype:"you gave us a visitor for the node type $1 but it's not a valid type",pluginillegalkind:"illegal kind $1 for plugin $2",pluginillegalposition:"illegal position $1 for plugin $2",pluginkeycollision:"the plugin $1 collides with another of the same name",pluginnottransformer:"the plugin $1 didn't export a plugin instance",pluginunknown:"unknown plugin $1",pluginnotfile:"plugin $1 is resolving to a different babel version than what is performing the transformation.",plugininvalidproperty:"plugin $1 provided an invalid property of $2.",plugininvalidpropertyvisitor:'define your visitor methods inside a `visitor` property like so:\n\n new plugin("foobar", {\n visitor: {\n // define your visitor methods here!\n }\n });\n'};r.messages=u},{13:13}],44:[function(e,t,r){(function(t){"use strict";if(e(415),e(580),t._babelpolyfill)throw new error("only one instance of babel/polyfill is allowed");t._babelpolyfill=!0}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{415:415,580:580}],45:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esmodule?e:{"default":e}}function a(e,t){var r=[],n=e.functionexpression(null,[e.identifier("global")],e.blockstatement(r)),i=e.program([e.expressionstatement(e.callexpression(n,[h.template("helper-self-global")]))]);return r.push(e.variabledeclaration("var",[e.variabledeclarator(e,e.assignmentexpression("=",e.memberexpression(e.identifier("global"),e),e.objectexpression([])))])),t(r),i}function s(e,t){var r=[];r.push(e.variabledeclaration("var",[e.variabledeclarator(e,e.identifier("global"))])),t(r);var n=h.template("umd-commonjs-strict",{factory_parameters:e.identifier("global"),browser_arguments:e.assignmentexpression("=",e.memberexpression(e.identifier("root"),e),e.objectexpression({})),common_arguments:e.identifier("exports"),amd_arguments:e.arrayexpression([e.literal("exports")]),factory_body:r,umd_root:e.identifier("this")});return e.program([n])}function o(e,t){var r=[];return r.push(e.variabledeclaration("var",[e.variabledeclarator(e,e.objectexpression({}))])),t(r),e.program(r)}function u(e,t,r){v["default"](y["default"].helpers,function(n){if(!r||-1!==r.indexof(n)){var i=e.identifier(e.toidentifier(n));e.push(e.expressionstatement(e.assignmentexpression("=",e.memberexpression(t,i),h.template("helper-"+n))))}})}r.__esmodule=!0;var p=e(30),l=i(p),c=e(43),f=n(c),d=e(182),h=n(d),m=e(46),y=i(m),g=e(444),v=i(g),b=e(179),e=n(b);r["default"]=function(e){var t,r=arguments.length<=1||void 0===arguments[1]?"global":arguments[1],n=e.identifier("babelhelpers"),i=function(t){return u(t,n,e)},p={global:a,umd:s,"var":o}[r];if(!p)throw new error(f.get("unsupportedoutputtype",r));return t=p(n,i),l["default"](t).code},t.exports=r["default"]},{179:179,182:182,30:30,43:43,444:444,46:46}],46:[function(e,t,r){(function(n){"use strict";function i(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function a(e){return e&&e.__esmodule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}r.__esmodule=!0;var o=function(){function e(e,t){for(var r=0;r=0)){var s=a.plugin.metadata.group;if(a.cantransform()&&s){for(var o=[],u=e,p=0;p=0||(p.push(e),console.error(e)))},e.prototype.verbose=function(e){o.enabled&&o(this._buildmessage(e))},e.prototype.debug=function(e){u.enabled&&u(this._buildmessage(e))},e.prototype.deopt=function(e,t){this.debug(t)},e}();r["default"]=l,t.exports=r["default"]},{417:417}],48:[function(e,t,r){t.exports={filename:{type:"filename",description:"filename to use when reading from stdin - this will be used in source-maps, errors etc","default":"unknown",shorthand:"f"},filenamerelative:{hidden:!0,type:"string"},inputsourcemap:{hidden:!0},extra:{hidden:!0,"default":{}},env:{hidden:!0,"default":{}},moduleid:{description:"specify a custom name for module ids",type:"string"},getmoduleid:{hidden:!0},retainlines:{type:"boolean","default":!1,description:"retain line numbers - will result in really ugly code"},nonstandard:{type:"boolean","default":!0,description:"enable/disable support for jsx and flow (on by default)"},experimental:{type:"boolean",description:"allow use of experimental transformers","default":!1},highlightcode:{description:"enable/disable ansi syntax highlighting of code frames (on by default)",type:"boolean","default":!0},suppressdeprecationmessages:{type:"boolean","default":!1,hidden:!0},resolvemodulesource:{hidden:!0},stage:{description:"ecmascript proposal stage version to allow [0-4]",shorthand:"e",type:"number","default":2},blacklist:{type:"transformerlist",description:"blacklist of transformers to not use",shorthand:"b","default":[]},whitelist:{type:"transformerlist",optional:!0,description:"whitelist of transformers to only use",shorthand:"l"},optional:{type:"transformerlist",description:"list of optional transformers to enable","default":[]},modules:{type:"string",description:"module formatter type to use [common]","default":"common",shorthand:"m"},moduleids:{type:"boolean","default":!1,shorthand:"m",description:"insert an explicit id for modules"},loose:{type:"transformerlist",description:"list of transformers to enable loose mode on",shorthand:"l"},jsxpragma:{type:"string",description:"custom pragma to use with jsx (same functionality as @jsx comments)","default":"react.createelement",shorthand:"p"},plugins:{type:"list",description:"","default":[]},ignore:{type:"list",description:"list of glob paths to **not** compile","default":[]},only:{type:"list",description:"list of glob paths to **only** compile"},code:{hidden:!0,"default":!0,type:"boolean"},metadata:{hidden:!0,"default":!0,type:"boolean"},ast:{hidden:!0,"default":!0,type:"boolean"},comments:{type:"boolean","default":!0,description:"strip/output comments in generated output (on by default)"},shouldprintcomment:{hidden:!0,description:"optional callback to control whether a comment should be inserted, when this is used the comments option is ignored"},compact:{type:"booleanstring","default":"auto",description:"do not include superfluous whitespace characters and line terminators [true|false|auto]"},keepmoduleidextensions:{type:"boolean",description:"keep extensions when generating module ids","default":!1,shorthand:"k"},auxiliarycomment:{deprecated:"renamed to auxiliarycommentbefore",shorthand:"a",alias:"auxiliarycommentbefore"},auxiliarycommentbefore:{type:"string","default":"",description:"attach a comment before all helper declarations and auxiliary code"},auxiliarycommentafter:{type:"string","default":"",description:"attach a comment after all helper declarations and auxiliary code"},externalhelpers:{type:"boolean","default":!1,shorthand:"r",description:"uses a reference to `babelhelpers` instead of placing helpers at the top of your code."},metadatausedhelpers:{deprecated:"not required anymore as this is enabled by default",type:"boolean","default":!1,hidden:!0},sourcemap:{alias:"sourcemaps",hidden:!0},sourcemaps:{type:"booleanstring",description:"[true|false|inline]","default":!1,shorthand:"s"},sourcemapname:{alias:"sourcemaptarget",description:"deprecated - please use sourcemaptarget"},sourcemaptarget:{type:"string",description:"set `file` on returned source map"},sourcefilename:{type:"string",description:"set `sources[0]` on returned source map"},sourceroot:{type:"filename",description:"the root from which all sources are relative"},moduleroot:{type:"filename",description:"optional prefix for the amd module formatter that will be prepend to the filename on module definitions"},breakconfig:{type:"boolean","default":!1,hidden:!0,description:"stop trying to load .babelrc files"},babelrc:{description:"specify a custom list of babelrc files to use",type:"list"},sourcetype:{description:"","default":"module"}}},{}],49:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e:{"default":e}}function i(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function a(e,t,r){var n=l["default"][e],i=n&&u[n.type];return i&&i.validate?i.validate(e,t,r):t}function s(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];for(var t in e){var r=e[t];if(null!=r){var n=l["default"][t];if(n){var i=u[n.type];i&&(r=i(r)),e[t]=r}}}return e}r.__esmodule=!0,r.validateoption=a,r.normaliseoptions=s;var o=e(51),u=i(o),p=e(48),l=n(p);r.config=l["default"]},{48:48,51:51}],50:[function(e,t,r){(function(n){"use strict";function i(e){return e&&e.__esmodule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function s(e){var t=d[e];return null!=t?t:d[e]=d["default"].sync(e)}r.__esmodule=!0;var o=e(49),u=e(436),p=i(u),l=e(559),c=i(l),f=e(558),d=i(f),h=e(527),m=i(h),y=e(39),g=i(y),v=e(48),b=i(v),e=e(9),x=i(e),s=e(3),a=i(s),d={},w={},c=".babelignore",i=".babelrc",_="package.json",k=function(){function e(t,r){a(this,e),this.resolvedconfigs=[],this.options=e.createbareoptions(),this.pipeline=r,this.log=t}return e.createbareoptions=function(){var e={};for(var t in b["default"]){var r=b["default"][t];e[t]=m["default"](r["default"])}return e},e.prototype.addconfig=function(e,t){var r=arguments.length<=2||void 0===arguments[2]?p["default"]:arguments[2];if(!(this.resolvedconfigs.indexof(e)>=0)){var n,i=a["default"].readfilesync(e,"utf8");try{n=w[i]=w[i]||r.parse(i),t&&(n=n[t])}catch(a){throw a.message=e+": error while parsing json - "+a.message,a}this.mergeoptions(n,e),this.resolvedconfigs.push(e)}},e.prototype.mergeoptions=function(e){var t=arguments.length<=1||void 0===arguments[1]?"foreign":arguments[1];if(e){for(var r in e)if("_"!==r[0]){var n=b["default"][r];n||this.log.error("unknown option: "+t+"."+r,referenceerror)}o.normaliseoptions(e),g["default"](this.options,e)}},e.prototype.addignoreconfig=function(e){var t=a["default"].readfilesync(e,"utf8"),r=t.split("\n");r=r.map(function(e){return e.replace(/#(.*?)$/,"").trim()}).filter(function(e){return!!e}),this.mergeoptions({ignore:r},e)},e.prototype.findconfigs=function(e){if(e)for(c["default"](e)||(e=x["default"].join(n.cwd(),e));e!==(e=x["default"].dirname(e));){if(this.options.breakconfig)return;var t=x["default"].join(e,i);s(t)&&this.addconfig(t);var r=x["default"].join(e,_);s(r)&&this.addconfig(r,"babel",json);var i=x["default"].join(e,c);s(i)&&this.addignoreconfig(i)}},e.prototype.normaliseoptions=function(){var e=this.options;for(var t in b["default"]){var r=b["default"][t],n=e[t];!n&&r.optional||(this.log&&n&&r.deprecated&&this.log.deprecate("deprecated option "+t+": "+r.deprecated),this.pipeline&&n&&(n=o.validateoption(t,n,this.pipeline)),r.alias?e[r.alias]=e[r.alias]||n:e[t]=n)}},e.prototype.init=function(e){if(this.mergeoptions(e,"direct"),e.babelrc)for(var t=e.babelrc,r=0;r=0||t.indexof(!0)>=0)&&(t=object.keys(r.transformers)),r._ensuretransformernames(e,t)};var h=c["default"];r.filename=h},{182:182,590:590}],52:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esmodule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}r.__esmodule=!0;var s=function(){function e(e,t){for(var r=0;r=3&&(t._prettycall=!0),h.inherits(t,e)}},t},t.exports=r["default"]},{179:179,429:429,43:43,539:539,62:62}],56:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(179),a=n(i),s={enter:function(e,t,r,n){(this.isthisexpression()||this.isreferencedidentifier({name:"arguments"}))&&(n.found=!0,this.stop())},function:function(){this.skip()}};r["default"]=function(e,t){var r=a.functionexpression(null,[],e.body,e.generator,e.async),n=r,i=[],o={found:!1};t.traverse(e,s,o),o.found&&(n=a.memberexpression(r,a.identifier("apply")),i=[a.thisexpression(),a.identifier("arguments")]);var u=a.callexpression(n,i);return e.generator&&(u=a.yieldexpression(u,!0)),a.returnstatement(u)},t.exports=r["default"]},{179:179}],57:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esmodule?e:{"default":e}}function a(e,t,r,n){var i=m.tokeyalias(t),a={};if(d["default"](e,i)&&(a=e[i]),e[i]=a,a._inherits=a._inherits||[],a._inherits.push(t),a._key=t.key,t.computed&&(a._computed=!0),t.decorators){var s=a.decorators=a.decorators||m.arrayexpression([]);s.elements=s.elements.concat(t.decorators.map(function(e){return e.expression}).reverse())}if(a.value||a.initializer)throw n.errorwithnode(t,"key conflict with sibling node");return t.value&&("init"===t.kind&&(r="value"),"get"===t.kind&&(r="get"),"set"===t.kind&&(r="set"),m.inheritscomments(t.value,t),a[r]=t.value),a}function s(e){for(var t in e)if(e[t]._computed)return!0;return!1}function o(e){for(var t=m.arrayexpression([]),r=0;ro;o++)s.push(n.generateuididentifier("x"));return a}n.rename(r.name)}t.id=r,n.getprogramparent().references[r.name]=!0},g=function(e,t,r){var n={selfassignment:!1,selfreference:!1,outerdeclar:r.getbindingidentifier(t),references:[],name:t},i=r.getownbinding(t);return i?"param"===i.kind&&(n.selfreference=!0):(n.outerdeclar||r.hasglobal(t))&&r.traverse(e,m,n),n}},{179:179,182:182,59:59}],62:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&/^[a-z]|\-/.test(e)}function a(e,t){for(var r=e.value.split(/\r\n|\n|\r/),n=0,i=0;i=0}function s(e,t){var r=e.regex.flags.split("");e.regex.flags.indexof(t)<0||(u["default"](r,t),e.regex.flags=r.join(""))}r.__esmodule=!0,r.is=a,r.pullflag=s;var o=e(441),u=i(o),p=e(179),l=n(p)},{179:179,441:441}],64:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(179),a=n(i),s={function:function(){this.skip()},awaitexpression:function(e){e.type="yieldexpression",e.all&&(e.all=!1,e.argument=a.callexpression(a.memberexpression(a.identifier("promise"),a.identifier("all")),[e.argument]))}},o={referencedidentifier:function(e,t,r,n){var i=n.id.name;return e.name===i&&r.bindingidentifierequals(i,n.id)?n.ref=n.ref||r.generateuididentifier(i):void 0}};r["default"]=function(e,t){var r=e.node;r.async=!1,r.generator=!0,e.traverse(s,p);var n=a.callexpression(t,[r]),i=r.id;if(r.id=null,a.isfunctiondeclaration(r)){var u=a.variabledeclaration("let",[a.variabledeclarator(i,n)]);return u._blockhoist=!0,u}if(i){var p={id:i};if(e.traverse(o,p),p.ref)return e.scope.parent.push({id:p.ref}),a.assignmentexpression("=",p.ref,n)}return n},t.exports=r["default"]},{179:179}],65:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function a(e,t){return l.issuper(e)?l.ismemberexpression(t,{computed:!1})?!1:!l.iscallexpression(t,{callee:e}):!1}function s(e){return l.ismemberexpression(e)&&l.issuper(e.object)}r.__esmodule=!0;var o=e(43),u=n(o),p=e(179),l=n(p),c={enter:function(e,t,r,n){var i=n.toplevel,a=n.self;if(l.isfunction(e)&&!l.isarrowfunctionexpression(e))return a.traverselevel(this,!1),this.skip();if(l.isproperty(e,{method:!0})||l.ismethoddefinition(e))return this.skip();var s=i?l.thisexpression:a.getthisreference.bind(a),o=a.spechandle;a.isloose&&(o=a.loosehandle);var u=o.call(a,this,s);return u&&(this.hassuper=!0),u!==!0?u:void 0}},f=function(){function e(t){var r=arguments.length<=1||void 0===arguments[1]?!1:arguments[1];i(this,e),this.toplevelthisreference=t.toplevelthisreference,this.methodpath=t.methodpath,this.methodnode=t.methodnode,this.superref=t.superref,this.isstatic=t.isstatic,this.hassuper=!1,this.inclass=r,this.isloose=t.isloose,this.scope=t.scope,this.file=t.file,this.opts=t}return e.prototype.getobjectref=function(){return this.opts.objectref||this.opts.getobjectref()},e.prototype.setsuperproperty=function(e,t,r,n){return l.callexpression(this.file.addhelper("set"),[l.callexpression(l.memberexpression(l.identifier("object"),l.identifier("getprototypeof")),[this.isstatic?this.getobjectref():l.memberexpression(this.getobjectref(),l.identifier("prototype"))]),r?e:l.literal(e.name),t,n])},e.prototype.getsuperproperty=function(e,t,r){return l.callexpression(this.file.addhelper("get"),[l.callexpression(l.memberexpression(l.identifier("object"),l.identifier("getprototypeof")),[this.isstatic?this.getobjectref():l.memberexpression(this.getobjectref(),l.identifier("prototype"))]),t?e:l.literal(e.name),r])},e.prototype.replace=function(){this.traverselevel(this.methodpath.get("value"),!0)},e.prototype.traverselevel=function(e,t){var r={self:this,toplevel:t};e.traverse(c,r)},e.prototype.getthisreference=function(){if(this.toplevelthisreference)return this.toplevelthisreference;var e=this.toplevelthisreference=this.scope.generateuididentifier("this");return this.methodnode.value.body.body.unshift(l.variabledeclaration("var",[l.variabledeclarator(this.toplevelthisreference,l.thisexpression())])),e},e.prototype.getloosesuperproperty=function(e,t){var r=this.methodnode,n=r.key,i=this.superref||l.identifier("function");return t.property===e?void 0:l.iscallexpression(t,{callee:e})?(t.arguments.unshift(l.thisexpression()),"constructor"===n.name?2===t.arguments.length&&l.isspreadelement(t.arguments[1])&&l.isidentifier(t.arguments[1].argument,{name:"arguments"})?(t.arguments[1]=t.arguments[1].argument,l.memberexpression(i,l.identifier("apply"))):l.memberexpression(i,l.identifier("call")):(e=i,r["static"]||(e=l.memberexpression(e,l.identifier("prototype"))),e=l.memberexpression(e,n,r.computed),l.memberexpression(e,l.identifier("call")))):l.ismemberexpression(t)&&!r["static"]?l.memberexpression(i,l.identifier("prototype")):i},e.prototype.loosehandle=function(e,t){var r=e.node;if(e.issuper())return this.getloosesuperproperty(r,e.parent);if(e.iscallexpression()){var n=r.callee;if(!l.ismemberexpression(n))return;if(!l.issuper(n.object))return;return l.appendtomemberexpression(n,l.identifier("call")),r.arguments.unshift(t()),!0}},e.prototype.spechandleassignmentexpression=function(e,t,r,n){return"="===r.operator?this.setsuperproperty(r.left.property,r.right,r.left.computed,n()):(e=e||t.scope.generateuididentifier("ref"),[l.variabledeclaration("var",[l.variabledeclarator(e,r.left)]),l.expressionstatement(l.assignmentexpression("=",r.left,l.binaryexpression(r.operator[0],e,r.right)))])},e.prototype.spechandle=function(e,t){var r,n,i,o,p=this.methodnode,c=e.parent,f=e.node;if(a(f,c))throw e.errorwithnode(u.get("classesillegalbaresuper"));if(l.iscallexpression(f)){var d=f.callee;if(l.issuper(d)){if(r=p.key,n=p.computed,i=f.arguments,"constructor"!==p.key.name||!this.inclass){var h=p.key.name||"method_name";throw this.file.errorwithnode(f,u.get("classesillegalsupercall",h))}}else s(d)&&(r=d.property,n=d.computed,i=f.arguments)}else if(l.ismemberexpression(f)&&l.issuper(f.object))r=f.property,n=f.computed;else{if(l.isupdateexpression(f)&&s(f.argument)){var m=l.binaryexpression(f.operator[0],f.argument,l.literal(1));if(f.prefix)return this.spechandleassignmentexpression(null,e,m,t);var y=e.scope.generateuididentifier("ref");return this.spechandleassignmentexpression(y,e,m,t).concat(l.expressionstatement(y))}if(l.isassignmentexpression(f)&&s(f.left))return this.spechandleassignmentexpression(null,e,f,t)}if(r){o=t();var g=this.getsuperproperty(r,n,o);return i?1===i.length&&l.isspreadelement(i[0])?l.callexpression(l.memberexpression(g,l.identifier("apply")),[o,i[0].argument]):l.callexpression(l.memberexpression(g,l.identifier("call")),[o].concat(i)):g}},e}();r["default"]=f,t.exports=r["default"]},{179:179,43:43}],66:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esmodule?e:{"default":e}}r.__esmodule=!0;var a=e(80),s=i(a),o=e(126),u=i(o),p=e(85),l=i(p),c=e(84),f=i(c),d=e(125),h=n(d),m=new s["default"]; for(var y in u["default"]){var g=u["default"][y];if("object"==typeof g){var v=g.metadata=g.metadata||{};v.group=v.group||"builtin-basic"}}m.addtransformers(u["default"]),m.adddeprecated(l["default"]),m.addaliases(f["default"]),m.addfilter(h.internal),m.addfilter(h.blacklist),m.addfilter(h.whitelist),m.addfilter(h.stage),m.addfilter(h.optional);var b=m.transform.bind(m);b.fromast=m.transformfromast.bind(m),b.pipeline=m,r["default"]=b,t.exports=r["default"]},{125:125,126:126,80:80,84:84,85:85}],67:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e:{"default":e}}function i(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function a(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}r.__esmodule=!0;var s=e(75),o=i(s),u=e(43),p=i(u),l=e(76),c=n(l),f=e(41),d=n(f),h=e(182),m=i(h),y=e(179),g=i(y),v=function(){function e(t){a(this,e),this.sourcescopes=d["default"](),this.defaultids=d["default"](),this.ids=d["default"](),this.remaps=new c["default"](t,this),this.scope=t.scope,this.file=t,this.hasnondefaultexports=!1,this.haslocalexports=!1,this.haslocalimports=!1,this.localexports=d["default"](),this.localimports=d["default"](),this.metadata=t.metadata.modules,this.getmetadata()}return e.prototype.addscope=function(e){var t=e.node.source&&e.node.source.value;if(t){var r=this.sourcescopes[t];if(r&&r!==e.scope)throw e.errorwithnode(p.get("modulesduplicatedeclarations"));this.sourcescopes[t]=e.scope}},e.prototype.ismoduletype=function(e,t){var r=this.file.dynamicimporttypes[t];return r&&r.indexof(e)>=0},e.prototype.transform=function(){this.remapassignments()},e.prototype.dodefaultexportinterop=function(e){return(g.isexportdefaultdeclaration(e)||g.isspecifierdefault(e))&&!this.nointeroprequireexport&&!this.hasnondefaultexports},e.prototype.getmetadata=function(){for(var e=!1,t=this.file.ast.program.body,r=0;r=0)){var n="plugininvalidproperty";throw b.types.indexof(r)>=0&&(n="plugininvalidpropertyvisitor"),new error(p.get(n,e,r))}for(var r in t.metadata)if(!(x.indexof(r)>=0))throw new error(p.get("plugininvalidproperty",e,"metadata."+r))},e.prototype.normalize=function(e){return c["default"].explode(e),e},e.prototype.buildpass=function(e){if(!(e instanceof g["default"]))throw new typeerror(p.get("pluginnotfile",this.key));return new o["default"](e,this)},e}();r["default"]=s,t.exports=r["default"]},{148:148,179:179,43:43,46:46,527:527,542:542,81:81}],83:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}r.__esmodule=!0;var a=e(82),s=n(a),o=function u(e,t){i(this,u);var r={};return r.metadata=t.metadata,delete t.metadata,r.visitor=t,new s["default"](e,r)};r["default"]=o,t.exports=r["default"]},{82:82}],84:[function(e,t,r){t.exports={usestrict:"strict","es5.runtime":"runtime","es6.runtime":"runtime","minification.inlineexpressions":"minification.constantfolding"}},{}],85:[function(e,t,r){t.exports={selfcontained:"runtime","unicode-regex":"regex.unicode","spec.typeofsymbol":"es6.spec.symbols","es6.symbols":"es6.spec.symbols","es6.blockscopingtdz":"es6.spec.blockscoping","utility.inlineexpressions":"minification.constantfolding","utility.deadcodeelimination":"minification.deadcodeelimination","utility.removeconsolecalls":"minification.removeconsole","utility.removedebugger":"minification.removedebugger","es6.parameters.rest":"es6.parameters","es6.parameters.default":"es6.parameters"}},{}],86:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(179),a=n(i),s={group:"builtin-trailing"};r.metadata=s;var o={memberexpression:{exit:function(e){var t=e.property;e.computed||!a.isidentifier(t)||a.isvalididentifier(t.name)||(e.property=a.literal(t.name), e.computed=!0)}}};r.visitor=o},{179:179}],87:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(179),a=n(i),s={group:"builtin-trailing"};r.metadata=s;var o={property:{exit:function(e){var t=e.key;e.computed||!a.isidentifier(t)||a.isvalididentifier(t.name)||(e.key=a.literal(t.name))}}};r.visitor=o},{179:179}],88:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(57),a=n(i),s=e(179),o=n(s),u={objectexpression:function(e,t,r,n){for(var i=!1,s=e.properties,u=0;u=0)return;a=a+"|"+e.label.name}else{if(n.ignorelabeless)return;if(n.inswitchcase)return;if(b.isbreakstatement(e)&&b.isswitchcase(t))return}n.hasbreakcontinue=!0,n.map[a]=e,i=b.literal(a)}return this.isreturnstatement()&&(n.hasreturn=!0,i=b.objectexpression([b.property("init",b.identifier("v"),e.argument||b.identifier("undefined"))])),i?(i=b.returnstatement(i),this.skip(),b.inherits(i,e)):void 0}},m=function(){function e(t,r,n,i,s){a(this,e),this.parent=n,this.scope=i,this.file=s,this.blockpath=r,this.block=r.node,this.outsideletreferences=m["default"](),this.hasletreferences=!1,this.letreferences=this.block._letreferences=m["default"](),this.body=[],t&&(this.loopparent=t.parent,this.looplabel=b.islabeledstatement(this.loopparent)&&this.loopparent.label,this.looppath=t,this.loop=t.node)}return e.prototype.run=function(){var e=this.block;if(!e._letdone){e._letdone=!0;var t=this.getletreferences();if(!b.isfunction(this.parent)&&!b.isprogram(this.block)&&this.hasletreferences)return t?this.wrapclosure():this.remap(),this.looplabel&&!b.islabeledstatement(this.loopparent)?b.labeledstatement(this.looplabel,this.loop):void 0}},e.prototype.remap=function(){var e=!1,t=this.letreferences,r=this.scope,n=m["default"]();for(var i in t){var a=t[i];if(r.parenthasbinding(i)||r.hasglobal(i)){var s=r.generateuididentifier(a.name).name;a.name=s,e=!0,n[i]=n[s]={binding:a,uid:s}}}if(e){var o=this.loop;o&&(c(o.right,o,r,n),c(o.test,o,r,n),c(o.update,o,r,n)),this.blockpath.traverse(c,n)}},e.prototype.wrapclosure=function(){var e=this.block,t=this.outsideletreferences;if(this.loop)for(var r in t){var n=t[r];(this.scope.hasglobal(n.name)||this.scope.parenthasbinding(n.name))&&(delete t[n.name],delete this.letreferences[n.name],this.scope.rename(n.name),this.letreferences[n.name]=n,t[n.name]=n)}this.has=this.checkloop(),this.hoistvardeclarations();var i=x["default"](t),a=x["default"](t),s=b.functionexpression(null,i,b.blockstatement(e.body));s.shadow=!0,this.addcontinuations(s),e.body=this.body;var o=s;this.loop&&(o=this.scope.generateuididentifier("loop"),this.looppath.insertbefore(b.variabledeclaration("var",[b.variabledeclarator(o,s)])));var u=b.callexpression(o,a),p=this.scope.generateuididentifier("ret"),l=d["default"].hastype(s.body,this.scope,"yieldexpression",b.function_types);l&&(s.generator=!0,u=b.yieldexpression(u,!0));var c=d["default"].hastype(s.body,this.scope,"awaitexpression",b.function_types);c&&(s.async=!0,u=b.awaitexpression(u)),this.buildclosure(p,u)},e.prototype.buildclosure=function(e,t){var r=this.has;r.hasreturn||r.hasbreakcontinue?this.buildhas(e,t):this.body.push(b.expressionstatement(t))},e.prototype.addcontinuations=function(e){var t={reassignments:{},outsidereferences:this.outsideletreferences};this.scope.traverse(e,p,t);for(var r=0;r=n)break;if(!l.isspreadproperty(s)){var o=s.key;l.isidentifier(o)&&!s.computed&&(o=l.literal(s.key.name)),i.push(o)}}i=l.arrayexpression(i);var u=l.callexpression(this.file.addhelper("object-without-properties"),[t,i]);this.nodes.push(this.buildvariableassignment(r.argument,u))},e.prototype.pushobjectproperty=function(e,t){l.isliteral(e.key)&&(e.computed=!0);var r=e.value,n=l.memberexpression(t,e.key,e.computed);l.ispattern(r)?this.push(r,n):this.nodes.push(this.buildvariableassignment(r,n))},e.prototype.pushobjectpattern=function(e,t){if(e.properties.length||this.nodes.push(l.expressionstatement(l.callexpression(this.file.addhelper("object-destructuring-empty"),[t]))),e.properties.length>1&&!this.scope.isstatic(t)){var r=this.scope.generateuididentifierbasedonnode(t);this.nodes.push(this.buildvariabledeclaration(r,t)),t=r}for(var n=0;nt.elements.length)){if(e.elements.length0&&(o=l.callexpression(l.memberexpression(o,l.identifier("slice")),[l.literal(i)])),a=a.argument):o=l.memberexpression(t,l.literal(i),!0),this.push(a,o)}}}},e.prototype.init=function(e,t){if(!l.isarrayexpression(t)&&!l.ismemberexpression(t)){var r=this.scope.maybegeneratememoised(t,!0);r&&(this.nodes.push(this.buildvariabledeclaration(r,t)),t=r)}return this.push(e,t),this.nodes},e}()},{179:179,43:43}],96:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e,t){var r=[],n=e.right;if(!l.isidentifier(n)||!t.hasbinding(n.name)){var i=t.generateuididentifier("arr");r.push(l.variabledeclaration("var",[l.variabledeclarator(i,n)])),n=i}var a=t.generateuididentifier("i"),s=u.template("for-of-array",{body:e.body,key:a,arr:n});l.inherits(s,e),l.ensureblock(s);var o=l.memberexpression(n,a,!0),p=e.left;return l.isvariabledeclaration(p)?(p.declarations[0].init=o,s.body.body.unshift(p)):s.body.body.unshift(l.expressionstatement(l.assignmentexpression("=",p,o))),this.parentpath.islabeledstatement()&&(s=l.labeledstatement(this.parentpath.node.label,s)),r.push(s),r}r.__esmodule=!0,r._forofstatementarray=i;var a=e(43),s=n(a),o=e(182),u=n(o),p=e(179),l=n(p),c={forofstatement:function(e,t,r,n){if(this.get("right").isarrayexpression())return i.call(this,e,r,n);var a=d;n.isloose("es6.forof")&&(a=f);var s=a(e,t,r,n),o=s.declar,u=s.loop,p=u.body;return this.ensureblock(),o&&p.body.push(o),p.body=p.body.concat(e.body.body),l.inherits(u,e),l.inherits(u.body,e.body),s.replaceparent?(this.parentpath.replacewithmultiple(s.node),void this.dangerouslyremove()):s.node}};r.visitor=c;var f=function(e,t,r,n){var i,a,o=e.left;if(l.isidentifier(o)||l.ispattern(o)||l.ismemberexpression(o))a=o;else{if(!l.isvariabledeclaration(o))throw n.errorwithnode(o,s.get("unknownforhead",o.type));a=r.generateuididentifier("ref"),i=l.variabledeclaration(o.kind,[l.variabledeclarator(o.declarations[0].id,a)])}var p=r.generateuididentifier("iterator"),c=r.generateuididentifier("isarray"),f=u.template("for-of-loose",{loop_object:p,is_array:c,object:e.right,index:r.generateuididentifier("i"),id:a});return i||f.body.body.shift(),{declar:i,node:f,loop:f}},d=function(e,t,r,n){var i,a=e.left,o=r.generateuididentifier("step"),p=l.memberexpression(o,l.identifier("value"));if(l.isidentifier(a)||l.ispattern(a)||l.ismemberexpression(a))i=l.expressionstatement(l.assignmentexpression("=",a,p));else{if(!l.isvariabledeclaration(a))throw n.errorwithnode(a,s.get("unknownforhead",a.type));i=l.variabledeclaration(a.kind,[l.variabledeclarator(a.declarations[0].id,p)])}var c=r.generateuididentifier("iterator"),f=u.template("for-of",{iterator_had_error_key:r.generateuididentifier("diditeratorerror"),iterator_completion:r.generateuididentifier("iteratornormalcompletion"),iterator_error_key:r.generateuididentifier("iteratorerror"),iterator_key:c,step_key:o,object:e.right,body:null}),d=l.islabeledstatement(t),h=f[3].block.body,m=h[0];return d&&(h[0]=l.labeledstatement(t.label,m)),{replaceparent:d,declar:i,loop:m,node:f}}},{179:179,182:182,43:43}],97:[function(e,t,r){"use strict";r.__esmodule=!0;var n={group:"builtin-pre"};r.metadata=n;var i={literal:function(e){"number"==typeof e.value&&/^0[ob]/i.test(e.raw)&&(e.raw=void 0),"string"==typeof e.value&&/\\[u]/gi.test(e.raw)&&(e.raw=void 0)}};r.visitor=i},{}],98:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e,t){if(e._blockhoist)for(var r=0;rm}if(d(e)){this.ensureblock();var o={iife:!1,scope:r},p=[],c=f.identifier("arguments");c._shadowedfunctionliteral=this;for(var m=u["default"](e),y=this.get("params"),g=0;g",y,h),p.binaryexpression("-",y,h),p.literal(0)));var b=o.template("rest",{array_type:n.typeannotation,arguments:u,array_key:g,array_len:v,start:h,array:s,key:m,len:y});if(d.deopted)b._blockhoist=e.params.length+1,e.body.body.unshift(b);else{b._blockhoist=1;var e,x=this.getearliestcommonancestorfrom(d.references).getstatementparent();x.findparent(function(e){if(e.isloop())e=e;else if(e.isfunction())return!0}),e&&(x=e),x.insertbefore(b)}}else if(d.candidates.length)for(var s=d.candidates,a=0;a=0){var i=this.getopposite();if(i.isliteral()&&"symbol"!==i.node.value&&"object"!==i.node.value)return}if("typeof"===e.operator){var s=a.callexpression(n.addhelper("typeof"),[e.argument]);if(this.get("argument").isidentifier()){var o=a.literal("undefined"),u=a.unaryexpression("typeof",e.argument);return u._ignorespecsymbols=!0,a.conditionalexpression(a.binaryexpression("===",u,o),o,s)}return s}}},binaryexpression:function(e,t,r,n){return"instanceof"===e.operator?a.callexpression(n.addhelper("instanceof"),[e.left,e.right]):void 0},"variabledeclaration|functiondeclaration":function(e){e._generated&&this.skip()}};r.visitor=o},{179:179}],111:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(179),a=n(i),s={optional:!0,group:"builtin-pre"};r.metadata=s;var o={templateliteral:function(e,t){if(!a.istaggedtemplateexpression(t))for(var r=0;r0){var s=v.variabledeclaration("var",a);s._blockhoist=1/0,r.unshift(s)}r.unshift(v.expressionstatement(v.assignmentexpression("=",this.getagainid(),v.literal(!1)))),e.body=h.template("tail-call-body",{function_id:this.getfunctionid(),again_id:this.getagainid(),block:e.body});var o=[];if(this.needsthis){for(var u=this.thispaths,p=0;p0&&e.body.body.unshift(v.variabledeclaration("var",o))}},e.prototype.subtransform=function(e){if(e){var t=this["subtransform"+e.type];return t?t.call(this,e):void 0}},e.prototype.subtransformconditionalexpression=function(e){var t=this.subtransform(e.consequent),r=this.subtransform(e.alternate);return t||r?(e.type="ifstatement",e.consequent=t?v.toblock(t):s(e.consequent),r?e.alternate=v.isifstatement(r)?r:v.toblock(r):e.alternate=s(e.alternate),[e]):void 0},e.prototype.subtransformlogicalexpression=function(e){var t=this.subtransform(e.right);if(t){var r=this.getleftid(),n=v.assignmentexpression("=",r,e.left);return"&&"===e.operator&&(n=v.unaryexpression("!",n)),[v.ifstatement(n,s(r))].concat(t)}},e.prototype.subtransformsequenceexpression=function(e){var t=e.expressions,r=this.subtransform(t[t.length-1]);return r?(1===--t.length&&(e=t[0]),[v.expressionstatement(e)].concat(r)):void 0},e.prototype.subtransformcallexpression=function(e){var t,r,n=e.callee;if(v.ismemberexpression(n,{computed:!1})&&v.isidentifier(n.property)){switch(n.property.name){case"call":r=v.arrayexpression(e.arguments.slice(1));break;case"apply":r=e.arguments[1]||v.identifier("undefined"),this.needsarguments=!0;break;default:return}t=e.arguments[0],n=n.object}if(v.isidentifier(n)&&this.scope.bindingidentifierequals(n.name,this.ownerid)&&(this.hastailrecursion=!0,!this.hasdeopt())){var i=[];this.needsthis&&!v.isthisexpression(t)&&i.push(v.expressionstatement(v.assignmentexpression("=",this.getthisid(),t||v.identifier("undefined")))),r||(r=v.arrayexpression(e.arguments));var a=this.getargumentsid(),s=this.getparams();if(this.needsarguments&&i.push(v.expressionstatement(v.assignmentexpression("=",a,r))),v.isarrayexpression(r)){for(var o=r.elements;o.length0){var m=f["default"](y["default"](this.vars,function(e){return e.declarations})),g=u["default"](m,function(e,t){return v.assignmentexpression("=",t.id,e)},v.identifier("undefined")),b=v.expressionstatement(g);i.push(b)}return i.push(v.continuestatement(this.getfunctionid())),i}},e}()},{179:179,182:182,43:43,439:439,447:447,448:448}],114:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return o.isliteral(e)&&"string"==typeof e.value}function a(e,t){var r=o.binaryexpression("+",e,t);return r._templateliteralproduced=!0,r}r.__esmodule=!0;var s=e(179),o=n(s),u={group:"builtin-pre"};r.metadata=u;var p={taggedtemplateexpression:function(e,t,r,n){for(var i=e.quasi,a=[],s=[],u=[],p=i.quasis,l=0;l1))return s[0];for(var f=a(s.shift(),s.shift()),d=s,h=0;h=1&&n.push(e),n):void 0}};r.visitor=u},{179:179}],122:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){var t=e.path.getdata("functionbind");return t?t:(t=e.generatedeclareduididentifier("context"),e.path.setdata("functionbind",t))}function a(e,t){var r=e.object||e.callee.object;return t.isstatic(r)&&r}function s(e,t){var r=a(e,t);if(r)return r;var n=i(t);return e.object?e.callee=u.sequenceexpression([u.assignmentexpression("=",n,e.object),e.callee]):e.callee.object=u.assignmentexpression("=",n,e.callee.object),n}r.__esmodule=!0;var o=e(179),u=n(o),p={optional:!0,stage:0};r.metadata=p;var l={callexpression:function(e,t,r){var n=e.callee;if(u.isbindexpression(n)){var i=s(n,r);e.callee=u.memberexpression(n.callee,u.identifier("call")),e.arguments.unshift(i)}},bindexpression:function(e,t,r){var n=s(e,r);return u.callexpression(u.memberexpression(e.callee,u.identifier("bind")),[n])}};r.visitor=l},{179:179}],123:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(179),a=n(i),s={stage:2,dependencies:["es6.destructuring"]};r.metadata=s;var o=function(e){for(var t=0;t=t.stage?!0:void 0}function u(e,t){return e.metadata.optional&&!l["default"](t.optional,e.key)?!1:void 0}r.__esmodule=!0,r.internal=i,r.blacklist=a,r.whitelist=s,r.stage=o,r.optional=u;var p=e(446),l=n(p)},{446:446}],126:[function(e,t,r){"use strict";r.__esmodule=!0,r["default"]={"minification.constantfolding":e(203),strict:e(142),eval:e(205),_validation:e(132),_hoistdirectives:e(128),"minification.removedebugger":e(214),"minification.removeconsole":e(213),"utility.inlineenvironmentvariables":e(206),"minification.deadcodeelimination":e(204),_modules:e(130),"react.displayname":e(212),"es6.spec.modules":e(109),"es6.spec.arrowfunctions":e(107),"es6.spec.templateliterals":e(111),"es6.templateliterals":e(114),"es6.literals":e(97),"validation.undeclaredvariablecheck":e(217),"spec.functionname":e(144),"es7.classproperties":e(116),"es7.trailingfunctioncommas":e(124),"es7.asyncfunctions":e(115),"es7.decorators":e(118),"validation.react":e(145),"es6.arrowfunctions":e(89),"spec.blockscopedfunctions":e(143),"optimisation.react.constantelements":e(211),"optimisation.react.inlineelements":e(135),"es7.comprehensions":e(117),"es6.classes":e(91),asynctogenerator:e(136),bluebirdcoroutines:e(137),"es6.objectsuper":e(99),"es7.objectrestspread":e(123),"es7.exponentiationoperator":e(120),"es5.properties.mutators":e(88),"es6.properties.shorthand":e(104),"es6.properties.computed":e(103),"optimisation.flow.forof":e(133),"es6.forof":e(96),"es6.regex.sticky":e(105),"es6.regex.unicode":e(106),"es6.constants":e(94),"es7.exportextensions":e(121),"spec.prototoassign":e(210),"es7.doexpressions":e(119),"es6.spec.symbols":e(110),"es7.functionbind":e(122),"spec.undefinedtovoid":e(218),"es6.spread":e(112),"es6.parameters":e(101),"es6.destructuring":e(95),"es6.blockscoping":e(90),"es6.spec.blockscoping":e(108),reactcompat:e(139),react:e(140),regenerator:e(141),runtime:e(216),"es6.modules":e(98),_moduleformatter:e(129),"es6.tailcall":e(113),_shadowfunctions:e(131),"es3.propertyliterals":e(87),"es3.memberexpressionliterals":e(86),"minification.memberexpressionliterals":e(208),"minification.propertyliterals":e(209),_blockhoist:e(127),jscript:e(207),flow:e(138),"optimisation.modules.system":e(134)},t.exports=r["default"]},{101:101,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,127:127,128:128,129:129,130:130,131:131,132:132,133:133,134:134,135:135,136:136,137:137,138:138,139:139,140:140,141:141,142:142,143:143,144:144,145:145,203:203,204:204,205:205,206:206,207:207,208:208,209:209,210:210,211:211,212:212,213:213,214:214,216:216,217:217,218:218,86:86,87:87,88:88,89:89,90:90,91:91,94:94,95:95,96:96,97:97,98:98,99:99}],127:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e:{"default":e}}r.__esmodule=!0;var i=e(450),a=n(i),s={group:"builtin-trailing"};r.metadata=s;var o={block:{exit:function(e){for(var t=!1,r=0;r=0&&(s.value=s.value.replace(o,""),s.value.replace(/\*/g,"").trim()||(s._displayed=!0))}},flow:function(){this.dangerouslyremove()},classproperty:function(e){e.typeannotation=null,e.value||this.dangerouslyremove()},class:function(e){e["implements"]=null},function:function(e){for(var t=0;t0;)s=s.get(r.pop());return s}r.__esmodule=!0;var s=e(579),o=i(s),u=e(179),p=n(u),l=o["default"].types.nodepath,c={group:"builtin-advanced"};r.metadata=c;var f={function:{exit:function(e){(e.async||e.generator)&&o["default"].transform(a(this))}}};r.visitor=f},{179:179,579:579}],142:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return s.isliteral(e)?e.raw&&e.rawvalue===e.value?"use strict"===e.rawvalue:"use strict"===e.value:!1}r.__esmodule=!0;var a=e(179),s=n(a),o={group:"builtin-pre"};r.metadata=o;var u=["functionexpression","functiondeclaration","classproperty"],p={program:{enter:function(e){var t,r=e.body[0];s.isexpressionstatement(r)&&i(r.expression)?t=r:(t=s.expressionstatement(s.literal("use strict")),this.unshiftcontainer("body",t),r&&(t.leadingcomments=r.leadingcomments,r.leadingcomments=[])),t._blockhoist=1/0}},thisexpression:function(){return this.findparent(function(e){return!e.is("shadow")&&u.indexof(e.type)>=0})?void 0:s.identifier("undefined")}};r.visitor=p},{179:179}],143:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e,t){for(var r=t.get(e),n=0;n=0)&&(n.push(l.node),l.visit())){a=!0;break}}for(var c=i,f=0;fl&&(n=u)}else n=u}return n})}function p(e,t){var r=this;if(!e.length)return this;if(1===e.length)return e[0];var n,i,a=1/0,s=e.map(function(e){var t=[];do t.unshift(e);while((e=e.parentpath)&&e!==r);return t.lengthu;u++){for(var p=o[u],l=s,c=0;c-1}function s(){if(this.isblacklisted())return!1;if(this.opts.shouldskip&&this.opts.shouldskip(this))return!1;if(this.call("enter"),this.shouldskip)return this.shouldstop;var e=this.node,t=this.opts;if(e)if(array.isarray(e))for(var r=0;ry;case">":return y>v;case"<=":return v>=y;case">=":return y>=v;case"==":return y==v;case"!=":return y!=v;case"===":return y===v;case"!==":return y!==v;case"|":return y|v;case"&":return y&v;case"^":return y^v;case"<<":return y<>":return y>>v;case">>>":return y>>>v}}if(n.iscallexpression()){var x,s,a=n.get("callee");if(a.isidentifier()&&!n.scope.getbinding(a.node.name,!0)&&i.indexof(a.node.name)>=0&&(s=e[a.callee.name]),a.ismemberexpression()){var u=a.get("object"),d=a.get("property");if(u.isidentifier()&&d.isidentifier()&&i.indexof(u.node.name)>=0&&(x=e[u.node.name],s=x[d.node.name]),u.isliteral()&&d.isidentifier()){var l=typeof u.node.value;"string"!==l&&"number"!==l||(x=u.node.value,s=x[d.node.name])}}if(s){var w=n.get("arguments").map(t);if(!r)return;return s.apply(x,w)}}r=!1}}var r=!0,n=t(this);return r||(n=void 0),{confident:r,value:n}}r.__esmodule=!0,r.evaluatetruthy=t,r.evaluate=n;var i=["string","number","math"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],154:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esmodule?e:{"default":e}}function a(){var e=this;do{if(!e.parentpath||array.isarray(e.container)&&e.isstatement())break;e=e.parentpath}while(e);if(e&&(e.isprogram()||e.isfile()))throw new error("file/program node, we can't possibly find a statement parent to this");return e}function s(){return"left"===this.key?this.getsibling("right"):"right"===this.key?this.getsibling("left"):void 0}function o(){var e=[],t=function(t){t&&(e=e.concat(t.getcompletionrecords()))};if(this.isifstatement())t(this.get("consequent")),t(this.get("alternate"));else if(this.isdoexpression()||this.isfor()||this.iswhile())t(this.get("body"));else if(this.isprogram()||this.isblockstatement())t(this.get("body").pop());else{if(this.isfunction())return this.get("body").getcompletionrecords();this.istrystatement()?(t(this.get("block")),t(this.get("handler")),t(this.get("finalizer"))):e.push(this)}return e}function u(e){return h["default"].get({parentpath:this.parentpath,parent:this.parent,container:this.container,listkey:this.listkey,key:e})}function p(e,t){t===!0&&(t=this.context);var r=e.split(".");return 1===r.length?this._getkey(e,t):this._getpattern(r,t)}function l(e,t){var r=this,n=this.node,i=n[e];return array.isarray(i)?i.map(function(a,s){return h["default"].get({listkey:e,parentpath:r,parent:n,container:i,key:s}).setcontext(t)}):h["default"].get({parentpath:this,parent:n,container:n,key:e}).setcontext(t)}function c(e,t){for(var r=this,n=e,i=0;i=0)&&(f.push(y),s.push(m),y===e.scope)){s=[m];break}}s=s.concat(i);for(var g=s,v=0;v=0?l.numbertypeannotation():void 0;if("==="===n){var s,o;if(a.isunaryexpression({operator:"typeof"})?(s=a,o=i):i.isunaryexpression({operator:"typeof"})&&(s=i,o=a),(o||s)&&(o=o.resolve(),o.isliteral())){var u=o.node.value;if("string"==typeof u&&s.get("argument").isidentifier({name:e}))return l.createtypeannotationbasedontypeof(o.node.value)}}}function o(e){for(var t;t=e.parentpath;){if(t.isifstatement()||t.isconditionalexpression())return"test"===e.key?void 0:t;e=t}}function u(e,t){var r=o(e);if(r){var n=r.get("test"),i=[n],a=[];do{var p=i.shift().resolve();if(p.islogicalexpression()&&(i.push(p.get("left")),i.push(p.get("right"))),p.isbinaryexpression()){var c=s(t,p);c&&a.push(c)}}while(i.length);return a.length?{typeannotation:l.createuniontypeannotation(a),ifstatement:r}:u(r,t)}}r.__esmodule=!0;var p=e(179),l=n(p);r["default"]=function(e){if(this.isreferenced()){var t=this.scope.getbinding(e.name);return t?t.identifier.typeannotation?t.identifier.typeannotation:i(this,e.name):"undefined"===e.name?l.voidtypeannotation():"nan"===e.name||"infinity"===e.name?l.numbertypeannotation():void("arguments"===e.name)}},t.exports=r["default"]},{179:179}],158:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e["default"]:e}function i(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function a(){var e=this.get("id");return e.isidentifier()?this.get("init").gettypeannotation():void 0}function s(e){return e.typeannotation}function o(e){return this.get("callee").isidentifier()?w.generictypeannotation(e.callee):void 0}function u(){return w.stringtypeannotation()}function p(e){var t=e.operator;return"void"===t?w.voidtypeannotation():w.number_unary_operators.indexof(t)>=0?w.numbertypeannotation():w.string_unary_operators.indexof(t)>=0?w.stringtypeannotation():w.boolean_unary_operators.indexof(t)>=0?w.booleantypeannotation():void 0}function l(e){var t=e.operator;if(w.number_binary_operators.indexof(t)>=0)return w.numbertypeannotation();if(w.boolean_binary_operators.indexof(t)>=0)return w.booleantypeannotation();if("+"===t){var r=this.get("right"),n=this.get("left");return n.isbasetype("number")&&r.isbasetype("number")?w.numbertypeannotation():n.isbasetype("string")||r.isbasetype("string")?w.stringtypeannotation():w.uniontypeannotation([w.stringtypeannotation(),w.numbertypeannotation()])}}function c(){return w.createuniontypeannotation([this.get("left").gettypeannotation(),this.get("right").gettypeannotation()])}function f(){return w.createuniontypeannotation([this.get("consequent").gettypeannotation(),this.get("alternate").gettypeannotation()])}function d(){return this.get("expressions").pop().gettypeannotation()}function h(){return this.get("right").gettypeannotation()}function m(e){var t=e.operator;return"++"===t||"--"===t?w.numbertypeannotation():void 0}function y(e){var t=e.value;return"string"==typeof t?w.stringtypeannotation():"number"==typeof t?w.numbertypeannotation():"boolean"==typeof t?w.booleantypeannotation():null===t?w.voidtypeannotation():e.regex?w.generictypeannotation(w.identifier("regexp")):void 0}function g(){return w.generictypeannotation(w.identifier("object"))}function v(){return w.generictypeannotation(w.identifier("array"))}function b(){return v()}function e(){return w.generictypeannotation(w.identifier("function"))}function x(){return a(this.get("callee"))}function s(){return a(this.get("tag"))}function a(e){if(e=e.resolve(),e.isfunction()){if(e.is("async"))return e.is("generator")?w.generictypeannotation(w.identifier("asynciterator")):w.generictypeannotation(w.identifier("promise"));if(e.node.returntype)return e.node.returntype}}r.__esmodule=!0,r.variabledeclarator=a,r.typecastexpression=s,r.newexpression=o,r.templateliteral=u,r.unaryexpression=p,r.binaryexpression=l,r.logicalexpression=c,r.conditionalexpression=f,r.sequenceexpression=d,r.assignmentexpression=h,r.updateexpression=m,r.literal=y,r.objectexpression=g,r.arrayexpression=v,r.restelement=b,r.callexpression=x,r.taggedtemplateexpression=s;var d=e(179),w=i(d),c=e(157);r.identifier=n(c),s.validparent=!0,b.validparent=!0,r.function=e,r.class=e},{157:157,179:179}],159:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esmodule?e:{"default":e}}function a(e,t){function r(e){var t=n[a];return"*"===t||e===t}if(!this.ismemberexpression())return!1;for(var n=e.split("."),i=[this.node],a=0;i.length;){var s=i.shift();if(t&&a===n.length)return!0;if(a.isidentifier(s)){if(!r(s.name))return!1}else if(a.isliteral(s)){if(!r(s.value))return!1}else{if(a.ismemberexpression(s)){if(s.computed&&!a.isliteral(s.property))return!1;i.unshift(s.property),i.unshift(s.object);continue}if(!a.isthisexpression(s))return!1;if(!r("this"))return!1}if(++a>n.length)return!1}return a===n.length}function s(e){var t=this.node[e];return t&&array.isarray(t)?!!t.length:!!t}function o(e){return!this.has(e)}function u(e,t){return this.node[e]===t}function p(e){return a.istype(this.type,e)}function l(){return("init"===this.key||"left"===this.key)&&this.parentpath.isfor()}function c(e){return"body"===this.key&&this.parentpath.isarrowfunctionexpression()?this.isexpression()?a.isblockstatement(e):this.isblockstatement()?a.isexpression(e):!1:!1}function f(e){var t=this,r=!0;do{var n=t.container;if(t.isfunction()&&!r)return!!e;if(r=!1,array.isarray(n)&&t.key!==n.length-1)return!1}while((t=t.parentpath)&&!t.isprogram());return!0}function d(){return this.parentpath.islabeledstatement()||a.isblockstatement(this.container)?!1:x["default"](a.statement_or_block_keys,this.key)}function h(e,t){if(!this.isreferencedidentifier())return!1;var r=this.scope.getbinding(this.node.name);if(!r||"module"!==r.kind)return!1;var n=r.path,i=n.parentpath;return i.isimportdeclaration()?i.node.source.value!==e?!1:t?n.isimportdefaultspecifier()&&"default"===t?!0:n.isimportnamespacespecifier()&&"*"===t?!0:!(!n.isimportspecifier()||n.node.imported.name!==t):!0:!1}function m(){var e=this.node;return e.end?this.hub.file.code.slice(e.start,e.end):""}function y(e){return"after"!==this._guessexecutionstatusrelativeto(e)}function g(e){var t=e.scope.getfunctionparent(),r=this.scope.getfunctionparent();if(t!==r)return"function";var n,i,a,s=e.getancestry(),o=this.getancestry();for(a=0;a=0){n=u;break}}if(!n)return"before";var p=s[i-1],l=o[a-1];if(!p||!l)return"before";if(p.listkey&&p.container===l.container)return p.key>l.key?"before":"after";var c=a.visitor_keys[p.type].indexof(p.key),f=a.visitor_keys[l.type].indexof(l.key);return c>f?"before":"after"}function v(e,t){return this._resolve(e,t)||this}function b(e,t){if(!(t&&t.indexof(this)>=0))if(t=t||[],t.push(this),this.isvariabledeclarator()){if(this.get("id").isidentifier())return this.get("init").resolve(e,t)}else if(this.isreferencedidentifier()){var r=this.scope.getbinding(this.node.name);if(!r)return;if(!r.constant)return;if("module"===r.kind)return;if(r.path!==this)return r.path.resolve(e,t)}else{if(this.istypecastexpression())return this.get("expression").resolve(e,t);if(e&&this.ismemberexpression()){var n=this.tocomputedkey();if(!a.isliteral(n))return;var i=n.value,a=this.get("object").resolve(e,t);if(a.isobjectexpression())for(var s=a.get("properties"),o=s,u=0;u=0)break}while(e=e.parent)},e.prototype.getattachmentpath=function(){var e=this.scopes,t=e.pop();if(t){if(t.path.isfunction()){if(this.hasownparambindings(t)){if(this.scope===t)return;return t.path.get("body").get("body")[0]}return this.getnextscopestatementparent()}return t.path.isprogram()?this.getnextscopestatementparent():void 0}},e.prototype.getnextscopestatementparent=function(){var e=this.scopes.pop();return e?e.path.getstatementparent():void 0},e.prototype.hasownparambindings=function(e){for(var t in this.bindings)if(e.hasownbinding(t)){var r=this.bindings[t];if("param"===r.kind)return!0}return!1},e.prototype.run=function(){var e=this.path.node;if(!e._hoisted){e._hoisted=!0,this.path.traverse(p,this),this.getcompatiblescopes();var t=this.getattachmentpath();if(t&&t.getfunctionparent()!==this.path.getfunctionparent()){var r=t.scope.generateuididentifier("ref");t.insertbefore([u.variabledeclaration("var",[u.variabledeclarator(r,this.path.node)])]);var n=this.path.parentpath;n.isjsxelement()&&this.path.container===n.node.children&&(r=u.jsxexpressioncontainer(r)),this.path.replacewith(r)}}},e}();r["default"]=l,t.exports=r["default"]},{179:179,62:62}],161:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(179),a=n(i),s=[function(e){return"body"===e.key&&(e.isblockstatement()||e.isclassbody())?(e.node.body=[],!0):void 0},function(e,t){var r=!1;return r=r||"body"===e.key&&t.isarrowfunctionexpression(),r=r||"argument"===e.key&&t.isthrowstatement(),r?(e.replacewith(a.identifier("undefined")),!0):void 0}];r.pre=s;var o=[function(e,t){var r=!1;return r=r||"test"===e.key&&(t.iswhile()||t.isswitchcase()),r=r||"declaration"===e.key&&t.isexportdeclaration(),r=r||"body"===e.key&&t.islabeledstatement(),r=r||"declarations"===e.listkey&&t.isvariabledeclaration()&&0===t.node.declarations.length,r=r||"expression"===e.key&&t.isexpressionstatement(),r=r||"test"===e.key&&t.isifstatement(),r?(t.dangerouslyremove(),!0):void 0},function(e,t){return t.issequenceexpression()&&1===t.node.expressions.length?(t.replacewith(t.node.expressions[0]),!0):void 0},function(e,t){return t.isbinary()?("left"===e.key?t.replacewith(t.node.right):t.replacewith(t.node.left),!0):void 0}];r.post=o},{179:179}],162:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}r.__esmodule=!0;var i=e(62),a=n(i),s=e(179),o=n(s),u={types:["identifier","jsxidentifier"],checkpath:function(e,t){var r=e.node,n=e.parent;if(!o.isidentifier(r,t)){if(!o.isjsxidentifier(r,t))return!1;if(a.iscompattag(r.name))return!1}return o.isreferenced(r,n)}};r.referencedidentifier=u;var p={types:["identifier"],checkpath:function(e){var t=e.node,r=e.parent;return o.isbinding(t,r)}};r.bindingidentifier=p;var l={types:["statement"],checkpath:function(e){var t=e.node,r=e.parent;if(o.isstatement(t)){if(o.isvariabledeclaration(t)){if(o.isforxstatement(r,{left:t}))return!1;if(o.isforstatement(r,{init:t}))return!1}return!0}return!1}};r.statement=l;var c={types:["expression"],checkpath:function(e){return e.isidentifier()?e.isreferencedidentifier():o.isexpression(e.node)}};r.expression=c;var f={types:["scopable"],checkpath:function(e){return o.isscope(e.node,e.parent)}};r.scope=f;var d={checkpath:function(e){return o.isreferenced(e.node,e.parent)}};r.referenced=d;var h={checkpath:function(e){return o.isblockscoped(e.node)}};r.blockscoped=h;var m={types:["variabledeclaration"],checkpath:function(e){return o.isvar(e.node)}};r.var=m;var y={types:["literal"],checkpath:function(e){return e.isliteral()&&e.parentpath.isexpressionstatement()}};r.directiveliteral=y;var g={types:["expressionstatement"],checkpath:function(e){return e.get("expression").isliteral()}};r.directive=g;var v={checkpath:function(e){return e.node&&!!e.node.loc}};r.user=v;var b={checkpath:function(e){return!e.isuser()}};r.generated=b;var e={types:["flow","importdeclaration","exportdeclaration"],checkpath:function(e){var t=e.node;return o.isflow(t)?!0:o.isimportdeclaration(t)?"type"===t.importkind||"typeof"===t.importkind:o.isexportdeclaration(t)?"type"===t.exportkind:!1}};r.flow=e},{179:179,62:62}],163:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esmodule?e:{"default":e}}function a(e){if(this._assertunremoved(),e=this._verifynodelist(e),this.parentpath.isexpressionstatement()||this.parentpath.islabeledstatement())return this.parentpath.insertbefore(e);if(this.isnodetype("expression")||this.parentpath.isforstatement()&&"init"===this.key)this.node&&e.push(this.node),this.replaceexpressionwithstatements(e);else{if(this._maybepopfromstatements(e),array.isarray(this.container))return this._containerinsertbefore(e);if(!this.isstatementorblock())throw new error("we don't know what to do with this node type. we were previously a statement but we can't fit in here?");this.node&&e.push(this.node),this.node=this.container[this.key]=x.blockstatement(e)}return[this]}function s(e,t){this.updatesiblingkeys(e,t.length);for(var r=[],n=0;n=e&&(i.key+=t)}}function f(e){e.constructor!==array&&(e=[e]);for(var t=0;t1&&(r+=t),"_"+r},e.prototype.generateuididentifierbasedonnode=function(e,t){var r=e;_.isassignmentexpression(e)?r=e.left:_.isvariabledeclarator(e)?r=e.id:_.isproperty(r)&&(r=r.key);var n=[],i=function s(e){if(_.ismoduledeclaration(e))if(e.source)s(e.source);else if(e.specifiers&&e.specifiers.length)for(var t=e.specifiers,r=0;r=f.length)break;m=f[h++]}else{if(h=f.next(),h.done)break;m=h.value}var y=m,g=y.getbindingidentifiers(),v=void 0;for(var b in g)y.scope.getbinding(b)||(v=v||y.scope.getprogramparent(),v.addglobal(g[b]));y.scope.registerconstantviolation(y)}for(var e=c.references,x=array.isarray(e),s=0,e=x?e:e[symbol.iterator]();;){var a;if(x){if(s>=e.length)break;a=e[s++]}else{if(s=e.next(),s.done)break;a=s.value}var w=a,i=w.scope.getbinding(w.node.name);i?i.reference(w):w.scope.getprogramparent().addglobal(w.node)}for(var f=c.constantviolations,p=array.isarray(f),b=0,f=p?f:f[symbol.iterator]();;){var t;if(p){if(b>=f.length)break;t=f[b++]}else{if(b=f.next(),b.done)break;t=b.value}var m=t;m.scope.registerconstantviolation(m)}}},e.prototype.push=function(e){var t=this.path;t.isswitchstatement()&&(t=this.getfunctionparent().path),(t.isloop()||t.iscatchclause()||t.isfunction())&&(_.ensureblock(t.node),t=t.get("body")),t.isblockstatement()||t.isprogram()||(t=this.getblockparent().path);var r=e.unique,n=e.kind||"var",i=null==e._blockhoist?2:e._blockhoist,a="declaration:"+n+":"+i,s=!r&&t.getdata(a);if(!s){var o=_.variabledeclaration(n,[]);o._generated=!0,o._blockhoist=i,this.hub.file.attachauxiliarycomment(o);var u=t.unshiftcontainer("body",[o]);s=u[0],r||t.setdata(a,s)}var p=_.variabledeclarator(e.id,e.init);s.node.declarations.push(p),this.registerbinding(n,s.get("declarations").pop())},e.prototype.getprogramparent=function(){var e=this;do if(e.path.isprogram())return e;while(e=e.parent);throw new error("we couldn't find a function or program...")},e.prototype.getfunctionparent=function(){var e=this;do if(e.path.isfunctionparent())return e;while(e=e.parent);throw new error("we couldn't find a function or program...")},e.prototype.getblockparent=function(){var e=this;do if(e.path.isblockparent())return e;while(e=e.parent);throw new error("we couldn't find a blockstatement, for, switch, function, loop or program...")},e.prototype.getallbindings=function(){var e=c["default"](),t=this;do h["default"](e,t.bindings),t=t.parent;while(t);return e},e.prototype.getallbindingsofkind=function(){for(var e=c["default"](),t=arguments,r=0;r=0)){if(u.isanytypeannotation(o))return[o];if(u.isflowbaseannotation(o))r[o.type]=o;else if(u.isuniontypeannotation(o))n.indexof(o.types)<0&&(e=e.concat(o.types),n.push(o.types));else if(u.isgenerictypeannotation(o)){var p=o.id.name;if(t[p]){var l=t[p];l.typeparameters?o.typeparameters&&(l.typeparameters.params=a(l.typeparameters.params.concat(o.typeparameters.params))):l=o.typeparameters}else t[p]=o}else i.push(o)}}for(var c in r)i.push(r[c]);for(var f in t)i.push(t[f]);return i}function s(e){if("string"===e)return u.stringtypeannotation();if("number"===e)return u.numbertypeannotation();if("undefined"===e)return u.voidtypeannotation();if("boolean"===e)return u.booleantypeannotation();if("function"===e)return u.generictypeannotation(u.identifier("function"));if("object"===e)return u.generictypeannotation(u.identifier("object"));if("symbol"===e)return u.generictypeannotation(u.identifier("symbol"));throw new error("invalid typeof value")}r.__esmodule=!0,r.createuniontypeannotation=i,r.removetypeduplicates=a,r.createtypeannotationbasedontypeof=s;var o=e(179),u=n(o)},{179:179}],179:[function(e,t,r){"use strict";function n(e){return e&&e.__esmodule?e:{"default":e}}function i(e,t){var r=b["is"+e]=function(r,n){return b.is(e,r,n,t)};b["assert"+e]=function(t,n){if(n=n||{},!r(t,n))throw new error("expected type "+json.stringify(e)+" with option "+json.stringify(n))}}function a(e,t,r,n){if(!t)return!1;var i=s(t.type,e);return i?"undefined"==typeof r?!0:b.shallowequal(t,r):!1}function s(e,t){if(e===t)return!0;var r=b.flipped_alias_keys[t];if(r){if(r[0]===e)return!0;for(var n=r,i=0;ir.length)return!1}return!0}}function h(e){for(var t=j,r=0;r","<",">=","<="];r.boolean_number_binary_operators=n;var r=["==","===","!=","!=="];r.equality_binary_operators=r;var v=r.concat(["in","instanceof"]);r.comparison_binary_operators=v;var u=[].concat(v,n);r.boolean_binary_operators=u;var q=["-","/","*","**","&","|",">>",">>>","<<","^"];r.number_binary_operators=q;var g=["delete","!"];r.boolean_unary_operators=g;var h=["+","-","++","--","~"];r.number_unary_operators=h;var w=["typeof"];r.string_unary_operators=w,r.visitor_keys=p.visitor_keys,r.builder_keys=p.builder_keys,r.alias_keys=p.alias_keys,_["default"](b.visitor_keys,function(e,t){i(t,!0)}),b.flipped_alias_keys={},_["default"](b.alias_keys,function(e,t){_["default"](e,function(e){var r=b.flipped_alias_keys[e]=b.flipped_alias_keys[e]||[];r.push(t)})}),_["default"](b.flipped_alias_keys,function(e,t){b[t.touppercase()+"_types"]=e,i(t,!1)});var x=object.keys(b.visitor_keys).concat(object.keys(b.flipped_alias_keys));r.types=x,_["default"](b.visitor_keys,function(e,t){if(!b.builder_keys[t]){var r={};_["default"](e,function(e){r[e]=null}),b.builder_keys[t]=r}}),_["default"](b.builder_keys,function(e,t){var r=function(){var r={};r.type=t;var n=0;for(var i in e){var a=arguments[n++];void 0===a&&(a=e[i]),r[i]=a}return r};b[t]=r,b[t[0].tolowercase()+t.slice(1)]=r}),s["default"](b),s["default"](b.visitor_keys),c["default"](b,e(180)),c["default"](b,e(181)),c["default"](b,e(169)),c["default"](b,e(178))},{169:169,174:174,175:175,178:178,180:180,181:181,438:438,442:442,444:444,542:542,607:607}],180:[function(e,t,r){"use strict";function n(e){if(e&&e.__esmodule)return e;var t={};if(null!=e)for(var r in e)object.prototype.hasownproperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e,t){for(var r=[].concat(e),n=object.create(null);r.length;){var i=r.shift();if(i){var a=s.getbindingidentifiers.keys[i.type];if(s.isidentifier(i))if(t){var o=n[i.name]=n[i.name]||[];o.push(i)}else n[i.name]=i;else if(s.isexportdeclaration(i))s.isdeclaration(e.declaration)&&r.push(e.declaration);else if(a)for(var u=0;u=0)return!0}else if(a===e)return!0}return!1}function s(e,t){switch(t.type){case"memberexpression":case"jsxmemberexpression":return t.property===e&&t.computed?!0:t.object===e;case"metaproperty":return!1;case"property":if(t.key===e)return t.computed;case"variabledeclarator":return t.id!==e;case"arrowfunctionexpression":case"functiondeclaration":case"functionexpression":for(var r=t.params,n=0;n1)return i.body;var a=i.body[0];return!n&&x.isexpressionstatement(a)?a.expression:a}function d(e,t){var r=n["default"](t,{filename:e,loosemodules:!0}).program;return r=f["default"].removeproperties(r)}function h(){var e={},r=v["default"].join(t,"transformation/templates");if(!k["default"].sync(r))throw new referenceerror(d.get("missingtemplatesdirectory"));for(var n=h["default"].readdirsync(r),i=0;i<]/g}},{}],185:[function(e,t,r){"use strict";function n(e,t){return function(){var r=e.apply(o,arguments);return"["+(r+t)+"m"}}function i(e,t){return function(){var r=e.apply(o,arguments);return"["+(38+t)+";5;"+r+"m"}}function a(e,t){return function(){var r=e.apply(o,arguments);return"["+(38+t)+";2;"+r[0]+";"+r[1]+";"+r[2]+"m"}}function s(){function e(e,t,r){return[e,t,r]}var t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39]},bgcolor:{bgblack:[40,49],bgred:[41,49],bggreen:[42,49],bgyellow:[43,49],bgblue:[44,49],bgmagenta:[45,49],bgcyan:[46,49],bgwhite:[47,49]}};t.color.grey=t.color.gray,object.keys(t).foreach(function(e){var r=t[e];object.keys(r).foreach(function(e){var n=r[e];t[e]=r[e]={open:"["+n[0]+"m",close:"["+n[1]+"m"}}),object.defineproperty(t,e,{value:r,enumerable:!1})}),t.color.close="",t.bgcolor.close="",t.color.ansi={},t.color.ansi256={},t.color.ansi16m={rgb:a(e,0)},t.bgcolor.ansi={},t.bgcolor.ansi256={},t.bgcolor.ansi16m={rgb:a(e,10)};for(var r in o)if(o.hasownproperty(r)&&"object"==typeof o[r]){var s=o[r];"ansi16"in s&&(t.color.ansi[r]=n(s.ansi16,0),t.bgcolor.ansi[r]=n(s.ansi16,10)),"ansi256"in s&&(t.color.ansi256[r]=i(s.ansi256,0),t.bgcolor.ansi256[r]=i(s.ansi256,10)),"rgb"in s&&(t.color.ansi16m[r]=a(s.rgb,0),t.bgcolor.ansi16m[r]=a(s.rgb,10))}return t}var o=e(225);object.defineproperty(t,"exports",{enumerable:!0,get:s})},{225:225}],186:[function(e,t,r){function n(e,t){"use strict";function r(e,t,s,o){if(e&&"string"==typeof e.type){var u=void 0;if(n&&(u=n(e,t,s,o)),u!==!1)for(var s in e)if(a?!a(s,e):"$"!==s[0]){var p=e[s];if(array.isarray(p))for(var l=0;l",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof","..");a("binaryexpression").bases("expression").build("operator","left","right").field("operator",c).field("left",a("expression")).field("right",a("expression"));var f=s("=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&=");a("assignmentexpression").bases("expression").build("operator","left","right").field("operator",f).field("left",a("pattern")).field("right",a("expression"));var d=s("++","--");a("updateexpression").bases("expression").build("operator","argument","prefix").field("operator",d).field("argument",a("expression")).field("prefix",boolean);var h=s("||","&&");a("logicalexpression").bases("expression").build("operator","left","right").field("operator",h).field("left",a("expression")).field("right",a("expression")),a("conditionalexpression").bases("expression").build("test","consequent","alternate").field("test",a("expression")).field("consequent",a("expression")).field("alternate",a("expression")),a("newexpression").bases("expression").build("callee","arguments").field("callee",a("expression")).field("arguments",[a("expression")]),a("callexpression").bases("expression").build("callee","arguments").field("callee",a("expression")).field("arguments",[a("expression")]),a("memberexpression").bases("expression").build("object","property","computed").field("object",a("expression")).field("property",s(a("identifier"),a("expression"))).field("computed",boolean,u["false"]),a("pattern").bases("node"),a("switchcase").bases("node").build("test","consequent").field("test",s(a("expression"),null)).field("consequent",[a("statement")]),a("identifier").bases("node","expression","pattern").build("name").field("name",string),a("literal").bases("node","expression").build("value").field("value",s(string,boolean,null,number,regexp)).field("regex",s({pattern:string,flags:string},null),function(){if(this.value instanceof regexp){var e="";return this.value.ignorecase&&(e+="i"),this.value.multiline&&(e+="m"),this.value.global&&(e+="g"),{pattern:this.value.source,flags:e}}return null}),a("comment").bases("printable").field("value",string).field("leading",boolean,u["true"]).field("trailing",boolean,u["false"])},{200:200,201:201}],189:[function(e,t,r){e(188);var n=e(201),i=n.type.def,a=n.type.or;i("xmldefaultdeclaration").bases("declaration").field("namespace",i("expression")),i("xmlanyname").bases("expression"),i("xmlqualifiedidentifier").bases("expression").field("left",a(i("identifier"),i("xmlanyname"))).field("right",a(i("identifier"),i("expression"))).field("computed",boolean),i("xmlfunctionqualifiedidentifier").bases("expression").field("right",a(i("identifier"),i("expression"))).field("computed",boolean),i("xmlattributeselector").bases("expression").field("attribute",i("expression")),i("xmlfilterexpression").bases("expression").field("left",i("expression")).field("right",i("expression")),i("xmlelement").bases("xml","expression").field("contents",[i("xml")]),i("xmllist").bases("xml","expression").field("contents",[i("xml")]),i("xml").bases("node"),i("xmlescape").bases("xml").field("expression",i("expression")),i("xmltext").bases("xml").field("text",string),i("xmlstarttag").bases("xml").field("contents",[i("xml")]),i("xmlendtag").bases("xml").field("contents",[i("xml")]),i("xmlpointtag").bases("xml").field("contents",[i("xml")]),i("xmlname").bases("xml").field("contents",a(string,[i("xml")])),i("xmlattribute").bases("xml").field("value",string),i("xmlcdata").bases("xml").field("contents",string),i("xmlcomment").bases("xml").field("contents",string),i("xmlprocessinginstruction").bases("xml").field("target",string).field("contents",a(string,null))},{188:188,201:201}],190:[function(e,t,r){e(188);var n=e(201),i=n.type.def,a=n.type.or,s=e(200).defaults;i("function").field("generator",boolean,s["false"]).field("expression",boolean,s["false"]).field("defaults",[a(i("expression"),null)],s.emptyarray).field("rest",a(i("identifier"),null),s["null"]),i("restelement").bases("pattern").build("argument").field("argument",i("pattern")),i("spreadelementpattern").bases("pattern").build("argument").field("argument",i("pattern")),i("functiondeclaration").build("id","params","body","generator","expression"),i("functionexpression").build("id","params","body","generator","expression"),i("arrowfunctionexpression").bases("function","expression").build("params","body","expression").field("id",null,s["null"]).field("body",a(i("blockstatement"),i("expression"))).field("generator",!1,s["false"]),i("yieldexpression").bases("expression").build("argument","delegate").field("argument",a(i("expression"),null)).field("delegate",boolean,s["false"]),i("generatorexpression").bases("expression").build("body","blocks","filter").field("body",i("expression")).field("blocks",[i("comprehensionblock")]).field("filter",a(i("expression"),null)),i("comprehensionexpression").bases("expression").build("body","blocks","filter").field("body",i("expression")).field("blocks",[i("comprehensionblock")]).field("filter",a(i("expression"),null)),i("comprehensionblock").bases("node").build("left","right","each").field("left",i("pattern")).field("right",i("expression")).field("each",boolean),i("property").field("key",a(i("literal"),i("identifier"),i("expression"))).field("value",a(i("expression"),i("pattern"))).field("method",boolean,s["false"]).field("shorthand",boolean,s["false"]).field("computed",boolean,s["false"]),i("propertypattern").bases("pattern").build("key","pattern").field("key",a(i("literal"),i("identifier"),i("expression"))).field("pattern",i("pattern")).field("computed",boolean,s["false"]),i("objectpattern").bases("pattern").build("properties").field("properties",[a(i("propertypattern"),i("property"))]),i("arraypattern").bases("pattern").build("elements").field("elements",[a(i("pattern"),null)]),i("methoddefinition").bases("declaration").build("kind","key","value","static").field("kind",a("constructor","method","get","set")).field("key",a(i("literal"),i("identifier"),i("expression"))).field("value",i("function")).field("computed",boolean,s["false"]).field("static",boolean,s["false"]),i("spreadelement").bases("node").build("argument").field("argument",i("expression")),i("arrayexpression").field("elements",[a(i("expression"),i("spreadelement"),i("restelement"),null)]),i("newexpression").field("arguments",[a(i("expression"),i("spreadelement"))]),i("callexpression").field("arguments",[a(i("expression"),i("spreadelement"))]),i("assignmentpattern").bases("pattern").build("left","right").field("left",i("pattern")).field("right",i("expression"));var o=a(i("methoddefinition"),i("variabledeclarator"),i("classpropertydefinition"),i("classproperty"));i("classproperty").bases("declaration").build("key").field("key",a(i("literal"),i("identifier"),i("expression"))).field("computed",boolean,s["false"]),i("classpropertydefinition").bases("declaration").build("definition").field("definition",o),i("classbody").bases("declaration").build("body").field("body",[o]),i("classdeclaration").bases("declaration").build("id","body","superclass").field("id",a(i("identifier"),null)).field("body",i("classbody")).field("superclass",a(i("expression"),null),s["null"]),i("classexpression").bases("expression").build("id","body","superclass").field("id",a(i("identifier"),null),s["null"]).field("body",i("classbody")).field("superclass",a(i("expression"),null),s["null"]).field("implements",[i("classimplements")],s.emptyarray),i("classimplements").bases("node").build("id").field("id",i("identifier")).field("superclass",a(i("expression"),null),s["null"]),i("specifier").bases("node"),i("modulespecifier").bases("specifier").field("local",a(i("identifier"),null),s["null"]).field("id",a(i("identifier"),null),s["null"]).field("name",a(i("identifier"),null),s["null"]),i("taggedtemplateexpression").bases("expression").build("tag","quasi").field("tag",i("expression")).field("quasi",i("templateliteral")),i("templateliteral").bases("expression").build("quasis","expressions").field("quasis",[i("templateelement")]).field("expressions",[i("expression")]),i("templateelement").bases("node").build("value","tail").field("value",{cooked:string,raw:string}).field("tail",boolean)},{188:188,200:200,201:201}],191:[function(e,t,r){e(190);var n=e(201),i=n.type.def,a=n.type.or,s=(n.builtintypes,e(200).defaults);i("function").field("async",boolean,s["false"]),i("spreadproperty").bases("node").build("argument").field("argument",i("expression")),i("objectexpression").field("properties",[a(i("property"),i("spreadproperty"))]),i("spreadpropertypattern").bases("pattern").build("argument").field("argument",i("pattern")),i("objectpattern").field("properties",[a(i("property"),i("propertypattern"),i("spreadpropertypattern"))]),i("awaitexpression").bases("expression").build("argument","all").field("argument",a(i("expression"),null)).field("all",boolean,s["false"])},{190:190,200:200,201:201}],192:[function(e,t,r){e(191);var n=e(201),i=e(200).defaults,a=n.type.def,s=n.type.or;a("variabledeclaration").field("declarations",[s(a("variabledeclarator"),a("identifier"))]),a("property").field("value",s(a("expression"),a("pattern"))),a("arraypattern").field("elements",[s(a("pattern"),a("spreadelement"),null)]),a("objectpattern").field("properties",[s(a("property"),a("propertypattern"),a("spreadpropertypattern"),a("spreadproperty"))]),a("exportspecifier").bases("modulespecifier").build("id","name"),a("exportbatchspecifier").bases("specifier").build(),a("importspecifier").bases("modulespecifier").build("id","name"),a("importnamespacespecifier").bases("modulespecifier").build("id"),a("importdefaultspecifier").bases("modulespecifier").build("id"),a("exportdeclaration").bases("declaration").build("default","declaration","specifiers","source").field("default",boolean).field("declaration",s(a("declaration"),a("expression"),null)).field("specifiers",[s(a("exportspecifier"),a("exportbatchspecifier"))],i.emptyarray).field("source",s(a("literal"),null),i["null"]),a("importdeclaration").bases("declaration").build("specifiers","source").field("specifiers",[s(a("importspecifier"),a("importnamespacespecifier"),a("importdefaultspecifier"))],i.emptyarray).field("source",a("literal")),a("block").bases("comment").build("value","leading","trailing"),a("line").bases("comment").build("value","leading","trailing")},{191:191,200:200,201:201}],193:[function(e,t,r){e(191);var n=e(201),i=n.type.def,a=n.type.or,s=e(200).defaults;i("jsxattribute").bases("node").build("name","value").field("name",a(i("jsxidentifier"),i("jsxnamespacedname"))).field("value",a(i("literal"),i("jsxexpressioncontainer"),null),s["null"]),i("jsxidentifier").bases("identifier").build("name").field("name",string),i("jsxnamespacedname").bases("node").build("namespace","name").field("namespace",i("jsxidentifier")).field("name",i("jsxidentifier")),i("jsxmemberexpression").bases("memberexpression").build("object","property").field("object",a(i("jsxidentifier"),i("jsxmemberexpression"))).field("property",i("jsxidentifier")).field("computed",boolean,s["false"]);var o=a(i("jsxidentifier"),i("jsxnamespacedname"),i("jsxmemberexpression"));i("jsxspreadattribute").bases("node").build("argument").field("argument",i("expression"));var u=[a(i("jsxattribute"),i("jsxspreadattribute"))];i("jsxexpressioncontainer").bases("expression").build("expression").field("expression",i("expression")),i("jsxelement").bases("expression").build("openingelement","closingelement","children").field("openingelement",i("jsxopeningelement")).field("closingelement",a(i("jsxclosingelement"),null),s["null"]).field("children",[a(i("jsxelement"),i("jsxexpressioncontainer"),i("jsxtext"),i("literal"))],s.emptyarray).field("name",o,function(){return this.openingelement.name},!0).field("selfclosing",boolean,function(){return this.openingelement.selfclosing},!0).field("attributes",u,function(){return this.openingelement.attributes},!0),i("jsxopeningelement").bases("node").build("name","attributes","selfclosing").field("name",o).field("attributes",u,s.emptyarray).field("selfclosing",boolean,s["false"]),i("jsxclosingelement").bases("node").build("name").field("name",o),i("jsxtext").bases("literal").build("value").field("value",string),i("jsxemptyexpression").bases("expression").build(),i("type").bases("node"),i("anytypeannotation").bases("type").build(),i("mixedtypeannotation").bases("type").build(),i("voidtypeannotation").bases("type").build(),i("numbertypeannotation").bases("type").build(),i("numberliteraltypeannotation").bases("type").build("value","raw").field("value",number).field("raw",string),i("stringtypeannotation").bases("type").build(),i("stringliteraltypeannotation").bases("type").build("value","raw").field("value",string).field("raw",string),i("booleantypeannotation").bases("type").build(),i("booleanliteraltypeannotation").bases("type").build("value","raw").field("value",boolean).field("raw",string),i("typeannotation").bases("node").build("typeannotation").field("typeannotation",i("type")),i("nullabletypeannotation").bases("type").build("typeannotation").field("typeannotation",i("type")),i("functiontypeannotation").bases("type").build("params","returntype","rest","typeparameters").field("params",[i("functiontypeparam")]).field("returntype",i("type")).field("rest",a(i("functiontypeparam"),null)).field("typeparameters",a(i("typeparameterdeclaration"),null)),i("functiontypeparam").bases("node").build("name","typeannotation","optional").field("name",i("identifier")).field("typeannotation",i("type")).field("optional",boolean),i("arraytypeannotation").bases("type").build("elementtype").field("elementtype",i("type")),i("objecttypeannotation").bases("type").build("properties").field("properties",[i("objecttypeproperty")]).field("indexers",[i("objecttypeindexer")],s.emptyarray).field("callproperties",[i("objecttypecallproperty")],s.emptyarray),i("objecttypeproperty").bases("node").build("key","value","optional").field("key",a(i("literal"),i("identifier"))).field("value",i("type")).field("optional",boolean),i("objecttypeindexer").bases("node").build("id","key","value").field("id",i("identifier")).field("key",i("type")).field("value",i("type")),i("objecttypecallproperty").bases("node").build("value").field("value",i("functiontypeannotation")).field("static",boolean,!1),i("qualifiedtypeidentifier").bases("node").build("qualification","id").field("qualification",a(i("identifier"),i("qualifiedtypeidentifier"))).field("id",i("identifier")),i("generictypeannotation").bases("type").build("id","typeparameters").field("id",a(i("identifier"),i("qualifiedtypeidentifier"))).field("typeparameters",a(i("typeparameterinstantiation"),null)),i("membertypeannotation").bases("type").build("object","property").field("object",i("identifier")).field("property",a(i("membertypeannotation"),i("generictypeannotation"))),i("uniontypeannotation").bases("type").build("types").field("types",[i("type")]),i("intersectiontypeannotation").bases("type").build("types").field("types",[i("type")]),i("typeoftypeannotation").bases("type").build("argument").field("argument",i("type")),i("identifier").field("typeannotation",a(i("typeannotation"),null),s["null"]),i("typeparameterdeclaration").bases("node").build("params").field("params",[i("identifier")]),i("typeparameterinstantiation").bases("node").build("params").field("params",[i("type")]),i("function").field("returntype",a(i("typeannotation"),null),s["null"]).field("typeparameters",a(i("typeparameterdeclaration"),null),s["null"]),i("classproperty").build("key","value","typeannotation","static").field("value",a(i("expression"),null)).field("typeannotation",a(i("typeannotation"),null)).field("static",boolean,s["false"]),i("classimplements").field("typeparameters",a(i("typeparameterinstantiation"),null),s["null"]),i("interfacedeclaration").bases("statement").build("id","body","extends").field("id",i("identifier")).field("typeparameters",a(i("typeparameterdeclaration"),null),s["null"]).field("body",i("objecttypeannotation")).field("extends",[i("interfaceextends")]),i("interfaceextends").bases("node").build("id").field("id",i("identifier")).field("typeparameters",a(i("typeparameterinstantiation"),null)),i("typealias").bases("statement").build("id","typeparameters","right").field("id",i("identifier")).field("typeparameters",a(i("typeparameterdeclaration"),null)).field("right",i("type")),i("typecastexpression").bases("expression").build("expression","typeannotation").field("expression",i("expression")).field("typeannotation",i("typeannotation")),i("tupletypeannotation").bases("type").build("types").field("types",[i("type")]),i("declarevariable").bases("statement").build("id").field("id",i("identifier")),i("declarefunction").bases("statement").build("id").field("id",i("identifier")), i("declareclass").bases("interfacedeclaration").build("id"),i("declaremodule").bases("statement").build("id","body").field("id",a(i("identifier"),i("literal"))).field("body",i("blockstatement"))},{191:191,200:200,201:201}],194:[function(e,t,r){e(188);var n=e(201),i=n.type.def,a=n.type.or,s=e(200),o=s.geq,u=s.defaults;i("function").field("body",a(i("blockstatement"),i("expression"))),i("forinstatement").build("left","right","body","each").field("each",boolean,u["false"]),i("forofstatement").bases("statement").build("left","right","body").field("left",a(i("variabledeclaration"),i("expression"))).field("right",i("expression")).field("body",i("statement")),i("letstatement").bases("statement").build("head","body").field("head",[i("variabledeclarator")]).field("body",i("statement")),i("letexpression").bases("expression").build("head","body").field("head",[i("variabledeclarator")]).field("body",i("expression")),i("graphexpression").bases("expression").build("index","expression").field("index",o(0)).field("expression",i("literal")),i("graphindexexpression").bases("expression").build("index").field("index",o(0))},{188:188,200:200,201:201}],195:[function(e,t,r){function n(e,t,r){return c.check(r)?r.length=0:r=null,a(e,t,r)}function i(e){return/[_$a-z][_$a-z0-9]*/i.test(e)?"."+e:"["+json.stringify(e)+"]"}function a(e,t,r){return e===t?!0:c.check(e)?s(e,t,r):f.check(e)?o(e,t,r):d.check(e)?d.check(t)&&+e===+t:h.check(e)?h.check(t)&&e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.ignorecase===t.ignorecase:e==t}function s(e,t,r){c.assert(e);var n=e.length;if(!c.check(t)||t.length!==n)return r&&r.push("length"),!1;for(var i=0;n>i;++i){if(r&&r.push(i),i in e!=i in t)return!1;if(!a(e[i],t[i],r))return!1;if(r){var s=r.pop();if(s!==i)throw new error(""+s)}}return!0}function o(e,t,r){if(f.assert(e),!f.check(t))return!1;if(e.type!==t.type)return r&&r.push("type"),!1;var n=p(e),i=n.length,s=p(t),o=s.length;if(i===o){for(var u=0;i>u;++u){var c=n[u],d=l(e,c),h=l(t,c);if(r&&r.push(c),!a(d,h,r))return!1;if(r){var y=r.pop();if(y!==c)throw new error(""+y)}}return!0}if(!r)return!1;var g=object.create(null);for(u=0;i>u;++u)g[n[u]]=!0;for(u=0;o>u;++u){if(c=s[u],!m.call(g,c))return r.push(c),!1;delete g[c]}for(c in g){r.push(c);break}return!1}var u=e(202),p=u.getfieldnames,l=u.getfieldvalue,c=u.builtintypes.array,f=u.builtintypes.object,d=u.builtintypes.date,h=u.builtintypes.regexp,m=object.prototype.hasownproperty;n.assert=function(e,t){var r=[];if(!n(e,t,r)){if(0!==r.length)throw new error("nodes differ in the following path: "+r.map(i).join(""));if(e!==t)throw new error("nodes must be equal")}},t.exports=n},{202:202}],196:[function(e,t,r){function n(e,t,r){if(!(this instanceof n))throw new error("nodepath constructor cannot be invoked without 'new'");h.call(this,e,t,r)}function i(e){return l.binaryexpression.check(e)||l.logicalexpression.check(e)}function a(e){return l.callexpression.check(e)?!0:d.check(e)?e.some(a):l.node.check(e)?p.somefield(e,function(e,t){return a(t)}):!1}function s(e){for(var t,r;e.parent;e=e.parent){if(t=e.node,r=e.parent.node,l.blockstatement.check(r)&&"body"===e.parent.name&&0===e.name){if(r.body[0]!==t)throw new error("nodes must be equal");return!0}if(l.expressionstatement.check(r)&&"expression"===e.name){if(r.expression!==t)throw new error("nodes must be equal");return!0}if(l.sequenceexpression.check(r)&&"expressions"===e.parent.name&&0===e.name){if(r.expressions[0]!==t)throw new error("nodes must be equal")}else if(l.callexpression.check(r)&&"callee"===e.name){if(r.callee!==t)throw new error("nodes must be equal")}else if(l.memberexpression.check(r)&&"object"===e.name){if(r.object!==t)throw new error("nodes must be equal")}else if(l.conditionalexpression.check(r)&&"test"===e.name){if(r.test!==t)throw new error("nodes must be equal")}else if(i(r)&&"left"===e.name){if(r.left!==t)throw new error("nodes must be equal")}else{if(!l.unaryexpression.check(r)||r.prefix||"argument"!==e.name)return!1;if(r.argument!==t)throw new error("nodes must be equal")}}return!0}function o(e){if(l.variabledeclaration.check(e.node)){var t=e.get("declarations").value;if(!t||0===t.length)return e.prune()}else if(l.expressionstatement.check(e.node)){if(!e.get("expression").value)return e.prune()}else l.ifstatement.check(e.node)&&u(e);return e}function u(e){var t=e.get("test").value,r=e.get("alternate").value,n=e.get("consequent").value;if(n||r){if(!n&&r){var i=c.unaryexpression("!",t,!0);l.unaryexpression.check(t)&&"!"===t.operator&&(i=t.argument),e.get("test").replace(i),e.get("consequent").replace(r),e.get("alternate").replace()}}else{var a=c.expressionstatement(t);e.replace(a)}}var p=e(201),l=p.namedtypes,c=p.builders,f=p.builtintypes.number,d=p.builtintypes.array,h=e(198),m=e(199),y=n.prototype=object.create(h.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});object.defineproperties(y,{node:{get:function(){return object.defineproperty(this,"node",{configurable:!0,value:this._computenode()}),this.node}},parent:{get:function(){return object.defineproperty(this,"parent",{configurable:!0,value:this._computeparent()}),this.parent}},scope:{get:function(){return object.defineproperty(this,"scope",{configurable:!0,value:this._computescope()}),this.scope}}}),y.replace=function(){return delete this.node,delete this.parent,delete this.scope,h.prototype.replace.apply(this,arguments)},y.prune=function(){var e=this.parent;return this.replace(),o(e)},y._computenode=function(){var e=this.value;if(l.node.check(e))return e;var t=this.parentpath;return t&&t.node||null},y._computeparent=function(){var e=this.value,t=this.parentpath;if(!l.node.check(e)){for(;t&&!l.node.check(t.value);)t=t.parentpath;t&&(t=t.parentpath)}for(;t&&!l.node.check(t.value);)t=t.parentpath;return t||null},y._computescope=function(){var e=this.value,t=this.parentpath,r=t&&t.scope;return l.node.check(e)&&m.isestablishedby(e)&&(r=new m(this,r)),r||null},y.getvalueproperty=function(e){return p.getfieldvalue(this.value,e)},y.needsparens=function(e){var t=this.parentpath;if(!t)return!1;var r=this.value;if(!l.expression.check(r))return!1;if("identifier"===r.type)return!1;for(;!l.node.check(t.value);)if(t=t.parentpath,!t)return!1;var n=t.value;switch(r.type){case"unaryexpression":case"spreadelement":case"spreadproperty":return"memberexpression"===n.type&&"object"===this.name&&n.object===r;case"binaryexpression":case"logicalexpression":switch(n.type){case"callexpression":return"callee"===this.name&&n.callee===r;case"unaryexpression":case"spreadelement":case"spreadproperty":return!0;case"memberexpression":return"object"===this.name&&n.object===r;case"binaryexpression":case"logicalexpression":var i=n.operator,t=g[i],s=r.operator,o=g[s];if(t>o)return!0;if(t===o&&"right"===this.name){if(n.right!==r)throw new error("nodes must be equal");return!0}default:return!1}case"sequenceexpression":switch(n.type){case"forstatement":return!1;case"expressionstatement":return"expression"!==this.name;default:return!0}case"yieldexpression":switch(n.type){case"binaryexpression":case"logicalexpression":case"unaryexpression":case"spreadelement":case"spreadproperty":case"callexpression":case"memberexpression":case"newexpression":case"conditionalexpression":case"yieldexpression":return!0;default:return!1}case"literal":return"memberexpression"===n.type&&f.check(r.value)&&"object"===this.name&&n.object===r;case"assignmentexpression":case"conditionalexpression":switch(n.type){case"unaryexpression":case"spreadelement":case"spreadproperty":case"binaryexpression":case"logicalexpression":return!0;case"callexpression":return"callee"===this.name&&n.callee===r;case"conditionalexpression":return"test"===this.name&&n.test===r;case"memberexpression":return"object"===this.name&&n.object===r;default:return!1}default:if("newexpression"===n.type&&"callee"===this.name&&n.callee===r)return a(r)}return!(e===!0||this.canbefirstinstatement()||!this.firstinstatement())};var g={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].foreach(function(e,t){e.foreach(function(e){g[e]=t})}),y.canbefirstinstatement=function(){var e=this.node;return!l.functionexpression.check(e)&&!l.objectexpression.check(e)},y.firstinstatement=function(){return s(this)},t.exports=n},{198:198,199:199,201:201}],197:[function(e,t,r){function n(){if(!(this instanceof n))throw new error("pathvisitor constructor cannot be invoked without 'new'");this._reusablecontextstack=[],this._methodnametable=i(this),this._shouldvisitcomments=h.call(this._methodnametable,"block")||h.call(this._methodnametable,"line"),this.context=o(this),this._visiting=!1,this._changereported=!1}function i(e){var t=object.create(null);for(var r in e)/^visit[a-z]/.test(r)&&(t[r.slice("visit".length)]=!0);for(var n=p.computesupertypelookuptable(t),i=object.create(null),t=object.keys(n),a=t.length,s=0;a>s;++s){var o=t[s];r="visit"+n[o],d.check(e[r])&&(i[o]=r)}return i}function a(e,t){for(var r in t)h.call(t,r)&&(e[r]=t[r]);return e}function s(e,t){if(!(e instanceof l))throw new error("");if(!(t instanceof n))throw new error("");var r=e.value;if(c.check(r))e.each(t.visitwithoutreset,t);else if(f.check(r)){var i=p.getfieldnames(r);t._shouldvisitcomments&&r.comments&&i.indexof("comments")<0&&i.push("comments");for(var a=i.length,s=[],o=0;a>o;++o){var u=i[o];h.call(r,u)||(r[u]=p.getfieldvalue(r,u)),s.push(e.get(u))}for(var o=0;a>o;++o)t.visitwithoutreset(s[o])}else;return e.value}function o(e){function t(r){if(!(this instanceof t))throw new error("");if(!(this instanceof n))throw new error("");if(!(r instanceof l))throw new error("");object.defineproperty(this,"visitor",{value:e,writable:!1,enumerable:!0,configurable:!1}),this.currentpath=r,this.needtocalltraverse=!0,object.seal(this)}if(!(e instanceof n))throw new error("");var r=t.prototype=object.create(e);return r.constructor=t,a(r,y),t}var u,p=e(201),l=e(196),c=(p.namedtypes.printable,p.builtintypes.array),f=p.builtintypes.object,d=p.builtintypes["function"],h=object.prototype.hasownproperty;n.frommethodsobject=function(e){function t(){if(!(this instanceof t))throw new error("visitor constructor cannot be invoked without 'new'");n.call(this)}if(e instanceof n)return e;if(!f.check(e))return new n;var r=t.prototype=object.create(m);return r.constructor=t,a(r,e),a(t,n),d.assert(t.frommethodsobject),d.assert(t.visit),new t},n.visit=function(e,t){return n.frommethodsobject(t).visit(e)};var m=n.prototype;m.visit=function(){if(this._visiting)throw new error("recursively calling visitor.visit(path) resets visitor state. try this.visit(path) or this.traverse(path) instead.");this._visiting=!0,this._changereported=!1,this._abortrequested=!1;for(var e=arguments.length,t=new array(e),r=0;e>r;++r)t[r]=arguments[r];t[0]instanceof l||(t[0]=new l({root:t[0]}).get("root")),this.reset.apply(this,t);try{var n=this.visitwithoutreset(t[0]),i=!0}finally{if(this._visiting=!1,!i&&this._abortrequested)return t[0].value}return n},m.abortrequest=function(){},m.abort=function(){var e=this;e._abortrequested=!0;var t=new e.abortrequest;throw t.cancel=function(){e._abortrequested=!1},t},m.reset=function(e){},m.visitwithoutreset=function(e){if(this instanceof this.context)return this.visitor.visitwithoutreset(e);if(!(e instanceof l))throw new error("");var t=e.value,r=t&&"object"==typeof t&&"string"==typeof t.type&&this._methodnametable[t.type];if(!r)return s(e,this);var n=this.acquirecontext(e);try{return n.invokevisitormethod(r)}finally{this.releasecontext(n)}},m.acquirecontext=function(e){return 0===this._reusablecontextstack.length?new this.context(e):this._reusablecontextstack.pop().reset(e)},m.releasecontext=function(e){if(!(e instanceof this.context))throw new error("");this._reusablecontextstack.push(e),e.currentpath=null},m.reportchanged=function(){this._changereported=!0},m.waschangereported=function(){return this._changereported};var y=object.create(null);y.reset=function(e){if(!(this instanceof this.context))throw new error("");if(!(e instanceof l))throw new error("");return this.currentpath=e,this.needtocalltraverse=!0,this},y.invokevisitormethod=function(e){if(!(this instanceof this.context))throw new error("");if(!(this.currentpath instanceof l))throw new error("");var t=this.visitor[e].call(this,this.currentpath);if(t===!1?this.needtocalltraverse=!1:t!==u&&(this.currentpath=this.currentpath.replace(t)[0],this.needtocalltraverse&&this.traverse(this.currentpath)),this.needtocalltraverse!==!1)throw new error("must either call this.traverse or return false in "+e);var r=this.currentpath;return r&&r.value},y.traverse=function(e,t){if(!(this instanceof this.context))throw new error("");if(!(e instanceof l))throw new error("");if(!(this.currentpath instanceof l))throw new error("");return this.needtocalltraverse=!1,s(e,n.frommethodsobject(t||this.visitor))},y.visit=function(e,t){if(!(this instanceof this.context))throw new error("");if(!(e instanceof l))throw new error("");if(!(this.currentpath instanceof l))throw new error("");return this.needtocalltraverse=!1,n.frommethodsobject(t||this.visitor).visitwithoutreset(e)},y.reportchanged=function(){this.visitor.reportchanged()},y.abort=function(){this.needtocalltraverse=!1,this.visitor.abort()},t.exports=n},{196:196,201:201}],198:[function(e,t,r){function n(e,t,r){if(!(this instanceof n))throw new error("path constructor cannot be invoked without 'new'");if(t){if(!(t instanceof n))throw new error("")}else t=null,r=null;this.value=e,this.parentpath=t,this.name=r,this.__childcache=null}function i(e){return e.__childcache||(e.__childcache=object.create(null))}function a(e,t){var r=i(e),n=e.getvalueproperty(t),a=r[t];return l.call(r,t)&&a.value===n||(a=r[t]=new e.constructor(n,e,t)),a}function s(){}function o(e,t,r,n){if(f.assert(e.value),0===t)return s;var a=e.value.length;if(1>a)return s;var o=arguments.length;2===o?(r=0,n=a):3===o?(r=math.max(r,0),n=a):(r=math.max(r,0),n=math.min(n,a)),d.assert(r),d.assert(n);for(var u=object.create(null),p=i(e),c=r;n>c;++c)if(l.call(e.value,c)){var h=e.get(c);if(h.name!==c)throw new error("");var m=c+t;h.name=m,u[m]=h,delete p[c]}return delete p.length,function(){for(var t in u){var r=u[t];if(r.name!==+t)throw new error("");p[t]=r,e.value[t]=r.value}}}function u(e){if(!(e instanceof n))throw new error("");var t=e.parentpath;if(!t)return e;var r=t.value,a=i(t);if(r[e.name]===e.value)a[e.name]=e;else if(f.check(r)){var s=r.indexof(e.value);s>=0&&(a[e.name=s]=e)}else r[e.name]=e.value,a[e.name]=e;if(r[e.name]!==e.value)throw new error("");if(e.parentpath.get(e.name)!==e)throw new error("");return e}var p=object.prototype,l=p.hasownproperty,c=e(201),f=c.builtintypes.array,d=c.builtintypes.number,h=array.prototype,m=(h.slice,h.map,n.prototype);m.getvalueproperty=function(e){return this.value[e]},m.get=function(e){for(var t=this,r=arguments,n=r.length,i=0;n>i;++i)t=a(t,r[i]);return t},m.each=function(e,t){for(var r=[],n=this.value.length,i=0,i=0;n>i;++i)l.call(this.value,i)&&(r[i]=this.get(i));for(t=t||this,i=0;n>i;++i)l.call(r,i)&&e.call(t,r[i])},m.map=function(e,t){var r=[];return this.each(function(t){r.push(e.call(this,t))},t),r},m.filter=function(e,t){var r=[];return this.each(function(t){e.call(this,t)&&r.push(t)},t),r},m.shift=function(){var e=o(this,-1),t=this.value.shift();return e(),t},m.unshift=function(e){var t=o(this,arguments.length),r=this.value.unshift.apply(this.value,arguments);return t(),r},m.push=function(e){return f.assert(this.value),delete i(this).length,this.value.push.apply(this.value,arguments)},m.pop=function(){f.assert(this.value);var e=i(this);return delete e[this.value.length-1],delete e.length,this.value.pop()},m.insertat=function(e,t){var r=arguments.length,n=o(this,r-1,e);if(n===s)return this;e=math.max(e,0);for(var i=1;r>i;++i)this.value[e+i-1]=arguments[i];return n(),this},m.insertbefore=function(e){for(var t=this.parentpath,r=arguments.length,n=[this.name],i=0;r>i;++i)n.push(arguments[i]);return t.insertat.apply(t,n)},m.insertafter=function(e){for(var t=this.parentpath,r=arguments.length,n=[this.name+1],i=0;r>i;++i)n.push(arguments[i]);return t.insertat.apply(t,n)},m.replace=function(e){var t=[],r=this.parentpath.value,n=i(this.parentpath),a=arguments.length;if(u(this),f.check(r)){for(var s=r.length,p=o(this.parentpath,a-1,this.name+1),l=[this.name,1],c=0;a>c;++c)l.push(arguments[c]);var d=r.splice.apply(r,l);if(d[0]!==this.value)throw new error("");if(r.length!==s-1+a)throw new error("");if(p(),0===a)delete this.value,delete n[this.name],this.__childcache=null;else{if(r[this.name]!==e)throw new error("");for(this.value!==e&&(this.value=e,this.__childcache=null),c=0;a>c;++c)t.push(this.parentpath.get(this.name+c));if(t[0]!==this)throw new error("")}}else if(1===a)this.value!==e&&(this.__childcache=null),this.value=r[this.name]=e,t.push(this);else{if(0!==a)throw new error("could not replace path");delete r[this.name],delete this.value,this.__childcache=null}return t},t.exports=n},{201:201}],199:[function(e,t,r){function n(t,r){if(!(this instanceof n))throw new error("scope constructor cannot be invoked without 'new'");if(!(t instanceof e(196)))throw new error("");g.assert(t.value);var i;if(r){if(!(r instanceof n))throw new error("");i=r.depth+1}else r=null,i=0;object.defineproperties(this,{path:{value:t},node:{value:t.value},isglobal:{value:!r,enumerable:!0},depth:{value:i},parent:{value:r},bindings:{value:{}}})}function i(e,t){var r=e.value;g.assert(r),l.catchclause.check(r)?o(e.get("param"),t):a(e,t)}function a(e,t){var r=e.value;e.parent&&l.functionexpression.check(e.parent.node)&&e.parent.node.id&&o(e.parent.get("id"),t),r&&(d.check(r)?e.each(function(e){s(e,t)}):l.function.check(r)?(e.get("params").each(function(e){o(e,t)}),s(e.get("body"),t)):l.variabledeclarator.check(r)?(o(e.get("id"),t),s(e.get("init"),t)):"importspecifier"===r.type||"importnamespacespecifier"===r.type||"importdefaultspecifier"===r.type?o(e.get(r.local?"local":r.name?"name":"id"),t):c.check(r)&&!f.check(r)&&u.eachfield(r,function(r,n){var i=e.get(r);if(i.value!==n)throw new error("");s(i,t)}))}function s(e,t){var r=e.value;if(!r||f.check(r));else if(l.functiondeclaration.check(r))o(e.get("id"),t);else if(l.classdeclaration&&l.classdeclaration.check(r))o(e.get("id"),t);else if(g.check(r)){if(l.catchclause.check(r)){var n=r.param.name,i=h.call(t,n);a(e.get("body"),t),i||delete t[n]}}else a(e,t)}function o(e,t){var r=e.value;l.pattern.assert(r),l.identifier.check(r)?h.call(t,r.name)?t[r.name].push(e):t[r.name]=[e]:l.objectpattern&&l.objectpattern.check(r)?e.get("properties").each(function(e){var r=e.value;l.pattern.check(r)?o(e,t):l.property.check(r)?o(e.get("value"),t):l.spreadproperty&&l.spreadproperty.check(r)&&o(e.get("argument"),t)}):l.arraypattern&&l.arraypattern.check(r)?e.get("elements").each(function(e){var r=e.value;l.pattern.check(r)?o(e,t):l.spreadelement&&l.spreadelement.check(r)&&o(e.get("argument"),t)}):l.propertypattern&&l.propertypattern.check(r)?o(e.get("pattern"),t):(l.spreadelementpattern&&l.spreadelementpattern.check(r)||l.spreadpropertypattern&&l.spreadpropertypattern.check(r))&&o(e.get("argument"),t)}var u=e(201),p=u.type,l=u.namedtypes,c=l.node,f=l.expression,d=u.builtintypes.array,h=object.prototype.hasownproperty,m=u.builders,y=[l.program,l.function,l.catchclause],g=p.or.apply(p,y);n.isestablishedby=function(e){return g.check(e)};var v=n.prototype;v.didscan=!1,v.declares=function(e){return this.scan(),h.call(this.bindings,e)},v.declaretemporary=function(e){if(e){if(!/^[a-z$_]/i.test(e))throw new error("")}else e="t$";e+=this.depth.tostring(36)+"$",this.scan();for(var t=0;this.declares(e+t);)++t;var r=e+t;return this.bindings[r]=u.builders.identifier(r)},v.injecttemporary=function(e,t){e||(e=this.declaretemporary());var r=this.path.get("body");return l.blockstatement.check(r.value)&&(r=r.get("body")),r.unshift(m.variabledeclaration("var",[m.variabledeclarator(e,t||null)])),e},v.scan=function(e){if(e||!this.didscan){for(var t in this.bindings)delete this.bindings[t];i(this.path,this.bindings),this.didscan=!0}},v.getbindings=function(){return this.scan(),this.bindings},v.lookup=function(e){for(var t=this;t&&!t.declares(e);t=t.parent);return t},v.getglobalscope=function(){for(var e=this;!e.isglobal;)e=e.parent;return e},t.exports=n},{196:196,201:201}],200:[function(e,t,r){var n=e(201),i=n.type,a=n.builtintypes,s=a.number;r.geq=function(e){return new i(function(t){return s.check(t)&&t>=e},s+" >= "+e)},r.defaults={"null":function(){return null},emptyarray:function(){return[]},"false":function(){return!1},"true":function(){return!0},undefined:function(){}};var o=i.or(a.string,a.number,a["boolean"],a["null"],a.undefined);r.isprimitive=new i(function(e){if(null===e)return!0;var t=typeof e;return!("object"===t||"function"===t)},o.tostring())},{201:201}],201:[function(e,t,r){function n(e,t){var r=this;if(!(r instanceof n))throw new error("type constructor cannot be invoked without 'new'");if(b.call(e)!==e)throw new error(e+" is not a function");var i=b.call(t);if(i!==e&&i!==x)throw new error(t+" is neither a function nor a string");object.defineproperties(r,{name:{value:t},check:{value:function(t,n){var i=e.call(r,t,n);return!i&&n&&b.call(n)===e&&n(r,t),i}}})}function i(e){return f.check(e)?"{"+object.keys(e).map(function(t){return t+": "+e[t]}).join(", ")+"}":k.check(e)?"["+e.map(i).join(", ")+"]":json.stringify(e)}function a(e,t){var r=b.call(e),i=new n(function(e){return b.call(e)===r},t);return c[t]=i,e&&"function"==typeof e.constructor&&(d.push(e.constructor),w.push(i)),i}function s(e,t){if(e instanceof n)return e;if(e instanceof u)return e.type;if(k.check(e))return n.fromarray(e);if(f.check(e))return n.fromobject(e);if(_.check(e)){var r=d.indexof(e);return r>=0?w[r]:new n(e,t)}return new n(function(t){return t===e},b.check(t)?function(){return e+""}:t)}function o(e,t,r,n){var i=this;if(!(i instanceof o))throw new error("field constructor cannot be invoked without 'new'");i.assert(e),t=s(t);var a={name:{value:e},type:{value:t},hidden:{value:!!n}};_.check(r)&&(a.defaultfn={value:r}),object.defineproperties(i,a)}function u(e){var t=this;if(!(t instanceof u))throw new error("def constructor cannot be invoked without 'new'");object.defineproperties(t,{typename:{value:e},basenames:{value:[]},ownfields:{value:object.create(null)},allsupertypes:{value:object.create(null)},supertypelist:{value:[]},allfields:{value:object.create(null)},fieldnames:{value:[]},type:{value:new n(function(e,r){return t.check(e,r)},e)}})}function p(e){return e.replace(/^[a-z]+/,function(e){var t=e.length;switch(t){case 0:return"";case 1:return e.tolowercase();default:return e.slice(0,t-1).tolowercase()+e.charat(t-1)}})}function l(e){return e=p(e),e.replace(/(expression)?$/,"statement")}function c(e){var t=u.fromvalue(e);if(t)return t.fieldnames.slice(0);if("type"in e)throw new error("did not recognize object of type "+json.stringify(e.type));return object.keys(e)}function f(e,t){var r=u.fromvalue(e);if(r){var n=r.allfields[t];if(n)return n.getvalue(e)}return e[t]}function d(e){var t=l(e);if(!j[t]){var r=j[p(e)];r&&(j[t]=function(){return j.expressionstatement(r.apply(j,arguments))})}}function h(e,t){t.length=0,t.push(e);for(var r=object.create(null),n=0;ns;++s)s.call(t,s)&&(t[a++]=t[s]);t.length=a}function m(e,t){return object.keys(t).foreach(function(r){e[r]=t[r]}),e}var y=array.prototype,g=y.slice,v=(y.map,y.foreach,object.prototype),b=v.tostring,e=b.call(function(){}),x=b.call(""),s=v.hasownproperty,a=n.prototype;r.type=n,a.assert=function(e,t){if(!this.check(e,t)){var r=i(e);throw new error(r+" does not match type "+this)}return!0},a.tostring=function(){var e=this.name;return i.check(e)?e:_.check(e)?e.call(this)+"":e+" type"};var d=[],w=[],c={};r.builtintypes=c;var i=a("truthy","string"),_=a(function(){},"function"),k=a([],"array"),f=a({},"object"),p=(a(/./,"regexp"),a(new date,"date"),a(3,"number")),b=(a(!0,"boolean"),a(null,"null"),a(void 0,"undefined"));n.or=function(){for(var e=[],t=arguments.length,r=0;t>r;++r)e.push(s(arguments[r]));return new n(function(r,n){for(var i=0;t>i;++i)if(e[i].check(r,n))return!0;return!1},function(){return e.join(" | ")})},n.fromarray=function(e){if(!k.check(e))throw new error("");if(1!==e.length)throw new error("only one element type is permitted for typed arrays");return s(e[0]).arrayof()},a.arrayof=function(){var e=this;return new n(function(t,r){return k.check(t)&&t.every(function(t){return e.check(t,r)})},function(){return"["+e+"]"})},n.fromobject=function(e){var t=object.keys(e).map(function(t){return new o(t,e[t])});return new n(function(e,r){return f.check(e)&&t.every(function(t){return t.type.check(e[t.name],r)})},function(){return"{ "+t.join(", ")+" }"})};var t=o.prototype;t.tostring=function(){return json.stringify(this.name)+": "+this.type},t.getvalue=function(e){var t=e[this.name];return b.check(t)?(this.defaultfn&&(t=this.defaultfn.call(e)),t):t},n.def=function(e){return i.assert(e),s.call(m,e)?m[e]:m[e]=new u(e)};var m=object.create(null);u.fromvalue=function(e){if(e&&"object"==typeof e){var t=e.type;if("string"==typeof t&&s.call(m,t)){var r=m[t];if(r.finalized)return r}}return null};var o=u.prototype;o.issupertypeof=function(e){if(e instanceof u){if(this.finalized!==!0||e.finalized!==!0)throw new error("");return s.call(e.allsupertypes,this.typename)}throw new error(e+" is not a def")},r.getsupertypenames=function(e){if(!s.call(m,e))throw new error("");var t=m[e];if(t.finalized!==!0)throw new error("");return t.supertypelist.slice(1)},r.computesupertypelookuptable=function(e){for(var t={},r=object.keys(m),n=r.length,i=0;n>i;++i){var a=r[i],s=m[a];if(s.finalized!==!0)throw new error(""+a);for(var o=0;os)u=r[s];else{if(!p.defaultfn){var c="no value or default function given for field "+json.stringify(t)+" of "+e.typename+"("+e.buildparams.map(function(e){return o[e]}).join(", ")+")";throw new error(c)}u=p.defaultfn.call(a)}if(!l.check(u))throw new error(i(u)+" does not match field "+p+" of type "+e.typename);a[t]=u}}var r=arguments,n=r.length,a=object.create(l);if(!e.finalized)throw new error("attempting to instantiate unfinalized type "+e.typename);if(e.buildparams.foreach(function(e,r){t(e,r)}),object.keys(e.allfields).foreach(function(e){t(e)}),a.type!==e.typename)throw new error("");return a}}),e)},r.getbuildername=p,r.getstatementbuildername=l,o.field=function(e,t,r,n){return this.finalized?(console.error("ignoring attempt to redefine field "+json.stringify(e)+" of finalized type "+json.stringify(this.typename)),this):(this.ownfields[e]=new o(e,t,r,n),this)};var r={};r.namedtypes=r,r.getfieldnames=c,r.getfieldvalue=f,r.eachfield=function(e,t,r){c(e).foreach(function(r){t.call(this,r,f(e,r))},r)},r.somefield=function(e,t,r){return c(e).some(function(r){return t.call(this,r,f(e,r))},r)},object.defineproperty(o,"finalized",{value:!1}),o.finalize=function(){var e=this;if(!e.finalized){var t=e.allfields,r=e.allsupertypes;e.basenames.foreach(function(n){var i=m[n];if(!(i instanceof u)){var a="unknown supertype name "+json.stringify(n)+" for subtype "+json.stringify(e.typename);throw new error(a)}i.finalize(),m(t,i.allfields),m(r,i.allsupertypes)}),m(t,e.ownfields),r[e.typename]=e,e.fieldnames.length=0;for(var n in t)s.call(t,n)&&!t[n].hidden&&e.fieldnames.push(n);object.defineproperty(r,e.typename,{enumerable:!0,value:e.type}),object.defineproperty(e,"finalized",{value:!0}),h(e.typename,e.supertypelist),e.buildable&&e.supertypelist.lastindexof("expression")>=0&&d(e.typename)}},r.finalize=function(){object.keys(m).foreach(function(e){m[e].finalize()})}},{}],202:[function(e,t,r){var n=e(201);e(188),e(190),e(191),e(194),e(189),e(193),e(192),e(187),n.finalize(),r.type=n.type,r.builtintypes=n.builtintypes,r.namedtypes=n.namedtypes,r.builders=n.builders,r.definemethod=n.definemethod,r.getfieldnames=n.getfieldnames,r.getfieldvalue=n.getfieldvalue,r.eachfield=n.eachfield,r.somefield=n.somefield,r.getsupertypenames=n.getsupertypenames,r.astnodesareequivalent=e(195),r.finalize=n.finalize,r.nodepath=e(196),r.pathvisitor=e(197),r.visit=r.pathvisitor.visit},{187:187,188:188,189:189,190:190,191:191,192:192,193:193,194:194,195:195,196:196,197:197,201:201}],203:[function(e,t,r){"use strict";object.defineproperty(r,"__esmodule",{value:!0}),r["default"]=function(e){var t=e.plugin,r=e.types;return new t("constant-folding",{metadata:{group:"builtin-prepass",experimental:!0},visitor:{assignmentexpression:function(){var e=this.get("left");if(e.isidentifier()){var t=this.scope.getbinding(e.node.name);if(t&&!t.hasdeoptvalue){var r=this.get("right").evaluate();r.confident?t.setvalue(r.value):t.deoptvalue()}}},ifstatement:function(){var e=this.get("test").evaluate();return e.confident?void(e.value?this.skipkey("alternate"):this.skipkey("consequent")):this.skip()},scopable:{enter:function(){var e=this.scope.getfunctionparent();for(var t in this.scope.bindings){var r=this.scope.bindings[t],n=!1,i=!0,a=!1,s=void 0;try{for(var o,u=r.constantviolations[symbol.iterator]();!(i=(o=u.next()).done);i=!0){var p=o.value,l=p.scope.getfunctionparent();if(l!==e){n=!0;break}}}catch(c){a=!0,s=c}finally{try{!i&&u["return"]&&u["return"]()}finally{if(a)throw s}}n&&r.deoptvalue()}},exit:function(){for(var e in this.scope.bindings){var t=this.scope.bindings[e];t.clearvalue()}}},expression:{exit:function(){var e=this.evaluate();return e.confident?r.valuetonode(e.value):void 0}}}})},t.exports=r["default"]},{}],204:[function(e,t,r){"use strict";object.defineproperty(r,"__esmodule",{value:!0}),r["default"]=function(e){function t(e){if(n.isblockstatement(e)){for(var t=!1,r=0;r1)&&i.constant&&"param"!==i.kind&&"module"!==i.kind){var a=i.path.node;if(n.isvariabledeclarator(a)&&(a=a.init),a&&r.ispure(a,!0)&&(!n.isclass(a)&&!n.isfunction(a)||i.path.scope.parent===r)&&!this.findparent(function(e){return e.node===a}))return n.toexpression(a),r.removebinding(e.name),i.path.dangerouslyremove(),a}},"classdeclaration|functiondeclaration":function(e,t,r){ var n=r.getbinding(e.id.name);n&&!n.referenced&&this.dangerouslyremove()},variabledeclarator:function(e,t,r){n.isidentifier(e.id)&&r.ispure(e.init,!0)&&i["classdeclaration|functiondeclaration"].apply(this,arguments)},conditionalexpression:function(e){var t=this.get("test").evaluatetruthy();return t===!0?e.consequent:t===!1?e.alternate:void 0},blockstatement:function(){for(var e=this.get("body"),t=!1,r=0;r=l||l>3||u>=l||(s=p,u=l)}var c;throw c=s?r.get("undeclaredvariablesuggestion",e.name,s):r.get("undeclaredvariable",e.name),this.errorwithnode(c,referenceerror)}}}})},t.exports=r["default"]},{437:437}],218:[function(e,t,r){"use strict";object.defineproperty(r,"__esmodule",{value:!0}),r["default"]=function(e){var t=e.plugin,r=e.types;return new t("undefined-to-void",{metadata:{group:"builtin-basic"},visitor:{referencedidentifier:function(e,t){return"undefined"===e.name?r.unaryexpression("void",r.literal(0),!0):void 0}}})},t.exports=r["default"]},{}],219:[function(e,t,r){function n(e,t,r){var n=i(e,t,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+e.length,n[1]),post:r.slice(n[1]+t.length)}}function i(e,t,r){var n,i,a,s,o,u=r.indexof(e),p=r.indexof(t,u+1),l=u;if(u>=0&&p>0){for(n=[],a=r.length;l=0&&!o;)l==u?(n.push(l),u=r.indexof(e,l+1)):1==n.length?o=[n.pop(),p]:(i=n.pop(),a>i&&(a=i,s=p),p=r.indexof(t,l+1)),l=p>u&&u>=0?u:p;n.length&&(o=[a,s])}return o}t.exports=n,n.range=i},{}],220:[function(e,t,r){function n(e){return parseint(e,10)==e?parseint(e,10):e.charcodeat(0)}function i(e){return e.split("\\\\").join(m).split("\\{").join(y).split("\\}").join(g).split("\\,").join(v).split("\\.").join(b)}function a(e){return e.split(m).join("\\").split(y).join("{").split(g).join("}").split(v).join(",").split(b).join(".")}function s(e){if(!e)return[""];var t=[],r=h("{","}",e);if(!r)return e.split(",");var n=r.pre,i=r.body,a=r.post,o=n.split(",");o[o.length-1]+="{"+i+"}";var u=s(a);return a.length&&(o[o.length-1]+=u.shift(),o.push.apply(o,u)),t.push.apply(t,o),t}function o(e){return e?f(i(e),!0).map(a):[]}function u(e){return"{"+e+"}"}function p(e){return/^-?0\d/.test(e)}function l(e,t){return t>=e}function c(e,t){return e>=t}function f(e,t){var r=[],i=h("{","}",e);if(!i||/\$$/.test(i.pre))return[e];var a=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),o=/^[a-za-z]\.\.[a-za-z](?:\.\.-?\d+)?$/.test(i.body),m=a||o,y=/^(.*,)+(.+)?$/.test(i.body);if(!m&&!y)return i.post.match(/,.*\}/)?(e=i.pre+"{"+i.body+g+i.post,f(e)):[e];var v;if(m)v=i.body.split(/\.\./);else if(v=s(i.body),1===v.length&&(v=f(v[0],!1).map(u),1===v.length)){var b=i.post.length?f(i.post,!1):[""];return b.map(function(e){return i.pre+v[0]+e})}var e,x=i.pre,b=i.post.length?f(i.post,!1):[""];if(m){var s=n(v[0]),a=n(v[1]),d=math.max(v[0].length,v[1].length),w=3==v.length?math.abs(n(v[2])):1,c=l,i=s>a;i&&(w*=-1,c=c);var _=v.some(p);e=[];for(var k=s;c(k,a);k+=w){var f;if(o)f=string.fromcharcode(k),"\\"===f&&(f="");else if(f=string(k),_){var p=d-f.length;if(p>0){var b=new array(p+1).join("0");f=0>k?"-"+b+f.slice(1):b+f}}e.push(f)}}else e=d(v,function(e){return f(e,!1)});for(var t=0;t1)for(var n=1;t>n;n++)r+=" "+e[n];if(!this.enabled||!r)return r;var i=this._styles,a=i.length,s=u.dim.open;for(!d||-1===i.indexof("gray")&&-1===i.indexof("grey")||(u.dim.open="");a--;){var o=u[i[a]];r=o.open+r.replace(o.closere,o.open)+o.close}return u.dim.open=s,r}function s(){var e={};return object.keys(h).foreach(function(t){e[t]={get:function(){return i.call(this,[t])}}}),e}var o=e(425),u=e(185),p=e(605),l=e(432),c=e(606),f=object.defineproperties,d="win32"===r.platform&&!/^xterm/i.test(r.env.term);d&&(u.blue.open="");var h=function(){var e={};return object.keys(u).foreach(function(t){u[t].closere=new regexp(o(u[t].close),"g"),e[t]={get:function(){return i.call(this,this._styles.concat(t))}}}),e}(),m=f(function(){},h);f(n.prototype,s()),t.exports=new n,t.exports.styles=u,t.exports.hascolor=l,t.exports.stripcolor=p,t.exports.supportscolor=c}).call(this,e(10))},{10:10,185:185,425:425,432:432,605:605,606:606}],223:[function(e,t,r){var n=e(224),i={};for(var a in n)n.hasownproperty(a)&&(i[n[a].join()]=a);var s=t.exports={rgb:{},hsl:{},hsv:{},hwb:{},cmyk:{},xyz:{},lab:{},lch:{},hex:{},keyword:{},ansi16:{},ansi256:{}};s.rgb.hsl=function(e){var t,r,n,i=e[0]/255,a=e[1]/255,s=e[2]/255,o=math.min(i,a,s),u=math.max(i,a,s),p=u-o;return u===o?t=0:i===u?t=(a-s)/p:a===u?t=2+(s-i)/p:s===u&&(t=4+(i-a)/p),t=math.min(60*t,360),0>t&&(t+=360),n=(o+u)/2,r=u===o?0:.5>=n?p/(u+o):p/(2-u-o),[t,100*r,100*n]},s.rgb.hsv=function(e){var t,r,n,i=e[0],a=e[1],s=e[2],o=math.min(i,a,s),u=math.max(i,a,s),p=u-o;return r=0===u?0:p/u*1e3/10,u===o?t=0:i===u?t=(a-s)/p:a===u?t=2+(s-i)/p:s===u&&(t=4+(i-a)/p),t=math.min(60*t,360),0>t&&(t+=360),n=u/255*1e3/10,[t,r,n]},s.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2],i=s.rgb.hsl(e)[0],a=1/255*math.min(t,math.min(r,n));return n=1-1/255*math.max(t,math.max(r,n)),[i,100*a,100*n]},s.rgb.cmyk=function(e){var t,r,n,i,a=e[0]/255,s=e[1]/255,o=e[2]/255;return i=math.min(1-a,1-s,1-o),t=(1-a-i)/(1-i)||0,r=(1-s-i)/(1-i)||0,n=(1-o-i)/(1-i)||0,[100*t,100*r,100*n,100*i]},s.rgb.keyword=function(e){return i[e.join()]},s.keyword.rgb=function(e){return n[e]},s.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?math.pow((t+.055)/1.055,2.4):t/12.92,r=r>.04045?math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?math.pow((n+.055)/1.055,2.4):n/12.92;var i=.4124*t+.3576*r+.1805*n,a=.2126*t+.7152*r+.0722*n,s=.0193*t+.1192*r+.9505*n;return[100*i,100*a,100*s]},s.rgb.lab=function(e){var t,r,n,i=s.rgb.xyz(e),a=i[0],o=i[1],u=i[2];return a/=95.047,o/=100,u/=108.883,a=a>.008856?math.pow(a,1/3):7.787*a+16/116,o=o>.008856?math.pow(o,1/3):7.787*o+16/116,u=u>.008856?math.pow(u,1/3):7.787*u+16/116,t=116*o-16,r=500*(a-o),n=200*(o-u),[t,r,n]},s.hsl.rgb=function(e){var t,r,n,i,a,s=e[0]/360,o=e[1]/100,u=e[2]/100;if(0===o)return a=255*u,[a,a,a];r=.5>u?u*(1+o):u+o-u*o,t=2*u-r,i=[0,0,0];for(var p=0;3>p;p++)n=s+1/3*-(p-1),0>n&&n++,n>1&&n--,a=1>6*n?t+6*(r-t)*n:1>2*n?r:2>3*n?t+(r-t)*(2/3-n)*6:t,i[p]=255*a;return i},s.hsl.hsv=function(e){var t,r,n=e[0],i=e[1]/100,a=e[2]/100;return 0===a?[0,0,0]:(a*=2,i*=1>=a?a:2-a,r=(a+i)/2,t=2*i/(a+i),[n,100*t,100*r])},s.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=math.floor(t)%6,a=t-math.floor(t),s=255*n*(1-r),o=255*n*(1-r*a),u=255*n*(1-r*(1-a));switch(n*=255,i){case 0:return[n,u,s];case 1:return[o,n,s];case 2:return[s,n,u];case 3:return[s,o,n];case 4:return[u,s,n];case 5:return[n,s,o]}},s.hsv.hsl=function(e){var t,r,n=e[0],i=e[1]/100,a=e[2]/100;return r=(2-i)*a,t=i*a,t/=1>=r?r:2-r,t=t||0,r/=2,[n,100*t,100*r]},s.hwb.rgb=function(e){var t,r,n,i,a=e[0]/360,s=e[1]/100,o=e[2]/100,u=s+o;u>1&&(s/=u,o/=u),t=math.floor(6*a),r=1-o,n=6*a-t,0!==(1&t)&&(n=1-n),i=s+n*(r-s);var p,l,c;switch(t){default:case 6:case 0:p=r,l=i,c=s;break;case 1:p=i,l=r,c=s;break;case 2:p=s,l=r,c=i;break;case 3:p=s,l=i,c=r;break;case 4:p=i,l=s,c=r;break;case 5:p=r,l=s,c=i}return[255*p,255*l,255*c]},s.cmyk.rgb=function(e){var t,r,n,i=e[0]/100,a=e[1]/100,s=e[2]/100,o=e[3]/100;return t=1-math.min(1,i*(1-o)+o),r=1-math.min(1,a*(1-o)+o),n=1-math.min(1,s*(1-o)+o),[255*t,255*r,255*n]},s.xyz.rgb=function(e){var t,r,n,i=e[0]/100,a=e[1]/100,s=e[2]/100;return t=3.2406*i+-1.5372*a+s*-.4986,r=i*-.9689+1.8758*a+.0415*s,n=.0557*i+a*-.204+1.057*s,t=t>.0031308?1.055*math.pow(t,1/2.4)-.055:t*=12.92,r=r>.0031308?1.055*math.pow(r,1/2.4)-.055:r*=12.92,n=n>.0031308?1.055*math.pow(n,1/2.4)-.055:n*=12.92,t=math.min(math.max(0,t),1),r=math.min(math.max(0,r),1),n=math.min(math.max(0,n),1),[255*t,255*r,255*n]},s.xyz.lab=function(e){var t,r,n,i=e[0],a=e[1],s=e[2];return i/=95.047,a/=100,s/=108.883,i=i>.008856?math.pow(i,1/3):7.787*i+16/116,a=a>.008856?math.pow(a,1/3):7.787*a+16/116,s=s>.008856?math.pow(s,1/3):7.787*s+16/116,t=116*a-16,r=500*(i-a),n=200*(a-s),[t,r,n]},s.lab.xyz=function(e){var t,r,n,i,a=e[0],s=e[1],o=e[2];return 8>=a?(r=100*a/903.3,i=7.787*(r/100)+16/116):(r=100*math.pow((a+16)/116,3),i=math.pow(r/100,1/3)),t=.008856>=t/95.047?t=95.047*(s/500+i-16/116)/7.787:95.047*math.pow(s/500+i,3),n=.008859>=n/108.883?n=108.883*(i-o/200-16/116)/7.787:108.883*math.pow(i-o/200,3),[t,r,n]},s.lab.lch=function(e){var t,r,n,i=e[0],a=e[1],s=e[2];return t=math.atan2(s,a),r=360*t/2/math.pi,0>r&&(r+=360),n=math.sqrt(a*a+s*s),[i,n,r]},s.lch.lab=function(e){var t,r,n,i=e[0],a=e[1],s=e[2];return n=s/360*2*math.pi,t=a*math.cos(n),r=a*math.sin(n),[i,t,r]},s.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:s.rgb.hsv(e)[2];if(i=math.round(i/50),0===i)return 30;var a=30+(math.round(n/255)<<2|math.round(r/255)<<1|math.round(t/255));return 2===i&&(a+=60),a},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return 8>t?16:t>248?231:math.round((t-8)/247*24)+232;var i=16+36*math.round(t/255*5)+6*math.round(r/255*5)+math.round(n/255*5);return i},s.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var r=.5*(~~(e>50)+1),n=(1&t)*r*255,i=(t>>1&1)*r*255,a=(t>>2&1)*r*255;return[n,i,a]},s.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}e-=16;var r,n=math.floor(e/36)/5*255,i=math.floor((r=e%36)/6)/5*255,a=r%6/5*255;return[n,i,a]},s.rgb.hex=function(e){var t=((255&math.round(e[0]))<<16)+((255&math.round(e[1]))<<8)+(255&math.round(e[2])),r=t.tostring(16).touppercase();return"000000".substring(r.length)+r},s.hex.rgb=function(e){var t=e.tostring(16).match(/[a-f0-9]{6}/i);if(!t)return[0,0,0];var r=parseint(t[0],16),n=r>>16&255,i=r>>8&255,a=255&r;return[n,i,a]}},{224:224}],224:[function(e,t,r){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],225:[function(e,t,r){function n(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function i(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,i=0;n>i;i++)r[i]=math.round(r[i]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}var a=e(223),s=e(226),o={},u=object.keys(a);u.foreach(function(e){o[e]={};var t=s(e),r=object.keys(t);r.foreach(function(r){var a=t[r];o[e][r]=i(a),o[e][r].raw=n(a)})}),t.exports=o},{223:223,226:226}],226:[function(e,t,r){function n(){for(var e={},t=u.length,r=0;t>r;r++)e[u[r]]={distance:-1,parent:null};return e}function i(e){var t=n(),r=[e];for(t[e].distance=0;r.length;)for(var i=r.pop(),a=object.keys(o[i]),s=a.length,u=0;s>u;u++){var p=a[u],l=t[p];-1===l.distance&&(l.distance=t[i].distance+1,l.parent=i,r.unshift(p))}return t}function a(e,t){return function(r){return t(e(r))}}function s(e,t){for(var r=[t[e].parent,e],n=o[t[e].parent][e],i=t[e].parent;t[i].parent;)r.unshift(t[i].parent),n=a(o[t[i].parent][i],n),i=t[i].parent;return n.conversion=r,n}var o=e(223),u=object.keys(o);t.exports=function(e){for(var t=i(e),r={},n=object.keys(t),a=n.length,o=0;a>o;o++){var u=n[o],p=t[u];null!==p.parent&&(r[u]=s(u,t))}return r}},{223:223}],227:[function(e,t,r){t.exports=function(e,t){for(var r=[],i=0;i0;i--)if(t=n[i],~t.indexof("sourcemappingurl=data:"))return r.fromcomment(t)}var u=e(3),p=e(9),l=/^\s*\/(?:\/|\*)[@#]\s+sourcemappingurl=data:(?:application|text)\/json;(?:charset[:=]\s+;)?base64,(.*)$/gm,c=/(?:\/\/[@#][ \t]+sourcemappingurl=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourcemappingurl=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm;s.prototype.tojson=function(e){return json.stringify(this.sourcemap,null,e)},s.prototype.tobase64=function(){var e=this.tojson();return new t(e).tostring("base64")},s.prototype.tocomment=function(e){var t=this.tobase64(),r="sourcemappingurl=data:application/json;base64,"+t;return e&&e.multiline?"/*# "+r+" */":"//# "+r},s.prototype.toobject=function(){return json.parse(this.tojson())},s.prototype.addproperty=function(e,t){if(this.sourcemap.hasownproperty(e))throw new error("property %s already exists on the sourcemap, use set property instead");return this.setproperty(e,t)},s.prototype.setproperty=function(e,t){return this.sourcemap[e]=t,this},s.prototype.getproperty=function(e){return this.sourcemap[e]},r.fromobject=function(e){return new s(e)},r.fromjson=function(e){return new s(e,{isjson:!0})},r.frombase64=function(e){return new s(e,{isencoded:!0})},r.fromcomment=function(e){return e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),new s(e,{isencoded:!0,hascomment:!0})},r.frommapfilecomment=function(e,t){return new s(e,{commentfiledir:t,isfilecomment:!0,isjson:!0})},r.fromsource=function(e,t){if(t){var n=o(e);return n?n:null}var i=e.match(l);return l.lastindex=0,i?r.fromcomment(i.pop()):null},r.frommapfilesource=function(e,t){var n=e.match(c);return c.lastindex=0,n?r.frommapfilecomment(n.pop(),t):null},r.removecomments=function(e){return l.lastindex=0,e.replace(l,"")},r.removemapfilecomments=function(e){return c.lastindex=0,e.replace(c,"")},r.generatemapfilecomment=function(e,t){var r="sourcemappingurl="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r},object.defineproperty(r,"commentregex",{get:function(){return l.lastindex=0,l}}),object.defineproperty(r,"mapfilecommentregex",{get:function(){return c.lastindex=0,c}})}).call(this,e(4).buffer)},{3:3,4:4,9:9}],229:[function(e,t,r){t.exports=function(e){if("function"!=typeof e)throw typeerror(e+" is not a function!");return e}},{}],230:[function(e,t,r){var n=e(310)("unscopables"),i=array.prototype;void 0==i[n]&&e(258)(i,n,{}),t.exports=function(e){i[n][e]=!0}},{258:258,310:310}],231:[function(e,t,r){var n=e(265);t.exports=function(e){if(!n(e))throw typeerror(e+" is not an object!");return e}},{265:265}],232:[function(e,t,r){"use strict";var n=e(307),i=e(303),a=e(306);t.exports=[].copywithin||function(e,t){var r=n(this),s=a(r.length),o=i(e,s),u=i(t,s),p=arguments,l=p.length>2?p[2]:void 0,c=math.min((void 0===l?s:i(l,s))-u,s-o),f=1;for(o>u&&u+c>o&&(f=-1,u+=c-1,o+=c-1);c-- >0;)u in r?r[o]=r[u]:delete r[o],o+=f,u+=f;return r}},{303:303,306:306,307:307}],233:[function(e,t,r){"use strict"; var n=e(307),i=e(303),a=e(306);t.exports=[].fill||function(e){for(var t=n(this),r=a(t.length),s=arguments,o=s.length,u=i(o>1?s[1]:void 0,r),p=o>2?s[2]:void 0,l=void 0===p?r:i(p,r);l>u;)t[u++]=e;return t}},{303:303,306:306,307:307}],234:[function(e,t,r){var n=e(305),i=e(306),a=e(303);t.exports=function(e){return function(t,r,s){var o,u=n(t),p=i(u.length),l=a(s,p);if(e&&r!=r){for(;p>l;)if(o=u[l++],o!=o)return!0}else for(;p>l;l++)if((e||l in u)&&u[l]===r)return e||l;return!e&&-1}}},{303:303,305:305,306:306}],235:[function(e,t,r){var n=e(244),i=e(261),a=e(307),s=e(306),o=e(236);t.exports=function(e){var t=1==e,r=2==e,u=3==e,p=4==e,l=6==e,c=5==e||l;return function(f,d,h){for(var m,y,g=a(f),v=i(g),b=n(d,h,3),e=s(v.length),x=0,s=t?o(f,e):r?o(f,0):void 0;e>x;x++)if((c||x in v)&&(m=v[x],y=b(m,x,g),e))if(t)s[x]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:s.push(m)}else if(p)return!1;return l?-1:u||p?p:s}}},{236:236,244:244,261:261,306:306,307:307}],236:[function(e,t,r){var n=e(265),i=e(263),a=e(310)("species");t.exports=function(e,t){var r;return i(e)&&(r=e.constructor,"function"!=typeof r||r!==array&&!i(r.prototype)||(r=void 0),n(r)&&(r=r[a],null===r&&(r=void 0))),new(void 0===r?array:r)(t)}},{263:263,265:265,310:310}],237:[function(e,t,r){var n=e(238),i=e(310)("tostringtag"),a="arguments"==n(function(){return arguments}());t.exports=function(e){var t,r,s;return void 0===e?"undefined":null===e?"null":"string"==typeof(r=(t=object(e))[i])?r:a?n(t):"object"==(s=n(t))&&"function"==typeof t.callee?"arguments":s}},{238:238,310:310}],238:[function(e,t,r){var n={}.tostring;t.exports=function(e){return n.call(e).slice(8,-1)}},{}],239:[function(e,t,r){"use strict";var n=e(273),i=e(258),a=e(287),s=e(244),o=e(296),u=e(245),p=e(254),l=e(269),c=e(271),f=e(309)("id"),d=e(257),h=e(265),m=e(292),y=e(246),g=object.isextensible||h,v=y?"_s":"size",b=0,e=function(e,t){if(!h(e))return"symbol"==typeof e?e:("string"==typeof e?"s":"p")+e;if(!d(e,f)){if(!g(e))return"f";if(!t)return"e";i(e,f,++b)}return"o"+e[f]},x=function(e,t){var r,n=e(t);if("f"!==n)return e._i[n];for(r=e._f;r;r=r.n)if(r.k==t)return r};t.exports={getconstructor:function(e,t,r,i){var l=e(function(e,a){o(e,l,t),e._i=n.create(null),e._f=void 0,e._l=void 0,e[v]=0,void 0!=a&&p(a,r,e[i],e)});return a(l.prototype,{clear:function(){for(var e=this,t=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete t[r.i];e._f=e._l=void 0,e[v]=0},"delete":function(e){var t=this,r=x(t,e);if(r){var n=r.n,i=r.p;delete t._i[r.i],r.r=!0,i&&(i.n=n),n&&(n.p=i),t._f==r&&(t._f=n),t._l==r&&(t._l=i),t[v]--}return!!r},foreach:function(e){for(var t,r=s(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.n:this._f;)for(r(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!x(this,e)}}),y&&n.setdesc(l.prototype,"size",{get:function(){return u(this[v])}}),l},def:function(e,t,r){var n,i,a=x(e,t);return a?a.v=r:(e._l=a={i:i=e(t,!0),k:t,v:r,p:n=e._l,n:void 0,r:!1},e._f||(e._f=a),n&&(n.n=a),e[v]++,"f"!==i&&(e._i[i]=a)),e},getentry:x,setstrong:function(e,t,r){l(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var e=this,t=e._k,r=e._l;r&&r.r;)r=r.p;return e._t&&(e._l=r=r?r.n:e._t._f)?"keys"==t?c(0,r.k):"values"==t?c(0,r.v):c(0,[r.k,r.v]):(e._t=void 0,c(1))},r?"entries":"values",!r,!0),m(t)}}},{244:244,245:245,246:246,254:254,257:257,258:258,265:265,269:269,271:271,273:273,287:287,292:292,296:296,309:309}],240:[function(e,t,r){var n=e(254),i=e(237);t.exports=function(e){return function(){if(i(this)!=e)throw typeerror(e+"#tojson isn't generic");var t=[];return n(this,!1,t.push,t),t}}},{237:237,254:254}],241:[function(e,t,r){"use strict";var n=e(258),i=e(287),a=e(231),s=e(265),o=e(296),u=e(254),p=e(235),l=e(257),c=e(309)("weak"),f=object.isextensible||s,d=p(5),h=p(6),m=0,y=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return d(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=v(this,e);return t?t[1]:void 0},has:function(e){return!!v(this,e)},set:function(e,t){var r=v(this,e);r?r[1]=t:this.a.push([e,t])},"delete":function(e){var t=h(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},t.exports={getconstructor:function(e,t,r,n){var a=e(function(e,i){o(e,a,t),e._i=m++,e._l=void 0,void 0!=i&&u(i,r,e[n],e)});return i(a.prototype,{"delete":function(e){return s(e)?f(e)?l(e,c)&&l(e[c],this._i)&&delete e[c][this._i]:y(this)["delete"](e):!1},has:function(e){return s(e)?f(e)?l(e,c)&&l(e[c],this._i):y(this).has(e):!1}}),a},def:function(e,t,r){return f(a(t))?(l(t,c)||n(t,c,{}),t[c][e._i]=r):y(e).set(t,r),e},frozenstore:y,weak:c}},{231:231,235:235,254:254,257:257,258:258,265:265,287:287,296:296,309:309}],242:[function(e,t,r){"use strict";var n=e(256),i=e(249),a=e(288),s=e(287),o=e(254),u=e(296),p=e(265),l=e(251),c=e(270),f=e(293);t.exports=function(e,t,r,d,h,m){var y=n[e],g=y,v=h?"set":"add",b=g&&g.prototype,e={},x=function(e){var t=b[e];a(b,e,"delete"==e?function(e){return m&&!p(e)?!1:t.call(this,0===e?0:e)}:"has"==e?function(e){return m&&!p(e)?!1:t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!p(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,r){return t.call(this,0===e?0:e,r),this})};if("function"==typeof g&&(m||b.foreach&&!l(function(){(new g).entries().next()}))){var s,a=new g,d=a[v](m?{}:-0,1)!=a,w=l(function(){a.has(1)}),c=c(function(e){new g(e)});c||(g=t(function(t,r){u(t,g,e);var n=new y;return void 0!=r&&o(r,h,n[v],n),n}),g.prototype=b,b.constructor=g),m||a.foreach(function(e,t){s=1/t===-(1/0)}),(w||s)&&(x("delete"),x("has"),h&&x("get")),(s||d)&&x(v),m&&b.clear&&delete b.clear}else g=d.getconstructor(t,e,h,v),s(g.prototype,r);return f(g,e),e[e]=g,i(i.g+i.w+i.f*(g!=y),e),m||d.setstrong(g,e,h),g}},{249:249,251:251,254:254,256:256,265:265,270:270,287:287,288:288,293:293,296:296}],243:[function(e,t,r){var n=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},{}],244:[function(e,t,r){var n=e(229);t.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},{229:229}],245:[function(e,t,r){t.exports=function(e){if(void 0==e)throw typeerror("can't call method on "+e);return e}},{}],246:[function(e,t,r){t.exports=!e(251)(function(){return 7!=object.defineproperty({},"a",{get:function(){return 7}}).a})},{251:251}],247:[function(e,t,r){var n=e(265),i=e(256).document,a=n(i)&&n(i.createelement);t.exports=function(e){return a?i.createelement(e):{}}},{256:256,265:265}],248:[function(e,t,r){var n=e(273);t.exports=function(e){var t=n.getkeys(e),r=n.getsymbols;if(r)for(var i,a=r(e),s=n.isenum,o=0;a.length>o;)s.call(e,i=a[o++])&&t.push(i);return t}},{273:273}],249:[function(e,t,r){var n=e(256),i=e(243),a=e(258),s=e(288),o=e(244),u="prototype",p=function(e,t,r){var l,c,f,d,h=e&p.f,m=e&p.g,y=e&p.s,g=e&p.p,v=e&p.b,b=m?n:y?n[t]||(n[t]={}):(n[t]||{})[u],e=m?i:i[t]||(i[t]={}),x=e[u]||(e[u]={});m&&(r=t);for(l in r)c=!h&&b&&l in b,f=(c?b:r)[l],d=v&&c?o(f,n):g&&"function"==typeof f?o(function.call,f):f,b&&!c&&s(b,l,f),e[l]!=f&&a(e,l,d),g&&x[l]!=f&&(x[l]=f)};n.core=i,p.f=1,p.g=2,p.s=4,p.p=8,p.b=16,p.w=32,t.exports=p},{243:243,244:244,256:256,258:258,288:288}],250:[function(e,t,r){var n=e(310)("match");t.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,!"/./"[e](t)}catch(i){}}return!0}},{310:310}],251:[function(e,t,r){t.exports=function(e){try{return!!e()}catch(t){return!0}}},{}],252:[function(e,t,r){"use strict";var n=e(258),i=e(288),a=e(251),s=e(245),o=e(310);t.exports=function(e,t,r){var u=o(e),p=""[e];a(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(i(string.prototype,e,r(s,u,p)),n(regexp.prototype,u,2==t?function(e,t){return p.call(e,this,t)}:function(e){return p.call(e,this)}))}},{245:245,251:251,258:258,288:288,310:310}],253:[function(e,t,r){"use strict";var n=e(231);t.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignorecase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},{231:231}],254:[function(e,t,r){var n=e(244),i=e(267),a=e(262),s=e(231),o=e(306),u=e(311);t.exports=function(e,t,r,p){var l,c,f,d=u(e),h=n(r,p,t?2:1),m=0;if("function"!=typeof d)throw typeerror(e+" is not iterable!");if(a(d))for(l=o(e.length);l>m;m++)t?h(s(c=e[m])[0],c[1]):h(e[m]);else for(f=d.call(e);!(c=f.next()).done;)i(f,h,c.value,t)}},{231:231,244:244,262:262,267:267,306:306,311:311}],255:[function(e,t,r){var n=e(305),i=e(273).getnames,a={}.tostring,s="object"==typeof window&&object.getownpropertynames?object.getownpropertynames(window):[],o=function(e){try{return i(e)}catch(t){return s.slice()}};t.exports.get=function(e){return s&&"[object window]"==a.call(e)?o(e):i(n(e))}},{273:273,305:305}],256:[function(e,t,r){var n=t.exports="undefined"!=typeof window&&window.math==math?window:"undefined"!=typeof self&&self.math==math?self:function("return this")();"number"==typeof __g&&(__g=n)},{}],257:[function(e,t,r){var n={}.hasownproperty;t.exports=function(e,t){return n.call(e,t)}},{}],258:[function(e,t,r){var n=e(273),i=e(286);t.exports=e(246)?function(e,t,r){return n.setdesc(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},{246:246,273:273,286:286}],259:[function(e,t,r){t.exports=e(256).document&&document.documentelement},{256:256}],260:[function(e,t,r){t.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},{}],261:[function(e,t,r){var n=e(238);t.exports=object("z").propertyisenumerable(0)?object:function(e){return"string"==n(e)?e.split(""):object(e)}},{238:238}],262:[function(e,t,r){var n=e(272),i=e(310)("iterator"),a=array.prototype;t.exports=function(e){return void 0!==e&&(n.array===e||a[i]===e)}},{272:272,310:310}],263:[function(e,t,r){var n=e(238);t.exports=array.isarray||function(e){return"array"==n(e)}},{238:238}],264:[function(e,t,r){var n=e(265),i=math.floor;t.exports=function(e){return!n(e)&&isfinite(e)&&i(e)===e}},{265:265}],265:[function(e,t,r){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],266:[function(e,t,r){var n=e(265),i=e(238),a=e(310)("match");t.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"regexp"==i(e))}},{238:238,265:265,310:310}],267:[function(e,t,r){var n=e(231);t.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){var s=e["return"];throw void 0!==s&&n(s.call(e)),a}}},{231:231}],268:[function(e,t,r){"use strict";var n=e(273),i=e(286),a=e(293),s={};e(258)(s,e(310)("iterator"),function(){return this}),t.exports=function(e,t,r){e.prototype=n.create(s,{next:i(1,r)}),a(e,t+" iterator")}},{258:258,273:273,286:286,293:293,310:310}],269:[function(e,t,r){"use strict";var n=e(275),i=e(249),a=e(288),s=e(258),o=e(257),u=e(272),p=e(268),l=e(293),c=e(273).getproto,f=e(310)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",y="values",g=function(){return this};t.exports=function(e,t,r,v,b,e,x){p(r,t,v);var s,a,d=function(e){if(!d&&e in _)return _[e];switch(e){case m:return function(){return new r(this,e)};case y:return function(){return new r(this,e)}}return function(){return new r(this,e)}},w=t+" iterator",c=b==y,i=!1,_=e.prototype,k=_[f]||_[h]||b&&_[b],f=k||d(b);if(k){var p=c(f.call(new e));l(p,w,!0),!n&&o(_,h)&&s(p,f,g),c&&k.name!==y&&(i=!0,f=function(){return k.call(this)})}if(n&&!x||!d&&!i&&_[f]||s(_,f,f),u[t]=f,u[w]=g,b)if(s={values:c?f:d(y),keys:e?f:d(m),entries:c?d("entries"):f},x)for(a in s)a in _||a(_,a,s[a]);else i(i.p+i.f*(d||i),t,s);return s}},{249:249,257:257,258:258,268:268,272:272,273:273,275:275,288:288,293:293,310:310}],270:[function(e,t,r){var n=e(310)("iterator"),i=!1;try{var a=[7][n]();a["return"]=function(){i=!0},array.from(a,function(){throw 2})}catch(s){}t.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var a=[7],s=a[n]();s.next=function(){r=!0},a[n]=function(){return s},e(a)}catch(o){}return r}},{310:310}],271:[function(e,t,r){t.exports=function(e,t){return{value:t,done:!!e}}},{}],272:[function(e,t,r){t.exports={}},{}],273:[function(e,t,r){var n=object;t.exports={create:n.create,getproto:n.getprototypeof,isenum:{}.propertyisenumerable,getdesc:n.getownpropertydescriptor,setdesc:n.defineproperty,setdescs:n.defineproperties,getkeys:n.keys,getnames:n.getownpropertynames,getsymbols:n.getownpropertysymbols,each:[].foreach}},{}],274:[function(e,t,r){var n=e(273),i=e(305);t.exports=function(e,t){for(var r,a=i(e),s=n.getkeys(a),o=s.length,u=0;o>u;)if(a[r=s[u++]]===t)return r}},{273:273,305:305}],275:[function(e,t,r){t.exports=!1},{}],276:[function(e,t,r){t.exports=math.expm1||function(e){return 0==(e=+e)?e:e>-1e-6&&1e-6>e?e+e*e/2:math.exp(e)-1}},{}],277:[function(e,t,r){t.exports=math.log1p||function(e){return(e=+e)>-1e-8&&1e-8>e?e-e*e/2:math.log(1+e)}},{}],278:[function(e,t,r){t.exports=math.sign||function(e){return 0==(e=+e)||e!=e?e:0>e?-1:1}},{}],279:[function(e,t,r){var n,i,a,s=e(256),o=e(302).set,u=s.mutationobserver||s.webkitmutationobserver,p=s.process,l=s.promise,c="process"==e(238)(p),f=function(){var e,t,r;for(c&&(e=p.domain)&&(p.domain=null,e.exit());n;)t=n.domain,r=n.fn,t&&t.enter(),r(),t&&t.exit(),n=n.next;i=void 0,e&&e.enter()};if(c)a=function(){p.nexttick(f)};else if(u){var d=1,h=document.createtextnode("");new u(f).observe(h,{characterdata:!0}),a=function(){h.data=d=-d}}else a=l&&l.resolve?function(){l.resolve().then(f)}:function(){o.call(s,f)};t.exports=function(e){var t={fn:e,next:void 0,domain:c&&p.domain};i&&(i.next=t),n||(n=t,a()),i=t}},{238:238,256:256,302:302}],280:[function(e,t,r){var n=e(273),i=e(307),a=e(261);t.exports=e(251)(function(){var e=object.assign,t={},r={},n=symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").foreach(function(e){r[e]=e}),7!=e({},t)[n]||object.keys(e({},r)).join("")!=i})?function(e,t){for(var r=i(e),s=arguments,o=s.length,u=1,p=n.getkeys,l=n.getsymbols,c=n.isenum;o>u;)for(var f,d=a(s[u++]),h=l?p(d).concat(l(d)):p(d),m=h.length,y=0;m>y;)c.call(d,f=h[y++])&&(r[f]=d[f]);return r}:object.assign},{251:251,261:261,273:273,307:307}],281:[function(e,t,r){var n=e(249),i=e(243),a=e(251);t.exports=function(e,t){var r=(i.object||{})[e]||object[e],s={};s[e]=t(r),n(n.s+n.f*a(function(){r(1)}),"object",s)}},{243:243,249:249,251:251}],282:[function(e,t,r){var n=e(273),i=e(305),a=n.isenum;t.exports=function(e){return function(t){for(var r,s=i(t),o=n.getkeys(s),u=o.length,p=0,l=[];u>p;)a.call(s,r=o[p++])&&l.push(e?[r,s[r]]:s[r]);return l}}},{273:273,305:305}],283:[function(e,t,r){var n=e(273),i=e(231),a=e(256).reflect;t.exports=a&&a.ownkeys||function(e){var t=n.getnames(i(e)),r=n.getsymbols;return r?t.concat(r(e)):t}},{231:231,256:256,273:273}],284:[function(e,t,r){"use strict";var n=e(285),i=e(260),a=e(229);t.exports=function(){for(var e=a(this),t=arguments.length,r=array(t),s=0,o=n._,u=!1;t>s;)(r[s]=arguments[s++])===o&&(u=!0);return function(){var n,a=this,s=arguments,p=s.length,l=0,c=0;if(!u&&!p)return i(e,r,a);if(n=r.slice(),u)for(;t>l;l++)n[l]===o&&(n[l]=s[c++]);for(;p>c;)n.push(s[c++]);return i(e,n,a)}}},{229:229,260:260,285:285}],285:[function(e,t,r){t.exports=e(256)},{256:256}],286:[function(e,t,r){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],287:[function(e,t,r){var n=e(288);t.exports=function(e,t){for(var r in t)n(e,r,t[r]);return e}},{288:288}],288:[function(e,t,r){var n=e(256),i=e(258),a=e(309)("src"),s="tostring",o=function[s],u=(""+o).split(s);e(243).inspectsource=function(e){return o.call(e)},(t.exports=function(e,t,r,s){"function"==typeof r&&(r.hasownproperty(a)||i(r,a,e[t]?""+e[t]:u.join(string(t))),r.hasownproperty("name")||i(r,"name",t)),e===n?e[t]=r:(s||delete e[t],i(e,t,r))})(function.prototype,s,function(){return"function"==typeof this&&this[a]||o.call(this)})},{243:243,256:256,258:258,309:309}],289:[function(e,t,r){t.exports=function(e,t){var r=t===object(t)?function(e){return t[e]}:t;return function(t){return string(t).replace(e,r)}}},{}],290:[function(e,t,r){t.exports=object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},{}],291:[function(e,t,r){var n=e(273).getdesc,i=e(265),a=e(231),s=function(e,t){if(a(e),!i(t)&&null!==t)throw typeerror(t+": can't set as prototype!")};t.exports={set:object.setprototypeof||("__proto__"in{}?function(t,r,i){try{i=e(244)(function.call,n(object.prototype,"__proto__").set,2),i(t,[]),r=!(t instanceof array)}catch(a){r=!0}return function(e,t){return s(e,t),r?e.__proto__=t:i(e,t),e}}({},!1):void 0),check:s}},{231:231,244:244,265:265,273:273}],292:[function(e,t,r){"use strict";var n=e(256),i=e(273),a=e(246),s=e(310)("species");t.exports=function(e){var t=n[e];a&&t&&!t[s]&&i.setdesc(t,s,{configurable:!0,get:function(){return this}})}},{246:246,256:256,273:273,310:310}],293:[function(e,t,r){var n=e(273).setdesc,i=e(257),a=e(310)("tostringtag");t.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},{257:257,273:273,310:310}],294:[function(e,t,r){var n=e(256),i="__core-js_shared__",a=n[i]||(n[i]={});t.exports=function(e){return a[e]||(a[e]={})}},{256:256}],295:[function(e,t,r){var n=e(231),i=e(229),a=e(310)("species");t.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||void 0==(r=n(s)[a])?t:i(r)}},{229:229,231:231,310:310}],296:[function(e,t,r){t.exports=function(e,t,r){if(!(e instanceof t))throw typeerror(r+": use the 'new' operator!");return e}},{}],297:[function(e,t,r){var n=e(304),i=e(245);t.exports=function(e){return function(t,r){var a,s,o=string(i(t)),u=n(r),p=o.length;return 0>u||u>=p?e?"":void 0:(a=o.charcodeat(u),55296>a||a>56319||u+1===p||(s=o.charcodeat(u+1))<56320||s>57343?e?o.charat(u):a:e?o.slice(u,u+2):(a-55296<<10)+(s-56320)+65536)}}},{245:245,304:304}],298:[function(e,t,r){var n=e(266),i=e(245);t.exports=function(e,t,r){if(n(t))throw typeerror("string#"+r+" doesn't accept regex!");return string(i(e))}},{245:245,266:266}],299:[function(e,t,r){var n=e(306),i=e(300),a=e(245);t.exports=function(e,t,r,s){var o=string(a(e)),u=o.length,p=void 0===r?" ":string(r),l=n(t);if(u>=l)return o;""==p&&(p=" ");var c=l-u,f=i.call(p,math.ceil(c/p.length));return f.length>c&&(f=f.slice(0,c)),s?f+o:o+f}},{245:245,300:300,306:306}],300:[function(e,t,r){"use strict";var n=e(304),i=e(245);t.exports=function(e){var t=string(i(this)),r="",a=n(e);if(0>a||a==1/0)throw rangeerror("count can't be negative");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(r+=t);return r}},{245:245,304:304}],301:[function(e,t,r){var n=e(249),i=e(245),a=e(251),s=" \n\x0b\f\r  ᠎              \u2028\u2029\ufeff",o="["+s+"]",u="​…",p=regexp("^"+o+o+"*"),l=regexp(o+o+"*$"),c=function(e,t){var r={};r[e]=t(f),n(n.p+n.f*a(function(){return!!s[e]()||u[e]()!=u}),"string",r)},f=c.trim=function(e,t){return e=string(i(e)),1&t&&(e=e.replace(p,"")),2&t&&(e=e.replace(l,"")),e};t.exports=c},{245:245,249:249,251:251}],302:[function(e,t,r){var n,i,a,s=e(244),o=e(260),u=e(259),p=e(247),l=e(256),c=l.process,f=l.setimmediate,d=l.clearimmediate,h=l.messagechannel,m=0,y={},g="onreadystatechange",v=function(){var e=+this;if(y.hasownproperty(e)){var t=y[e];delete y[e],t()}},b=function(e){v.call(e.data)};f&&d||(f=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return y[++m]=function(){o("function"==typeof e?e:function(e),t)},n(m),m},d=function(e){delete y[e]},"process"==e(238)(c)?n=function(e){c.nexttick(s(v,e,1))}:h?(i=new h,a=i.port2,i.port1.onmessage=b,n=s(a.postmessage,a,1)):l.addeventlistener&&"function"==typeof postmessage&&!l.importscripts?(n=function(e){l.postmessage(e+"","*")},l.addeventlistener("message",b,!1)):n=g in p("script")?function(e){u.appendchild(p("script"))[g]=function(){u.removechild(this),v.call(e)}}:function(e){settimeout(s(v,e,1),0)}),t.exports={set:f,clear:d}},{238:238,244:244,247:247,256:256,259:259,260:260}],303:[function(e,t,r){var n=e(304),i=math.max,a=math.min;t.exports=function(e,t){return e=n(e),0>e?i(e+t,0):a(e,t)}},{304:304}],304:[function(e,t,r){var n=math.ceil,i=math.floor;t.exports=function(e){return isnan(e=+e)?0:(e>0?i:n)(e)}},{}],305:[function(e,t,r){var n=e(261),i=e(245);t.exports=function(e){return n(i(e))}},{245:245,261:261}],306:[function(e,t,r){var n=e(304),i=math.min;t.exports=function(e){return e>0?i(n(e),9007199254740991):0}},{304:304}],307:[function(e,t,r){var n=e(245);t.exports=function(e){return object(n(e))}},{245:245}],308:[function(e,t,r){var n=e(265);t.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.tostring)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueof)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.tostring)&&!n(i=r.call(e)))return i;throw typeerror("can't convert object to primitive value")}},{265:265}],309:[function(e,t,r){var n=0,i=math.random();t.exports=function(e){return"symbol(".concat(void 0===e?"":e,")_",(++n+i).tostring(36))}},{}],310:[function(e,t,r){var n=e(294)("wks"),i=e(309),a=e(256).symbol;t.exports=function(e){return n[e]||(n[e]=a&&a[e]||(a||i)("symbol."+e))}},{256:256,294:294,309:309}],311:[function(e,t,r){var n=e(237),i=e(310)("iterator"),a=e(272);t.exports=e(243).getiteratormethod=function(e){return void 0!=e?e[i]||e["@@iterator"]||a[n(e)]:void 0}},{237:237,243:243,272:272,310:310}],312:[function(e,t,r){"use strict";var n,i=e(273),a=e(249),s=e(246),o=e(286),u=e(259),p=e(247),l=e(257),c=e(238),f=e(260),d=e(251),h=e(231),m=e(229),y=e(265),g=e(307),v=e(305),b=e(304),e=e(303),x=e(306),s=e(261),a=e(309)("__proto__"),d=e(235),w=e(234)(!1),c=object.prototype,i=array.prototype,_=i.slice,k=i.join,f=i.setdesc,p=i.getdesc,b=i.setdescs,t={};s||(n=!d(function(){return 7!=f(p("div"),"a",{get:function(){return 7}}).a}),i.setdesc=function(e,t,r){if(n)try{return f(e,t,r)}catch(i){}if("get"in r||"set"in r)throw typeerror("accessors not supported!");return"value"in r&&(h(e)[t]=r.value),e},i.getdesc=function(e,t){if(n)try{return p(e,t)}catch(r){}return l(e,t)?o(!c.propertyisenumerable.call(e,t),e[t]):void 0},i.setdescs=b=function(e,t){h(e);for(var r,n=i.getkeys(t),a=n.length,s=0;a>s;)i.setdesc(e,r=n[s++],t[r]);return e}),a(a.s+a.f*!s,"object",{getownpropertydescriptor:i.getdesc,defineproperty:i.setdesc,defineproperties:b});var m="constructor,hasownproperty,isprototypeof,propertyisenumerable,tolocalestring,tostring,valueof".split(","),o=m.concat("length","prototype"),j=m.length,l=function(){var e,t=p("iframe"),r=j,n=">";for(t.style.display="none",u.appendchild(t),t.src="javascript:",e=t.contentwindow.document,e.open(),e.write("