UNPKG

@anonymousbitcoin/anoncore-lib

Version:
16 lines 1.09 MB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.dashcore=e():t.dashcore=e()}("undefined"!=typeof self?self:this,function(){return function(t){var e={};function r(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=127)}([function(t,e,r){"use strict";(function(t){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> * @license MIT */ var i=r(129),n=r(130),o=r(82);function s(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=f.prototype:(null===t&&(t=new f(e)),t.length=e),t}function f(t,e,r){if(!(f.TYPED_ARRAY_SUPPORT||this instanceof f))return new f(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}return u(this,t,e,r)}function u(t,e,r,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,i){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(i||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,r):new Uint8Array(e,r,i);f.TYPED_ARRAY_SUPPORT?(t=e).__proto__=f.prototype:t=d(t,e);return t}(t,e,r,i):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!f.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var i=0|p(e,r),n=(t=a(t,i)).write(e,r);n!==i&&(t=t.slice(0,n));return t}(t,e,r):function(t,e){if(f.isBuffer(e)){var r=0|l(e.length);return 0===(t=a(t,r)).length?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(i=e.length)!=i?a(t,0):d(t,e);if("Buffer"===e.type&&o(e.data))return d(t,e.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function c(t,e){if(h(e),t=a(t,e<0?0:0|l(e)),!f.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function d(t,e){var r=e.length<0?0:0|l(e.length);t=a(t,r);for(var i=0;i<r;i+=1)t[i]=255&e[i];return t}function l(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function p(t,e){if(f.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return D(t).length;default:if(i)return z(t).length;e=(""+e).toLowerCase(),i=!0}}function b(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function m(t,e,r,i,n){if(0===t.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(n)return-1;r=t.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof e&&(e=f.from(e,i)),f.isBuffer(e))return 0===e.length?-1:g(t,e,r,i,n);if("number"==typeof e)return e&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,i,n);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,i,n){var o,s=1,a=t.length,f=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;s=2,a/=2,f/=2,r/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(n){var h=-1;for(o=r;o<a;o++)if(u(t,o)===u(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===f)return h*s}else-1!==h&&(o-=o-h),h=-1}else for(r+f>a&&(r=a-f),o=r;o>=0;o--){for(var c=!0,d=0;d<f;d++)if(u(t,o+d)!==u(e,d)){c=!1;break}if(c)return o}return-1}function v(t,e,r,i){r=Number(r)||0;var n=t.length-r;i?(i=Number(i))>n&&(i=n):i=n;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var s=0;s<i;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[r+s]=a}return s}function y(t,e,r,i){return F(z(e,t.length-r),t,r,i)}function w(t,e,r,i){return F(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,i)}function M(t,e,r,i){return w(t,e,r,i)}function _(t,e,r,i){return F(D(e),t,r,i)}function S(t,e,r,i){return F(function(t,e){for(var r,i,n,o=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),i=r>>8,n=r%256,o.push(n),o.push(i);return o}(e,t.length-r),t,r,i)}function A(t,e,r){return 0===e&&r===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,r))}function I(t,e,r){r=Math.min(t.length,r);for(var i=[],n=e;n<r;){var o,s,a,f,u=t[n],h=null,c=u>239?4:u>223?3:u>191?2:1;if(n+c<=r)switch(c){case 1:u<128&&(h=u);break;case 2:128==(192&(o=t[n+1]))&&(f=(31&u)<<6|63&o)>127&&(h=f);break;case 3:o=t[n+1],s=t[n+2],128==(192&o)&&128==(192&s)&&(f=(15&u)<<12|(63&o)<<6|63&s)>2047&&(f<55296||f>57343)&&(h=f);break;case 4:o=t[n+1],s=t[n+2],a=t[n+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(f=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&f<1114112&&(h=f)}null===h?(h=65533,c=1):h>65535&&(h-=65536,i.push(h>>>10&1023|55296),h=56320|1023&h),i.push(h),n+=c}return function(t){var e=t.length;if(e<=k)return String.fromCharCode.apply(String,t);var r="",i=0;for(;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=k));return r}(i)}e.Buffer=f,e.SlowBuffer=function(t){+t!=t&&(t=0);return f.alloc(+t)},e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=s(),f.poolSize=8192,f._augment=function(t){return t.__proto__=f.prototype,t},f.from=function(t,e,r){return u(null,t,e,r)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})),f.alloc=function(t,e,r){return function(t,e,r,i){return h(e),e<=0?a(t,e):void 0!==r?"string"==typeof i?a(t,e).fill(r,i):a(t,e).fill(r):a(t,e)}(null,t,e,r)},f.allocUnsafe=function(t){return c(null,t)},f.allocUnsafeSlow=function(t){return c(null,t)},f.isBuffer=function(t){return!(null==t||!t._isBuffer)},f.compare=function(t,e){if(!f.isBuffer(t)||!f.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,i=e.length,n=0,o=Math.min(r,i);n<o;++n)if(t[n]!==e[n]){r=t[n],i=e[n];break}return r<i?-1:i<r?1:0},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var i=f.allocUnsafe(e),n=0;for(r=0;r<t.length;++r){var s=t[r];if(!f.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,n),n+=s.length}return i},f.byteLength=p,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)b(this,e,e+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)b(this,e,e+7),b(this,e+1,e+6),b(this,e+2,e+5),b(this,e+3,e+4);return this},f.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?I(this,0,t):function(t,e,r){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return B(this,e,r);case"utf8":case"utf-8":return I(this,e,r);case"ascii":return x(this,e,r);case"latin1":case"binary":return E(this,e,r);case"base64":return A(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}.apply(this,arguments)},f.prototype.equals=function(t){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},f.prototype.compare=function(t,e,r,i,n){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),e<0||r>t.length||i<0||n>this.length)throw new RangeError("out of range index");if(i>=n&&e>=r)return 0;if(i>=n)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,i>>>=0,n>>>=0,this===t)return 0;for(var o=n-i,s=r-e,a=Math.min(o,s),u=this.slice(i,n),h=t.slice(e,r),c=0;c<a;++c)if(u[c]!==h[c]){o=u[c],s=h[c];break}return o<s?-1:s<o?1:0},f.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},f.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},f.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},f.prototype.write=function(t,e,r,i){if(void 0===e)i="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)i=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===i&&(i="utf8")):(i=r,r=void 0)}var n=this.length-e;if((void 0===r||r>n)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return v(this,t,e,r);case"utf8":case"utf-8":return y(this,t,e,r);case"ascii":return w(this,t,e,r);case"latin1":case"binary":return M(this,t,e,r);case"base64":return _(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function x(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(127&t[n]);return i}function E(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]);return i}function B(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var n="",o=e;o<r;++o)n+=j(t[o]);return n}function O(t,e,r){for(var i=t.slice(e,r),n="",o=0;o<i.length;o+=2)n+=String.fromCharCode(i[o]+256*i[o+1]);return n}function R(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,r,i,n,o){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<o)throw new RangeError('"value" argument is out of bounds');if(r+i>t.length)throw new RangeError("Index out of range")}function T(t,e,r,i){e<0&&(e=65535+e+1);for(var n=0,o=Math.min(t.length-r,2);n<o;++n)t[r+n]=(e&255<<8*(i?n:1-n))>>>8*(i?n:1-n)}function N(t,e,r,i){e<0&&(e=4294967295+e+1);for(var n=0,o=Math.min(t.length-r,4);n<o;++n)t[r+n]=e>>>8*(i?n:3-n)&255}function C(t,e,r,i,n,o){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function q(t,e,r,i,o){return o||C(t,0,r,4),n.write(t,e,r,i,23,4),r+4}function L(t,e,r,i,o){return o||C(t,0,r,8),n.write(t,e,r,i,52,8),r+8}f.prototype.slice=function(t,e){var r,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),e<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t),f.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=f.prototype;else{var n=e-t;r=new f(n,void 0);for(var o=0;o<n;++o)r[o]=this[o+t]}return r},f.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||R(t,e,this.length);for(var i=this[t],n=1,o=0;++o<e&&(n*=256);)i+=this[t+o]*n;return i},f.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||R(t,e,this.length);for(var i=this[t+--e],n=1;e>0&&(n*=256);)i+=this[t+--e]*n;return i},f.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||R(t,e,this.length);for(var i=this[t],n=1,o=0;++o<e&&(n*=256);)i+=this[t+o]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*e)),i},f.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||R(t,e,this.length);for(var i=e,n=1,o=this[t+--i];i>0&&(n*=256);)o+=this[t+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),n.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),n.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),n.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),n.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,r,i){(t=+t,e|=0,r|=0,i)||P(this,t,e,r,Math.pow(2,8*r)-1,0);var n=1,o=0;for(this[e]=255&t;++o<r&&(n*=256);)this[e+o]=t/n&255;return e+r},f.prototype.writeUIntBE=function(t,e,r,i){(t=+t,e|=0,r|=0,i)||P(this,t,e,r,Math.pow(2,8*r)-1,0);var n=r-1,o=1;for(this[e+n]=255&t;--n>=0&&(o*=256);)this[e+n]=t/o&255;return e+r},f.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,1,255,0),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):T(this,t,e,!0),e+2},f.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):T(this,t,e,!1),e+2},f.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):N(this,t,e,!0),e+4},f.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},f.prototype.writeIntLE=function(t,e,r,i){if(t=+t,e|=0,!i){var n=Math.pow(2,8*r-1);P(this,t,e,r,n-1,-n)}var o=0,s=1,a=0;for(this[e]=255&t;++o<r&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+r},f.prototype.writeIntBE=function(t,e,r,i){if(t=+t,e|=0,!i){var n=Math.pow(2,8*r-1);P(this,t,e,r,n-1,-n)}var o=r-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,1,127,-128),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):T(this,t,e,!0),e+2},f.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):T(this,t,e,!1),e+2},f.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):N(this,t,e,!0),e+4},f.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},f.prototype.writeFloatLE=function(t,e,r){return q(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return q(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return L(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return L(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,i){if(r||(r=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<r&&(i=r),i===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-r&&(i=t.length-e+r);var n,o=i-r;if(this===t&&r<e&&e<i)for(n=o-1;n>=0;--n)t[n+e]=this[n+r];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(n=0;n<o;++n)t[n+e]=this[n+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},f.prototype.fill=function(t,e,r,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),1===t.length){var n=t.charCodeAt(0);n<256&&(t=n)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!f.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var s=f.isBuffer(t)?t:z(new f(t,i).toString()),a=s.length;for(o=0;o<r-e;++o)this[o+e]=s[o%a]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function j(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){var r;e=e||1/0;for(var i=t.length,n=null,o=[],s=0;s<i;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!n){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&o.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function D(t){return i.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(U,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function F(t,e,r,i){for(var n=0;n<i&&!(n+r>=e.length||n>=t.length);++n)e[n+r]=t[n];return n}}).call(e,r(9))},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e,r){(function(t,i){var n; /** * @license * Lodash <https://lodash.com/> * Copyright JS Foundation and other contributors <https://js.foundation/> * Released under MIT license <https://lodash.com/license> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var o,s=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",u="__lodash_hash_undefined__",h=500,c="__lodash_placeholder__",d=1,l=2,p=4,b=1,m=2,g=1,v=2,y=4,w=8,M=16,_=32,S=64,A=128,I=256,k=512,x=30,E="...",B=800,O=16,R=1,P=2,T=1/0,N=9007199254740991,C=1.7976931348623157e308,q=NaN,L=4294967295,U=L-1,j=L>>>1,z=[["ary",A],["bind",g],["bindKey",v],["curry",w],["curryRight",M],["flip",k],["partial",_],["partialRight",S],["rearg",I]],D="[object Arguments]",F="[object Array]",K="[object AsyncFunction]",H="[object Boolean]",V="[object Date]",Z="[object DOMException]",Y="[object Error]",W="[object Function]",G="[object GeneratorFunction]",X="[object Map]",J="[object Number]",Q="[object Null]",$="[object Object]",tt="[object Proxy]",et="[object RegExp]",rt="[object Set]",it="[object String]",nt="[object Symbol]",ot="[object Undefined]",st="[object WeakMap]",at="[object WeakSet]",ft="[object ArrayBuffer]",ut="[object DataView]",ht="[object Float32Array]",ct="[object Float64Array]",dt="[object Int8Array]",lt="[object Int16Array]",pt="[object Int32Array]",bt="[object Uint8Array]",mt="[object Uint8ClampedArray]",gt="[object Uint16Array]",vt="[object Uint32Array]",yt=/\b__p \+= '';/g,wt=/\b(__p \+=) '' \+/g,Mt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,St=/[&<>"']/g,At=RegExp(_t.source),It=RegExp(St.source),kt=/<%-([\s\S]+?)%>/g,xt=/<%([\s\S]+?)%>/g,Et=/<%=([\s\S]+?)%>/g,Bt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ot=/^\w*$/,Rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pt=/[\\^$.*+?()[\]{}|]/g,Tt=RegExp(Pt.source),Nt=/^\s+|\s+$/g,Ct=/^\s+/,qt=/\s+$/,Lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,jt=/,? & /,zt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Dt=/\\(\\)?/g,Ft=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Kt=/\w*$/,Ht=/^[-+]0x[0-9a-f]+$/i,Vt=/^0b[01]+$/i,Zt=/^\[object .+?Constructor\]$/,Yt=/^0o[0-7]+$/i,Wt=/^(?:0|[1-9]\d*)$/,Gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xt=/($^)/,Jt=/['\n\r\u2028\u2029\\]/g,Qt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",$t="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",te="[\\ud800-\\udfff]",ee="["+$t+"]",re="["+Qt+"]",ie="\\d+",ne="[\\u2700-\\u27bf]",oe="[a-z\\xdf-\\xf6\\xf8-\\xff]",se="[^\\ud800-\\udfff"+$t+ie+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ae="\\ud83c[\\udffb-\\udfff]",fe="[^\\ud800-\\udfff]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",he="[\\ud800-\\udbff][\\udc00-\\udfff]",ce="[A-Z\\xc0-\\xd6\\xd8-\\xde]",de="(?:"+oe+"|"+se+")",le="(?:"+ce+"|"+se+")",pe="(?:"+re+"|"+ae+")"+"?",be="[\\ufe0e\\ufe0f]?"+pe+("(?:\\u200d(?:"+[fe,ue,he].join("|")+")[\\ufe0e\\ufe0f]?"+pe+")*"),me="(?:"+[ne,ue,he].join("|")+")"+be,ge="(?:"+[fe+re+"?",re,ue,he,te].join("|")+")",ve=RegExp("['’]","g"),ye=RegExp(re,"g"),we=RegExp(ae+"(?="+ae+")|"+ge+be,"g"),Me=RegExp([ce+"?"+oe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,ce,"$"].join("|")+")",le+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,ce+de,"$"].join("|")+")",ce+"?"+de+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ce+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ie,me].join("|"),"g"),_e=RegExp("[\\u200d\\ud800-\\udfff"+Qt+"\\ufe0e\\ufe0f]"),Se=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ae=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ie=-1,ke={};ke[ht]=ke[ct]=ke[dt]=ke[lt]=ke[pt]=ke[bt]=ke[mt]=ke[gt]=ke[vt]=!0,ke[D]=ke[F]=ke[ft]=ke[H]=ke[ut]=ke[V]=ke[Y]=ke[W]=ke[X]=ke[J]=ke[$]=ke[et]=ke[rt]=ke[it]=ke[st]=!1;var xe={};xe[D]=xe[F]=xe[ft]=xe[ut]=xe[H]=xe[V]=xe[ht]=xe[ct]=xe[dt]=xe[lt]=xe[pt]=xe[X]=xe[J]=xe[$]=xe[et]=xe[rt]=xe[it]=xe[nt]=xe[bt]=xe[mt]=xe[gt]=xe[vt]=!0,xe[Y]=xe[W]=xe[st]=!1;var Ee={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Be=parseFloat,Oe=parseInt,Re="object"==typeof t&&t&&t.Object===Object&&t,Pe="object"==typeof self&&self&&self.Object===Object&&self,Te=Re||Pe||Function("return this")(),Ne="object"==typeof e&&e&&!e.nodeType&&e,Ce=Ne&&"object"==typeof i&&i&&!i.nodeType&&i,qe=Ce&&Ce.exports===Ne,Le=qe&&Re.process,Ue=function(){try{var t=Ce&&Ce.require&&Ce.require("util").types;return t||Le&&Le.binding&&Le.binding("util")}catch(t){}}(),je=Ue&&Ue.isArrayBuffer,ze=Ue&&Ue.isDate,De=Ue&&Ue.isMap,Fe=Ue&&Ue.isRegExp,Ke=Ue&&Ue.isSet,He=Ue&&Ue.isTypedArray;function Ve(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function Ze(t,e,r,i){for(var n=-1,o=null==t?0:t.length;++n<o;){var s=t[n];e(i,s,r(s),t)}return i}function Ye(t,e){for(var r=-1,i=null==t?0:t.length;++r<i&&!1!==e(t[r],r,t););return t}function We(t,e){for(var r=null==t?0:t.length;r--&&!1!==e(t[r],r,t););return t}function Ge(t,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(!e(t[r],r,t))return!1;return!0}function Xe(t,e){for(var r=-1,i=null==t?0:t.length,n=0,o=[];++r<i;){var s=t[r];e(s,r,t)&&(o[n++]=s)}return o}function Je(t,e){return!!(null==t?0:t.length)&&ar(t,e,0)>-1}function Qe(t,e,r){for(var i=-1,n=null==t?0:t.length;++i<n;)if(r(e,t[i]))return!0;return!1}function $e(t,e){for(var r=-1,i=null==t?0:t.length,n=Array(i);++r<i;)n[r]=e(t[r],r,t);return n}function tr(t,e){for(var r=-1,i=e.length,n=t.length;++r<i;)t[n+r]=e[r];return t}function er(t,e,r,i){var n=-1,o=null==t?0:t.length;for(i&&o&&(r=t[++n]);++n<o;)r=e(r,t[n],n,t);return r}function rr(t,e,r,i){var n=null==t?0:t.length;for(i&&n&&(r=t[--n]);n--;)r=e(r,t[n],n,t);return r}function ir(t,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(t[r],r,t))return!0;return!1}var nr=cr("length");function or(t,e,r){var i;return r(t,function(t,r,n){if(e(t,r,n))return i=r,!1}),i}function sr(t,e,r,i){for(var n=t.length,o=r+(i?1:-1);i?o--:++o<n;)if(e(t[o],o,t))return o;return-1}function ar(t,e,r){return e==e?function(t,e,r){var i=r-1,n=t.length;for(;++i<n;)if(t[i]===e)return i;return-1}(t,e,r):sr(t,ur,r)}function fr(t,e,r,i){for(var n=r-1,o=t.length;++n<o;)if(i(t[n],e))return n;return-1}function ur(t){return t!=t}function hr(t,e){var r=null==t?0:t.length;return r?pr(t,e)/r:q}function cr(t){return function(e){return null==e?o:e[t]}}function dr(t){return function(e){return null==t?o:t[e]}}function lr(t,e,r,i,n){return n(t,function(t,n,o){r=i?(i=!1,t):e(r,t,n,o)}),r}function pr(t,e){for(var r,i=-1,n=t.length;++i<n;){var s=e(t[i]);s!==o&&(r=r===o?s:r+s)}return r}function br(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i}function mr(t){return function(e){return t(e)}}function gr(t,e){return $e(e,function(e){return t[e]})}function vr(t,e){return t.has(e)}function yr(t,e){for(var r=-1,i=t.length;++r<i&&ar(e,t[r],0)>-1;);return r}function wr(t,e){for(var r=t.length;r--&&ar(e,t[r],0)>-1;);return r}var Mr=dr({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),_r=dr({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Sr(t){return"\\"+Ee[t]}function Ar(t){return _e.test(t)}function Ir(t){var e=-1,r=Array(t.size);return t.forEach(function(t,i){r[++e]=[i,t]}),r}function kr(t,e){return function(r){return t(e(r))}}function xr(t,e){for(var r=-1,i=t.length,n=0,o=[];++r<i;){var s=t[r];s!==e&&s!==c||(t[r]=c,o[n++]=r)}return o}function Er(t,e){return"__proto__"==e?o:t[e]}function Br(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}function Or(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=[t,t]}),r}function Rr(t){return Ar(t)?function(t){var e=we.lastIndex=0;for(;we.test(t);)++e;return e}(t):nr(t)}function Pr(t){return Ar(t)?function(t){return t.match(we)||[]}(t):function(t){return t.split("")}(t)}var Tr=dr({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Nr=function t(e){var r,i=(e=null==e?Te:Nr.defaults(Te.Object(),e,Nr.pick(Te,Ae))).Array,n=e.Date,Qt=e.Error,$t=e.Function,te=e.Math,ee=e.Object,re=e.RegExp,ie=e.String,ne=e.TypeError,oe=i.prototype,se=$t.prototype,ae=ee.prototype,fe=e["__core-js_shared__"],ue=se.toString,he=ae.hasOwnProperty,ce=0,de=(r=/[^.]+$/.exec(fe&&fe.keys&&fe.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",le=ae.toString,pe=ue.call(ee),be=Te._,me=re("^"+ue.call(he).replace(Pt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ge=qe?e.Buffer:o,we=e.Symbol,_e=e.Uint8Array,Ee=ge?ge.allocUnsafe:o,Re=kr(ee.getPrototypeOf,ee),Pe=ee.create,Ne=ae.propertyIsEnumerable,Ce=oe.splice,Le=we?we.isConcatSpreadable:o,Ue=we?we.iterator:o,nr=we?we.toStringTag:o,dr=function(){try{var t=zo(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),Cr=e.clearTimeout!==Te.clearTimeout&&e.clearTimeout,qr=n&&n.now!==Te.Date.now&&n.now,Lr=e.setTimeout!==Te.setTimeout&&e.setTimeout,Ur=te.ceil,jr=te.floor,zr=ee.getOwnPropertySymbols,Dr=ge?ge.isBuffer:o,Fr=e.isFinite,Kr=oe.join,Hr=kr(ee.keys,ee),Vr=te.max,Zr=te.min,Yr=n.now,Wr=e.parseInt,Gr=te.random,Xr=oe.reverse,Jr=zo(e,"DataView"),Qr=zo(e,"Map"),$r=zo(e,"Promise"),ti=zo(e,"Set"),ei=zo(e,"WeakMap"),ri=zo(ee,"create"),ii=ei&&new ei,ni={},oi=cs(Jr),si=cs(Qr),ai=cs($r),fi=cs(ti),ui=cs(ei),hi=we?we.prototype:o,ci=hi?hi.valueOf:o,di=hi?hi.toString:o;function li(t){if(Ea(t)&&!ga(t)&&!(t instanceof gi)){if(t instanceof mi)return t;if(he.call(t,"__wrapped__"))return ds(t)}return new mi(t)}var pi=function(){function t(){}return function(e){if(!xa(e))return{};if(Pe)return Pe(e);t.prototype=e;var r=new t;return t.prototype=o,r}}();function bi(){}function mi(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function gi(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=L,this.__views__=[]}function vi(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function yi(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function wi(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Mi(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new wi;++e<r;)this.add(t[e])}function _i(t){var e=this.__data__=new yi(t);this.size=e.size}function Si(t,e){var r=ga(t),i=!r&&ma(t),n=!r&&!i&&Ma(t),o=!r&&!i&&!n&&qa(t),s=r||i||n||o,a=s?br(t.length,ie):[],f=a.length;for(var u in t)!e&&!he.call(t,u)||s&&("length"==u||n&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Yo(u,f))||a.push(u);return a}function Ai(t){var e=t.length;return e?t[_n(0,e-1)]:o}function Ii(t,e){return fs(io(t),Ni(e,0,t.length))}function ki(t){return fs(io(t))}function xi(t,e,r){(r===o||la(t[e],r))&&(r!==o||e in t)||Pi(t,e,r)}function Ei(t,e,r){var i=t[e];he.call(t,e)&&la(i,r)&&(r!==o||e in t)||Pi(t,e,r)}function Bi(t,e){for(var r=t.length;r--;)if(la(t[r][0],e))return r;return-1}function Oi(t,e,r,i){return ji(t,function(t,n,o){e(i,t,r(t),o)}),i}function Ri(t,e){return t&&no(e,of(e),t)}function Pi(t,e,r){"__proto__"==e&&dr?dr(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}function Ti(t,e){for(var r=-1,n=e.length,s=i(n),a=null==t;++r<n;)s[r]=a?o:$a(t,e[r]);return s}function Ni(t,e,r){return t==t&&(r!==o&&(t=t<=r?t:r),e!==o&&(t=t>=e?t:e)),t}function Ci(t,e,r,i,n,s){var a,f=e&d,u=e&l,h=e&p;if(r&&(a=n?r(t,i,n,s):r(t)),a!==o)return a;if(!xa(t))return t;var c=ga(t);if(c){if(a=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&he.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!f)return io(t,a)}else{var b=Ko(t),m=b==W||b==G;if(Ma(t))return Jn(t,f);if(b==$||b==D||m&&!n){if(a=u||m?{}:Vo(t),!f)return u?function(t,e){return no(t,Fo(t),e)}(t,function(t,e){return t&&no(e,sf(e),t)}(a,t)):function(t,e){return no(t,Do(t),e)}(t,Ri(a,t))}else{if(!xe[b])return n?t:{};a=function(t,e,r){var i,n,o,s=t.constructor;switch(e){case ft:return Qn(t);case H:case V:return new s(+t);case ut:return function(t,e){var r=e?Qn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case ht:case ct:case dt:case lt:case pt:case bt:case mt:case gt:case vt:return $n(t,r);case X:return new s;case J:case it:return new s(t);case et:return(o=new(n=t).constructor(n.source,Kt.exec(n))).lastIndex=n.lastIndex,o;case rt:return new s;case nt:return i=t,ci?ee(ci.call(i)):{}}}(t,b,f)}}s||(s=new _i);var g=s.get(t);if(g)return g;if(s.set(t,a),Ta(t))return t.forEach(function(i){a.add(Ci(i,e,r,i,t,s))}),a;if(Ba(t))return t.forEach(function(i,n){a.set(n,Ci(i,e,r,n,t,s))}),a;var v=c?o:(h?u?To:Po:u?sf:of)(t);return Ye(v||t,function(i,n){v&&(i=t[n=i]),Ei(a,n,Ci(i,e,r,n,t,s))}),a}function qi(t,e,r){var i=r.length;if(null==t)return!i;for(t=ee(t);i--;){var n=r[i],s=e[n],a=t[n];if(a===o&&!(n in t)||!s(a))return!1}return!0}function Li(t,e,r){if("function"!=typeof t)throw new ne(f);return ns(function(){t.apply(o,r)},e)}function Ui(t,e,r,i){var n=-1,o=Je,a=!0,f=t.length,u=[],h=e.length;if(!f)return u;r&&(e=$e(e,mr(r))),i?(o=Qe,a=!1):e.length>=s&&(o=vr,a=!1,e=new Mi(e));t:for(;++n<f;){var c=t[n],d=null==r?c:r(c);if(c=i||0!==c?c:0,a&&d==d){for(var l=h;l--;)if(e[l]===d)continue t;u.push(c)}else o(e,d,i)||u.push(c)}return u}li.templateSettings={escape:kt,evaluate:xt,interpolate:Et,variable:"",imports:{_:li}},li.prototype=bi.prototype,li.prototype.constructor=li,mi.prototype=pi(bi.prototype),mi.prototype.constructor=mi,gi.prototype=pi(bi.prototype),gi.prototype.constructor=gi,vi.prototype.clear=function(){this.__data__=ri?ri(null):{},this.size=0},vi.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},vi.prototype.get=function(t){var e=this.__data__;if(ri){var r=e[t];return r===u?o:r}return he.call(e,t)?e[t]:o},vi.prototype.has=function(t){var e=this.__data__;return ri?e[t]!==o:he.call(e,t)},vi.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ri&&e===o?u:e,this},yi.prototype.clear=function(){this.__data__=[],this.size=0},yi.prototype.delete=function(t){var e=this.__data__,r=Bi(e,t);return!(r<0||(r==e.length-1?e.pop():Ce.call(e,r,1),--this.size,0))},yi.prototype.get=function(t){var e=this.__data__,r=Bi(e,t);return r<0?o:e[r][1]},yi.prototype.has=function(t){return Bi(this.__data__,t)>-1},yi.prototype.set=function(t,e){var r=this.__data__,i=Bi(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this},wi.prototype.clear=function(){this.size=0,this.__data__={hash:new vi,map:new(Qr||yi),string:new vi}},wi.prototype.delete=function(t){var e=Uo(this,t).delete(t);return this.size-=e?1:0,e},wi.prototype.get=function(t){return Uo(this,t).get(t)},wi.prototype.has=function(t){return Uo(this,t).has(t)},wi.prototype.set=function(t,e){var r=Uo(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this},Mi.prototype.add=Mi.prototype.push=function(t){return this.__data__.set(t,u),this},Mi.prototype.has=function(t){return this.__data__.has(t)},_i.prototype.clear=function(){this.__data__=new yi,this.size=0},_i.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},_i.prototype.get=function(t){return this.__data__.get(t)},_i.prototype.has=function(t){return this.__data__.has(t)},_i.prototype.set=function(t,e){var r=this.__data__;if(r instanceof yi){var i=r.__data__;if(!Qr||i.length<s-1)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new wi(i)}return r.set(t,e),this.size=r.size,this};var ji=ao(Yi),zi=ao(Wi,!0);function Di(t,e){var r=!0;return ji(t,function(t,i,n){return r=!!e(t,i,n)}),r}function Fi(t,e,r){for(var i=-1,n=t.length;++i<n;){var s=t[i],a=e(s);if(null!=a&&(f===o?a==a&&!Ca(a):r(a,f)))var f=a,u=s}return u}function Ki(t,e){var r=[];return ji(t,function(t,i,n){e(t,i,n)&&r.push(t)}),r}function Hi(t,e,r,i,n){var o=-1,s=t.length;for(r||(r=Zo),n||(n=[]);++o<s;){var a=t[o];e>0&&r(a)?e>1?Hi(a,e-1,r,i,n):tr(n,a):i||(n[n.length]=a)}return n}var Vi=fo(),Zi=fo(!0);function Yi(t,e){return t&&Vi(t,e,of)}function Wi(t,e){return t&&Zi(t,e,of)}function Gi(t,e){return Xe(e,function(e){return Aa(t[e])})}function Xi(t,e){for(var r=0,i=(e=Yn(e,t)).length;null!=t&&r<i;)t=t[hs(e[r++])];return r&&r==i?t:o}function Ji(t,e,r){var i=e(t);return ga(t)?i:tr(i,r(t))}function Qi(t){return null==t?t===o?ot:Q:nr&&nr in ee(t)?function(t){var e=he.call(t,nr),r=t[nr];try{t[nr]=o;var i=!0}catch(t){}var n=le.call(t);return i&&(e?t[nr]=r:delete t[nr]),n}(t):function(t){return le.call(t)}(t)}function $i(t,e){return t>e}function tn(t,e){return null!=t&&he.call(t,e)}function en(t,e){return null!=t&&e in ee(t)}function rn(t,e,r){for(var n=r?Qe:Je,s=t[0].length,a=t.length,f=a,u=i(a),h=1/0,c=[];f--;){var d=t[f];f&&e&&(d=$e(d,mr(e))),h=Zr(d.length,h),u[f]=!r&&(e||s>=120&&d.length>=120)?new Mi(f&&d):o}d=t[0];var l=-1,p=u[0];t:for(;++l<s&&c.length<h;){var b=d[l],m=e?e(b):b;if(b=r||0!==b?b:0,!(p?vr(p,m):n(c,m,r))){for(f=a;--f;){var g=u[f];if(!(g?vr(g,m):n(t[f],m,r)))continue t}p&&p.push(m),c.push(b)}}return c}function nn(t,e,r){var i=null==(t=rs(t,e=Yn(e,t)))?t:t[hs(Ss(e))];return null==i?o:Ve(i,t,r)}function on(t){return Ea(t)&&Qi(t)==D}function sn(t,e,r,i,n){return t===e||(null==t||null==e||!Ea(t)&&!Ea(e)?t!=t&&e!=e:function(t,e,r,i,n,s){var a=ga(t),f=ga(e),u=a?F:Ko(t),h=f?F:Ko(e),c=(u=u==D?$:u)==$,d=(h=h==D?$:h)==$,l=u==h;if(l&&Ma(t)){if(!Ma(e))return!1;a=!0,c=!1}if(l&&!c)return s||(s=new _i),a||qa(t)?Oo(t,e,r,i,n,s):function(t,e,r,i,n,o,s){switch(r){case ut:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ft:return!(t.byteLength!=e.byteLength||!o(new _e(t),new _e(e)));case H:case V:case J:return la(+t,+e);case Y:return t.name==e.name&&t.message==e.message;case et:case it:return t==e+"";case X:var a=Ir;case rt:var f=i&b;if(a||(a=Br),t.size!=e.size&&!f)return!1;var u=s.get(t);if(u)return u==e;i|=m,s.set(t,e);var h=Oo(a(t),a(e),i,n,o,s);return s.delete(t),h;case nt:if(ci)return ci.call(t)==ci.call(e)}return!1}(t,e,u,r,i,n,s);if(!(r&b)){var p=c&&he.call(t,"__wrapped__"),g=d&&he.call(e,"__wrapped__");if(p||g){var v=p?t.value():t,y=g?e.value():e;return s||(s=new _i),n(v,y,r,i,s)}}return!!l&&(s||(s=new _i),function(t,e,r,i,n,s){var a=r&b,f=Po(t),u=f.length,h=Po(e).length;if(u!=h&&!a)return!1;for(var c=u;c--;){var d=f[c];if(!(a?d in e:he.call(e,d)))return!1}var l=s.get(t);if(l&&s.get(e))return l==e;var p=!0;s.set(t,e),s.set(e,t);for(var m=a;++c<u;){d=f[c];var g=t[d],v=e[d];if(i)var y=a?i(v,g,d,e,t,s):i(g,v,d,t,e,s);if(!(y===o?g===v||n(g,v,r,i,s):y)){p=!1;break}m||(m="constructor"==d)}if(p&&!m){var w=t.constructor,M=e.constructor;w!=M&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof M&&M instanceof M)&&(p=!1)}return s.delete(t),s.delete(e),p}(t,e,r,i,n,s))}(t,e,r,i,sn,n))}function an(t,e,r,i){var n=r.length,s=n,a=!i;if(null==t)return!s;for(t=ee(t);n--;){var f=r[n];if(a&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++n<s;){var u=(f=r[n])[0],h=t[u],c=f[1];if(a&&f[2]){if(h===o&&!(u in t))return!1}else{var d=new _i;if(i)var l=i(h,c,u,t,e,d);if(!(l===o?sn(c,h,b|m,i,d):l))return!1}}return!0}function fn(t){return!(!xa(t)||de&&de in t)&&(Aa(t)?me:Zt).test(cs(t))}function un(t){return"function"==typeof t?t:null==t?Rf:"object"==typeof t?ga(t)?bn(t[0],t[1]):pn(t):zf(t)}function hn(t){if(!Qo(t))return Hr(t);var e=[];for(var r in ee(t))he.call(t,r)&&"constructor"!=r&&e.push(r);return e}function cn(t){if(!xa(t))return function(t){var e=[];if(null!=t)for(var r in ee(t))e.push(r);return e}(t);var e=Qo(t),r=[];for(var i in t)("constructor"!=i||!e&&he.call(t,i))&&r.push(i);return r}function dn(t,e){return t<e}function ln(t,e){var r=-1,n=ya(t)?i(t.length):[];return ji(t,function(t,i,o){n[++r]=e(t,i,o)}),n}function pn(t){var e=jo(t);return 1==e.length&&e[0][2]?ts(e[0][0],e[0][1]):function(r){return r===t||an(r,t,e)}}function bn(t,e){return Go(t)&&$o(e)?ts(hs(t),e):function(r){var i=$a(r,t);return i===o&&i===e?tf(r,t):sn(e,i,b|m)}}function mn(t,e,r,i,n){t!==e&&Vi(e,function(s,a){if(xa(s))n||(n=new _i),function(t,e,r,i,n,s,a){var f=Er(t,r),u=Er(e,r),h=a.get(u);if(h)xi(t,r,h);else{var c=s?s(f,u,r+"",t,e,a):o,d=c===o;if(d){var l=ga(u),p=!l&&Ma(u),b=!l&&!p&&qa(u);c=u,l||p||b?ga(f)?c=f:wa(f)?c=io(f):p?(d=!1,c=Jn(u,!0)):b?(d=!1,c=$n(u,!0)):c=[]:Ra(u)||ma(u)?(c=f,ma(f)?c=Ha(f):(!xa(f)||i&&Aa(f))&&(c=Vo(u))):d=!1}d&&(a.set(u,c),n(c,u,i,s,a),a.delete(u)),xi(t,r,c)}}(t,e,a,r,mn,i,n);else{var f=i?i(Er(t,a),s,a+"",t,e,n):o;f===o&&(f=s),xi(t,a,f)}},sf)}function gn(t,e){var r=t.length;if(r)return Yo(e+=e<0?r:0,r)?t[e]:o}function vn(t,e,r){var i=-1;return e=$e(e.length?e:[Rf],mr(Lo())),function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}(ln(t,function(t,r,n){return{criteria:$e(e,function(e){return e(t)}),index:++i,value:t}}),function(t,e){return function(t,e,r){for(var i=-1,n=t.criteria,o=e.criteria,s=n.length,a=r.length;++i<s;){var f=to(n[i],o[i]);if(f){if(i>=a)return f;var u=r[i];return f*("desc"==u?-1:1)}}return t.index-e.index}(t,e,r)})}function yn(t,e,r){for(var i=-1,n=e.length,o={};++i<n;){var s=e[i],a=Xi(t,s);r(a,s)&&xn(o,Yn(s,t),a)}return o}function wn(t,e,r,i){var n=i?fr:ar,o=-1,s=e.length,a=t;for(t===e&&(e=io(e)),r&&(a=$e(t,mr(r)));++o<s;)for(var f=0,u=e[o],h=r?r(u):u;(f=n(a,h,f,i))>-1;)a!==t&&Ce.call(a,f,1),Ce.call(t,f,1);return t}function Mn(t,e){for(var r=t?e.length:0,i=r-1;r--;){var n=e[r];if(r==i||n!==o){var o=n;Yo(n)?Ce.call(t,n,1):jn(t,n)}}return t}function _n(t,e){return t+jr(Gr()*(e-t+1))}function Sn(t,e){var r="";if(!t||e<1||e>N)return r;do{e%2&&(r+=t),(e=jr(e/2))&&(t+=t)}while(e);return r}function An(t,e){return os(es(t,e,Rf),t+"")}function In(t){return Ai(pf(t))}function kn(t,e){var r=pf(t);return fs(r,Ni(e,0,r.length))}function xn(t,e,r,i){if(!xa(t))return t;for(var n=-1,s=(e=Yn(e,t)).length,a=s-1,f=t;null!=f&&++n<s;){var u=hs(e[n]),h=r;if(n!=a){var c=f[u];(h=i?i(c,u,f):o)===o&&(h=xa(c)?c:Yo(e[n+1])?[]:{})}Ei(f,u,h),f=f[u]}return t}var En=ii?function(t,e){return ii.set(t,e),t}:Rf,Bn=dr?function(t,e){return dr(t,"toString",{configurable:!0,enumerable:!1,value:Ef(e),writable:!0})}:Rf;function On(t){return fs(pf(t))}function Rn(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var s=i(o);++n<o;)s[n]=t[n+e];return s}function Pn(t,e){var r;return ji(t,function(t,i,n){return!(r=e(t,i,n))}),!!r}function Tn(t,e,r){var i=0,n=null==t?i:t.length;if("number"==typeof e&&e==e&&n<=j){for(;i<n;){var o=i+n>>>1,s=t[o];null!==s&&!Ca(s)&&(r?s<=e:s<e)?i=o+1:n=o}return n}return Nn(t,e,Rf,r)}function Nn(t,e,r,i){e=r(e);for(var n=0,s=null==t?0:t.length,a=e!=e,f=null===e,u=Ca(e),h=e===o;n<s;){var c=jr((n+s)/2),d=r(t[c]),l=d!==o,p=null===d,b=d==d,m=Ca(d);if(a)var g=i||b;else g=h?b&&(i||l):f?b&&l&&(i||!p):u?b&&l&&!p&&(i||!m):!p&&!m&&(i?d<=e:d<e);g?n=c+1:s=c}return Zr(s,U)}function Cn(t,e){for(var r=-1,i=t.length,n=0,o=[];++r<i;){var s=t[r],a=e?e(s):s;if(!r||!la(a,f)){var f=a;o[n++]=0===s?0:s}}return o}function qn(t){return"number"==typeof t?t:Ca(t)?q:+t}function Ln(t){if("string"==typeof t)return t;if(ga(t))return $e(t,Ln)+"";if(Ca(t))return di?di.call(t):"";var e=t+"";return"0"==e&&1/t==-T?"-0":e}function Un(t,e,r){var i=-1,n=Je,o=t.length,a=!0,f=[],u=f;if(r)a=!1,n=Qe;else if(o>=s){var h=e?null:Ao(t);if(h)return Br(h);a=!1,n=vr,u=new Mi}else u=e?[]:f;t:for(;++i<o;){var c=t[i],d=e?e(c):c;if(c=r||0!==c?c:0,a&&d==d){for(var l=u.length;l--;)if(u[l]===d)continue t;e&&u.push(d),f.push(c)}else n(u,d,r)||(u!==f&&u.push(d),f.push(c))}return f}function jn(t,e){return null==(t=rs(t,e=Yn(e,t)))||delete t[hs(Ss(e))]}function zn(t,e,r,i){return xn(t,e,r(Xi(t,e)),i)}function Dn(t,e,r,i){for(var n=t.length,o=i?n:-1;(i?o--:++o<n)&&e(t[o],o,t););return r?Rn(t,i?0:o,i?o+1:n):Rn(t,i?o+1:0,i?n:o)}function Fn(t,e){var r=t;return r instanceof gi&&(r=r.value()),er(e,function(t,e){return e.func.apply(e.thisArg,tr([t],e.args))},r)}function Kn(t,e,r){var n=t.length;if(n<2)return n?Un(t[0]):[];for(var o=-1,s=i(n);++o<n;)for(var a=t[o],f=-1;++f<n;)f!=o&&(s[o]=Ui(s[o]||a,t[f],e,r));return Un(Hi(s,1),e,r)}function Hn(t,e,r){for(var i=-1,n=t.length,s=e.length,a={};++i<n;){var f=i<s?e[i]:o;r(a,t[i],f)}return a}function Vn(t){return wa(t)?t:[]}function Zn(t){return"function"==typeof t?t:Rf}function Yn(t,e){return ga(t)?t:Go(t,e)?[t]:us(Va(t))}var Wn=An;function Gn(t,e,r){var i=t.length;return r=r===o?i:r,!e&&r>=i?t:Rn(t,e,r)}var Xn=Cr||function(t){return Te.clearTimeout(t)};function Jn(t,e){if(e)return t.slice();var r=t.length,i=Ee?Ee(r):new t.constructor(r);return t.copy(i),i}function Qn(t){var e=new t.constructor(t.byteLength);return new _e(e).set(new _e(t)),e}function $n(t,e){var r=e?Qn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function to(t,e){if(t!==e){var r=t!==o,i=null===t,n=t==t,s=Ca(t),a=e!==o,f=null===e,u=e==e,h=Ca(e);if(!f&&!h&&!s&&t>e||s&&a&&u&&!f&&!h||i&&a&&u||!r&&u||!n)return 1;if(!i&&!s&&!h&&t<e||h&&r&&n&&!i&&!s||f&&r&&n||!a&&n||!u)return-1}return 0}function eo(t,e,r,n){for(var o=-1,s=t.length,a=r.length,f=-1,u=e.length,h=Vr(s-a,0),c=i(u+h),d=!n;++f<u;)c[f]=e[f];for(;++o<a;)(d||o<s)&&(c[r[o]]=t[o]);for(;h--;)c[f++]=t[o++];return c}function ro(t,e,r,n){for(var o=-1,s=t.length,a=-1,f=r.length,u=-1,h=e.length,c=Vr(s-f,0),d=i(c+h),l=!n;++o<c;)d[o]=t[o];for(var p=o;++u<h;)d[p+u]=e[u];for(;++a<f;)(l||o<s)&&(d[p+r[a]]=t[o++]);return d}function io(t,e){var r=-1,n=t.length;for(e||(e=i(n));++r<n;)e[r]=t[r];return e}function no(t,e,r,i){var n=!r;r||(r={});for(var s=-1,a=e.length;++s<a;){var f=e[s],u=i?i(r[f],t[f],f,r,t):o;u===o&&(u=t[f]),n?Pi(r,f,u):Ei(r,f,u)}return r}function oo(t,e){return function(r,i){var n=ga(r)?Ze:Oi,o=e?e():{};return n(r,t,Lo(i,2),o)}}function so(t){return An(function(e,r){var i=-1,n=r.length,s=n>1?r[n-1]:o,a=n>2?r[2]:o;for(s=t.length>3&&"function"==typeof s?(n--,s):o,a&&Wo(r[0],r[1],a)&&(s=n<3?o:s,n=1),e=ee(e);++i<n;){var f=r[i];f&&t(e,f,i,s)}return e})}function ao(t,e){return function(r,i){if(null==r)return r;if(!ya(r))return t(r,i);for(var n=r.length,o=e?n:-1,s=ee(r);(e?o--:++o<n)&&!1!==i(s[o],o,s););return r}}function fo(t){return function(e,r,i){for(var n=-1,o=ee(e),s=i(e),a=s.length;a--;){var f=s[t?a:++n];if(!1===r(o[f],f,o))break}return e}}function uo(t){return function(e){var r=Ar(e=Va(e))?Pr(e):o,i=r?r[0]:e.charAt(0),n=r?Gn(r,1).join(""):e.slice(1);return i[t]()+n}}function ho(t){return function(e){return er(If(gf(e).replace(ve,"")),t,"")}}function co(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var r=pi(t.prototype),i=t.apply(r,e);return xa(i)?i:r}}function lo(t){return function(e,r,i){var n=ee(e);if(!ya(e)){var s=Lo(r,3);e=of(e),r=function(t){return s(n[t],t,n)}}var a=t(e,r,i);return a>-1?n[s?e[a]:a]:o}